/* ===================================
   PROPLOMB — CSS
   Thème : Bleu & Blanc
   =================================== */

:root {
  --blue: #1a6bff;
  --blue-dark: #0040cc;
  --blue-light: #e8f0ff;
  --blue-mid: #c5d8ff;
  --white: #ffffff;
  --gray-100: #f4f7ff;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(26,107,255,0.10);
  --shadow-lg: 0 12px 48px rgba(26,107,255,0.18);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--gray-800);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 2rem;
  padding: 1.2rem 5%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  transition: padding var(--transition), box-shadow var(--transition);
}
.navbar.scrolled { padding: 0.8rem 5%; box-shadow: 0 2px 20px rgba(26,107,255,0.08); }

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.8rem; letter-spacing: 2px;
  color: var(--gray-800); margin-right: auto;
}
.nav-logo span { color: var(--blue); }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--gray-600); font-size: 0.9rem;
  font-weight: 500; letter-spacing: 0.05em;
  transition: color var(--transition); position: relative;
  cursor: pointer;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--blue);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--blue); color: #fff;
  padding: 0.6rem 1.4rem; border-radius: 6px;
  text-decoration: none; font-weight: 600; font-size: 0.9rem;
  transition: background var(--transition), box-shadow var(--transition);
  white-space: nowrap; cursor: pointer;
}
.nav-cta:hover { background: var(--blue-dark); box-shadow: 0 4px 20px rgba(26,107,255,0.35); }

.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px; cursor: pointer;
}
.burger span {
  display: block; width: 24px; height: 2px;
  background: var(--gray-800); transition: var(--transition);
}
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  position: fixed; top: 0; right: -100%; width: 75%; max-width: 320px;
  height: 100vh; background: var(--white);
  border-left: 1px solid var(--gray-200);
  z-index: 99; padding: 6rem 2.5rem;
  transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}
.mobile-menu.open { right: 0; pointer-events: all; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 2rem; }
.mobile-menu a {
  font-family: var(--font-display); font-size: 2.2rem;
  color: var(--gray-800); text-decoration: none; letter-spacing: 2px;
  transition: color var(--transition); cursor: pointer;
}
.mobile-menu a:hover { color: var(--blue); }

/* ===== BOUTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue); color: #fff;
  padding: 0.85rem 2.2rem; border-radius: 8px;
  text-decoration: none; font-weight: 600; font-size: 1rem;
  border: none; cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 8px 30px rgba(26,107,255,0.35); transform: translateY(-2px); }
.btn-primary.small { padding: 0.6rem 1.4rem; font-size: 0.875rem; }
.btn-primary.full { width: 100%; }

.btn-ghost {
  display: inline-flex; align-items: center;
  color: var(--gray-800); text-decoration: none;
  font-weight: 600; font-size: 1rem; border: 2px solid var(--gray-200);
  background: none; cursor: pointer; padding: 0.85rem 1.5rem;
  border-radius: 8px;
  transition: color var(--transition), border-color var(--transition);
}
.btn-ghost:hover { color: var(--blue); border-color: var(--blue); }

/* ===== SECTION HEADERS ===== */
.section-tag {
  font-size: 0.8rem; letter-spacing: 0.15em; font-weight: 700;
  color: var(--blue); text-transform: uppercase; display: inline-block;
  background: var(--blue-light); padding: 0.3rem 0.9rem; border-radius: 999px;
  margin-bottom: 1rem;
}
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 {
  font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--gray-800); letter-spacing: 3px; line-height: 1;
}
.section-header h2 span { color: var(--blue); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; padding: 10rem 5% 6rem;
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--white) 60%);
  position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; right: -200px; top: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(26,107,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; max-width: 700px; }

.hero-badge {
  display: inline-block; background: var(--blue);
  color: #fff; padding: 0.4rem 1rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em;
  margin-bottom: 1.5rem; animation: fadeDown 0.7s ease both;
}

.hero-title {
  font-family: var(--font-display); letter-spacing: 4px;
  color: var(--gray-800); line-height: 0.95; margin-bottom: 1.5rem;
}
.hero-title .line-1 { display: block; font-size: clamp(3rem, 8vw, 6rem); animation: slideUp 0.7s 0.1s ease both; }
.hero-title .line-2 {
  display: block; font-size: clamp(4.5rem, 12vw, 10rem);
  color: var(--blue); animation: slideUp 0.7s 0.2s ease both;
}
.hero-title .line-3 { display: block; font-size: clamp(3rem, 8vw, 6rem); animation: slideUp 0.7s 0.3s ease both; }

