/* ═══════════════════════════════════════
   VARIABLES & BASE
═══════════════════════════════════════ */
:root {
  --blue:      #3ab0f0;
  --blue-dark: #1a8fd1;
  --blue-deep: #0d6fa8;
  --blue-bg:   #e8f5fd;
  --blue-soft: #cce8f8;
  --white:     #ffffff;
  --off:       #f5faff;
  --dark:      #172333;
  --mid:       #4a6580;
  --muted:     #8aadc5;
  --border:    #d4e9f7;
  --shadow:    rgba(58,176,240,0.13);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--dark);
  font-family: 'Nunito', sans-serif;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #f0f7fc; }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* ═══════════════════════════════════════
   COMPOSANTS RÉUTILISABLES
═══════════════════════════════════════ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 0.8rem;
}
.section-label::before {
  content: '';
  width: 18px;
  height: 2.5px;
  background: var(--blue);
  border-radius: 2px;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 0.8rem;
}
.section-title span { color: var(--blue); }

.section-sub {
  color: var(--mid);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 540px;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.95rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 25px rgba(58,176,240,0.35);
  transition: all 0.2s;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(58,176,240,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.95rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid var(--border);
  transition: all 0.2s;
  display: inline-block;
}
.btn-outline:hover {
  border-color: var(--blue);
  background: var(--blue-bg);
  transform: translateY(-3px);
  color: var(--blue-dark);
}

/* ═══════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 5rem;
  transition: all 0.4s;
}
nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px var(--shadow);
  padding: 0.8rem 5rem;
}
.nav-logo img {
  height: 100px;
  transition: transform 0.3s;
}
.nav-logo img:hover { transform: scale(1.05); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.5rem;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--blue-dark);
  background: var(--blue-bg);
}
.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 0.65rem 1.6rem !important;
  border-radius: 50px !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 20px var(--shadow);
}
.nav-cta:hover {
  background: var(--blue-dark) !important;
  transform: translateY(-2px) !important;
  color: var(--white) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--blue); }
.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2rem;
  cursor: pointer;
  color: var(--mid);
  background: none;
  border: none;
  font-family: inherit;
}

/* ═══════════════════════════════════════
   MARQUEE
═══════════════════════════════════════ */
.marquee-wrap {
  background: var(--blue);
  overflow: hidden;
  padding: 0.9rem 0;
}
.marquee-track {
  display: flex;
  animation: marquee 22s linear infinite;
  white-space: nowrap;
}
.marquee-track span {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  padding: 0 2rem;
  flex-shrink: 0;
}
.marquee-track .sep {
  color: rgba(255,255,255,0.3);
  padding: 0;
}

/* ═══════════════════════════════════════
   SECTION 1 — ACCUEIL
═══════════════════════════════════════ */
#accueil {
  min-height: 100vh;
  background: var(--white);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 5rem 5rem;
}
#accueil::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-soft) 0%, transparent 65%);
  animation: floatBubble 8s ease-in-out infinite;
}
#accueil::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-bg) 0%, transparent 65%);
  animation: floatBubble 10s ease-in-out infinite reverse;
}
.hero-dots {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, var(--blue-soft) 1.5px, transparent 1.5px);
  background-size: 40px 40px;
  opacity: 0.4;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue-bg);
  border: 1.5px solid var(--blue-soft);
  border-radius: 50px;
  padding: 0.45rem 1.1rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.7s 0.2s both;
}
.pulse-dot {
  width: 7px; height: 7px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
#accueil h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.7s 0.35s both;
}
#accueil h1 em {
  font-style: normal;
  color: var(--blue);
  position: relative;
}
#accueil h1 em::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
}
.hero-desc {
  font-size: 1.02rem;
  color: var(--mid);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.7s 0.5s both;
}
.hero-chips {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
  animation: fadeUp 0.7s 0.65s both;
}
.chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mid);
  box-shadow: 0 2px 8px var(--shadow);
  transition: all 0.2s;
}
.chip:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  color: var(--blue-dark);
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.8s both;
}
.hero-visual {
  position: relative;
  z-index: 2;
  animation: fadeUp 0.9s 0.5s both;
}
.hero-visual-badge {
  position: absolute;
  top: -1rem; right: -1rem;
  z-index: 3;
  background: var(--blue);
  color: var(--white);
  border-radius: 14px;
  padding: 0.8rem 1.2rem;
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 8px 25px rgba(58,176,240,0.4);
  text-align: center;
  animation: floatBadge 3s ease-in-out infinite;
}
.hero-visual-badge .big {
  font-size: 1.5rem;
  font-weight: 900;
  display: block;
  line-height: 1;
}
.hero-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 240px 180px;
  gap: 1rem;
}
.hero-mosaic .m1 { grid-column: 1 / 3; }
.mosaic-img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid var(--border);
  box-shadow: 0 8px 30px var(--shadow);
  transition: transform 0.4s;
  display: block;
}
.mosaic-img:hover { transform: scale(1.03); }
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  animation: fadeUp 1s 1.2s both;
}
.scroll-hint span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-arrow {
  width: 24px; height: 24px;
  border-right: 2.5px solid var(--blue);
  border-bottom: 2.5px solid var(--blue);
  transform: rotate(45deg);
  animation: arrowBounce 1.5s ease-in-out infinite;
}

