:root {
  --primary: #246BFF;
  --primary-soft: #E0EEFF;
  --secondary: #FF6B6B;
  --accent-mint: #7BE0C3;
  --accent-sun: #FFC857;
  --background: #F5FBFF;
  --surface: #FFFFFF;
  --text-main: #142033;
  --text-soft: #4B5B73;
  --border-subtle: #D5E2F5;
  --font-heading: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 12px 30px rgba(10, 44, 90, 0.08);
  --transition-fast: 180ms ease-out;
  --transition-normal: 220ms ease-out;
  --container-width: 1200px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}

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

/* Footer Social (Style badge bleu rond) */
.footer-social {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem 0.625rem 0.625rem;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.12);
}

.footer-social-link svg {
  width: 36px;
  height: 36px;
  padding: 8px;
  background: #1877f2;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-social {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
  }

  .footer-social-link {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.25rem 0.75rem 0.75rem;
  }

  .footer-social-link svg {
    width: 40px;
    height: 40px;
    padding: 10px;
  }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(245, 251, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(213, 226, 245, 0.6);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(10, 44, 90, 0.08);
  border-bottom-color: var(--border-subtle);
  transform: translateY(0);
}

.header-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: var(--space-4);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  transition: transform var(--transition-fast);
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, #1B56D6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(36, 107, 255, 0.3);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.brand:hover .brand-mark {
  box-shadow: 0 12px 28px rgba(36, 107, 255, 0.4);
  transform: rotate(-3deg);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
  fill: #FFFFFF;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--text-main) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-soft);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav {
  display: none;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  padding: 8px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent-mint) 100%);
  border-radius: var(--radius-pill);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.header-cta {
  display: none;
  align-items: center;
  gap: var(--space-3);
}

.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.header-phone-label {
  font-size: 0.75rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.header-phone-number {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.03em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #1B56D6 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(36, 107, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(36, 107, 255, 0.4);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface);
  color: var(--primary);
  border: 2px solid var(--primary-soft);
  box-shadow: 0 4px 12px rgba(36, 107, 255, 0.1);
}

.btn-secondary:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.menu-toggle:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
}

.menu-toggle:active {
  transform: scale(0.95);
}

.burger-icon {
  position: relative;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: var(--radius-pill);
  transition: all var(--transition-normal);
}

.burger-icon::before,
.burger-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: var(--radius-pill);
  transition: all var(--transition-normal);
}

.burger-icon::before { top: -6px; }
.burger-icon::after { top: 6px; }

.menu-toggle.active .burger-icon {
  background: transparent;
}

.menu-toggle.active .burger-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle.active .burger-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 73px;
  left: 0;
  right: 0;
  max-height: calc(100vh - 73px);
  background: var(--surface);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 12px 32px rgba(10, 44, 90, 0.15);
  overflow-y: auto;
  animation: slideDown var(--transition-normal);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-mobile.active {
  display: block;
}

.nav-mobile-list {
  list-style: none;
  margin: 0;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.nav-mobile-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
  background: var(--background);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-mobile-link:hover,
.nav-mobile-link.active {
  background: var(--primary-soft);
  color: var(--primary);
  transform: translateX(4px);
}

.nav-mobile-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  background: linear-gradient(135deg, var(--primary-soft) 0%, rgba(123, 224, 195, 0.15) 100%);
  border-radius: var(--radius-lg);
  margin-top: var(--space-3);
}

.nav-mobile-phone {
  text-align: center;
  padding: var(--space-3);
  background: var(--surface);
  border-radius: var(--radius-md);
}

.nav-mobile-phone-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.nav-mobile-phone-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.urgence-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--secondary) 0%, #E45454 100%);
  color: #FFFFFF;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