.hero-sub {
  color: var(--gray-600); font-size: 1.1rem; max-width: 480px;
  margin-bottom: 2.5rem; line-height: 1.7; animation: fadeUp 0.7s 0.4s ease both;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeUp 0.7s 0.5s ease both; }

.hero-stats {
  display: flex; align-items: center; gap: 3rem;
  margin-top: 4rem; padding-top: 3rem;
  border-top: 2px solid var(--blue-mid);
  animation: fadeUp 0.7s 0.6s ease both;
}
.stat { text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 3.5rem; color: var(--blue); letter-spacing: 2px; line-height: 1; }
.stat-unit { font-family: var(--font-display); font-size: 1.8rem; color: var(--gray-400); }
.stat p { font-size: 0.8rem; color: var(--gray-600); margin-top: 0.2rem; }
.stat-divider { width: 1px; height: 60px; background: var(--blue-mid); }

/* ===== SERVICES ===== */
.services { padding: 8rem 5%; background: var(--white); }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem;
}
.service-card {
  background: var(--gray-100); border: 2px solid var(--gray-200);
  border-radius: var(--radius); padding: 2.5rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: default;
}
.service-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-4px); }
.service-card.featured { background: var(--blue); border-color: var(--blue); }
.service-card.featured h3, .service-card.featured p { color: #fff; }
.service-icon { font-size: 2rem; }
.service-card h3 { font-size: 1.2rem; color: var(--gray-800); font-weight: 700; }
.service-card p { color: var(--gray-600); font-size: 0.95rem; line-height: 1.7; flex: 1; }
.service-card.featured .btn-primary { background: #fff; color: var(--blue); }
.service-card.featured .btn-primary:hover { background: var(--blue-light); }

/* ===== ABOUT ===== */
.about { padding: 8rem 5%; background: var(--blue-light); }
.about-content {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center; max-width: 1200px; margin: 0 auto;
}
.about-text h2 {
  font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--gray-800); letter-spacing: 3px; line-height: 1; margin-bottom: 1.5rem;
}
.about-text h2 span { color: var(--blue); }
.about-text p { color: var(--gray-600); margin-bottom: 1rem; line-height: 1.8; }
.about-text p strong { color: var(--gray-800); }
.about-list { list-style: none; margin-top: 2rem; display: flex; flex-direction: column; gap: 0.8rem; }
.about-list li { display: flex; align-items: center; gap: 0.8rem; color: var(--gray-800); font-weight: 500; }
.check { color: var(--blue); font-weight: 700; font-size: 1.1rem; }

.about-visual { position: relative; height: 380px; }
.about-card-main {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: var(--white); border: 2px solid var(--blue-mid);
  border-radius: 16px; padding: 2.5rem 3rem; text-align: center;
  box-shadow: var(--shadow-lg); min-width: 220px;
}
.about-icon-big { font-size: 3.5rem; margin-bottom: 1rem; }
.about-name { font-family: var(--font-display); font-size: 1.8rem; color: var(--gray-800); letter-spacing: 2px; }
.about-role { font-size: 0.82rem; color: var(--gray-400); margin-top: 0.3rem; }
.about-badge-float {
  position: absolute; background: var(--white);
  border: 2px solid var(--blue-mid); color: var(--gray-800);
  padding: 0.5rem 1rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; white-space: nowrap;
  box-shadow: var(--shadow);
  animation: float 3s ease-in-out infinite;
}
.b1 { top: 5%; right: 0; animation-delay: 0s; }
.b2 { bottom: 15%; right: -5%; animation-delay: 1s; color: var(--blue); border-color: var(--blue); }
.b3 { bottom: 5%; left: 0; animation-delay: 2s; }

/* ===== REALISATIONS ===== */
.realisations { padding: 8rem 5%; background: var(--white); }
.real-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.real-card {
  background: var(--gray-100); border: 2px solid var(--gray-200);
  border-radius: var(--radius); padding: 2rem;
  display: flex; align-items: center; gap: 1.5rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.real-card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: var(--shadow); }
.real-emoji { font-size: 2.5rem; }
.real-info h4 { color: var(--gray-800); font-weight: 700; margin-bottom: 0.3rem; }
.real-info p { color: var(--gray-400); font-size: 0.875rem; }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 8rem 5%; background: var(--blue-light); }
.testi-wrapper { overflow: hidden; }
.testi-track { display: flex; gap: 1.5rem; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.testi-card {
  min-width: calc(100% / 3 - 1rem); background: var(--white);
  border: 2px solid var(--blue-mid); border-radius: var(--radius);
  padding: 2.5rem; flex-shrink: 0;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.testi-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.stars { font-size: 1rem; margin-bottom: 1rem; }
.testi-card p { color: var(--gray-600); font-style: italic; line-height: 1.8; margin-bottom: 1.2rem; }
.testi-card span { color: var(--blue); font-weight: 600; font-size: 0.875rem; }

.testi-nav { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2.5rem; }
.testi-btn {
  background: var(--white); border: 2px solid var(--blue-mid);
  color: var(--gray-800); width: 44px; height: 44px; border-radius: 8px;
  font-size: 1.1rem; cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.testi-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.testi-dots { display: flex; gap: 6px; }
.testi-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue-mid); cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.testi-dot.active { background: var(--blue); transform: scale(1.4); }

/* ===== CONTACT ===== */
.contact { padding: 8rem 5%; background: var(--white); }
.contact-inner {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 5rem; align-items: start; max-width: 1200px; margin: 0 auto;
}
.contact-info h2 {
  font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: var(--gray-800); letter-spacing: 3px; line-height: 1; margin-bottom: 1rem;
}
.contact-info h2 span { color: var(--blue); }
.contact-info > p { color: var(--gray-600); margin-bottom: 2.5rem; line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.ci-icon {
  font-size: 1.2rem; width: 44px; height: 44px;
  background: var(--blue-light); border: 2px solid var(--blue-mid);
  border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item strong { display: block; color: var(--gray-800); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-item a, .contact-item span { color: var(--gray-600); font-size: 0.95rem; text-decoration: none; transition: color var(--transition); }
.contact-item a:hover { color: var(--blue); cursor: pointer; }

.contact-form {
  background: var(--gray-100); border: 2px solid var(--gray-200);
  border-radius: 16px; padding: 2.5rem;
  display: flex; flex-direction: column; gap: 1.2rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.8rem; font-weight: 700; color: var(--gray-800); letter-spacing: 0.06em; text-transform: uppercase; cursor: default; }
.form-group input, .form-group select, .form-group textarea {
  background: var(--white); border: 2px solid var(--gray-200);
  color: var(--gray-800); padding: 0.85rem 1rem;
  border-radius: 8px; font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none; resize: vertical; cursor: text;
}
.form-group select { cursor: pointer; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,107,255,0.12);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--gray-400); }
.form-group input.error, .form-group select.error, .form-group textarea.error { border-color: #ef4444; }

.form-success {
  background: #f0fdf4; border: 2px solid #86efac;
  color: #16a34a; padding: 1rem; border-radius: 8px;
  font-weight: 600; font-size: 0.9rem; text-align: center; display: none;
}
.form-success.visible { display: block; animation: fadeUp 0.4s ease; }

/* ===== FOOTER ===== */
.footer { padding: 2.5rem 5%; background: var(--gray-800); }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
.footer-logo { font-family: var(--font-display); font-size: 1.4rem; color: var(--white); letter-spacing: 2px; }
.footer-logo span { color: var(--blue); }
.footer p { color: var(--gray-400); font-size: 0.85rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--gray-400); font-size: 0.85rem; text-decoration: none; transition: color var(--transition); cursor: pointer; }
.footer-links a:hover { color: var(--white); }

/* ===== ANIMATIONS ===== */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav-cta { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 2rem; }
  .stat-divider { display: none; }
  .about-content { grid-template-columns: 1fr; }
  .about-visual { height: 300px; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .testi-card { min-width: calc(100% - 0.5rem); }
}
@media (max-width: 600px) {
  .hero { padding: 8rem 5% 4rem; }
  .form-row { grid-template-columns: 1fr; }
  .services, .about, .realisations, .testimonials, .contact { padding: 5rem 5%; }
  .footer-inner { flex-direction: column; text-align: center; }
}