/* ============================================================
   TECH4ALL - Main Stylesheet
   Palette: #0A2463 (navy), #1E88E5 (electric blue), #FFFFFF, #F5F7FA
   Font: Inter (Google Fonts)
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --navy: #0A2463;
  --blue: #1E88E5;
  --blue-light: #42A5F5;
  --blue-dark: #1565C0;
  --white: #FFFFFF;
  --gray-light: #F5F7FA;
  --gray-mid: #E8ECF0;
  --gray-text: #6B7280;
  --dark: #0D1117;
  --accent: #00C896;
  /* green accent for success/badges */
  --accent-orange: #FF6B35;
  /* urgency CTA */
  --shadow-sm: 0 2px 8px rgba(10, 36, 99, 0.08);
  --shadow-md: 0 8px 32px rgba(10, 36, 99, 0.12);
  --shadow-lg: 0 20px 60px rgba(10, 36, 99, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.nav-logo,
.btn,
.sidebar-brand {
  font-family: inherit;
  text-transform: uppercase;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ---------- Typography ---------- */
h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  color: var(--gray-text);
  line-height: 1.75;
}

.text-center {
  text-align: center;
}

.text-white {
  color: var(--white) !important;
}

.text-white p {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(30, 136, 229, 0.1);
  border-radius: 50px;
  padding: 4px 14px;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-header h2 {
  color: var(--navy);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(30, 136, 229, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(30, 136, 229, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

.btn-outline-blue {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn-outline-blue:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-accent {
  background: linear-gradient(135deg, #FF6B35, #E64A1E);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.55);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 36, 99, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  padding-top: 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}

.nav-logo .logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.nav-logo span.accent {
  color: var(--blue-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.nav-cta {
  margin-left: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: var(--transition);
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.nav-cta i {
  color: inherit;
}


/* Quand la navbar est scrolled (fond navy foncé), le bouton reste blanc */
.navbar.scrolled .nav-cta {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar.scrolled .nav-cta:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.55);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--navy);
  padding: 20px 24px 30px;
  z-index: 999;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-mobile a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.nav-mobile .btn {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
}

/* ---------- HERO SECTION ---------- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, #0d3b8a 50%, #1a5fb4 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

/* Animated network grid background */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 136, 229, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 136, 229, 0.15) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(60px, 60px);
  }
}

.hero-bg::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30, 136, 229, 0.25) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
  animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: float 8s ease-in-out infinite;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: rgba(30, 136, 229, 0.3);
  bottom: 20%;
  left: 5%;
  animation-delay: -2s;
}

.orb-2 {
  width: 200px;
  height: 200px;
  background: rgba(0, 200, 150, 0.2);
  top: 30%;
  right: 10%;
  animation-delay: -4s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) scale(1);
  }

  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 6px 16px 6px 8px;
  margin-bottom: 24px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hero-text h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero-text h1 .highlight {
  background: linear-gradient(90deg, var(--blue-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat .number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* Hero visual / illustration */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  padding: 28px;
  position: relative;
}

.tech-card-main {
  width: 360px;
  padding: 32px;
}

.tech-card .card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.tech-card h4 {
  color: var(--white);
  margin-bottom: 8px;
}

.tech-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
}

.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 2s infinite;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(2) {
  top: -20px;
  right: -30px;
  animation-delay: -1s;
}

.floating-card:nth-child(3) {
  bottom: -10px;
  left: -30px;
  animation-delay: -3s;
}

.floating-card .fc-label {
  font-size: 0.7rem;
  color: var(--gray-text);
  font-weight: 500;
}

.floating-card .fc-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

/* Progress bars in hero card */
.skill-bars {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skill-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  color: #fff;
  margin-bottom: 6px;
}

.skill-bar-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.skill-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
}

.skill-bar-fill.w-98 {
  width: 98%;
}

.skill-bar-fill.w-95 {
  width: 95%;
}

.skill-bar-fill.w-92 {
  width: 92%;
}

/* ---------- TRUST BAND ---------- */
.trust-band {
  background: var(--white);
  padding: 40px 0;
  border-top: 1px solid var(--gray-mid);
  border-bottom: 1px solid var(--gray-mid);
  overflow: hidden;
}

.trust-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-text);
  margin-bottom: 28px;
}

.trust-track {
  display: flex;
  gap: 60px;
  animation: scroll 25s linear infinite;
  width: max-content;
}

.trust-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  transition: var(--transition);
  min-width: 130px;
}

.partner-logo img {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.55);
  transition: var(--transition);
  display: block;
}

