/* ==========================================================================
   BAN des Alpes — Main Stylesheet
   ========================================================================== */

/* ============ VARIABLES & RESET ============ */
:root {
  --green: #6FB662;
  --green-dark: #4D8842;
  --green-soft: #E8F4E5;
  --blue: #1E3A5F;
  --blue-dark: #0F1B2D;
  --blue-soft: #E8EEF5;
  --white: #FFFFFF;
  --bg-soft: #F5F7FA;
  --text: #0F1B2D;
  --text-mute: #5A6B7D;
  --text-light: #8A9AAB;
  --border: #E3E8EF;
  --border-soft: #EEF1F4;

  --shadow-sm: 0 1px 2px rgba(15, 27, 45, 0.05);
  --shadow: 0 4px 16px rgba(15, 27, 45, 0.08);
  --shadow-lg: 0 16px 40px -12px rgba(15, 27, 45, 0.16);
  --shadow-green: 0 12px 28px -8px rgba(111, 182, 98, 0.45);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.28s ease;
}

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

html {
  scroll-behavior: auto;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

svg {
  display: block;
  flex-shrink: 0;
}

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

.section {
  padding: 90px 0;
}

.hl {
  position: relative;
  color: var(--green-dark);
  z-index: 0;
}

.hl::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 8px;
  background: var(--green);
  opacity: 0.25;
  z-index: -1;
  border-radius: 2px;
}

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.badge-green {
  background: var(--green-soft);
  color: var(--green-dark);
}

.badge-green-trans {
  background: rgba(111, 182, 98, 0.15);
  color: var(--green);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--blue-dark);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-mute);
  line-height: 1.6;
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: #FBBF24;
}

.stars svg {
  width: 16px;
  height: 16px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-green {
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow-green);
}

.btn-green:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-blue:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--border);
  padding: 12px 24px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green-dark);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

.btn-sm {
  padding: 12px 20px;
  font-size: 14px;
}

/* ============ TOP BAR ============ */
.topbar {
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 0;
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar span,
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar a {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  transition: color var(--transition);
}

.topbar a:hover {
  color: var(--green);
}

.topbar-icon {
  width: 14px;
  height: 14px;
  opacity: 0.8;
}

.star-icon {
  color: #FBBF24;
  opacity: 1;
}

/* ============ NAVBAR ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  padding: 14px 0;
  transition: padding var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-img {
  height: 72px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav-brand-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--blue-dark);
  letter-spacing: -0.01em;
  line-height: 1.1;
  white-space: nowrap;
}

.nav-brand-accent {
  color: var(--green);
}

.footer-logo {
  height: 160px;
  width: auto;
  display: block;
}

.footer-brand-link {
  margin-bottom: 16px;
}

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

.nav-menu a:not(.btn) {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mute);
  transition: color var(--transition);
}

.nav-menu a:not(.btn):hover {
  color: var(--blue-dark);
}

/* ============ NAV DROPDOWN ============ */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mute);
  cursor: pointer;
  padding: 8px 0;
  transition: color var(--transition);
}

.nav-dropdown-toggle:hover,
.nav-dropdown.is-open .nav-dropdown-toggle {
  color: var(--blue-dark);
}

.nav-dropdown-chevron {
  width: 12px;
  height: 12px;
  transition: transform var(--transition);
}

.nav-dropdown:hover .nav-dropdown-chevron,
.nav-dropdown.is-open .nav-dropdown-chevron {
  transform: rotate(180deg);
}

/* Shared icon style (used by mega menu) */
.nav-dropdown-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #EEF6EC;
  color: var(--green-dark, #4D8842);
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}

.nav-dropdown-icon svg {
  width: 22px;
  height: 22px;
}

/* ---- Mega menu (full-width panel) ---- */
.nav-megamenu {
  position: static; /* panel positions relative to .nav header */
}

/* Invisible bridge below the toggle so the cursor can travel down to the panel
   without losing the :hover state (the gap between toggle text and panel). */
.nav-megamenu .nav-dropdown-toggle {
  position: relative;
}

.nav-megamenu .nav-dropdown-toggle::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -40px;
  right: -40px;
  height: 60px;
}

.nav-megamenu-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 18px 40px rgba(15, 30, 50, 0.08);
  padding: 28px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 55;
}

