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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #1a2332;
  background: #fff;
  line-height: 1.7;
}

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s;
}

.navbar.scrolled {
  background: #0a1628;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 22px;
  color: #4fc3f7;
}

.logo-text {
  font-size: 15px;
  color: #fff;
  letter-spacing: 1px;
  font-weight: 500;
}

.logo-text strong {
  font-weight: 800;
  color: #4fc3f7;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.btn-nav {
  background: #4fc3f7;
  color: #0a1628 !important;
  font-weight: 700 !important;
  padding: 10px 22px;
  border-radius: 6px;
  transition: background 0.2s !important;
}

.btn-nav:hover {
  background: #81d4fa !important;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

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

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(79,195,247,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(79,195,247,0.05) 0%, transparent 50%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('hero-bg.jpg') center/cover no-repeat;
  opacity: 0.12;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 24px 80px;
  max-width: 860px;
}

.hero-tag {
  display: inline-block;
  background: rgba(79,195,247,0.15);
  color: #4fc3f7;
  border: 1px solid rgba(79,195,247,0.3);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.hero-content h1 {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 640px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-pills span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 100px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: #4fc3f7;
  color: #0a1628;
  font-weight: 700;
  font-size: 15px;
  padding: 16px 36px;
  border-radius: 6px;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: #81d4fa;
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 16px 36px;
  border-radius: 6px;
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.05);
}

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.bg-white { background: #fff; }
.bg-light { background: #f5f7fa; }

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: #0a1628;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  font-size: 17px;
  color: #607d8b;
}

/* ===== GRILLES ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ===== CARDS FEATURE ===== */
.card-feature {
  background: #f0f7ff;
  border-left: 4px solid #4fc3f7;
  border-radius: 12px;
  padding: 32px;
  transition: transform 0.2s;
}

.card-feature:hover { transform: translateY(-4px); }

.card-icon { font-size: 40px; margin-bottom: 20px; }

.card-feature h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 12px;
}

.card-feature p {
  font-size: 15px;
  color: #607d8b;
  line-height: 1.7;
}

/* ===== CARDS SERVICE ===== */
.card-service {
  display: block;
  background: #fff;
  border: 1px solid #e0e7ef;
  border-radius: 12px;
  padding: 32px;
  transition: all 0.2s;
  cursor: pointer;
}

.card-service:hover {
  border-color: #4fc3f7;
  box-shadow: 0 8px 30px rgba(79,195,247,0.12);
  transform: translateY(-4px);
}

.service-num {
  font-size: 13px;
  font-weight: 800;
  color: #4fc3f7;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.card-service h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 12px;
}

.card-service p {
  font-size: 14px;
  color: #607d8b;
  line-height: 1.7;
  margin-bottom: 20px;
}

.card-link {
  font-size: 14px;
  font-weight: 600;
  color: #4fc3f7;
}

/* ===== TECHNOLOGIES ===== */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.tech-tags span {
  background: #f0f7ff;
  border: 1px solid #b3d4f5;
  color: #1565c0;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
}

/* ===== CTA ===== */
.section-cta {
  background: #0a1628;
  padding: 100px 0;
  text-align: center;
}

.section-cta h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.section-cta p {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
}

/* ===== PAGE HERO (sous-pages) ===== */
.page-hero {
  background: #0a1628;
  padding: 140px 0 80px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== SERVICES PAGE ===== */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid #e0e7ef;
}

.service-row:last-child { border-bottom: none; }

.service-row.reverse { direction: rtl; }
.service-row.reverse > * { direction: ltr; }

.service-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.service-detail h2 {
  font-size: 30px;
  font-weight: 800;
  color: #0a1628;
  margin-bottom: 16px;
  line-height: 1.25;
}

.service-detail p {
  font-size: 16px;
  color: #607d8b;
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-detail ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-detail ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #455a64;
}

.service-detail ul li::before {
  content: '✓';
  color: #4fc3f7;
  font-weight: 700;
  flex-shrink: 0;
}

.service-visual {
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
}

.service-visual .big-icon { font-size: 72px; margin-bottom: 16px; }

.service-visual p {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.6;
}

/* ===== À PROPOS ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text h2 {
  font-size: 36px;
  font-weight: 800;
  color: #0a1628;
  margin-bottom: 24px;
}

.about-text p {
  font-size: 16px;
  color: #607d8b;
  line-height: 1.9;
  margin-bottom: 20px;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.value-icon {
  width: 48px;
  height: 48px;
  background: rgba(79,195,247,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.value-item h4 {
  font-size: 17px;
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 6px;
}

.value-item p {
  font-size: 15px;
  color: #607d8b;
  line-height: 1.7;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.sector-card {
  background: #fff;
  border: 1px solid #e0e7ef;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.2s;
}

.sector-card:hover {
  border-color: #4fc3f7;
  transform: translateY(-3px);
}

.sector-card .sector-icon { font-size: 36px; margin-bottom: 12px; }

.sector-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0a1628;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  font-size: 28px;
  font-weight: 800;
  color: #0a1628;
  margin-bottom: 32px;
}

.info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #f5f7fa;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

.info-card .info-icon { font-size: 28px; flex-shrink: 0; }

.info-card h4 {
  font-size: 12px;
  font-weight: 700;
  color: #90a4ae;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.info-card p {
  font-size: 16px;
  font-weight: 600;
  color: #0a1628;
}

.info-card small {
  display: block;
  font-size: 13px;
  color: #607d8b;
  margin-top: 2px;
}

.contact-form-wrap h2 {
  font-size: 28px;
  font-weight: 800;
  color: #0a1628;
  margin-bottom: 12px;
}

.contact-form-wrap .form-note {
  font-size: 15px;
  color: #607d8b;
  margin-bottom: 24px;
}

.urgency-note {
  background: #e8f5e9;
  border-left: 4px solid #4caf50;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #2e7d32;
  margin-bottom: 28px;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #455a64;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #dde3ea;
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: #0a1628;
  background: #fff;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #4fc3f7;
  box-shadow: 0 0 0 3px rgba(79,195,247,0.15);
}

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

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.btn-submit {
  width: 100%;
  background: #4fc3f7;
  color: #0a1628;
  font-size: 16px;
  font-weight: 700;
  padding: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.btn-submit:hover {
  background: #81d4fa;
  transform: translateY(-2px);
}

/* ===== MARQUEE CLIENTS ===== */
.marquee-wrap {
  overflow: hidden;
  width: 100%;
  padding: 16px 0 8px;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 20s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #e0e7ef;
  border-radius: 100px;
  padding: 16px 32px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.marquee-item:hover { border-color: #4fc3f7; }

.marquee-icon { font-size: 26px; }

.marquee-name {
  font-size: 17px;
  font-weight: 700;
  color: #0a1628;
}

/* ===== FOOTER ===== */
.footer {
  background: #060e1a;
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-text {
  display: block;
  margin: 12px 0 16px;
  font-size: 14px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

.footer-contact p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 32px; }
  .service-row.reverse { direction: ltr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .sectors-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: #0a1628;
    padding: 24px;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open { display: flex; }
  .burger { display: flex; }
}