.partner-logo:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.partner-logo:hover img {
  filter: grayscale(0%) opacity(1);
}

/* ---------- SERVICES SECTION ---------- */
.services-section {
  background: var(--gray-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--gray-mid);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-5deg);
}

.si-blue {
  background: rgba(30, 136, 229, 0.1);
  color: var(--blue);
}

.si-navy {
  background: rgba(10, 36, 99, 0.08);
  color: var(--navy);
}

.si-green {
  background: rgba(0, 200, 150, 0.1);
  color: var(--accent);
}

.si-purple {
  background: rgba(139, 92, 246, 0.1);
  color: #8B5CF6;
}

.si-orange {
  background: rgba(255, 107, 53, 0.1);
  color: var(--accent-orange);
}

.si-cyan {
  background: rgba(6, 182, 212, 0.1);
  color: #06B6D4;
}

.service-card h3 {
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.service-tag {
  font-size: 0.73rem;
  padding: 3px 10px;
  border-radius: 50px;
  background: var(--gray-light);
  color: var(--gray-text);
  font-weight: 500;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}

.service-link:hover {
  gap: 10px;
}

/* ---------- WHY CHOOSE US ---------- */
.why-section {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-visual {
  position: relative;
  height: 480px;
}

.why-bg-card {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy), #0d3b8a);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.why-bg-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(30, 136, 229, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 136, 229, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
}

.why-center-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: 0 0 60px rgba(30, 136, 229, 0.5);
  z-index: 2;
}

.why-argument {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  min-width: 160px;
  text-align: center;
  animation: float 7s ease-in-out infinite;
}

.why-argument:nth-child(1) {
  top: 30px;
  left: -20px;
}

.why-argument:nth-child(2) {
  top: 30px;
  right: -20px;
  animation-delay: -2s;
}

.why-argument:nth-child(3) {
  bottom: 100px;
  left: -20px;
  animation-delay: -4s;
}

.why-argument:nth-child(4) {
  bottom: 100px;
  right: -20px;
  animation-delay: -6s;
}

.why-argument .wa-icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.why-argument h4 {
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 2px;
}

.why-argument p {
  font-size: 0.75rem;
  color: var(--gray-text);
  margin: 0;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.why-item {
  display: flex;
  gap: 20px;
}

.why-item-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(30, 136, 229, 0.12), rgba(30, 136, 229, 0.06));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 1px solid rgba(30, 136, 229, 0.15);
}

.why-item h4 {
  color: var(--navy);
  margin-bottom: 4px;
}

/* ---------- STATS SECTION ---------- */
.stats-section {
  background: linear-gradient(135deg, var(--navy) 0%, #0d3b8a 100%);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0 20px;
}

.stat-item:last-child {
  border: none;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number .stat-unit {
  font-size: 2rem;
  color: var(--blue-light);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-section {
  background: var(--gray-light);
}

.testimonials-carousel {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-mid);
  position: relative;
}

.testimonial-card .quote-icon {
  font-size: 3rem;
  color: var(--blue-light);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 12px;
}

.testimonial-card p {
  font-size: 0.95rem;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--white);
  font-size: 1.1rem;
}

.author-info h5 {
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 2px;
}

.author-info span {
  font-size: 0.78rem;
  color: var(--gray-text);
}

.stars {
  color: #F59E0B;
  font-size: 0.9rem;
  margin-bottom: 4px;
}


/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cta-banner>* {
  position: relative;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  margin: 16px 0 24px;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--blue);
  color: var(--white);
}

.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-item .fci-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: rgba(30, 136, 229, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  font-size: 0.9rem;
}

.footer-contact-item p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  line-height: 1.5;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact-item a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- PAGE HEADER (inner pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, #0d3b8a 100%);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(30, 136, 229, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 136, 229, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
}

.page-header>* {
  position: relative;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.breadcrumb a,
.breadcrumb span {
  color: rgba(255, 255, 255, 0.65);
}

.breadcrumb span.sep {
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb a:hover {
  color: var(--white);
}

/* ---------- SERVICE DETAIL CARDS ---------- */
.service-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 32px;
  border: 1px solid var(--gray-mid);
  transition: var(--transition);
}

.service-detail-card:hover {
  box-shadow: var(--shadow-md);
}

.service-detail-card .sd-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
}