.urgence-dot {
  width: 6px;
  height: 6px;
  background: #FFFFFF;
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@media (min-width: 768px) {
  .header-container {
    min-height: 80px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-mark svg {
    width: 24px;
    height: 24px;
  }

  .brand-title {
    font-size: 1.25rem;
  }

  .brand-subtitle {
    font-size: 0.8rem;
  }

  .menu-toggle {
    display: none;
  }

  .nav {
    display: block;
  }

  .nav-mobile {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .header-cta {
    display: flex;
  }
}

@media (max-width: 767px) {
  .header-container {
    min-height: 68px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-mark svg {
    width: 20px;
    height: 20px;
  }

  .brand-title {
    font-size: 1rem;
  }

  .brand-subtitle {
    font-size: 0.7rem;
  }
}

/* FOOTER */
.footer {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #E5E7EB;
  padding: 64px 0 0;
  margin-top: 80px;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-mint) 50%, transparent 100%);
}

.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

/* Footer Brand */
.footer-brand {
  max-width: 420px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-mint) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(36, 107, 255, 0.4);
}

.footer-logo-mark svg {
  width: 24px;
  height: 24px;
  fill: #FFFFFF;
}

.footer-logo-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.footer-logo-subtitle {
  font-size: 0.8rem;
  color: #94A3B8;
  font-weight: 500;
}

.footer-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #CBD5E1;
  margin-bottom: var(--space-5);
}

.footer-certifications {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(36, 107, 255, 0.1);
  border: 1px solid rgba(36, 107, 255, 0.3);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--accent-mint);
  width: fit-content;
}

.footer-cert-badge svg {
  stroke: var(--accent-mint);
}

/* Footer Columns */
.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.9rem;
  color: #CBD5E1;
  transition: all var(--transition-fast);
  width: fit-content;
}

.footer-link svg {
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--transition-fast);
  stroke: var(--primary);
}

.footer-link:hover {
  color: var(--accent-mint);
  transform: translateX(4px);
}

.footer-link:hover svg {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   FOOTER — CONTACT CARD (VERSION AJUSTÉE RESPONSIVE)
   ============================================================ */

.footer-contact-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
}

/* Ligne de contact */
.footer-contact-item {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  align-items: flex-start; /* évite les décalages sur mobile */
}

.footer-contact-item:not(:last-child) {
  border-bottom: 1px dashed rgba(148, 163, 184, 0.15);
}

/* Icône */
.footer-contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-mint) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-contact-icon svg {
  stroke: #FFFFFF;
}

/* Colonne texte (très important pour éviter les débordements) */
.footer-contact-item > div {
  min-width: 0; /* permet au texte de wrap sans dépasser */
}

/* Label */
.footer-contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94A3B8;
  margin-bottom: 4px;
  font-weight: 600;
}

/* Valeur (email / téléphone / horaires) */
.footer-contact-value {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  display: block;
  margin-bottom: 2px;
  transition: color var(--transition-fast);

  /* Empêche le débordement sur mobile sans couper trop tôt */
  overflow-wrap: break-word;
  word-break: break-word;
}

.footer-contact-value:hover {
  color: var(--accent-mint);
}

/* Petite note */
.footer-contact-note {
  font-size: 0.78rem;
  color: #94A3B8;
}

/* CTA */
.footer-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--primary) 0%, #1B56D6 100%);
  color: #FFFFFF;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(36, 107, 255, 0.4);
  transition: all var(--transition-fast);
  width: 100%;
}

.footer-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(36, 107, 255, 0.5);
}

/* ============================================================
   FOOTER BOTTOM
   ============================================================ */

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  font-size: 0.85rem;
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-copyright {
  color: #94A3B8;
  margin: 0;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
}

.footer-legal-link {
  color: #CBD5E1;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal-link:hover {
  color: var(--accent-mint);
  text-decoration: underline;
}