/* ═══════════════════════════════════════
   SECTION 2 — NOS SERVICES
═══════════════════════════════════════ */
#services {
  min-height: 100vh;
  background: var(--off);
  padding: 8rem 5rem;
}
.services-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}
.services-intro-img {
  width: 100%; height: 360px;
  object-fit: cover;
  border-radius: 24px;
  border: 2px solid var(--border);
  box-shadow: 0 16px 50px var(--shadow);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.scard {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
}
.scard:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px var(--shadow);
  border-color: var(--blue);
}
.scard-num {
  position: absolute;
  top: 1.2rem; right: 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 4rem;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  transition: color 0.3s;
}
.scard:hover .scard-num { color: var(--blue-soft); }
.scard-icon {
  width: 60px; height: 60px;
  background: var(--blue-bg);
  border: 2px solid var(--blue-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  margin-bottom: 1.4rem;
  overflow: hidden; 
  transition: all 0.3s;
}
.scard-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.scard:hover .scard-icon {
  box-shadow: 0 6px 20px rgba(58,176,240,0.3);
}
.scard:hover .scard-icon {
  background: var(--blue);
  box-shadow: 0 6px 20px rgba(58,176,240,0.3);
}
.scard h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.7rem;
}
.scard p {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.8;
}
.scard ul {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.scard ul li {
  font-size: 0.83rem;
  color: var(--mid);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.scard ul li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 800;
  font-size: 0.8rem;
}
.scard::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
  border-radius: 0 0 20px 20px;
}
.scard:hover::after { transform: scaleX(1); }

/* ═══════════════════════════════════════
   SECTION 3 — POURQUOI GMP
═══════════════════════════════════════ */
#pourquoi {
  min-height: 100vh;
  background: var(--white);
  padding: 8rem 5rem;
}
.pourquoi-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 5rem;
}
.pourquoi-img-wrap { position: relative; }
.pourquoi-img {
  width: 100%; height: 420px;
  object-fit: cover;
  border-radius: 24px;
  border: 2px solid var(--border);
  box-shadow: 0 16px 50px var(--shadow);
}
.pourquoi-badge {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  background: var(--blue);
  color: var(--white);
  border-radius: 16px;
  padding: 1.2rem 1.6rem;
  box-shadow: 0 12px 35px rgba(58,176,240,0.4);
  text-align: center;
}
.pourquoi-badge .pb-val {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}
.pourquoi-badge .pb-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 0.2rem;
}
.avantages-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.av-item {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  padding: 1.4rem;
  background: var(--off);
  border: 2px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s;
}
.av-item:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 30px var(--shadow);
  transform: translateX(6px);
}
.av-ico {
  width: 50px; height: 50px;
  flex-shrink: 0;
  background: var(--blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 6px 18px rgba(58,176,240,0.3);
}
.av-text h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.3rem;
}
.av-text p {
  font-size: 0.86rem;
  color: var(--mid);
  line-height: 1.75;
}
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat-box {
  background: var(--blue);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 30px rgba(58,176,240,0.25);
  transition: transform 0.3s;
}
.stat-box:hover { transform: translateY(-4px); }
.stat-box .val {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-box .lbl {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* ═══════════════════════════════════════
   SECTION 4 — RÉALISATIONS
═══════════════════════════════════════ */
#realisations {
  min-height: 100vh;
  background: var(--off);
  padding: 8rem 5rem;
}
.real-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  gap: 2rem;
  flex-wrap: wrap;
}
.filters { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.filter-btn {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 50px;
  padding: 0.5rem 1.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mid);
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Nunito', sans-serif;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.gitem {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 2px solid var(--border);
  background: var(--white);
  cursor: pointer;
  transition: all 0.4s;
}

.gitem:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px var(--shadow);
  border-color: var(--blue);
}

/* ← supprime le span2 pour avoir 3 colonnes égales */
.gitem.span2 { grid-column: span 1; }

