/* =============================================
   HLC COMPUTER — Stylesheet
   Couleurs : Bleu #1B3A6B | Orange #F97316 | Blanc #FFFFFF
   ============================================= */

:root {
  --blue-dark:   #1B3A6B;
  --blue:        #2355A0;
  --blue-light:  #EBF2FF;
  --orange:      #F97316;
  --orange-dark: #D95F04;
  --white:       #FFFFFF;
  --gray-50:     #F8FAFC;
  --gray-100:    #F1F5F9;
  --gray-300:    #CBD5E1;
  --gray-500:    #64748B;
  --gray-700:    #334155;
  --gray-900:    #0F172A;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:   0 8px 32px rgba(0,0,0,.16);
  --radius:      12px;
  --radius-sm:   8px;
  --transition:  0.25s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; cursor: none; }
ul { list-style: none; }
button { cursor: none; }

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.15; color: var(--white); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; color: var(--gray-900); }
h3 { font-size: 1.2rem; font-weight: 600; color: var(--gray-900); }
.accent { color: var(--orange); }

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--blue-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}
.preloader-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.preloader-logo {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  animation: logoPulse 1.5s ease-in-out infinite;
}
.pl-hlc { color: var(--orange); }
.pl-comp { color: var(--white); }
.preloader-bar {
  width: 220px;
  height: 3px;
  background: rgba(255,255,255,.1);
  border-radius: 100px;
  overflow: hidden;
}
.preloader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), #fbbf24);
  border-radius: 100px;
  width: 0%;
  transition: width 0.05s linear;
}
.preloader-text {
  color: rgba(255,255,255,.4);
  font-size: 0.82rem;
  letter-spacing: .1em;
}
@keyframes logoPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.03); }
}

/* ===== BARRE DE PROGRESSION SCROLL ===== */
#scrollProgress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), #fbbf24);
  z-index: 2000;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(249,115,22,.6);
}

/* ===== CURSEUR PERSONNALISÉ — TRAÎNÉE ===== */
#cursorDot {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  opacity: 0;
  box-shadow: 0 0 8px rgba(249,115,22,.8), 0 0 16px rgba(249,115,22,.4);
  transition: opacity 0.3s ease, transform 0.05s ease;
}
body.cursor-ready #cursorDot { opacity: 1; }
body.cursor-hover #cursorDot {
  transform: translate(-50%, -50%) scale(1.6);
  background: #fbbf24;
}

/* Points de traînée (générés en JS) */
.trail-dot {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  background: var(--orange);
  transition: opacity 0.1s ease;
}
/* Pas de cursorRing — on garde juste la variable pour éviter les erreurs JS */
#cursorRing { display: none; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: none;
  border: 2px solid transparent;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249,115,22,.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
  white-space: nowrap;
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--blue-dark);
}
.full-width { width: 100%; justify-content: center; }

/* Ripple effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  transform: scale(0);
  animation: rippleAnim 0.6s linear;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.section-sub { color: var(--gray-500); margin-top: 12px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ===== RÉVÉLATION DE TEXTE ===== */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }
.reveal-fade {
  opacity: 0;
  transition: opacity 0.7s ease;
}
.reveal-fade.visible { opacity: 1; }
.delay-2 { transition-delay: 0.15s; }
.delay-3 { transition-delay: 0.3s; }

/* Révélation titre avec underline animé */
.reveal-title {
  display: inline-block;
  position: relative;
  overflow: hidden;
}
.reveal-title .title-line {
  display: block;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(.16,1,.3,1);
}
.reveal-title.visible .title-line {
  transform: translateY(0);
}

/* ===== HEADER ===== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(27,58,107,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow var(--transition), background var(--transition);
}
#header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(15,30,60,.98);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }
.logo-hlc { color: var(--orange); }
.logo-computer { color: var(--white); }
#nav ul { display: flex; gap: 8px; }
#nav a {
  color: rgba(255,255,255,.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}
#nav a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 16px; right: 16px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px;
}
#nav a:hover::after, #nav a.active::after { transform: scaleX(1); }
#nav a:hover, #nav a.active {
  color: var(--white);
  background: rgba(255,255,255,.08);
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 4px;
}
.burger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, #1a4a8a 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 80% 20%, rgba(249,115,22,.15) 0%, transparent 70%),
    radial-gradient(ellipse 400px 600px at 10% 80%, rgba(35,85,160,.4) 0%, transparent 70%);
  animation: bgShift 8s ease-in-out infinite alternate;
}
@keyframes bgShift {
  0% { opacity: 1; }
  100% { opacity: 0.6; transform: scale(1.05); }
}
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
}

/* Glow souris hero */
#heroMouseGlow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,.13) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  transition: left 0.08s ease, top 0.08s ease;
}
#heroMouseGlow2 {
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  transition: left 0.04s ease, top 0.04s ease;
}