.footer-separator {
  color: #475569;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* DESKTOP */
@media (min-width: 768px) {
  .footer-main {
    grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* MOBILE */
@media (max-width: 767px) {
  .footer {
    padding: 48px 0 0;
    margin-top: 64px;
  }

  .footer-main {
    gap: 40px;
    padding-bottom: 40px;
  }
}


/* ===========================
   HERO COLORÉ — SERRURIER SAINT-MAURICE
   =========================== */

.hero {
    position: relative;
    padding: 120px 0 64px;
    background: radial-gradient(circle at top left, #E0EEFF 0, #F5FBFF 40%, #E7F7FF 100%);
    overflow: hidden;
}

/* petites tâches colorées floues pour le style */
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(40px);
    opacity: 0.6;
    pointer-events: none;
}

.hero::before {
    width: 220px;
    height: 220px;
    background: rgba(36, 107, 255, 0.25);
    top: -80px;
    right: 5%;
}

.hero::after {
    width: 260px;
    height: 260px;
    background: rgba(255, 107, 107, 0.18);
    bottom: -120px;
    left: -40px;
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
    position: relative;
    z-index: 1;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

/* --- Colonne gauche : texte --- */

.hero-main {
    max-width: 620px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: #FFFFFF;
    border: 1px solid rgba(213, 226, 245, 0.9);
    font-size: 0.8rem;
    color: var(--text-soft);
    margin-bottom: 16px;
}

.hero-tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent-mint);
    box-shadow: 0 0 0 4px rgba(123, 224, 195, 0.3);
}

.hero-title {
  font-family: var(--font-heading, "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #020617; /* bien plus contrasté que le gris bleu clair */
  margin-bottom: 18px;
}

/* mot "Saint-Maurice" qui ressort + pas de retour à la ligne */
.hero-title-city {
  background: linear-gradient(90deg, #2563eb, #4f46e5, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;  /* empêche le mot de se couper */
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-soft);
    max-width: 540px;
}

.hero-subtitle strong {
    color: var(--text-main);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.hero-btn-main {
    box-shadow: 0 16px 32px rgba(36, 107, 255, 0.35);
}

.hero-btn-ghost {
    background: #FFFFFF;
}

/* Puces de confiance */

.hero-trust {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--text-soft);
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-trust-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.hero-trust-dot-green {
    background: var(--accent-mint);
}

.hero-trust-dot-yellow {
    background: var(--accent-sun);
}

.hero-trust-dot-red {
    background: var(--secondary);
}

/* --- Colonne droite : carte image --- */

.hero-media {
    display: flex;
    justify-content: flex-end;
}

.hero-media-card {
    width: 100%;
    max-width: 420px;
    border-radius: 22px;
    background: linear-gradient(145deg, #0F172A, #1E293B);
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.42);
    padding: 14px 14px 18px;
    position: relative;
    overflow: hidden;
}

/* contour subtil coloré */
.hero-media-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
        rgba(36, 107, 255, 0.8),
        rgba(123, 224, 195, 0.7),
        rgba(255, 107, 107, 0.7));
    -webkit-mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0.75;
}

.hero-media-img-wrapper {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.hero-media-img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    transform: scale(1.03);
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
    opacity: 0;
}

/* badge en overlay */

.hero-media-badge {
    position: absolute;
    left: 18px;
    top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: rgba(15, 23, 42, 0.92);
    color: #E5E7EB;
    font-size: 0.75rem;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.hero-media-badge-icon {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--accent-mint));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-media-badge-icon svg {
    stroke: #FFFFFF;
}

.hero-media-badge-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-media-badge-text .badge-label {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.65rem;
    opacity: 0.8;
}

.hero-media-badge-text .badge-value {
    font-size: 0.78rem;
    font-weight: 500;
}

/* métriques */

.hero-media-metrics {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
    font-size: 0.8rem;
    color: #CBD5E1;
}

.hero-metric {
    padding: 10px 10px 9px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.hero-metric-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #94A3B8;
    margin-bottom: 4px;
}

.hero-metric-value {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: #E5E7EB;
}

/* --- Animations d'arrivée --- */

.hero,
.hero-media-card {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.hero.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-media-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-media-card.is-visible .hero-media-img {
    opacity: 1;
    transform: scale(1.01);
}

/* --- Responsive --- */

@media (max-width: 1024px) {
    .hero {
        padding-top: 40px;
    }

    .hero-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .hero-media {
        justify-content: flex-start;
    }

    .hero-media-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 32px;
        padding-bottom: 52px;
    }

    .hero-media-img {
        height: 220px;
    }

    .hero-media-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
    line-height: 1.1;
  }
}

/* ======================
   SECTION SERVICES
   ====================== */

.services {
    padding: 80px 0;
    background: #f7faff;
    position: relative;
}

/* Effets flous décoratifs (plus modernes) */
.services::before,
.services::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 999px;
    filter: blur(60px);
    opacity: 0.25;
    z-index: 0;
}

.services::before {
    background: #246BFF;
    top: -60px;
    left: -40px;
}