.gitem img {
  width: 100%;
  height: 320px;          /* ← hauteur fixe identique pour toutes */
  object-fit: contain;    /* ← contain = image entière visible */
  background: var(--white);
  display: block;
  padding: 1rem;          /* ← petit espace autour */
  transition: transform 0.5s ease;
}

.gitem:hover img { transform: scale(1.04); }
.gitem-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,143,209,0.8) 0%, rgba(26,143,209,0.1) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
}
.gitem:hover .gitem-overlay { opacity: 1; }
.gitem-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}
.gitem-cat {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  margin-top: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.clients-section { margin-top: 5rem; }
.clients-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--mid);
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.clients-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.client-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.8rem;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 14px;
  transition: all 0.3s;
  flex: 0 1 160px;
}
.client-pill:hover {
  border-color: var(--blue);
  box-shadow: 0 6px 20px var(--shadow);
  transform: translateY(-3px);
}
.client-pill img {
  max-height: 46px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter 0.3s;
}
.client-pill:hover img { filter: grayscale(0%); }

/* ═══════════════════════════════════════
   SECTION 5 — CONTACT
═══════════════════════════════════════ */
#contact {
  min-height: 100vh;
  background: var(--white);
  padding: 8rem 5rem;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  margin-top: 4rem;
}
.contact-left h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.contact-left p {
  color: var(--mid);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.ccard {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--off);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.4rem;
  margin-bottom: 1rem;
  transition: all 0.3s;
}
.ccard:hover {
  border-color: var(--blue);
  transform: translateX(6px);
  box-shadow: 0 4px 18px var(--shadow);
}
.ccard-ico {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: var(--blue-bg);
  border: 2px solid var(--blue-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.ccard-lbl {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 0.1rem;
}
.ccard-val {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}
.social-row { display: flex; gap: 0.8rem; margin-top: 2rem; }
.social-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--off);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mid);
  text-decoration: none;
  transition: all 0.2s;
}
.social-btn:hover {
  border-color: var(--blue);
  background: var(--blue-bg);
  color: var(--blue-dark);
}
.cform { display: flex; flex-direction: column; gap: 1.1rem; }
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.ff { display: flex; flex-direction: column; gap: 0.4rem; }
.ff label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
}
.ff input,
.ff textarea,
.ff select {
  background: var(--off);
  border: 2px solid var(--border);
  border-radius: 12px;
  color: var(--dark);
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  padding: 0.9rem 1.1rem;
  outline: none;
  resize: none;
  transition: all 0.3s;
}
.ff input:focus,
.ff textarea:focus,
.ff select:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--blue-bg);
}
.ff input::placeholder,
.ff textarea::placeholder { color: var(--muted); }
.ff select { appearance: none; cursor: pointer; }
.fsub-btn {
  background: var(--blue);
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 2.4rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  box-shadow: 0 6px 22px rgba(58,176,240,0.35);
  transition: all 0.2s;
}
.fsub-btn:hover {
  background: var(--blue-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(58,176,240,0.4);
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer {
  background: var(--dark);
  padding: 4rem 5rem 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 2rem;
}
.fb img { height: 54px; margin-bottom: 1rem; }
.fb p { color: #4a6580; font-size: 0.85rem; line-height: 1.7; max-width: 240px; }
.fcol h4 {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.2rem;
}
.fcol ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.fcol a { color: #4a6580; font-size: 0.88rem; text-decoration: none; transition: color 0.2s; }
.fcol a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { color: #253a50; font-size: 0.78rem; }
.back-top {
  background: var(--blue);
  color: var(--white);
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 16px rgba(58,176,240,0.35);
  transition: all 0.2s;
  font-family: inherit;
}
.back-top:hover { background: var(--blue-dark); transform: translateY(-3px); }

/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}
@keyframes floatBubble {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-25px); }
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}
@keyframes arrowBounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.5; }
  50%       { transform: rotate(45deg) translate(5px, 5px); opacity: 1; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.rd1 { transition-delay: 0.1s; }
.rd2 { transition-delay: 0.2s; }
.rd3 { transition-delay: 0.3s; }
.rd4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1100px) {
  nav, nav.scrolled { padding: 1rem 2rem; }
  #accueil, #services, #pourquoi, #realisations, #contact { padding: 6rem 2rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .services-intro { grid-template-columns: 1fr; }
  .services-intro-img { height: 250px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .pourquoi-top { grid-template-columns: 1fr; }
  .pourquoi-img { height: 280px; }
  .pourquoi-badge { bottom: -1rem; right: 1rem; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gitem.span2 { grid-column: span 1; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gitem.span2 { grid-column: span 1; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .cform-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  footer { padding: 3rem 1.5rem 2rem; }
}