/* Glow souris sections */
.section-mouse-glow {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(249,115,22,.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: left 0.12s ease, top 0.12s ease, opacity 0.3s ease;
}

/* Icônes flottantes dans le hero */
.hero-floats {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.float-icon {
  position: absolute;
  width: 50px; height: 50px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: rgba(255,255,255,.4);
  backdrop-filter: blur(4px);
}
.fi-1 { top: 15%; right: 20%; animation: floatA 6s ease-in-out infinite; }
.fi-2 { top: 35%; right: 8%;  animation: floatB 7s ease-in-out infinite 1s; }
.fi-3 { top: 65%; right: 18%; animation: floatA 5s ease-in-out infinite 0.5s; }
.fi-4 { top: 20%; right: 38%; animation: floatB 8s ease-in-out infinite 2s; }
.fi-5 { top: 55%; right: 35%; animation: floatA 6.5s ease-in-out infinite 1.5s; }
.fi-6 { top: 78%; right: 10%; animation: floatB 7.5s ease-in-out infinite 0.8s; }

@keyframes floatA {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(5deg); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(14px) rotate(-4deg); }
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 120px 24px 80px;
  max-width: 780px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,115,22,.2);
  color: #FED7AA;
  border: 1px solid rgba(249,115,22,.3);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 { margin-bottom: 20px; }

/* Typewriter cursor */
#typeTarget::after {
  content: '|';
  animation: blink 0.8s step-end infinite;
  color: var(--orange);
  font-weight: 300;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-sub {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 580px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.hero-scroll a {
  color: rgba(255,255,255,.5);
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ===== BANDEAU ===== */
.bandeau {
  background: var(--white);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 10;
}
.bandeau-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.bandeau-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 24px;
  border-right: 1px solid var(--gray-100);
  transition: background var(--transition);
}
.bandeau-item:last-child { border-right: none; }
.bandeau-item:hover { background: var(--gray-50); }
.bandeau-item > i {
  font-size: 1.8rem;
  color: var(--orange);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.bandeau-item:hover > i { transform: scale(1.2) rotate(-5deg); }
.bandeau-item div { display: flex; flex-direction: column; }
.bandeau-item strong { font-weight: 600; color: var(--gray-900); font-size: 0.95rem; }
.bandeau-item span { font-size: 0.82rem; color: var(--gray-500); }

/* ===== STATS ===== */
.stats {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.stat-item {
  text-align: center;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  transition: all var(--transition);
}
.stat-item:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.stat-icon {
  font-size: 1.8rem;
  color: var(--orange);
  margin-bottom: 12px;
  animation: iconPulse 3s ease-in-out infinite;
}
.stat-item:nth-child(2) .stat-icon { animation-delay: 0.5s; }
.stat-item:nth-child(3) .stat-icon { animation-delay: 1s; }
.stat-item:nth-child(4) .stat-icon { animation-delay: 1.5s; }
@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
.stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 6px;
}
.counter {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-plus {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--orange);
}
.stat-item p {
  color: rgba(255,255,255,.65);
  font-size: 0.88rem;
}

/* ===== SERVICES ===== */
.services {
  padding: 100px 0;
  background: var(--gray-50);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--gray-100);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-lg); border-color: var(--blue-light); }
.service-card:hover::before { opacity: 1; }
.service-card.featured {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange), var(--shadow-md);
}
.service-card.featured::before {
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  opacity: 1;
}

/* Glow interne sur la carte */
.card-glow {
  position: absolute;
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(249,115,22,.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}
.service-card:hover .card-glow { opacity: 1; }

.featured-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 4px 10px;
  border-radius: 100px;
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249,115,22,.4); }
  50% { box-shadow: 0 0 0 6px rgba(249,115,22,0); }
}
.service-icon {
  width: 60px; height: 60px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--blue);
  transition: all 0.35s ease;
}
.service-card.featured .service-icon {
  background: rgba(249,115,22,.1);
  color: var(--orange);
}
.service-card:hover .service-icon {
  background: var(--blue);
  color: var(--white);
  transform: rotateY(180deg);
}
.service-card.featured:hover .service-icon {
  background: var(--orange);
  color: var(--white);
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 20px; }
.service-card ul { display: flex; flex-direction: column; gap: 8px; }
.service-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-700);
  transition: transform var(--transition);
}
.service-card:hover li { transform: translateX(4px); }
.service-card li i { color: var(--orange); font-size: 0.75rem; flex-shrink: 0; }