.service-detail-card .sd-icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.service-detail-card h2 {
  color: var(--navy);
  margin-bottom: 8px;
}

.prestations-list {
  columns: 2;
  gap: 20px;
  margin: 20px 0;
}

.prestations-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 10px;
  break-inside: avoid;
}

.prestations-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* FAQ */
.faq-list {
  margin-top: 24px;
}

.faq-item {
  border-bottom: 1px solid var(--gray-mid);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--blue);
}

.faq-question .faq-icon {
  font-size: 1.2rem;
  transition: var(--transition);
}

.faq-question.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding: 0 0 18px;
  font-size: 0.9rem;
}

/* ---------- ABOUT PAGE ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--gray-mid);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 auto 16px;
}

.team-card h4 {
  color: var(--navy);
  margin-bottom: 4px;
}

.team-card .team-role {
  font-size: 0.85rem;
  color: var(--blue);
  margin-bottom: 12px;
  font-weight: 600;
  display: block;
}

.team-card p {
  font-size: 0.85rem;
}

.cert-badge {
  display: inline-block;
  background: var(--gray-light);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.72rem;
  color: var(--navy);
  font-weight: 600;
  margin: 2px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--gray-mid);
  transition: var(--transition);
}

.value-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.value-card .v-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.value-card h4 {
  color: var(--navy);
  margin-bottom: 8px;
}

.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-mid);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue);
}

.timeline-item .year {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.timeline-item h4 {
  color: var(--navy);
  margin-bottom: 6px;
}

/* ---------- BLOG PAGE ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-mid);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.blog-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.blog-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

.blog-card-body {
  padding: 24px;
}

.blog-card-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.blog-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(30, 136, 229, 0.1);
  padding: 3px 10px;
  border-radius: 50px;
}

.blog-date {
  font-size: 0.78rem;
  color: var(--gray-text);
}

.blog-card h4 {
  color: var(--navy);
  margin-bottom: 10px;
  font-size: 1rem;
}

.blog-card p {
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.blog-read-more {
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- CONTACT PAGE ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--gray-mid);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-mid);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--dark);
  transition: var(--transition);
  background: var(--white);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--navy), #0d3b8a);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
}

.contact-info-card h3 {
  color: var(--white);
  margin-bottom: 8px;
}

.contact-info-card>p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-item:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 32px;
}

.ci-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.ci-content h5 {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.ci-content p,
.ci-content a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin: 0;
}

.ci-content p+p {
  margin-top: 4px;
}

.ci-content a:hover {
  color: var(--blue-light);
}

.hours-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
}

.hours-row .day {
  color: rgba(255, 255, 255, 0.6);
}

.hours-row .time {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  margin-top: 24px;
  border: 1px solid var(--gray-mid);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ---------- SCROLL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* ---------- FORM SUCCESS MESSAGE ---------- */
.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}

.form-success .success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.form-success h3 {
  color: var(--navy);
  margin-bottom: 8px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-item {
    border: none;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    gap: 40px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p {
    margin: 0 auto 36px;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-visual {
    display: none;
  }

  .testimonial-card {
    min-width: calc(100% - 0px);
  }

  .testimonials-track {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .prestations-list {
    columns: 1;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .values-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .tech-card-main {
    width: 100%;
  }

  .sd-header {
    flex-direction: column;
  }

  .service-detail-card {
    padding: 24px;
  }
}

/* ---------- WHATSAPP FLOATING BUTTON ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.whatsapp-float .wa-bubble {
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: #fff;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
  animation: wa-pulse 2.8s ease-in-out infinite;
  flex-shrink: 0;
}

.whatsapp-float:hover .wa-bubble {
  transform: scale(1.1);
  box-shadow: 0 10px 36px rgba(37, 211, 102, 0.6);
  animation: none;
}

.whatsapp-float .wa-tooltip {
  background: #fff;
  color: var(--dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes wa-pulse {

  0%,
  100% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  }

  50% {
    box-shadow: 0 6px 36px rgba(37, 211, 102, 0.75), 0 0 0 10px rgba(37, 211, 102, 0.08);
  }
}

@media (max-width: 600px) {
  .whatsapp-float {
    bottom: 20px;
    right: 16px;
  }

  .whatsapp-float .wa-tooltip {
    display: none;
  }
}