.services::after {
    background: #FF6B6B;
    bottom: -80px;
    right: -60px;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* HEADER */

.services-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.services-eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    color: #4B5B73;
}

.services-title {
    font-size: 2.4rem;
    margin: 12px 0 20px;
    font-family: var(--font-heading);
}

.services-subtitle {
    color: #4B5B73;
    font-size: 1rem;
    line-height: 1.6;
}

/* GRID */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

/* SERVICE CARD */

.service-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 32px;
    border: 1px solid rgba(213, 226, 245, 0.6);
    box-shadow: 0 12px 26px rgba(10, 44, 90, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(10, 44, 90, 0.12);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #246BFF, #1B56D6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: white;
}

.service-icon svg {
    stroke: #ffffff;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin: 0 0 12px;
}

.service-card p {
    color: #4B5B73;
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.service-cta {
    font-weight: 600;
    color: #246BFF;
    text-decoration: none;
    transition: 0.2s;
}

.service-cta:hover {
    color: #FF6B6B;
}

/* Animation d'apparition */

.service-card {
    opacity: 0;
    transform: translateY(20px);
}

.service-card.appear {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .5s ease-out, transform .5s ease-out;
}

/* ======================
   SECTION TARIFS / PRICING
   ====================== */

.pricing {
    padding: 80px 0;
    background: #0f172a; /* fort contraste avec les sections claires */
    color: #e5e7eb;
}

.pricing-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.pricing-header {
    max-width: 720px;
    margin: 0 auto 52px;
    text-align: center;
}

.pricing-eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 600;
    color: #9ca3af;
}

.pricing-title {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    margin: 12px 0 18px;
    letter-spacing: -0.02em;
    color: #f9fafb;
}

.pricing-subtitle {
    font-size: 0.98rem;
    color: #9ca3af;
    line-height: 1.6;
}

/* GRID */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

/* CARDS */

.pricing-card {
    background: #020617;
    border-radius: 20px;
    padding: 24px 22px 24px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.55);
    display: flex;
    flex-direction: column;
    gap: 16px;
    opacity: 0;
    transform: translateY(18px);
}

.pricing-card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin: 0 0 6px;
    color: #f9fafb;
}

.pricing-card-header p {
    margin: 0;
    font-size: 0.92rem;
    color: #9ca3af;
}

.pricing-price-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pricing-price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-sun);
}

.pricing-note {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: #6b7280;
}

.pricing-list {
    list-style: none;
    padding: 0;
    margin: 4px 0 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.9rem;
    color: #d1d5db;
}

.pricing-list li {
    position: relative;
    padding-left: 14px;
}

.pricing-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--accent-mint));
    transform: translateY(-50%);
}

.pricing-cta-row {
    margin-top: 8px;
}

.pricing-btn {
    width: 100%;
    justify-content: center;
    font-size: 0.9rem;
}

/* carte mise en avant */

.pricing-card-highlight {
    background: radial-gradient(circle at top left, #111827 0, #020617 55%);
    border-color: rgba(250, 204, 21, 0.9);
    position: relative;
}

.pricing-card-highlight::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(250, 204, 21, 0.3);
    pointer-events: none;
}

.pricing-pill {
    align-self: flex-start;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.12);
    color: #facc15;
    border: 1px solid rgba(250, 204, 21, 0.4);
}

/* footnote */