/* ===== À PROPOS ===== */
.apropos {
  padding: 100px 0;
  background: var(--white);
}
.apropos-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}
.apropos-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.apropos-icon-box {
  width: 280px; height: 280px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  color: rgba(255,255,255,.9);
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: boxFloat 6s ease-in-out infinite;
}
@keyframes boxFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.apropos-icon-box::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 2px dashed rgba(249,115,22,.3);
  border-radius: 40px;
  animation: rotateBorder 12s linear infinite;
}
@keyframes rotateBorder {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Orbite autour de la boîte */
.apropos-orbit {
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  animation: orbitRotate 10s linear infinite;
}
@keyframes orbitRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.orbit-dot {
  position: absolute;
  width: 40px; height: 40px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.od-1 { top: 0; left: 50%; transform: translate(-50%, -50%); }
.od-2 { bottom: 10%; right: 0; transform: translate(50%, 0); }
.od-3 { bottom: 10%; left: 0; transform: translate(-50%, 0); }
/* Counter-rotate so icons stay upright */
.orbit-dot { animation: counterRotate 10s linear infinite; }
@keyframes counterRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}
.od-1 { animation: orbitCounter 10s linear infinite; top: 0; left: 50%; margin-left: -20px; margin-top: -20px; }
.od-2 { animation: orbitCounter 10s linear infinite; bottom: 15%; right: -10%; }
.od-3 { animation: orbitCounter 10s linear infinite; bottom: 15%; left: -10%; }
@keyframes orbitCounter {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.apropos-badge-floating {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--orange);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  animation: badgeFloat 4s ease-in-out infinite;
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.apropos-text .section-tag { margin-bottom: 12px; }
.apropos-text h2 { margin-bottom: 24px; }
.apropos-text p {
  color: var(--gray-500);
  margin-bottom: 16px;
  line-height: 1.7;
}
.apropos-text strong { color: var(--gray-900); }
.apropos-text .btn { margin-top: 8px; }

/* ===== ZONE ===== */
.zone {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}
.zone::after {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 220px; height: 220px;
  border: 40px solid rgba(249,115,22,.1);
  border-radius: 50%;
}
.zone-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.zone-inner > i {
  font-size: 2.5rem;
  color: var(--orange);
  flex-shrink: 0;
  animation: iconPulse 2s ease-in-out infinite;
}
.zone-inner h3 { color: var(--white); font-size: 1.1rem; }
.zone-inner p { color: rgba(255,255,255,.75); font-size: 0.9rem; }
.zone-inner p strong { color: var(--white); }
.zone-inner div { flex: 1; }

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0;
  background: var(--gray-50);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: all var(--transition);
  color: inherit;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--orange);
  transform: scaleY(0);
  transition: transform var(--transition);
}
.contact-card:not(.no-link):hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.contact-card:not(.no-link):hover::before { transform: scaleY(1); }
.contact-icon {
  width: 48px; height: 48px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all var(--transition);
}
.contact-card:not(.no-link):hover .contact-icon {
  background: var(--orange);
  color: var(--white);
}
.contact-card div { display: flex; flex-direction: column; gap: 2px; }
.contact-card strong { font-weight: 600; color: var(--gray-900); }
.contact-card span { color: var(--blue); font-weight: 500; }
.contact-card small { color: var(--gray-500); font-size: 0.8rem; }

/* ===== FORM ===== */
.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--gray-700); transition: color var(--transition); }
.form-group:focus-within label { color: var(--blue); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(35,85,160,.1);
}
.form-note {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  min-height: 20px;
}
.form-note.success { color: #16a34a; }
.form-note.error { color: #dc2626; }

/* ===== PROCESSUS ===== */
.processus {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 80px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--blue-light) 15%,
    var(--orange) 50%,
    var(--blue-light) 85%,
    transparent 100%);
  z-index: 0;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 12px 14px;
  transition: transform var(--transition);
}
.process-step:hover { transform: translateY(-6px); }
.process-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: rgba(35,85,160,.1);
  line-height: 1;
  margin-bottom: -14px;
  letter-spacing: -0.02em;
  transition: color var(--transition);
}
.process-step:hover .process-num { color: rgba(249,115,22,.25); }
.process-icon {
  width: 80px; height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: 0 10px 28px rgba(27,58,107,.22);
  border: 4px solid var(--white);
  transition: all 0.35s ease;
}
.process-step:hover .process-icon {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  transform: scale(1.08) rotate(-5deg);
  box-shadow: 0 12px 30px rgba(249,115,22,.35);
}
.process-step h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}
.process-step p {
  color: var(--gray-500);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ===== TÉMOIGNAGES ===== */
.temoignages {
  padding: 100px 0;
  background: var(--gray-50);
  position: relative;
  overflow: hidden;
}
.temoignages::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(249,115,22,.08) 0%, transparent 65%);
  pointer-events: none;
}
.temoignages::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(35,85,160,.08) 0%, transparent 65%);
  pointer-events: none;
}
.temoignages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.temoignage-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--gray-100);
  position: relative;
  transition: all var(--transition);
  overflow: hidden;
}
.temoignage-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), #fbbf24);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.temoignage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-light);
}
.temoignage-card:hover::before { transform: scaleX(1); }
.quote-mark {
  font-size: 1.8rem;
  color: rgba(35,85,160,.12);
  margin-bottom: 14px;
  display: block;
  transition: color var(--transition);
}
.temoignage-card:hover .quote-mark { color: rgba(249,115,22,.35); }
.temoignage-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.temoignage-stars i {
  color: #fbbf24;
  font-size: 0.88rem;
}
.temoignage-text {
  color: var(--gray-700);
  font-size: 0.94rem;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}
