/* ==========================================================================
   EMM SERVICES — Vitrine Commerciale Premium
   Charte graphique officielle EMM SERVICES
   ========================================================================== */

:root {
  /* Charte officielle */
  --color-navy: #0B2D5B;          /* Bleu marine principal */
  --color-blue-secondary: #154A8B;/* Bleu secondaire bandeaux */
  --color-blue-light: #EBF2FA;    /* Bleu très doux pour badges/fonds */
  --color-green-accent: #2EAD5B;  /* Vert pour accents & validations */
  --color-green-light: #E8F7EE;   /* Vert doux pour badges */
  --color-bg-light: #F4F7FB;      /* Gris très clair / fond de page */
  --color-white: #FFFFFF;
  --color-dark: #162436;          /* Texte principal */
  --color-muted: #536479;         /* Texte secondaire */
  --color-border: #DDE5ED;        /* Bordures subtiles */
  --color-border-hover: #154A8B;  /* Bordures actives */
  --color-warning-bg: #FEF3C7;    /* Fond badge développement */
  --color-warning-text: #92400E;  /* Texte badge développement */

  /* Typographie & rythmes */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  /* Ombres */
  --shadow-sm: 0 2px 6px rgba(11, 45, 91, 0.05);
  --shadow-md: 0 8px 24px rgba(11, 45, 91, 0.08);
  --shadow-lg: 0 16px 36px rgba(11, 45, 91, 0.12);
  --shadow-hover: 0 12px 30px rgba(11, 45, 91, 0.15);

  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-bg-light);
  color: var(--color-dark);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  line-height: 1.6;
  background-color: var(--color-bg-light);
  overflow-x: hidden;
}

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

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

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

/* Conteneur global */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   NAVIGATION / HEADER FLOTTANT
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

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

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

.brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-muted);
  transition: var(--transition);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-navy);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-green-accent);
  transition: var(--transition);
}

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

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-nav-cta:hover {
  background: var(--color-blue-secondary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Bouton mobile menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==========================================================================
   BANDEAUX DE SECTION (STYLE OFFICIEL FICHE A4)
   ========================================================================== */
.section-banner {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-blue-secondary) 100%);
  color: var(--color-white);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.section-banner-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-banner-title::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 20px;
  background: var(--color-green-accent);
  border-radius: 4px;
}

.section-banner-subtitle {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   SECTION 1 — HERO / ACCUEIL
   ========================================================================== */
.hero-section {
  padding: 48px 0 64px 0;
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-bg-light) 100%);
  border-bottom: 1px solid var(--color-border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-blue-light);
  color: var(--color-navy);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  width: fit-content;
  border: 1px solid rgba(21, 74, 139, 0.15);
}

.hero-badge-tag .dot {
  width: 8px;
  height: 8px;
  background: var(--color-green-accent);
  border-radius: 50%;
}

.hero-title {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-navy);
  letter-spacing: -0.5px;
}

.hero-title span {
  display: block;
  color: var(--color-blue-secondary);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-muted);
  line-height: 1.6;
  max-width: 580px;
}

.hero-positioning {
  font-size: 0.95rem;
  color: var(--color-primary);
  line-height: 1.5;
  max-width: 560px;
  padding: 10px 14px;
  background: rgba(10, 47, 104, 0.05);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 6px 6px 0;
  font-style: italic;
}

/* Piliers / 3 Badges de réassurance */
.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.pillar-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-navy);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.pillar-pill:hover {
  border-color: var(--color-green-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-green-light);
  color: var(--color-green-accent);
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(11, 45, 91, 0.2);
}

.btn-primary:hover {
  background: var(--color-blue-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 45, 91, 0.28);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-white);
  color: var(--color-navy);
  border: 1px solid var(--color-border);
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--color-blue-secondary);
  color: var(--color-blue-secondary);
  background: var(--color-blue-light);
}

/* Carte visuelle Hero */
.hero-visual-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.hero-img-container {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #EBF4FC;
}

.hero-img-container img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center bottom;
  transition: transform 0.6s ease;
}