.pricing-footnote {
    margin-top: 32px;
    font-size: 0.8rem;
    color: #9ca3af;
    text-align: center;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

/* animation d’apparition */

.pricing-card.appear {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

@media (max-width: 768px) {
    .pricing {
        padding: 64px 0;
    }
    .pricing-title {
        font-size: 2rem;
    }
}

/* ======================
   SECTION ZONE D'INTERVENTION
   ====================== */

.zone {
    padding: 80px 0;
    background: #f5fbff;
}

.zone-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.zone-header {
    max-width: 720px;
    margin: 0 auto 52px;
    text-align: center;
}

.zone-eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    color: var(--text-soft);
}

.zone-title {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    margin: 12px 0 18px;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.zone-subtitle {
    font-size: 0.98rem;
    color: var(--text-soft);
    line-height: 1.6;
}

/* LAYOUT */

.zone-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

/* COLONNE GAUCHE */

.zone-main {
    max-width: 580px;
}

.zone-block-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin: 0 0 10px;
}

.zone-block-text {
    margin: 0 0 18px;
    font-size: 0.96rem;
    color: var(--text-soft);
}

.zone-cities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.zone-city-pill {
    border-radius: 18px;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid rgba(213, 226, 245, 0.9);
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.zone-city-pill:hover {
    transform: translateY(-2px);
    border-color: var(--primary-soft);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.zone-city-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

.zone-city-note {
    font-size: 0.8rem;
    color: var(--text-soft);
}

.zone-extra {
    font-size: 0.86rem;
    color: var(--text-soft);
}

/* COLONNE DROITE : CARTE VISUELLE */

.zone-map-wrapper {
    display: flex;
    justify-content: flex-end;
}

.zone-map-card {
    width: 100%;
    max-width: 420px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
    padding: 20px 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    opacity: 0;
    transform: translateY(18px);
}

.zone-map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.zone-map-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 500;
}

.zone-map-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--primary);
}

.zone-map-time {
    font-size: 0.8rem;
    color: var(--text-soft);
}

/* VISUEL "CARTE" */

.zone-map-visual {
    position: relative;
    border-radius: 18px;
    background: radial-gradient(circle at top, #e0eeff, #bfdcff);
    height: 230px;
    overflow: hidden;
}

.zone-map-circle {
    position: absolute;
    border-radius: 999px;
    border: 1px dashed rgba(36, 107, 255, 0.5);
}

.zone-map-circle-main {
    width: 180px;
    height: 180px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.zone-map-circle-secondary {
    width: 240px;
    height: 240px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-color: rgba(36, 107, 255, 0.25);
}

.zone-map-point {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--secondary);
}

.zone-map-point::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: inherit;
    border: 1px solid rgba(255, 107, 107, 0.5);
}

.zone-map-point-label {
    position: absolute;
    white-space: nowrap;
    font-size: 0.76rem;
    background: rgba(255, 255, 255, 0.96);
    padding: 3px 8px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
    color: var(--text-main);
}

/* positions des points */

.zone-map-point-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.zone-map-point-center .zone-map-point-label {
    top: -28px;
    left: 10px;
}

.zone-map-point-north {
    top: 22%;
    left: 48%;
}

.zone-map-point-north .zone-map-point-label {
    bottom: 14px;
    left: 12px;
}

.zone-map-point-east {
    top: 52%;
    left: 74%;
}

.zone-map-point-east .zone-map-point-label {
    top: -4px;
    left: 12px;
}

.zone-map-point-south {
    top: 74%;
    left: 36%;
}

.zone-map-point-south .zone-map-point-label {
    top: -4px;
    left: 12px;
}

.zone-map-footer {
    font-size: 0.82rem;
    color: var(--text-soft);
}

/* animation d'apparition */

.zone-map-card.appear {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

.zone-city-pill {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

.zone-city-pill.appear {
    opacity: 1;
    transform: translateY(0);
}

/* responsive */

@media (max-width: 960px) {
    .zone-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .zone-map-wrapper {
        justify-content: flex-start;
    }

    .zone-map-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .zone {
        padding: 64px 0;
    }

    .zone-title {
        font-size: 2rem;
    }
}

/* ======================
   SECTION AVIS CLIENTS
   ====================== */

.reviews {
    padding: 80px 0;
    background: #ffffff;
}

.reviews-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

/* Header */

.reviews-header {
    max-width: 780px;
    margin: 0 auto 48px;
    text-align: center;
}

.reviews-eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 600;
    color: var(--text-soft);
}

.reviews-title {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    margin: 12px 0 18px;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.reviews-subtitle {
    font-size: 0.98rem;
    color: var(--text-soft);
    line-height: 1.6;
}

/* Résumé note globale */

.reviews-summary {
    margin-top: 24px;
    padding: 14px 18px;
    border-radius: 16px;
    background: #f3f6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.reviews-summary-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.reviews-summary-note {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.reviews-summary-score {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary);
}

.reviews-summary-sur {
    font-size: 1rem;
    color: var(--text-soft);
}

.reviews-summary-right {
    font-size: 0.88rem;
    color: var(--text-soft);
}

/* Étoiles */

.reviews-stars {
    display: flex;
    align-items: center;
    gap: 4px;
}

.reviews-star {
    display: inline-flex;
    width: 18px;
    height: 18px;
}

.reviews-star svg {
    width: 100%;
    height: 100%;
    fill: #fbbf24; /* jaune léger, pas kitsch */
}

.reviews-star-faded svg {
    fill: rgba(251, 191, 36, 0.4);
}

.reviews-star.small {
    width: 16px;
    height: 16px;
}

/* Grille des avis */

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

.review-card {
    border-radius: 20px;
    background: #f8fbff;
    border: 1px solid rgba(213, 226, 245, 0.9);
    padding: 20px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
    opacity: 0;
    transform: translateY(16px);
}

.review-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

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

.review-avatar {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--accent-mint));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
}