.nav-megamenu:hover .nav-megamenu-panel,
.nav-megamenu:focus-within .nav-megamenu-panel,
.nav-megamenu.is-open .nav-megamenu-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-megamenu-inner {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.nav-megamenu-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-megamenu-list li {
  list-style: none;
}

.nav-megamenu-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  color: var(--blue-dark);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.nav-megamenu-list a:hover,
.nav-megamenu-list a:focus-visible {
  background: #F4F8F2;
  transform: translateX(2px);
}

.nav-megamenu-list a:hover .nav-dropdown-icon,
.nav-megamenu-list a:focus-visible .nav-dropdown-icon {
  background: var(--green-dark);
  color: #FFFFFF;
}

.nav-megamenu-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.nav-megamenu-text strong {
  font-weight: 600;
  color: var(--blue-dark);
  font-size: 14px;
}

.nav-megamenu-text small {
  font-size: 12px;
  color: var(--text-mute);
  margin-top: 2px;
}

.nav-megamenu-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 260px;
  background: #EEF6EC;
}

.nav-megamenu-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dark gradient overlay so the caption stays readable on the photo */
.nav-megamenu-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 27, 45, 0) 35%, rgba(15, 27, 45, 0.75) 100%);
  pointer-events: none;
}

.nav-megamenu-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 20px;
  text-align: left;
  color: #FFFFFF;
  z-index: 2;
}

.nav-megamenu-caption strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.nav-megamenu-caption span {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 12px;
}

.nav-megamenu-caption .btn {
  display: inline-flex;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  background: linear-gradient(180deg, #F5F9F3 0%, #FFFFFF 100%);
  padding: 60px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(111, 182, 98, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero h1 {
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--blue-dark);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-mute);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 520px;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mute);
  background: var(--white);
  border: 1px solid var(--border-soft);
  padding: 8px 14px;
  border-radius: 50px;
}

.trust-pill svg {
  width: 14px;
  height: 14px;
  color: var(--green);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-mute);
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}

.hero-visual {
  position: relative;
  max-width: 460px;
  margin-left: auto;
}

.hero-photo {
  position: relative;
  aspect-ratio: 5 / 6;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}

.float-card-top {
  top: -30px;
  right: -30px;
}

.float-card-bottom {
  bottom: 40px;
  left: -30px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-card-icon svg {
  width: 22px;
  height: 22px;
}

.float-card-icon-green {
  background: var(--green-soft);
  color: var(--green-dark);
}

.float-card-icon-blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.float-card strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.2;
}

.float-card span {
  font-size: 11px;
  color: var(--text-mute);
}

/* ============ CERTIFICATIONS ============ */
.certif {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 28px 0;
}

.certif-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
}

.certif-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-light);
}

.certif-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mute);
}

.certif-item svg {
  width: 18px;
  height: 18px;
  color: var(--green-dark);
}

/* ============ SERVICES ============ */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service:hover {
  transform: translateY(-4px);
  border-color: var(--green);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--green-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  margin-bottom: 18px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service:hover .service-icon {
  background: var(--green);
  color: var(--white);
  transform: rotate(-4deg) scale(1.05);
}

.service h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.service p {
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.55;
  margin-bottom: 16px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-dark);
  transition: gap var(--transition);
}

.service:hover .service-link {
  gap: 10px;
}

/* ============ POURQUOI NOUS CHOISIR ============ */
.reasons {
  background: var(--bg-soft);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.reason {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.reason:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.reason-icon {
  width: 44px;
  height: 44px;
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reason-icon svg {
  width: 22px;
  height: 22px;
}

.reason h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 6px;
}

.reason p {
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.55;
}

/* ============ MÉTHODE ============ */
.methode {
  background: var(--white);
}

.methode-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.methode-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 60px;
  right: 60px;
  height: 2px;
  background-image: linear-gradient(90deg, var(--green) 50%, transparent 50%);
  background-size: 12px 2px;
  opacity: 0.4;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--white);
  border: 2px solid var(--green);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 800;
  color: var(--green);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.step:hover .step-num {
  background: var(--green);
  color: var(--white);
  transform: scale(1.1);
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.55;
  max-width: 240px;
  margin: 0 auto;
}

/* ============ PROFESSIONNELS ============ */
.pros {
  background: var(--blue-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.pros::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(111, 182, 98, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.pros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.pros-content h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.pros-content > p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 28px;
}

.pros-list {
  margin-bottom: 32px;
}

.pros-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
}

.pros-list svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex-shrink: 0;
}

.pros-clients {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pros-client {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: background var(--transition), border-color var(--transition);
}

.pros-client:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(111, 182, 98, 0.4);
}

.pros-client-icon {
  width: 36px;
  height: 36px;
  background: rgba(111, 182, 98, 0.18);
  color: var(--green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.pros-client-icon svg {
  width: 20px;
  height: 20px;
}

.pros-client h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.pros-client p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

/* ============ ZONE D'INTERVENTION ============ */
.zone {
  background: var(--white);
}

.zone-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.zone-content h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--blue-dark);
  margin-bottom: 16px;
}

.zone-content > p {
  font-size: 16px;
  color: var(--text-mute);
  line-height: 1.6;
  margin-bottom: 28px;
}

.dept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.dept-card {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.dept-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.dept-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}

.dept-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  background: var(--white);
  padding: 4px 10px;
  border-radius: 50px;
}