.hero-visual-card:hover .hero-img-container img {
  transform: scale(1.02);
}

.hero-floating-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(21, 74, 139, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-floating-badge span.text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-navy);
  font-style: italic;
}

.hero-card-footer {
  margin-top: 12px;
  padding: 8px 12px 4px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.hero-card-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--color-green-accent);
}

/* ==========================================================================
   SECTION 2 — NOS PRESTATIONS
   ========================================================================== */
.section-padding {
  padding: 64px 0;
}

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

.prestation-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.prestation-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-blue-secondary);
  box-shadow: var(--shadow-hover);
}

.prestation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-navy);
  opacity: 0;
  transition: var(--transition);
}

.prestation-card:hover::before {
  opacity: 1;
  background: linear-gradient(90deg, var(--color-navy), var(--color-green-accent));
}

.prestation-thumb {
  background: var(--color-bg-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  margin-bottom: 20px;
  border: 1px solid rgba(221, 229, 237, 0.6);
}

.prestation-thumb img {
  max-height: 110px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.prestation-card:hover .prestation-thumb img {
  transform: scale(1.06);
}

.prestation-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.prestation-desc {
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.prestation-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}

.prestation-tag {
  background: var(--color-bg-light);
  color: var(--color-navy);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
}

/* ==========================================================================
   SECTION 3 — NOTRE ORGANISATION (FRISE VISUELLE 5 ÉTAPES)
   ========================================================================== */
.organisation-section {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.steps-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  margin-bottom: 40px;
}

.step-card {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  background: var(--color-white);
  border-color: var(--color-navy);
  box-shadow: var(--shadow-md);
}

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

.step-badge-number {
  width: 32px;
  height: 32px;
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.step-connector-arrow {
  position: absolute;
  top: 50%;
  right: -13px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue-secondary);
  font-size: 0.8rem;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.step-illustration-wrapper {
  background: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  margin-bottom: 14px;
  border: 1px solid var(--color-border);
}

.step-illustration-wrapper img {
  max-height: 90px;
  width: auto;
  object-fit: contain;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 8px;
  line-height: 1.25;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.5;
  flex-grow: 1;
}

/* Bloc synthèse rôle de coordination & contrôle */
.organisation-value-box {
  background: linear-gradient(135deg, #0B2D5B 0%, #154A8B 100%);
  border-radius: var(--radius-md);
  color: var(--color-white);
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  box-shadow: var(--shadow-md);
}

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

.org-value-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-green-accent);
  font-size: 1.3rem;
}

.org-value-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.org-value-content p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

/* ==========================================================================
   SECTION 4 — NOS OUTILS DE SUIVI & INNOVATION
   ========================================================================== */
.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.tool-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.tool-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-blue-secondary);
}

.tool-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  width: fit-content;
}

.tool-badge-active {
  background: var(--color-green-light);
  color: var(--color-green-accent);
  border: 1px solid rgba(46, 173, 91, 0.3);
}

.tool-badge-dev {
  background: var(--color-warning-bg);
  color: var(--color-warning-text);
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.tool-badge-dev .pulse-dot {
  width: 8px;
  height: 8px;
  background: #D97706;
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

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

.tool-header-content h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 8px;
  line-height: 1.25;
}

.tool-header-content p.subtitle {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-bottom: 20px;
}

.tool-visual-wrapper {
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid var(--color-border);
  min-height: 180px;
}

.tool-visual-wrapper img {
  max-height: 160px;
  width: auto;
  object-fit: contain;
}

/* Feature bullets */
.tool-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.tool-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--color-dark);
}

.tool-feature-check {
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--color-green-light);
  color: var(--color-green-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  margin-top: 2px;
}

.tool-feature-text strong {
  color: var(--color-navy);
  font-weight: 700;
}

/* Encadré d'avertissement / rigueur méthodologique */
.tool-rigor-box {
  background: #F8FAFC;
  border-left: 4px solid var(--color-blue-secondary);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin-top: auto;
}