.review-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

.review-meta {
    font-size: 0.8rem;
    color: var(--text-soft);
}

.review-stars-inline {
    display: flex;
    align-items: center;
    gap: 3px;
}

.review-text {
    font-size: 0.92rem;
    color: var(--text-main);
    line-height: 1.5;
    margin: 0;
}

.review-date {
    font-size: 0.78rem;
    color: var(--text-soft);
}

/* Animation */

.review-card.appear {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .5s ease-out, transform .5s ease-out;
}

/* Responsive */

@media (max-width: 768px) {
    .reviews {
        padding: 64px 0;
    }

    .reviews-title {
        font-size: 2rem;
    }

    .reviews-summary {
        text-align: left;
    }
}

/* =========================================
   SECTION CONTACT
   ========================================= */

.contact-section {
  padding: 96px 0;
  background: #f9fafb;
}

.contact-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.contact-header {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

/* FORMULAIRE */

.contact-form-wrapper {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px 22px 26px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(209, 222, 240, 0.9);
}

.contact-form-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 4px;
  color: var(--text-main);
}

.contact-form-text {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 18px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  margin-bottom: 16px;
}

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

.form-group label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
}

.required {
  color: #dc2626;
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  border-radius: 10px;
  border: 1px solid #d1d5db;
  padding: 9px 10px;
  font-size: 0.9rem;
  outline: none;
  background: #f9fafb;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.12);
}

/* AUTOCOMPLÉTION VILLE */

.ville-group {
  position: relative;
}

.ville-autocomplete {
  position: relative;
}

.ville-autocomplete input {
  width: 100%;
}

.ville-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 200px;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 4px 0;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
  z-index: 20;
  font-size: 0.86rem;
  display: none;
}

.ville-suggestions.visible {
  display: block;
}

.ville-suggestions li {
  padding: 6px 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.ville-suggestions li span {
  line-height: 1.3;
}

.ville-suggestions li small {
  color: #6b7280;
}

.ville-suggestions li:hover,
.ville-suggestions li.active {
  background: #eff6ff;
}

/* Adresse complète en pleine largeur */
.adresse-group-full {
  grid-column: 1 / -1; /* Prend toute la largeur */
  margin-bottom: 1rem; /* Espace modéré après l'adresse complète */
}

/* Autocomplétion adresse */
.adresse-autocomplete {
  position: relative;
}

.adresse-autocomplete input {
  width: 100%;
}

.adresse-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-top: 4px;
  max-height: 300px;
  overflow-y: auto;
  list-style: none;
  padding: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: none;
}

.adresse-suggestions.visible {
  display: block;
}

.adresse-suggestions li {
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e2e8f0;
  transition: background 0.2s;
}

.adresse-suggestions li:last-child {
  border-bottom: none;
}

.adresse-suggestions li:hover {
  background: #f8fafc;
}

.adresse-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.adresse-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.adresse-label {
  font-weight: 500;
  color: #0f172a;
}

.adresse-meta {
  font-size: 0.875rem;
  color: #64748b;
}

/* Grille 2 colonnes pour code postal et ville */
.contact-form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem; /* Espace normal */
  grid-column: 1 / -1;
  margin-bottom: 1rem; /* Espace modéré après */
}