.dept-card strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 6px;
}

.dept-card p {
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.5;
}

.zone-map {
  background: var(--bg-soft);
  border-radius: 20px;
  padding: 32px;
}

.zone-map-canvas {
  width: 100%;
  min-height: 470px;
  border-radius: 16px;
  overflow: hidden;
  background: #eaf0f6;
  box-shadow: inset 0 0 0 1px rgba(15, 27, 45, 0.04);
}

.zone-map svg,
.zone-map-image {
  width: 100%;
  height: auto;
  display: block;
}

.zone-map .leaflet-container {
  width: 100%;
  min-height: 470px;
  border-radius: 16px;
  background: #eaf0f6;
  font-family: inherit;
}

.zone-map .leaflet-control-zoom {
  border: 0;
  box-shadow: var(--shadow);
}

.zone-map .leaflet-control-zoom a {
  border-radius: 10px;
  color: var(--blue-dark);
}

.zone-map .leaflet-control-attribution {
  font-size: 10px;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.88);
}

.map-legend {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-mute);
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-dot-zone {
  background: rgba(111, 182, 98, 0.3);
  border: 2px dashed var(--green);
}

.legend-dot-city {
  background: var(--green);
}

.map-attribution {
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-light);
}

.sector-tooltip {
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  color: var(--blue-dark);
  box-shadow: var(--shadow);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
}

.sector-tooltip::before,
.sector-tooltip::after {
  display: none;
}

.sector-tooltip-main {
  font-size: 13px;
  padding: 4px 12px;
}

.sector-marker {
  background: transparent;
  border: 0;
}

/* ============ AVIS CLIENTS ============ */
.avis {
  background: var(--bg-soft);
}

.google-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  max-width: 480px;
  margin: 0 auto 48px;
}

.google-logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.g-blue { color: #4285F4; }
.g-red { color: #EA4335; }
.g-yellow { color: #FBBC05; }
.g-green { color: #34A853; }

.google-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.google-rating {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.google-rating strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue-dark);
}

.google-rating small {
  font-size: 12px;
  color: var(--text-mute);
}

.avis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.avis-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.avis-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.avis-card .stars {
  margin-bottom: 14px;
}

.avis-card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.avis-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avis-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.avis-author strong {
  font-size: 14px;
  color: var(--blue-dark);
}

.avis-author span {
  font-size: 12px;
  color: var(--text-mute);
  line-height: 1.4;
}

/* ============ LOGOS CLIENTS ============ */
/* ============ SLOGAN BAND ============ */
.slogan-band {
  position: relative;
  background: linear-gradient(135deg, #F4FAF2 0%, #FFFFFF 50%, #EEF6EC 100%);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 72px 0;
  overflow: hidden;
}

.slogan-band::before,
.slogan-band::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  z-index: 0;
}

.slogan-band::before {
  top: -120px;
  left: -120px;
  background: radial-gradient(circle, rgba(111, 182, 98, 0.35) 0%, transparent 70%);
}

.slogan-band::after {
  bottom: -140px;
  right: -140px;
  background: radial-gradient(circle, rgba(30, 58, 95, 0.18) 0%, transparent 70%);
}

.slogan-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
}

.slogan-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--green-dark);
  margin-bottom: 16px;
}

.slogan-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--blue-dark);
  margin: 0 0 18px;
}

.slogan-title .hl {
  color: var(--green-dark);
}

.slogan-sub {
  font-size: 17px;
  color: var(--text-mute);
  line-height: 1.55;
  margin: 0 auto 28px;
  max-width: 640px;
}

.slogan-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.slogan-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-dark);
  box-shadow: var(--shadow-sm);
}

.slogan-pill svg {
  width: 14px;
  height: 14px;
  color: var(--green-dark);
}

@media (max-width: 720px) {
  .slogan-band {
    padding: 56px 0;
  }
  .slogan-sub {
    font-size: 15px;
  }
}

/* ============ STATS ============ */
.stats {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat {
  text-align: center;
  position: relative;
}

.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
}

.stat-num {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-suffix {
  color: var(--green);
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

/* ============ CTA FINAL ============ */
.cta-final {
  background: linear-gradient(135deg, var(--green-soft) 0%, var(--white) 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(111, 182, 98, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
}

.cta-inner h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--blue-dark);
  margin-bottom: 16px;
}

.cta-inner > p {
  font-size: 17px;
  color: var(--text-mute);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* ============ CONTACT FORM ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 32px;
  margin-top: 40px;
  text-align: left;
  align-items: stretch;
}

.contact-info {
  background: var(--blue);
  color: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 12px 32px rgba(15, 27, 45, 0.12);
}

.contact-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(111, 182, 98, 0.18);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 2px;
}

.contact-value {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  line-height: 1.4;
}

a.contact-value:hover {
  color: var(--green);
}

.contact-form {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 12px 32px rgba(15, 27, 45, 0.08);
  border: 1px solid rgba(15, 27, 45, 0.06);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 0 0 4px;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-dark);
}