.tool-rigor-box strong {
  color: var(--color-navy);
}

/* Bloc CTA démonstration résident */
.demo-cta-block {
  margin-top: 20px;
  background: linear-gradient(135deg, #EBF2FA 0%, #E8F7EE 100%);
  border: 1.5px solid var(--color-green-accent);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.demo-cta-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  min-width: 200px;
}

.demo-cta-text {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.demo-live-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--color-green-accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
  box-shadow: 0 0 0 3px rgba(46,173,91,0.2);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(46,173,91,0.25); }
  50%       { box-shadow: 0 0 0 7px rgba(46,173,91,0.08); }
}

.demo-cta-text strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 3px;
}

.demo-cta-text p {
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.4;
  margin: 0;
}

.btn-demo-resident {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: var(--color-navy);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
  align-self: flex-start;
}

.btn-demo-resident:hover {
  background: var(--color-blue-secondary);
}

.btn-demo-resident:active {
  transform: scale(0.98);
}

.demo-qr-placeholder {
  flex-shrink: 0;
}

.demo-qr-box {
  width: 90px;
  height: 90px;
  border: 2px dashed var(--color-border);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(255,255,255,0.6);
  text-align: center;
}

.demo-qr-box span {
  font-size: 0.65rem;
  color: var(--color-muted);
  line-height: 1.3;
}

.demo-qr-box em {
  font-size: 0.62rem;
  color: #D97706;
  font-style: normal;
  font-weight: 700;
}

/* UI Preview Mockup (Espace syndic) */
.dashboard-mockup-frame {
  width: 100%;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 8px;
}

.mockup-dots {
  display: flex;
  gap: 5px;
}

.mockup-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #CBD5E1;
}

.mockup-dots span:nth-child(1) { background: #F87171; }
.mockup-dots span:nth-child(2) { background: #FBBF24; }
.mockup-dots span:nth-child(3) { background: #34D399; }

.mockup-title-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-navy);
}

.mockup-grid-widgets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mockup-widget {
  background: var(--color-bg-light);
  border-radius: 6px;
  padding: 8px;
  font-size: 0.72rem;
  border: 1px solid rgba(221, 229, 237, 0.8);
}

.mockup-widget-title {
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 2px;
}

.mockup-widget-val {
  font-weight: 800;
  color: var(--color-green-accent);
}

/* ==========================================================================
   SECTION 5 — CONTACT & ÉCHANGE
   ========================================================================== */
.contact-section {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.contact-card-main {
  background: linear-gradient(135deg, #FFFFFF 0%, #F4F7FB 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.contact-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 16px;
  line-height: 1.2;
}

.contact-content p {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.contact-direct-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
}

.contact-icon-pill {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-blue-light);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-info-label {
  font-size: 0.8rem;
  color: var(--color-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.contact-info-val {
  font-weight: 700;
  color: var(--color-navy);
}

.contact-info-val.pending {
  color: #B45309;
  background: var(--color-warning-bg);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  display: inline-block;
}

/* Zone formulaire / action rapide */
.contact-action-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-navy);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-family: inherit;
  font-size: 0.92rem;
  background: var(--color-bg-light);
  color: var(--color-dark);
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-navy);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(11, 45, 91, 0.1);
}

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

.form-disclaimer {
  font-size: 0.78rem;
  color: var(--color-muted);
  line-height: 1.4;
}

.form-feedback {
  display: none;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-top: 10px;
}

.form-feedback.success {
  display: block;
  background: var(--color-green-light);
  color: #14532D;
  border: 1px solid rgba(46, 173, 91, 0.3);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 48px 0 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--color-white);
}

.footer-brand-baseline {
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
}

.footer-slogan {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--color-green-accent);
  font-weight: 600;
}