/* Champs en lecture seule stylisés */
input[readonly] {
  background-color: #f8fafc !important;
  cursor: not-allowed !important;
  color: #64748b;
  border-color: #e2e8f0;
}

input[readonly]:focus {
  outline: none;
  border-color: #e2e8f0;
}

/* Espacement général des form-group */
.form-group {
  margin-bottom: 1rem; /* Espace standard */
}

/* Hint text sous les champs */
.field-hint {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
}

/* Labels */
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #0f172a;
}

@media (max-width: 768px) {
  .contact-form-grid-2col {
    grid-template-columns: 1fr;
  }
}

/* MESSAGES */

.field-hint {
  font-size: 0.78rem;
  color: #6b7280;
  margin: 2px 0 0;
}

.field-error {
  font-size: 0.8rem;
  color: #b91c1c;
  margin: 2px 0 0;
}

/* PIED DU FORMULAIRE */

.form-footer {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-notice {
  font-size: 0.8rem;
  color: #6b7280;
}

.form-notice a {
  color: var(--primary);
  text-decoration: none;
}

.form-notice a:hover {
  text-decoration: underline;
}

/* CARTE / ASIDE */

.contact-map-card {
  background: #0f172a;
  color: #e5e7eb;
  border-radius: 18px;
  padding: 20px 18px 22px;
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.55);
  position: relative;
  overflow: hidden;
}

.contact-map-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.contact-map-text {
  font-size: 0.88rem;
  color: #cbd5f5;
  margin-bottom: 14px;
}

.contact-map-embed {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.4);
  margin-bottom: 16px;
}

.contact-map-embed iframe {
  width: 100%;
  height: 220px;
  border: 0;
}

.contact-direct-call {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-direct-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a5b4fc;
}

.contact-direct-phone {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
}

.contact-direct-phone:hover {
  text-decoration: underline;
}

.contact-direct-note {
  font-size: 0.8rem;
  color: #cbd5f5;
  margin-top: 2px;
}

/* RESPONSIVE */

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

  .contact-map-card {
    order: -1;
  }
}

@media (max-width: 720px) {
  .contact-section {
    padding: 80px 0;
  }

  .contact-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ===========================
   BOUTONS FLOTTANTS
============================ */

/* Bouton d'appel flottant */
.floating-call-btn {
  position: fixed;
  bottom: 100px; /* Au-dessus du bouton back-to-top */
  right: 32px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary); /* Utilise la couleur primaire du site */
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 999;
  animation: pulse-call 2s infinite;
}

.floating-call-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.5);
  animation: none;
  background: var(--primary-dark);
}

.floating-call-btn:active {
  transform: translateY(-2px) scale(1.02);
}

/* Animation de pulsation pour attirer l'attention */
@keyframes pulse-call {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
  }
  50% {
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.6), 
                0 0 0 8px rgba(37, 99, 235, 0.1);
  }
}

/* BACK TO TOP BUTTON */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary); /* Couleur secondaire pour différencier */
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(100, 116, 139, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(100, 116, 139, 0.4);
  background: #475569;
}

.back-to-top:active {
  transform: translateY(-2px);
}

/* Responsive : ajuster pour mobile */
@media (max-width: 768px) {
  .floating-call-btn {
    bottom: 90px;
    right: 20px;
    width: 52px;
    height: 52px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
  }
}

/* =======================================================
   PAGES LÉGALES (CGU / Mentions / Confidentialité)
   ======================================================= */

.legal-shell {
    padding: 96px 0 88px;
    background: #f5f7fb;
}

.legal-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

/* HEADER LÉGAL */

.legal-header {
    max-width: 780px;
    margin: 0 auto 40px;
}

.legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e4ecff;
    color: #1d40b7;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.legal-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #2563eb;
}

.legal-badge-text {
    white-space: nowrap;
}

.legal-title {
    margin-top: 16px;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.legal-subtitle {
    margin-top: 14px;
    font-size: 0.98rem;
    color: var(--text-soft);
    line-height: 1.7;
}

.legal-meta {
    margin-top: 10px;
    font-size: 0.86rem;
    color: #6b7280;
}

/* CARTE / CONTENU */

.legal-card {
    max-width: 900px;
    margin: 0 auto;
    margin-top: 28px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(209, 222, 240, 0.9);
    padding: 26px 24px 28px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

/* INTRO */

.legal-intro {
    border-left: 3px solid var(--primary);
    padding-left: 14px;
    margin-bottom: 22px;
}

.legal-intro-text {
    margin: 0 0 10px;
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.6;
}

.legal-intro-contact {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-soft);
}

.legal-intro-contact a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
}