.temoignage-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
}
.temoignage-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.92rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(27,58,107,.2);
  transition: all var(--transition);
}
.temoignage-card:hover .temoignage-avatar {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  box-shadow: 0 4px 12px rgba(249,115,22,.3);
}
.temoignage-author strong {
  display: block;
  color: var(--gray-900);
  font-weight: 600;
  font-size: 0.95rem;
}
.temoignage-author span {
  display: block;
  color: var(--gray-500);
  font-size: 0.8rem;
}

/* ===== FAQ ===== */
.faq {
  padding: 100px 0;
  background: var(--white);
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item:hover {
  border-color: var(--blue-light);
  box-shadow: var(--shadow-sm);
}
.faq-item[open] {
  background: var(--white);
  border-color: var(--orange);
  box-shadow: 0 4px 20px rgba(249,115,22,.1);
}
.faq-item summary {
  padding: 20px 24px;
  cursor: none;
  font-weight: 600;
  color: var(--gray-900);
  font-size: 0.96rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  transition: color var(--transition);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }
.faq-item summary:hover { color: var(--blue); }
.faq-item summary > span { flex: 1; }
.faq-item summary i {
  color: var(--orange);
  transition: transform 0.35s ease;
  flex-shrink: 0;
  font-size: 0.95rem;
}
.faq-item[open] summary { color: var(--blue-dark); }
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-answer {
  padding: 0 24px 22px;
  animation: faqFade 0.35s ease;
}
.faq-answer p {
  color: var(--gray-500);
  font-size: 0.92rem;
  line-height: 1.75;
}
@keyframes faqFade {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.7);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 64px 24px 48px;
}
.footer-brand p { margin-top: 16px; font-size: 0.88rem; line-height: 1.7; }
.footer-links strong,
.footer-contact strong {
  display: block;
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links li, .footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition), transform var(--transition);
  display: flex;
  align-items: center;
}
.footer-links a:hover { color: var(--orange); transform: translateX(4px); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,.6);
  padding: 6px 0;
  transition: color var(--transition);
}
.footer-contact a i { color: var(--orange); width: 16px; }
.footer-contact a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 24px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,.35);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px; height: 46px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 500;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--orange-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(249,115,22,.4);
}

/* ===== ANIMATIONS GLOBALES D'ENTRÉE ===== */
.anim-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.anim-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .apropos-inner { grid-template-columns: 1fr; gap: 48px; }
  .apropos-visual { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .bandeau-grid { grid-template-columns: repeat(2, 1fr); }
  .bandeau-item { border-right: none; border-bottom: 1px solid var(--gray-100); }
  .bandeau-item:nth-child(2n) { border-right: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-floats { display: none; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .process-grid::before { display: none; }
  .temoignages-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
}

@media (max-width: 768px) {
  #nav {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--blue-dark);
    padding: 24px;
    transform: translateY(-110%);
    transition: transform var(--transition);
    box-shadow: var(--shadow-lg);
  }
  #nav.open { transform: translateY(0); }
  #nav ul { flex-direction: column; gap: 4px; }
  #nav a { display: block; padding: 12px 16px; }
  .burger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px 32px; }
  .zone-inner { flex-direction: column; text-align: center; }
  .zone-inner div { text-align: center; }
  .bandeau-grid { grid-template-columns: 1fr; }
  .bandeau-item { border-right: none; border-bottom: 1px solid var(--gray-100); }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: 1fr; max-width: 420px; }
  .process-grid { grid-template-columns: 1fr; gap: 32px; }
  .processus, .temoignages, .faq { padding: 72px 0; }
  .faq-item summary { padding: 18px 20px; font-size: 0.92rem; }
  .faq-answer { padding: 0 20px 18px; }
  body { cursor: auto; }
  #cursorRing, #cursorDot { display: none; }
  a, button { cursor: pointer; }
}

@media (max-width: 480px) {
  .contact-form { padding: 24px; }
  .hero-content { padding: 100px 24px 60px; }
  .temoignage-card { padding: 28px 22px; }
}