.form-field .req {
  color: var(--green-dark);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid rgba(15, 27, 45, 0.12);
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-light);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(111, 182, 98, 0.18);
}

.form-field input:invalid:not(:placeholder-shown),
.form-field select:invalid:not(:focus) {
  border-color: rgba(15, 27, 45, 0.12);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-mute);
}

.form-check input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--green);
  flex-shrink: 0;
}

.form-check a {
  color: var(--green-dark);
  text-decoration: underline;
}

.form-submit {
  align-self: flex-start;
  margin-top: 4px;
}

.form-note {
  font-size: 12.5px;
  color: var(--text-light);
  margin: 0;
}

.form-success {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--green-soft);
  color: var(--green-dark);
  border: 1px solid var(--green);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 8px;
}

.form-success svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--green-dark);
}

.form-success strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.form-success p {
  margin: 0;
  font-size: 14px;
  color: var(--green-dark);
  opacity: 0.85;
}

@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 24px 20px;
  }
  .contact-info {
    padding: 24px 20px;
  }
  .form-submit {
    align-self: stretch;
    width: 100%;
    justify-content: center;
  }
}

/* ============ FOOTER ============ */
.footer {
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}


.footer-brand > p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--green);
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

/* ============ FLOATING PHONE BUTTON ============ */
.float-tel {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  width: 60px;
  height: 60px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-green);
  animation: ring 3s ease infinite;
  transition: transform var(--transition);
}

.float-tel svg {
  width: 24px;
  height: 24px;
}

.float-tel:hover {
  transform: scale(1.1);
}

@keyframes ring {
  0%, 100% {
    box-shadow: var(--shadow-green);
  }
  50% {
    box-shadow: var(--shadow-green), 0 0 0 12px rgba(111, 182, 98, 0.2);
  }
}

/* ============ RESPONSIVE — TABLET (980px) ============ */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-visual {
    margin: 0 auto;
    max-width: 380px;
  }

  .pros-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .zone-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .methode-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .methode-grid::before {
    display: none;
  }

  .avis-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:not(:last-child)::after {
    display: none;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============ RESPONSIVE — MOBILE (720px) ============ */
@media (max-width: 720px) {
  .section {
    padding: 64px 0;
  }

  .topbar .wrap {
    flex-direction: column;
    font-size: 12px;
    text-align: center;
  }

  .topbar-left,
  .topbar-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 49;
    padding: 80px 24px;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a:not(.btn) {
    font-size: 18px;
  }

  /* ---- Mobile: dropdown becomes a collapsible block ---- */
  .nav-dropdown {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0;
  }

  .nav-dropdown-toggle {
    font-size: 18px;
    padding: 4px 0;
  }

  /* Mega menu collapses to vertical list inside the burger */
  .nav-megamenu-panel {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
    margin-top: 8px;
    width: 100%;
    max-width: 360px;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }

  .nav-megamenu.is-open .nav-megamenu-panel {
    max-height: 600px;
  }

  .nav-megamenu-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  .nav-megamenu-list {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .nav-megamenu-list a {
    font-size: 15px;
    padding: 10px 14px;
  }

  .nav-megamenu-visual {
    display: none;
  }

  .burger {
    display: flex;
    position: relative;
    z-index: 51;
  }

  .nav-logo-img {
    height: 38px;
  }

  .nav-brand-name {
    font-size: 15px;
  }

  .float-card {
    display: none;
  }

  .hero-ctas,
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn,
  .cta-buttons .btn {
    width: 100%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .trust-pills {
    flex-direction: column;
  }

  .certif-inner {
    gap: 20px;
  }

  .methode-grid,
  .services-grid,
  .dept-grid,
  .pros-clients,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .reasons-grid,
  .avis-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
  }

  .avis-grid {
    scroll-snap-type: none;
  }

  .reasons-grid::-webkit-scrollbar,
  .avis-grid::-webkit-scrollbar {
    display: none;
  }

  .reason,
  .avis-card {
    flex: 0 0 84%;
    min-width: 280px;
    scroll-snap-align: start;
  }

  .reason {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }

  .reason-icon {
    width: 46px;
    height: 46px;
  }

  .reason h3 {
    font-size: 17px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-final {
    padding: 64px 0;
  }
}