.legal-intro-contact a:hover {
    text-decoration: underline;
}

/* ARTICLES */

.legal-article {
    margin-top: 22px;
}

.legal-article-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0 0 8px;
    color: var(--text-main);
}

.legal-article-title span:first-child {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.legal-article-text {
    margin: 0 0 8px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-soft);
}

/* LISTES */

.legal-list {
    margin: 0 0 8px 0;
    padding-left: 18px;
    font-size: 0.95rem;
    color: var(--text-soft);
}

.legal-list li {
    margin-bottom: 4px;
}

/* RÉSUMÉ SIMPLIFIÉ */

.legal-summary {
    margin-top: 26px;
    padding-top: 16px;
    border-top: 1px dashed rgba(209, 222, 240, 0.9);
}

.legal-summary-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin: 0 0 10px;
    color: var(--text-main);
}

.legal-summary-list {
    margin: 0;
    padding-left: 16px;
    font-size: 0.9rem;
    color: var(--text-soft);
}

.legal-summary-list li {
    margin-bottom: 4px;
}

/* ADAPTATION RESPONSIVE */

@media (max-width: 768px) {
    .legal-shell {
        padding: 80px 0 72px;
    }

    .legal-title {
        font-size: 1.8rem;
    }

    .legal-card {
        padding: 20px 16px 22px;
    }
}

/* ===============================
   FAQ / Accordéon
================================ */

/* .faq-section {
  padding: 80px 20px;
  background: #f8f6f3;
} */

.faq-container {
  max-width: 800px;
  margin: auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 48px;
}

.faq-eyebrow {
  font-weight: 600;
  color: var(--primary);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.faq-title {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-size: 42px;
  margin-top: 12px;
  font-weight: 700;
}

.faq-subtitle {
  max-width: 700px;
  margin: 16px auto 0;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.6;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ---- FAQ ITEM ---- */

.faq-item {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.25s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(36, 107, 255, 0.12);
  border-color: rgba(36, 107, 255, 0.1);
}

.faq-question {
  width: 100%;
  padding: 24px 28px;
  background: none;
  border: none;
  font-size: 17px;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--text-main);
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  transition: color 0.25s ease;
  line-height: 1.5;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  min-width: 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-size: 20px;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.25s ease;
  flex-shrink: 0;
}

.faq-item:hover .faq-icon {
  background: #1557e6;
}

/* Rotation du + quand ouvert */
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--secondary);
}

/* ---- Texte de réponse ---- */

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 28px;
  color: var(--text-soft);
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 0 24px 0;
  line-height: 1.7;
  font-size: 16px;
}

/* Quand l'item est ouvert */
.faq-item.active .faq-answer {
  max-height: 600px;
}

/* Tablette */
@media (max-width: 900px) {
  .faq-container {
    max-width: 680px;
  }

  .faq-title {
    font-size: 36px;
  }

  .faq-question {
    font-size: 16px;
    padding: 22px 24px;
  }

  .faq-icon {
    min-width: 34px;
    width: 34px;
    height: 34px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .faq-section {
    padding: 60px 20px;
  }

  .faq-container {
    max-width: 100%;
  }

  .faq-title {
    font-size: 28px;
  }

  .faq-subtitle {
    font-size: 15px;
  }

  .faq-question {
    font-size: 15px;
    padding: 18px 20px;
    text-align: center;
  }

  .faq-icon {
    min-width: 30px;
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  .faq-answer p {
    font-size: 14px;
    padding-bottom: 20px;
  }
}
/* Captcha wrapper */
.contact-form-captcha {
  margin: 1.5rem 0;
  display: flex;
  justify-content: center;
}

.g-recaptcha {
  transform: scale(0.95);
  transform-origin: center;
}

@media (max-width: 480px) {
  .g-recaptcha {
    transform: scale(0.85);
  }
}