.footer-meta-box {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-meta-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-meta-item {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-meta-item strong {
  color: var(--color-white);
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   RESPONSIVE (SMARTPHONE FIRST POUR SCAN QR CODE)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-img-container img {
    height: 320px;
  }

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

  .steps-timeline {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step-connector-arrow {
    display: none;
  }

  .step-card {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .step-illustration-wrapper {
    min-width: 80px;
    height: 80px;
    margin-bottom: 0;
  }

  .step-illustration-wrapper img {
    max-height: 65px;
  }

  .organisation-value-box {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .contact-card-main {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 32px;
  }

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

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    gap: 16px;
  }

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

  .mobile-toggle {
    display: flex;
  }

  .btn-nav-cta {
    display: none;
  }

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

  .step-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .step-illustration-wrapper {
    width: 100%;
    height: 100px;
    margin-bottom: 12px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .section-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-floating-badge {
    position: static;
    margin-top: 10px;
    justify-content: center;
  }
}


/* Bandeau particuliers (discret) */
.home-strip { background: var(--color-bg-light); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: 14px 0; }
.home-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.home-strip p { font-size: 0.85rem; color: var(--color-muted); margin: 0; flex: 1; min-width: 240px; }
.home-strip strong { color: var(--color-navy); }
.home-strip-link { font-size: 0.85rem; font-weight: 700; color: var(--color-green-accent); text-decoration: underline; white-space: nowrap; }

/* Pages légales + liens de pied de page */
.footer-legal-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal-links a { color: rgba(255,255,255,0.85); text-decoration: underline; }
.footer-legal-links a:hover { color: #fff; }
.demo-legal a { color: rgba(255,255,255,0.85); text-decoration: underline; }
.legal-hero { background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-blue-secondary) 100%); color: #fff; padding: 48px 0 40px; }
.legal-hero h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; margin-bottom: 8px; }
.legal-hero p { color: rgba(255,255,255,0.8); max-width: 640px; }
.legal-main { padding: 40px 0 64px; }
.legal-wrap { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.legal-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 22px 24px; box-shadow: 0 2px 12px rgba(11,45,91,0.06); }
.legal-card h2 { font-size: 1.1rem; color: var(--color-navy); margin-bottom: 12px; }
.legal-card p, .legal-card li { font-size: 0.95rem; line-height: 1.6; color: var(--color-dark); }
.legal-card p + p { margin-top: 10px; }
.legal-card ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.legal-table th, .legal-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.legal-table th { width: 38%; color: var(--color-muted); font-weight: 600; }
.todo-flag { display: inline-block; background: var(--color-warning-bg); color: var(--color-warning-text); font-weight: 700; font-size: 0.82rem; border-radius: 6px; padding: 2px 8px; }
.legal-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--color-navy); text-decoration: none; }
.legal-back:hover { color: var(--color-green-accent); }
.legal-note { font-size: 0.82rem; color: var(--color-muted); }
@media (max-width: 600px) { .legal-card { padding: 18px 16px; } .legal-table th, .legal-table td { display: block; width: 100%; padding: 4px 0; } .legal-table th { padding-top: 10px; border-bottom: 0; } }

/* Nos secteurs d'intervention */
.secteurs-section { background: var(--color-white); }
.secteurs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 8px; }
.secteur-card { background: var(--color-bg-light); border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 22px 18px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, box-shadow .2s; }
.secteur-card:hover { border-color: var(--color-border-hover); box-shadow: 0 6px 20px rgba(11,45,91,0.10); }
.secteur-ico { width: 68px; height: 68px; border-radius: 16px; background: linear-gradient(135deg, var(--color-navy), var(--color-blue-secondary)); color: #fff; display: flex; align-items: center; justify-content: center; }
.secteur-card h3 { font-size: 1.02rem; font-weight: 800; color: var(--color-navy); line-height: 1.3; }
.secteur-card p { font-size: 0.88rem; color: var(--color-muted); line-height: 1.5; flex: 1; }
.secteur-link { font-size: 0.85rem; font-weight: 700; color: var(--color-green-accent); text-decoration: underline; }
.secteur-link-alt { color: var(--color-navy); }
@media (max-width: 1024px) { .secteurs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .secteurs-grid { grid-template-columns: 1fr; } .secteur-card { padding: 18px 16px; } }
