/* ==========================================================================
   CAMI INVESTIGATIONS — DESIGN SYSTEM REFONTE CHARTE BLEUE #429bf5
   Aesthetic: Deep Noir Luxury, Sapphire Blue High-Security, Glassmorphism,
   Premium Legal & Investigative Typography
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Background Palette — Deep Noir Bleuté */
  --bg-primary: #060b13;
  --bg-secondary: #0a1220;
  --bg-tertiary: #0f1a2e;
  --bg-elevated: #142240;
  --bg-card: #0d1726;
  --bg-glass: #09121f;

  /* Blue Accent System — aligné sur le bleu du logo CAMI (#2364b4) */
  --blue-logo: #2364b4;
  --blue-logo-light: #2f7bd4;
  --blue-primary: #429bf5;
  --blue-hover: #5eaaf7;
  --blue-light: #93c5fd;
  --blue-dark: #1e4a8a;
  --blue-deep: #0d2d5c;
  --blue-subtle: rgba(66, 155, 245, 0.12);
  --blue-glow: rgba(66, 155, 245, 0.32);
  --blue-border: rgba(66, 155, 245, 0.28);
  --blue-border-strong: rgba(66, 155, 245, 0.55);

  /* CTA / Gradient bleu : du bleu clair vers le bleu royal du logo */
  --cta-grad-start: #4f9cf0;
  --cta-grad-mid: #2f7bd4;
  --cta-grad-end: #2364b4;

  /* Neutrals & Text */
  --text-primary: #f0f6ff;
  --text-secondary: #94a9c9;
  --text-muted: #7f94b6; /* contraste AA sur fond #060b13 */
  --text-inverse: #06111f;

  /* Status & Special Accents */
  --emerald-beacon: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.4);
  --cyan-accent: #38bdf8;
  --red-stamp: #ef4444;
  --pro-accent: #c084fc;
  --pro-subtle: rgba(192, 132, 252, 0.12);

  /* Typography */
  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Courier New', Courier, monospace;

  /* Elevation & Borders */
  --border-subtle: rgba(66, 155, 245, 0.08);
  --border-card: rgba(66, 155, 245, 0.18);
  --border-focus: rgba(66, 155, 245, 0.65);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.65);
  --shadow-lg: 0 18px 55px rgba(0, 0, 0, 0.85);
  --shadow-blue: 0 10px 24px rgba(0, 0, 0, 0.5);

  /* Layout */
  --header-height: 82px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-page: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Global Reset & Base Setup --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.65;
  background: radial-gradient(ellipse at 60% 0%, #0e1f3a 0%, var(--bg-primary) 65%);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-primary);
  line-height: 1.25;
}

p { color: var(--text-secondary); }

a { color: inherit; text-decoration: none; }

button {
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  background: none;
}

img { max-width: 100%; height: auto; display: block; }

/* Helper Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.text-center { text-align: center; }
.text-blue-gradient {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue-primary) 55%, var(--blue-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.w-full { width: 100%; }
.flex-1 { flex: 1; }
.hidden { display: none !important; }
.mt-2 { margin-top: 0.5rem; }

/* --- Ambient Background Graphics --- */
.ambient-glow {
  display: none !important;
}

.investigative-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(66, 155, 245, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(66, 155, 245, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   HEADER & DYNAMIC FLOATING NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  background: #060b13;
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.site-header.scrolled {
  background: #04080e;
  border-bottom-color: var(--blue-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.header-container {
  max-width: 1420px;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

/* --- Brand Logo : carré bleu officiel CAMI --- */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-crest {
  flex-shrink: 0;
}

.brand-logo-img {
  height: 48px;
  width: 48px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 6px 18px rgba(35, 100, 180, 0.35);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}
.brand-logo:hover .brand-logo-img {
  transform: scale(1.06);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 8px 24px rgba(66, 155, 245, 0.45);
}

.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #ffffff;
  line-height: 1.1;
  white-space: nowrap;
}
.brand-title-light {
  font-weight: 600;
  color: var(--blue-light);
}
.brand-subtitle {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-primary);
  margin-top: 3px;
  white-space: nowrap;
}

/* --- Dynamic Pill Navigation --- */
.dynamic-nav {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(14, 25, 43, 0.65);
  border: 1px solid rgba(66, 155, 245, 0.12);
  border-radius: var(--radius-full);
  padding: 4px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
  gap: 2px;
}

.nav-indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 0;
  background: linear-gradient(135deg, rgba(66, 155, 245, 0.28) 0%, rgba(66, 155, 245, 0.14) 100%);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-full);
  transition: all var(--transition-smooth);
  pointer-events: none;
  z-index: 1;
}

.nav-item {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-icon {
  width: 15px;
  height: 15px;
  opacity: 0.7;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.nav-item:hover {
  color: #ffffff;
}
.nav-item:hover .nav-icon {
  opacity: 1;
  transform: translateY(-1px);
}

.nav-item.active {
  color: #ffffff;
  font-weight: 600;
}
.nav-item.active .nav-icon {
  color: var(--blue-light);
  opacity: 1;
}

/* Pro nav highlight */
.nav-pro-highlight {
  color: var(--blue-light);
}
.badge-nav-pro {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(66, 155, 245, 0.22);
  border: 1px solid var(--blue-border);
  color: var(--blue-light);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-sm);
}

/* --- Language Switcher --- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(14, 25, 43, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 3px;
}

.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0.3rem 0.4rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}
.lang-flag { font-size: 1.3rem; line-height: 1; }
.lang-txt { display: none; }

.lang-btn:hover {
  background: rgba(66, 155, 245, 0.12);
  color: #ffffff;
  border-color: var(--blue-border);
}
.lang-btn.active {
  background: rgba(66, 155, 245, 0.2);
  border-color: var(--blue-border-strong);
  color: var(--blue-light);
}

/* --- Header Actions --- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

/* ==========================================================================
   MAIN CTA BUTTON — Composant le plus mis en avant visuellement
   ========================================================================== */
.btn-cta-prominent {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.75rem 1.6rem;
  background: linear-gradient(135deg, var(--cta-grad-start) 0%, var(--cta-grad-mid) 50%, var(--cta-grad-end) 100%);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(66, 155, 245, 0.3);
  transition: all var(--transition-fast);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  border: none;
  cursor: pointer;
}

.btn-cta-prominent:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(66, 155, 245, 0.5);
  filter: brightness(1.08);
}
.btn-cta-prominent:active {
  transform: translateY(0) scale(0.98);
}

/* Halo pulsant d'aura lumineuse */
.cta-pulse-glow {
  display: none;
}

@keyframes ctaPulseAura {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.06); }
}

/* Balayage de reflet */
.cta-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 35%,
    rgba(255, 255, 255, 0.28) 48%,
    transparent 65%,
    transparent 100%
  );
  transform: translateX(-200%);
  animation: ctaSheen 3.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes ctaSheen {
  0% { transform: translateX(-200%); }
  30%, 100% { transform: translateX(250%); }
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.cta-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

.cta-label {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cta-icon {
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}
.btn-cta-prominent:hover .cta-icon {
  transform: translateX(3px);
}

/* Hero CTA larger variant */
.hero-main-cta {
  padding: 1.1rem 2.2rem;
  font-size: 1.02rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(66, 155, 245, 0.35);
}

.hero-main-cta .cta-label {
  font-size: 1rem;
}

/* Mobile Hamburger Button */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  padding: 0;
  background: transparent;
  z-index: 110;
}
.mobile-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--blue-light);
  border-radius: 2px;
  transition: all var(--transition-smooth);
}
.mobile-toggle.open .bar-1 { transform: translateY(10px) rotate(45deg); }
.mobile-toggle.open .bar-2 { opacity: 0; transform: translateX(-8px); }
.mobile-toggle.open .bar-3 { transform: translateY(-10px) rotate(-45deg); }

/* Standard secondary button */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(66, 155, 245, 0.22);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
}
.btn-secondary:hover {
  background: rgba(66, 155, 245, 0.12);
  border-color: var(--blue-border-strong);
  color: var(--blue-light);
  transform: translateY(-2px);
}

/* btn-primary (used in forms) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 1.7rem;
  background: linear-gradient(135deg, var(--cta-grad-start) 0%, var(--cta-grad-mid) 100%);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: all var(--transition-fast);
  text-decoration: none;
  cursor: pointer;
  border: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  filter: brightness(1.08);
}

/* Small primary button variant */
.btn-primary-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.2rem;
  background: linear-gradient(135deg, var(--cta-grad-start) 0%, var(--cta-grad-mid) 100%);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn-primary-sm:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* ==========================================================================
   MOBILE DRAWER
   ========================================================================== */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 15, 0.92);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
  display: flex;
  justify-content: flex-end;
}
.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-content {
  width: 88%;
  max-width: 390px;
  height: 100%;
  background: var(--bg-secondary);
  border-left: 1px solid var(--blue-border);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  overflow-y: auto;
}
.mobile-drawer.open .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.mobile-logo-img {
  height: 36px;
  width: 36px;
  object-fit: cover;
  border-radius: 6px;
}

.mobile-drawer-badge {
  font-family: var(--font-serif);
  color: var(--blue-light);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
}

.mobile-drawer-close {
  font-size: 1.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition-fast);
  background: none;
  border: none;
  line-height: 1;
  padding: 0;
  font-family: inherit;
}
.mobile-drawer-close:hover { color: #ffffff; }

.mobile-lang-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-lang-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1rem;
  background: rgba(66, 155, 245, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  transition: all var(--transition-fast);
}

.mobile-nav-item .item-num {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  color: var(--blue-primary);
  font-weight: 700;
}
.mobile-nav-item .item-title { flex: 1; }
.mobile-nav-item .item-arrow {
  opacity: 0.4;
  transition: transform var(--transition-fast);
}
.mobile-nav-item:hover, .mobile-nav-item.active {
  background: rgba(66, 155, 245, 0.1);
  border-color: var(--blue-border);
  color: #ffffff;
}
.mobile-nav-item.active .item-arrow {
  transform: translateX(4px);
  color: var(--blue-light);
  opacity: 1;
}

.mobile-pro-badge {
  border-color: rgba(66, 155, 245, 0.3);
  background: rgba(66, 155, 245, 0.06);
}
.badge-pro-tag {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  background: rgba(66, 155, 245, 0.2);
  border: 1px solid var(--blue-border);
  color: var(--blue-light);
  border-radius: var(--radius-sm);
  letter-spacing: 0.06em;
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-legal-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   DYNAMIC STAGE & PAGE VIEWS
   ========================================================================== */
.main-stage {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - var(--header-height));
}

.page-view {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition-page), transform var(--transition-page);
}

.page-view.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: pageFadeIn 0.42s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Common Section Headers */
.section-header {
  max-width: 820px;
  margin: 0 auto 3.5rem auto;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--blue-primary);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.blue-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-primary), transparent);
  margin: 1.25rem auto;
}
/* Legacy alias */
.gold-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-primary), transparent);
  margin: 1.25rem auto;
}
.section-desc {
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ==========================================================================
   PAGE 1: ACCUEIL & HERO
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(92vh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 4rem 0;
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-wrapper picture {
  display: block;
  position: absolute;
  inset: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.5) contrast(1.08) saturate(0.6);
}
/* Voile bleu nuit : la photo est teintée dans la charte du logo */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 11, 19, 0.82) 0%, rgba(6, 11, 19, 0.55) 55%, rgba(35, 100, 180, 0.18) 100%),
    linear-gradient(180deg,
      rgba(6, 11, 19, 0.55) 0%,
      rgba(8, 18, 36, 0.78) 55%,
      var(--bg-primary) 100%
    );
}

.scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.22) 50%);
  background-size: 100% 4px;
  pointer-events: none;
  opacity: 0.35;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 960px;
}

.hero-badge-capsule {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(66, 155, 245, 0.1);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--blue-light);
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--blue-primary);
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  color: #b8cfe8;
  max-width: 740px;
  margin-bottom: 2.5rem;
  line-height: 1.72;
}
.hero-lead strong { color: #ffffff; font-weight: 700; }

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

/* --- Hero Values Pills (Discrétion / Expérience / Résultats) --- */
.hero-values-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: -0.5rem 0 1.75rem;
}

.hero-value-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  background: rgba(66, 155, 245, 0.08);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-secondary, #94a9c9);
}

/* --- Dual Hub Gateway (Segmentation Pro / Particulier) --- */
.dual-hub-gateway {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.hub-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  background: #0d1726;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-align: left;
}

.hub-card-pro {
  border-color: rgba(66, 155, 245, 0.3);
  background: rgba(66, 155, 245, 0.06);
}

.hub-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-border-strong);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

.hub-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(66, 155, 245, 0.12);
  border: 1px solid var(--blue-border);
  color: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-info { flex: 1; }
.hub-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--blue-primary);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.hub-title {
  font-size: 0.98rem;
  color: #ffffff;
  margin-bottom: 0.35rem;
  font-family: var(--font-serif);
}
.hub-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.hub-action-arrow {
  font-size: 1.3rem;
  color: var(--blue-primary);
  opacity: 0.6;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}
.hub-card:hover .hub-action-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* --- Metrics Bar --- */
.metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding: 1.75rem;
  background: #0d1726;
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.metric-card {
  text-align: left;
  border-left: 2px solid var(--blue-border-strong);
  padding-left: 1.25rem;
}
.metric-val {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.metric-label { font-size: 0.82rem; font-weight: 600; color: #f0f6ff; }
.metric-sub { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

/* --- Pillars section --- */
.section-presentation { padding: 6rem 1.5rem; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.pillar-card {
  padding: 2.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-smooth);
}
.pillar-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue-border);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}
.pillar-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: var(--blue-subtle);
  border: 1px solid var(--blue-border);
  color: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.pillar-title { font-size: 1.28rem; margin-bottom: 0.85rem; }
.pillar-text { font-size: 0.93rem; line-height: 1.65; }

/* Quote Callout */
.quote-callout {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 3.5rem;
  background: linear-gradient(135deg, rgba(20, 35, 58, 0.65) 0%, rgba(10, 18, 32, 0.85) 100%);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.quote-icon {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--blue-primary);
  line-height: 1;
  opacity: 0.35;
  margin-bottom: -1rem;
}
.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  font-style: italic;
  color: #e2eef8;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.quote-author { display: flex; flex-direction: column; gap: 0.25rem; }
.author-name { font-weight: 700; font-size: 0.92rem; color: var(--blue-light); letter-spacing: 0.05em; }
.author-title { font-size: 0.78rem; color: var(--text-muted); }

/* ==========================================================================
   PAGE 2: PROFESSIONNELS & ENTREPRISES
   ========================================================================== */
.section-pro-inner { padding: 4.5rem 1.5rem 6rem 1.5rem; }

.pro-corporate-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(66, 155, 245, 0.1);
  border: 1px solid var(--blue-border);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

/* Pro Pricing Notice */
.pro-pricing-notice {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem 2.25rem;
  background: linear-gradient(135deg, rgba(20, 34, 58, 0.8) 0%, rgba(10, 18, 32, 0.95) 100%);
  border: 1px solid var(--blue-border-strong);
  border-left: 4px solid var(--blue-primary);
  border-radius: var(--radius-lg);
  margin-bottom: 3rem;
  box-shadow: var(--shadow-md);
  flex-wrap: wrap;
}
.notice-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--blue-subtle);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
}
.notice-body { flex: 1; min-width: 280px; }
.notice-title { font-size: 1.15rem; color: #fff; margin-bottom: 0.65rem; }
.notice-text { font-size: 0.9rem; line-height: 1.65; }
.notice-text strong { color: var(--blue-light); }

/* Flip instruction bar */
.flip-instruction-bar {
  margin-bottom: 2rem;
}
.flip-instruction-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(66, 155, 245, 0.06);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
}
.flip-icon {
  color: var(--blue-primary);
  font-size: 1.1rem;
  animation: rotateHint 2s ease-in-out infinite;
}
@keyframes rotateHint {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
}

/* ==========================================================================
   FLIP CARDS 3D — Core Component
   ========================================================================== */
.flip-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 4rem;
}
.flip-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.flip-card {
  perspective: 1200px;
  min-height: 380px;
  cursor: pointer;
}
.flip-card:focus {
  outline: 2px solid var(--blue-primary);
  outline-offset: 3px;
  border-radius: var(--radius-md);
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
  /* Les deux faces occupent la même cellule : la carte prend la hauteur de la face la plus haute */
  display: grid;
  grid-template-columns: 100%;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Retournement au clic uniquement (bouton « Détails » ou carte) ; le survol soulève la carte */
.flip-card.is-flipped .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card:not(.is-flipped):hover .flip-card-inner {
  transform: translateY(-6px);
}
.flip-card:hover .flip-card-front {
  border-color: var(--blue-border-strong);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(66, 155, 245, 0.12);
}

.flip-card-face {
  position: relative;
  grid-area: 1 / 1;
  min-height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Front Face */
.flip-card-front {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.flip-card-front::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.flip-card:hover .flip-card-front::before {
  opacity: 1;
}

/* Back Face */
.flip-card-back {
  background: linear-gradient(145deg, rgba(10, 20, 40, 0.98) 0%, rgba(14, 30, 55, 0.99) 100%);
  border: 1px solid var(--blue-border-strong);
  transform: rotateY(180deg);
}

/* Card Contents */
.card-head-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}
.card-domain-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-light);
}
.card-legal-badge {
  font-size: 0.75rem;
  padding: 0.18rem 0.55rem;
  background: rgba(66, 155, 245, 0.08);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--blue-subtle);
  border: 1px solid var(--blue-border);
  color: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.card-title {
  font-size: 1.12rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
  font-family: var(--font-serif);
}

.card-abstract {
  font-size: 0.85rem;
  line-height: 1.62;
  margin-bottom: 1.15rem;
  flex: 1;
}

.card-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
}
.card-highlights li {
  font-size: 0.79rem;
  color: #b8cfe8;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}
.card-highlights li::before {
  content: "▸";
  color: var(--blue-primary);
  font-size: 0.75rem;
  line-height: 1.4;
  flex-shrink: 0;
}

.btn-flip-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-light);
  padding: 0.45rem 0;
  transition: all var(--transition-fast);
  margin-top: auto;
}
.btn-flip-trigger:hover {
  color: #ffffff;
  transform: translateX(3px);
}
.flip-arrow {
  font-size: 1.1rem;
  transition: transform var(--transition-fast);
}
.btn-flip-trigger:hover .flip-arrow {
  transform: rotate(45deg);
}

/* Back face content */
.back-header {
  margin-bottom: 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--blue-border);
}
.back-subtitle {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--blue-primary);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.4rem;
}
.back-title {
  font-size: 1.2rem;
  color: #ffffff;
  font-family: var(--font-serif);
}

.back-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  margin-bottom: 1.25rem;
}
.back-step {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #b8cfe8;
  padding: 0.65rem 0.85rem;
  background: rgba(66, 155, 245, 0.05);
  border-left: 2px solid var(--blue-border);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.back-step strong { color: var(--blue-light); font-weight: 600; }

.back-footer {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: auto;
}

.btn-flip-return {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  padding: 0.35rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  justify-content: center;
}
.btn-flip-return:hover { color: var(--blue-light); }

/* Pro Synergy Banner */
.pro-synergy-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2.5rem 3rem;
  background: linear-gradient(135deg, rgba(20, 34, 58, 0.85) 0%, rgba(10, 18, 32, 0.92) 100%);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.synergy-content h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.synergy-content p { font-size: 0.92rem; max-width: 580px; }

/* ==========================================================================
   PAGE 3: PARTICULIERS & ESTIMATEUR SLIDER
   ========================================================================== */
.section-part-inner { padding: 4.5rem 1.5rem 6rem 1.5rem; }

/* Particuliers estimator wrapper */
.particuliers-calculator-wrapper {
  margin-top: 4rem;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(14, 25, 43, 0.95) 0%, rgba(8, 15, 30, 0.98) 100%);
  border: 1px solid var(--blue-border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.calc-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(66, 155, 245, 0.1);
  border: 1px solid var(--blue-border);
  padding: 0.38rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

/* Estimator Form */
.calculator-card {
  padding: 2.25rem;
  background: var(--bg-card);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.card-desc {
  font-size: 0.88rem;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.estimator-form {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2eef8;
}
.form-label-sub {
  font-size: 0.8rem;
  color: #94a9c9;
}

.form-select, .form-input, .form-textarea {
  width: 100%;
  padding: 0.88rem 1rem;
  background: rgba(8, 14, 26, 0.88);
  border: 1px solid rgba(66, 155, 245, 0.18);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}
.form-select option { background: #0a1220; color: #fff; }

.form-select:focus, .form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(66, 155, 245, 0.2);
  background: rgba(10, 20, 38, 0.95);
}

.form-select-sm {
  width: 100%;
  padding: 0.55rem 0.75rem;
  background: rgba(8, 14, 26, 0.88);
  border: 1px solid rgba(66, 155, 245, 0.15);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.82rem;
  font-family: var(--font-sans);
}

/* Interactive Slider */
.range-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.range-val {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--blue-light);
}

.slider-control-wrap {
  position: relative;
  margin: 0.5rem 0;
}

.form-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(66, 155, 245, 0.12);
  border-radius: 3px;
  outline: none;
  position: relative;
  z-index: 2;
}
.form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-primary));
  cursor: pointer;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.form-range::-webkit-slider-thumb:hover {
  transform: scale(1.25);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.slider-fill-track {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 6px;
  background: linear-gradient(90deg, var(--blue-primary), var(--blue-light));
  border-radius: 3px;
  width: 25%;
  transition: width var(--transition-fast);
  pointer-events: none;
  z-index: 1;
}

.range-hints {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* Radio Pill Group */
.radio-pill-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.radio-pill { position: relative; cursor: pointer; }
.radio-pill input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pill span {
  display: block;
  padding: 0.6rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  background: rgba(66, 155, 245, 0.04);
  border: 1px solid rgba(66, 155, 245, 0.12);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.radio-pill input:checked + span {
  background: rgba(66, 155, 245, 0.2);
  border-color: var(--blue-border-strong);
  color: var(--blue-light);
}

/* Estimator Result Box */
.estimator-result-box {
  padding: 1.5rem;
  background: rgba(8, 14, 26, 0.95);
  border: 1px solid var(--blue-border-strong);
  border-radius: var(--radius-md);
  text-align: center;
}
.result-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}
.result-price {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--blue-light);
  margin: 0.2rem 0;
}
.result-note { font-size: 0.75rem; color: var(--text-muted); line-height: 1.5; }

.estimator-actions { margin-top: 0.5rem; }

/* ==========================================================================
   PAGE 4: INTERNATIONAL & CONFIDENTIALITÉ
   ========================================================================== */
.section-intl-inner { padding: 4.5rem 1.5rem 6rem 1.5rem; }

.international-coverage-box {
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(14, 25, 43, 0.9) 0%, rgba(8, 15, 30, 0.95) 100%);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-xl);
  margin-bottom: 5rem;
  box-shadow: var(--shadow-lg);
}

.intl-badge-banner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(66, 155, 245, 0.1);
  border: 1px solid var(--blue-border);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
  width: fit-content;
}

.intl-grid-hubs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.hub-item {
  padding: 1.5rem;
  background: rgba(66, 155, 245, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-smooth);
}
.hub-item:hover {
  border-color: var(--blue-border);
  transform: translateY(-3px);
}
.hub-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.hub-flag { font-size: 1.4rem; }
.hub-region { font-size: 1rem; color: #ffffff; font-family: var(--font-serif); }
.hub-details { font-size: 0.82rem; line-height: 1.6; margin-bottom: 0.85rem; }
.hub-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.hub-features span {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.18rem 0.55rem;
  background: rgba(66, 155, 245, 0.1);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-sm);
  color: var(--blue-light);
}

.intl-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: var(--radius-sm);
}
.intl-disclaimer svg { flex-shrink: 0; color: #f87171; margin-top: 1px; }

/* Charter Cards */
.confidentiality-charter-section { margin-top: 0; }

.charter-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.charter-card {
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-smooth);
}
.charter-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-border);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}
.charter-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(66, 155, 245, 0.18);
  line-height: 1;
  margin-bottom: 0.85rem;
}
.charter-card-title { font-size: 1.02rem; color: #fff; margin-bottom: 0.75rem; }
.charter-card-text { font-size: 0.85rem; line-height: 1.62; }

/* ==========================================================================
   CASE FILE SHOWCASE (moved to International page)
   ========================================================================== */
.case-file-showcase {
  background: #070c14;
  border: 1px solid rgba(66, 155, 245, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.case-file-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 2rem;
  background: rgba(14, 25, 43, 0.9);
  border-bottom: 1px solid rgba(66, 155, 245, 0.18);
}
.case-file-meta { display: flex; align-items: center; gap: 1rem; }
.file-stamp {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 0.22rem 0.65rem;
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid #f87171;
  border-radius: var(--radius-sm);
}
.file-ref {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.case-file-controls { display: flex; gap: 0.5rem; }
.btn-sm-ghost {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.42rem 0.88rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.btn-sm-ghost:hover { background: rgba(255, 255, 255, 0.05); color: #ffffff; }
.btn-sm-ghost.active {
  background: rgba(66, 155, 245, 0.16);
  border-color: var(--blue-border);
  color: var(--blue-light);
}

.case-file-viewer { padding: 2.5rem; background: #060a10; }
.dossier-paper {
  position: relative;
  background: #111820;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 2.5rem;
}
.dossier-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-25deg);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 800;
  color: rgba(66, 155, 245, 0.03);
  white-space: nowrap;
  pointer-events: none;
}

.paper-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.paper-logo {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue-light);
}
.paper-date { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); }
.paper-confidential-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #f87171;
  border: 1px dashed #f87171;
  padding: 0.15rem 0.4rem;
}
.paper-line { border: none; height: 1px; background: rgba(255, 255, 255, 0.08); margin-bottom: 1.75rem; }

.paper-body .paper-p { font-size: 0.92rem; color: #dde8f5; margin-bottom: 0.85rem; }
.paper-p strong { color: var(--blue-light); font-weight: 600; }

.paper-log-box {
  background: #060a10;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.log-entry { display: flex; gap: 1rem; font-size: 0.83rem; }
.log-time { font-family: var(--font-mono); color: var(--cyan-accent); white-space: nowrap; }
.log-desc { color: #b8cfe8; }

.paper-stamp-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}
.legal-seal {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-light);
  border: 2px solid var(--blue-border);
  padding: 0.38rem 0.82rem;
  border-radius: var(--radius-sm);
  transform: rotate(-3deg);
  letter-spacing: 0.08em;
}
.director-sign { font-style: italic; font-size: 1rem; color: #7a95ba; }

.photos-grid-specimen {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.photo-specimen { display: flex; flex-direction: column; gap: 0.5rem; }
.photo-mockup {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.photo-1 { background-color: #121c2c; background-image: radial-gradient(circle at 60% 40%, rgba(66, 155, 245, 0.2) 0%, transparent 60%); }
.photo-2 { background-color: #141f30; background-image: radial-gradient(circle at 40% 60%, rgba(56, 189, 248, 0.15) 0%, transparent 60%); }
.photo-reticle { position: absolute; inset: 15px; border: 1px dashed rgba(255, 255, 255, 0.3); pointer-events: none; }
.photo-reticle::after { content: '+'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: var(--blue-light); font-size: 1.2rem; }
.photo-ts { position: absolute; bottom: 8px; right: 8px; font-family: var(--font-mono); font-size: 0.75rem; background: rgba(0,0,0,0.78); color: #fff; padding: 0.14rem 0.38rem; border-radius: 2px; }
.photo-caption { font-size: 0.78rem; color: #7a95ba; }
.photo-disclaimer { font-size: 0.73rem; color: var(--text-muted); }

.legal-text-body { display: flex; flex-direction: column; gap: 1.25rem; }
.legal-h4 { font-size: 1.02rem; color: var(--blue-light); margin-bottom: 0.25rem; }
.legal-text-body p { font-size: 0.88rem; line-height: 1.65; color: #b8cfe8; }

/* ==========================================================================
   PAGE 5: CONTACT SÉCURISÉ
   ========================================================================== */
.section-contact-inner { padding: 4.5rem 1.5rem 6rem 1.5rem; }

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 2.5rem;
  align-items: start;
}

.channels-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}
.channels-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.channels-title { font-size: 1.08rem; color: #ffffff; }
.channels-sub { font-size: 0.85rem; margin-bottom: 1.5rem; line-height: 1.6; }

.channels-list { display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 1.5rem; }
.channel-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.88rem 1rem;
  background: rgba(66, 155, 245, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
}
.channel-item:hover {
  background: rgba(66, 155, 245, 0.08);
  border-color: var(--blue-border);
  transform: translateX(3px);
}

.channel-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.phone-bg { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.signal-bg { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.pgp-bg { background: rgba(66, 155, 245, 0.15); color: var(--blue-light); }

.channel-details { display: flex; flex-direction: column; }
.channel-name { font-size: 0.82rem; font-weight: 600; color: #ffffff; }
.channel-val { font-size: 0.75rem; color: var(--text-muted); }

.coverage-reminder-box {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.2rem;
  background: rgba(66, 155, 245, 0.06);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.reminder-flag { font-size: 1.5rem; flex-shrink: 0; }
.reminder-text strong { color: var(--blue-light); display: block; margin-bottom: 0.15rem; font-size: 0.85rem; }

/* Contact Form Card */
.contact-form-card {
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-card-header { margin-bottom: 2rem; }
.badge-lock {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #34d399;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}
.form-title { font-size: 1.55rem; margin-bottom: 0.4rem; }
.form-sub { font-size: 0.85rem; line-height: 1.55; }

.styled-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: flex; gap: 1.25rem; }

.discretion-box {
  padding: 1.25rem;
  background: rgba(8, 14, 26, 0.75);
  border: 1px solid rgba(66, 155, 245, 0.18);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.discretion-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-light);
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.82rem;
  color: #b8cfe8;
}
.custom-checkbox input { position: absolute; opacity: 0; pointer-events: none; }
.checkmark {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(66, 155, 245, 0.4);
  background: rgba(8, 14, 26, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}
.custom-checkbox input:checked ~ .checkmark {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
}
.custom-checkbox input:checked ~ .checkmark::after {
  content: "✓";
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
}

.form-compliance-notice {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
  margin-top: 0.5rem;
}

.form-direct-mail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.85rem;
  flex-wrap: wrap;
}

.direct-mail-link {
  color: var(--blue-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}
.direct-mail-link:hover { color: #ffffff; }

/* Beacon Pulse (header contact channels) */
.beacon-pulse {
  width: 9px;
  height: 9px;
  background-color: var(--emerald-beacon);
  border-radius: 50%;
  box-shadow: 0 0 0 0 var(--emerald-glow);
  animation: pulseBeacon 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulseBeacon {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.75); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #040810;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem 0;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.footer-logo-img {
  height: 56px;
  width: 56px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 6px 18px rgba(35, 100, 180, 0.35);
}
.footer-logo-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue-light);
  line-height: 1.2;
}
.footer-logo-sub {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 3px;
}
.footer-motto { font-size: 0.88rem; max-width: 440px; line-height: 1.65; margin-bottom: 1.5rem; }

/* Bloc agréments : logo CNAPS + numéros d'autorisation */
.footer-accreditation {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 520px;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
}
.footer-cnaps-logo-wrap {
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
}
.footer-cnaps-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
}
.footer-cnaps-badge {
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--blue-primary);
  border-left: 2px solid var(--blue-border);
  padding-left: 0.85rem;
}

.footer-col-title {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links, .footer-legal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-links a { font-size: 0.85rem; color: var(--text-secondary); transition: color var(--transition-fast); }
.footer-links a:hover { color: var(--blue-light); }
.footer-legal-list li { font-size: 0.8rem; color: var(--text-muted); }

.footer-email-badge { margin-top: 1rem; }
.footer-email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-light);
  text-decoration: none;
  background: rgba(66, 155, 245, 0.08);
  border: 1px solid var(--blue-border);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.footer-email-link:hover {
  background: rgba(66, 155, 245, 0.2);
  color: #ffffff;
  border-color: var(--blue-primary);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.security-indicator { display: flex; align-items: center; gap: 0.5rem; color: #7a95ba; }
.sec-dot {
  width: 6px;
  height: 6px;
  background-color: var(--emerald-beacon);
  border-radius: 50%;
}

/* ==========================================================================
   MODAL & TOAST
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 15, 0.9);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}
.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.modal-card {
  position: relative;
  width: 100%;
  max-width: 650px;
  background: var(--bg-secondary);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform var(--transition-smooth);
}
.modal-backdrop.open .modal-card { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 1.8rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}
.modal-close:hover { color: #ffffff; }

.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}
.toast-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.4rem;
  background: var(--bg-elevated);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  color: #ffffff;
  font-size: 0.88rem;
  pointer-events: auto;
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.toast-icon { color: var(--emerald-beacon); font-size: 1.1rem; }
@keyframes toastSlideIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
   ACCUEIL — TROIS BRANCHES & CONFIANCE
   ========================================================================== */
.branches-section { margin-bottom: 4rem; }

.branches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.branch-card {
  position: relative;
  padding: 2.25rem 2rem 2rem;
  background: linear-gradient(160deg, rgba(35, 100, 180, 0.14) 0%, var(--bg-card) 55%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  cursor: pointer;
  overflow: hidden;
  transition: all var(--transition-smooth);
}
.branch-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-logo), var(--blue-primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-smooth);
}
.branch-card:hover, .branch-card:focus-visible {
  transform: translateY(-5px);
  border-color: var(--blue-border-strong);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(66, 155, 245, 0.15);
  outline: none;
}
.branch-card:hover::after, .branch-card:focus-visible::after { transform: scaleX(1); }

.branch-num {
  position: absolute;
  top: 1.1rem;
  right: 1.4rem;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(66, 155, 245, 0.12);
  line-height: 1;
}
.branch-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--blue-logo) 0%, var(--blue-logo-light) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  box-shadow: 0 6px 16px rgba(35, 100, 180, 0.4);
}
.branch-title { font-size: 1.3rem; margin-bottom: 0.75rem; color: #ffffff; }
.branch-text { font-size: 0.92rem; line-height: 1.65; margin-bottom: 1.25rem; }
.branch-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-primary);
}

.trust-strip {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem 3rem;
  align-items: center;
  padding: 2.25rem 2.5rem;
  margin-bottom: 4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-left: 4px solid var(--blue-logo);
  border-radius: var(--radius-md);
}
.trust-strip-tag {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--blue-primary);
  margin-bottom: 0.75rem;
}
.trust-strip-text { font-size: 0.98rem; line-height: 1.65; color: var(--text-primary); }
.trust-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.trust-list li {
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-light);
  background: var(--blue-subtle);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-full);
}
.trust-strip-ambition {
  grid-column: 1 / -1;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  text-align: center;
}
.trust-strip-ambition strong { color: var(--blue-light); margin-left: 0.5rem; font-weight: 800; }

/* ==========================================================================
   PAGE LE CABINET — HISTORIQUE, AGRÉMENTS, DÉONTOLOGIE
   ========================================================================== */
.cabinet-history {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  margin-bottom: 2rem;
  min-height: 300px;
}
.cabinet-history-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cabinet-history-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  filter: brightness(0.5) saturate(0.9);
}
.cabinet-history-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 11, 19, 0.96) 0%, rgba(6, 11, 19, 0.82) 50%, rgba(13, 45, 92, 0.55) 100%);
}
.cabinet-history-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 3rem;
}
.cabinet-history-logo {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 16px 40px rgba(0, 0, 0, 0.6);
}
.cabinet-history-tag {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--blue-primary);
  margin-bottom: 0.6rem;
}
.cabinet-history-title { font-size: 1.7rem; margin-bottom: 1rem; color: #ffffff; }
.cabinet-history-text p { font-size: 0.97rem; line-height: 1.72; color: #c5d6ee; max-width: 760px; }

.accreditation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 4.5rem;
}
.accreditation-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-smooth);
}
.accreditation-card:hover { border-color: var(--blue-border); transform: translateY(-4px); }
.accreditation-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.accreditation-card p { font-size: 0.9rem; line-height: 1.65; }
.accreditation-logo-wrap {
  display: inline-block;
  background: #ffffff;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  margin-bottom: 1.25rem;
}
.accreditation-logo { height: 44px; width: auto; }
.accreditation-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: var(--blue-subtle);
  border: 1px solid var(--blue-border);
  color: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.accreditation-numbers {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--blue-primary);
}

.deontology-section { margin-bottom: 4.5rem; }
.deontology-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-bottom: 2rem;
}
.deontology-block {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.deontology-block summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  background: linear-gradient(90deg, rgba(35, 100, 180, 0.18) 0%, transparent 100%);
  border-bottom: 1px solid var(--border-subtle);
  user-select: none;
}
.deontology-block summary::-webkit-details-marker { display: none; }
.deontology-block-num {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 800;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-logo), var(--blue-logo-light));
  color: #ffffff;
}
.deontology-block-title {
  flex: 1;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
}
.deontology-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--blue-primary);
  border-bottom: 2px solid var(--blue-primary);
  transform: rotate(45deg);
  transition: transform var(--transition-fast);
  margin-right: 4px;
}
.deontology-block[open] .deontology-chevron { transform: rotate(-135deg); }
.deontology-list {
  list-style: none;
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.deontology-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
}
.deontology-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-primary);
  box-shadow: 0 0 8px var(--blue-glow);
}

.deontology-means {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  background: rgba(35, 100, 180, 0.1);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-md);
}
.deontology-means-icon {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--blue-primary);
  flex-shrink: 0;
}
.deontology-means p { font-size: 0.98rem; line-height: 1.65; color: var(--text-primary); }
.deontology-means strong { color: var(--blue-light); }

.legal-refs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.legal-ref {
  padding: 1.25rem 1.4rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--blue-logo);
  border-radius: var(--radius-sm);
}
.legal-ref-law {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blue-light);
  margin-bottom: 0.5rem;
}
.legal-ref-text { font-size: 0.82rem; line-height: 1.6; color: var(--text-secondary); }

/* ==========================================================================
   FORMULAIRE — CONSENTEMENT & ENVOI DIRECT
   ========================================================================== */
.form-consent {
  margin: 1.25rem 0 1.5rem;
  padding: 1rem 1.1rem;
  background: rgba(35, 100, 180, 0.08);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
}
.form-consent .custom-checkbox { align-items: flex-start; }
.form-consent .checkmark { flex-shrink: 0; margin-top: 2px; }
.form-consent .chk-label { line-height: 1.5; }
.inline-legal-link {
  color: var(--blue-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.inline-legal-link:hover { color: #ffffff; }
.form-mail-hint {
  margin-top: 1rem;
  font-size: 0.76rem;
  line-height: 1.55;
  text-align: center;
  color: var(--text-secondary);
}
.footer-legal-link { color: var(--blue-light) !important; font-weight: 600; }

/* ==========================================================================
   PAGE MENTIONS LÉGALES & CONFIDENTIALITÉ
   ========================================================================== */
.section-legal-inner { padding: 4.5rem 1.5rem 6rem 1.5rem; }

.legal-fill-notice {
  max-width: 900px;
  margin: 0 auto 2.5rem;
  padding: 0.9rem 1.2rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #fde68a;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-sm);
}
.legal-fill-notice strong { color: #fcd34d; }

.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}
.legal-toc a {
  padding: 0.45rem 0.6rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.legal-toc a:hover { color: #ffffff; background: var(--blue-subtle); }

.legal-content { display: flex; flex-direction: column; gap: 1.75rem; max-width: 860px; }
.legal-article {
  padding: 2rem 2.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}
.legal-article h2 {
  font-size: 1.2rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--blue-light);
}
.legal-article p { font-size: 0.92rem; line-height: 1.7; margin-bottom: 0.9rem; }
.legal-article p:last-child { margin-bottom: 0; }
.legal-article a { color: var(--blue-light); }
.legal-article a:hover { text-decoration: underline; }

.legal-dl {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0.6rem 1.5rem;
  margin: 0.5rem 0 1rem;
}
.legal-dl dt {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 2px;
}
.legal-dl dd { font-size: 0.92rem; line-height: 1.65; color: var(--text-primary); }

.to-fill {
  display: inline-block;
  padding: 0.1rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.12);
  border: 1px dashed rgba(245, 158, 11, 0.5);
  border-radius: var(--radius-sm);
}
.legal-quote {
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--blue-logo);
  background: rgba(35, 100, 180, 0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-primary);
}
.legal-model {
  margin: 0.5rem 0 0;
  padding: 1.1rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--blue-border);
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   PAGE PRESTATIONS — 6 CARTES
   ========================================================================== */
.card-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(66, 155, 245, 0.18);
}
.flip-card-front .card-domain-badge {
  padding: 0.3rem 0.7rem;
  background: linear-gradient(135deg, rgba(35, 100, 180, 0.35), rgba(66, 155, 245, 0.15));
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-full);
  color: #ffffff;
}
.flip-card-back .back-step span { color: #d7e4f7; }
.prest-footnote {
  max-width: 820px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
}

/* ==========================================================================
   PASSE DESIGN — LUXE SOBRE, BLEU CONSERVÉ
   (placée avant les media queries : les règles mobiles gardent la main)
   ========================================================================== */

/* --- Base : lecture plus confortable --- */
body { line-height: 1.7; }
p { font-size: 1.02rem; }
h1, h2, h3 { letter-spacing: 0.035em; }

/* --- Drapeaux --- */
.lang-flag { display: inline-flex; width: 22px; height: 22px; line-height: 0; }
.flag-svg { width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); }
.lang-btn { padding: 0.28rem 0.32rem; opacity: 0.6; }
.lang-btn:hover { opacity: 1; }
.lang-btn.active { opacity: 1; background: rgba(66, 155, 245, 0.16); border-color: var(--blue-primary); box-shadow: 0 0 0 2px rgba(66, 155, 245, 0.25); }
.mobile-lang-box .lang-btn { gap: 0.45rem; padding: 0.4rem 0.7rem; font-size: 0.85rem; color: var(--text-secondary); }
.mobile-lang-box .lang-btn.active { color: #ffffff; }

/* --- Accueil --- */
.hero-section { min-height: calc(100vh - var(--header-height)); padding: 5rem 0 4rem; }
.hero-bg-img { filter: brightness(0.45) contrast(1.05) saturate(0.55); }
.hero-overlay {
  background:
    radial-gradient(ellipse at 20% 40%, rgba(35, 100, 180, 0.22) 0%, transparent 55%),
    linear-gradient(90deg, rgba(6, 11, 19, 0.92) 0%, rgba(6, 11, 19, 0.65) 55%, rgba(6, 11, 19, 0.35) 100%),
    linear-gradient(180deg, rgba(6, 11, 19, 0.35) 0%, rgba(6, 11, 19, 0.55) 60%, var(--bg-primary) 100%);
}
.hero-badge-capsule {
  padding: 0.45rem 1.1rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  background: rgba(6, 11, 19, 0.55);
  backdrop-filter: blur(6px);
  margin-bottom: 2rem;
}
.hero-title {
  font-size: clamp(2.6rem, 5.6vw, 4.8rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.08;
  margin-bottom: 1.75rem;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.55);
}
.hero-title::after {
  content: '';
  display: block;
  width: 72px;
  height: 2px;
  margin-top: 1.5rem;
  background: linear-gradient(90deg, var(--blue-primary), transparent);
}
.hero-lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); line-height: 1.75; color: #c9d9ee; max-width: 700px; margin-bottom: 2.75rem; }
.hero-cta-group { margin-bottom: 4rem; }
.btn-secondary { background: transparent; border: 1px solid rgba(255, 255, 255, 0.22); padding: 1rem 1.9rem; letter-spacing: 0.02em; }
.btn-secondary:hover { border-color: var(--blue-light); background: rgba(66, 155, 245, 0.08); }

/* Chiffres clés : bandeau épuré à séparateurs */
.metrics-bar {
  gap: 0;
  padding: 0.5rem 0;
  background: rgba(10, 18, 32, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.metric-card {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.35rem 1.75rem;
}
.metric-card:first-child { border-left: none; }
.metric-val { font-size: 1.6rem; letter-spacing: 0.04em; color: #ffffff; }
.metric-label { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-light); }
.metric-sub { font-size: 0.78rem; color: var(--text-secondary); }

/* --- Sections : rythme et titres --- */
.section-presentation, .section-pro-inner, .section-intl-inner, .section-contact-inner, .section-legal-inner { padding-top: 6.5rem; padding-bottom: 6.5rem; }
.section-header { margin-bottom: 4rem; }
.section-tag { font-size: 0.72rem; letter-spacing: 0.26em; color: var(--blue-primary); opacity: 0.95; }
.section-title { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.18; letter-spacing: 0.03em; }
.blue-divider { width: 72px; height: 2px; margin: 1.5rem auto; background: linear-gradient(90deg, transparent, var(--blue-light), var(--blue-primary), transparent); box-shadow: 0 0 14px rgba(66, 155, 245, 0.45); }
.section-desc { font-size: 1.1rem; line-height: 1.75; color: #aebfd8; }

/* Blocs : léger dégradé, bordure qui s'allume */
.pillar-card, .branch-card, .accreditation-card, .deontology-block, .channels-card, .contact-form-card, .legal-article, .legal-ref, .trust-strip {
  background: linear-gradient(165deg, rgba(20, 34, 64, 0.55) 0%, rgba(13, 23, 38, 0.95) 60%);
  border-color: rgba(255, 255, 255, 0.07);
}
.pillar-card:hover, .accreditation-card:hover, .legal-article:hover { border-color: var(--blue-border-strong); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(66, 155, 245, 0.12); }
.pillar-icon, .accreditation-icon { background: linear-gradient(135deg, rgba(35, 100, 180, 0.35), rgba(66, 155, 245, 0.12)); color: #ffffff; }
.pillar-title { font-size: 1.32rem; line-height: 1.3; }
.pillar-text { font-size: 0.97rem; line-height: 1.7; }
.branch-title { font-size: 1.38rem; }
.branch-text { font-size: 0.97rem; }

/* --- Cartes de prestations --- */
.flip-cards-grid { gap: 2rem; }
.flip-card-face { padding: 2rem 1.9rem 1.75rem; border-radius: 16px; }
.flip-card-front {
  background: linear-gradient(165deg, rgba(20, 34, 64, 0.6) 0%, rgba(13, 23, 38, 0.98) 55%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth), background var(--transition-smooth);
}
.flip-card-front::before { height: 3px; background: linear-gradient(90deg, var(--blue-logo), var(--blue-light), var(--blue-logo)); }
.flip-card:hover .flip-card-front {
  border-color: rgba(66, 155, 245, 0.55);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(66, 155, 245, 0.15), 0 0 40px rgba(35, 100, 180, 0.18);
}
.flip-card:not(.is-flipped):hover .flip-card-inner { transform: translateY(-8px); }
.card-head-line { margin-bottom: 1.4rem; }
.flip-card-front .card-domain-badge { font-size: 0.88rem; font-weight: 800; letter-spacing: 0.1em; white-space: nowrap; padding: 0.5rem 1rem; border-color: rgba(66, 155, 245, 0.55); box-shadow: 0 0 18px rgba(35, 100, 180, 0.35); }
.back-subtitle { font-size: 0.95rem; font-weight: 800; letter-spacing: 0.18em; color: #ffffff; }
.card-num { font-size: 1.7rem; color: rgba(66, 155, 245, 0.22); }
.card-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(35, 100, 180, 0.4), rgba(66, 155, 245, 0.12));
  border: 1px solid rgba(66, 155, 245, 0.35);
  color: #ffffff;
  margin-bottom: 1.4rem;
  transition: all var(--transition-smooth);
}
.flip-card:hover .card-icon-wrap {
  background: linear-gradient(135deg, var(--blue-logo), var(--blue-primary));
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(35, 100, 180, 0.5);
  transform: scale(1.05);
}
.card-title {
  font-size: 1.42rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.02em;
  margin-bottom: 0.9rem;
  color: #ffffff;
}
.card-abstract { flex: 0 0 auto; font-size: 0.95rem; line-height: 1.68; color: #b8c9e0; margin-bottom: 1.35rem; }
.card-highlights { margin-top: 0; margin-bottom: 1.6rem; gap: 0.55rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.card-highlights li { font-size: 0.9rem; color: #d2dff0; }
.card-highlights li::before { content: ''; width: 6px; height: 6px; margin-top: 0.5em; border-radius: 50%; background: var(--blue-primary); box-shadow: 0 0 8px var(--blue-glow); }
.btn-flip-trigger {
  margin-top: auto;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-light);
}
.flip-card-back {
  background: linear-gradient(160deg, #0f2240 0%, #0a1627 60%, #0a1322 100%);
  border: 1px solid rgba(66, 155, 245, 0.45);
  box-shadow: inset 0 0 60px rgba(35, 100, 180, 0.12);
}
.back-header { margin-bottom: 1.5rem; padding-bottom: 1.1rem; }
.back-title { font-size: 1.32rem; line-height: 1.3; }
.back-subtitle { font-size: 0.72rem; letter-spacing: 0.2em; }
.back-step { padding: 0.85rem 1rem; background: rgba(255, 255, 255, 0.03); border-left: 2px solid var(--blue-primary); font-size: 0.93rem; }

/* --- Pied de page --- */
.site-footer { padding: 5.5rem 0 2.5rem; background: linear-gradient(180deg, #040810 0%, #03060c 100%); }
.footer-grid { gap: 4rem; margin-bottom: 4rem; }
.footer-bottom { padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, 0.06); }

/* ==========================================================================
   ACCESSIBILITÉ — LIEN D'ÉVITEMENT & ANIMATIONS RÉDUITES
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  padding: 0.6rem 1rem;
  background: var(--blue-logo);
  color: #ffffff;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: top var(--transition-fast);
}
.skip-link:focus { top: 1rem; outline: 2px solid #ffffff; }

/* Animations réduites : on coupe seulement les effets décoratifs (pulsations, apparitions au défilement).
   Le retournement des cartes et les survols restent animés, en version courte. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .badge-dot, .cta-pulse-glow, .cta-sheen, .beacon-pulse, .sec-dot { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .flip-card-inner { transition-duration: 0.35s !important; }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Écrans portables 1200–1560px : on compacte l'en-tête pour éviter tout débordement */
@media (max-width: 1560px) {
  .brand-subtitle { display: none; }
  .nav-item { padding: 0.5rem 0.55rem; font-size: 0.76rem; }
  .nav-item .nav-icon { display: none; }
  .header-container { gap: 0.5rem; }
  .brand-title { font-size: 0.95rem; letter-spacing: 0.08em; }
  .cta-badge { display: none; }
}

@media (max-width: 1400px) {
  .brand-title-light { display: none; }
  .nav-item { padding: 0.45rem 0.5rem; font-size: 0.75rem; }
}

@media (max-width: 1200px) {
  .dynamic-nav { display: none; }
  .mobile-toggle { display: flex; }
  .flip-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .flip-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .intl-grid-hubs { grid-template-columns: repeat(2, 1fr); }
  .charter-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .branches-grid, .accreditation-grid, .legal-refs { grid-template-columns: repeat(2, 1fr); }
  .legal-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .legal-toc { position: static; flex-direction: row; flex-wrap: wrap; }
  .dual-hub-gateway { grid-template-columns: 1fr; }
  .contact-layout-grid { grid-template-columns: 1fr; }
  .metrics-bar { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .pro-pricing-notice { flex-direction: column; gap: 1.25rem; }
}

@media (max-width: 768px) {
  :root { --header-height: 70px; }
  .brand-subtitle { display: none; }
  .brand-title-light { display: none; }
  .brand-logo { gap: 0.6rem; }

  .dynamic-nav { display: none; }
  .lang-switcher { display: none; }
  .mobile-toggle { display: flex; }

  .hero-section { padding: 2.5rem 0 3.5rem 0; min-height: auto; }
  .hero-title { font-size: 2.2rem; }
  .hero-lead { font-size: 1rem; margin-bottom: 2rem; }
  .hero-cta-group { flex-direction: column; align-items: stretch; margin-bottom: 2rem; }
  .hero-cta-group .btn-cta-prominent,
  .hero-cta-group .btn-secondary { width: 100%; justify-content: center; }

  .metrics-bar { grid-template-columns: 1fr 1fr; padding: 1.25rem; }
  .metric-card { padding-left: 1rem; }
  .pillars-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .branches-grid, .accreditation-grid, .legal-refs, .deontology-grid, .trust-strip { grid-template-columns: 1fr; }
  .trust-strip { padding: 1.75rem 1.5rem; }
  .legal-dl { grid-template-columns: 1fr; gap: 0.2rem 0; }
  .legal-dl dd { margin-bottom: 0.6rem; }
  .legal-article { padding: 1.5rem 1.25rem; }
  .cabinet-history-content { flex-direction: column; align-items: flex-start; padding: 2rem 1.5rem; gap: 1.5rem; }
  .cabinet-history-logo { width: 96px; height: 96px; }
  .cabinet-history-title { font-size: 1.35rem; }
  .pillar-card { padding: 1.75rem; }
  .quote-callout { padding: 2rem 1.5rem; }

  .flip-cards-grid { grid-template-columns: 1fr; }
  .flip-grid-4 { grid-template-columns: 1fr; }
  .flip-card { min-height: 360px; }
  .flip-card-inner { min-height: 360px; }
  .flip-card:hover .flip-card-inner { transform: none; }
  .flip-card.is-flipped .flip-card-inner { transform: rotateY(180deg); }

  .intl-grid-hubs { grid-template-columns: 1fr; }
  .charter-cards-grid { grid-template-columns: 1fr; }

  .photos-grid-specimen { grid-template-columns: 1fr; }
  .case-file-header { flex-direction: column; align-items: flex-start; }
  .case-file-controls { width: 100%; flex-wrap: wrap; }
  .btn-sm-ghost { flex: 1; text-align: center; }
  .dossier-paper { padding: 1.5rem; }
  .case-file-viewer { padding: 1rem; }

  .form-row { flex-direction: column; gap: 1.25rem; }
  .radio-pill-group { grid-template-columns: 1fr; }
  .contact-form-card, .calculator-card { padding: 1.5rem; }
  .particuliers-calculator-wrapper { padding: 1.5rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.75rem; }

  .pro-synergy-banner { flex-direction: column; padding: 1.75rem; }
}

@media (max-width: 480px) {
  .metrics-bar { grid-template-columns: 1fr; }
  .brand-subtitle { display: none; }
  .footer-accreditation { flex-direction: column; align-items: flex-start; }
  .cta-badge { display: none; }
  .btn-cta-prominent { padding: 0.65rem 1.1rem; }
  .cta-label { font-size: 0.82rem; }
}

/* ==========================================================================
   THÈME CLAIR — SOBRE, SANS EFFETS (couche finale)
   Bleu de marque conservé : #2364b4 (plein) / #429bf5 (survols)
   ========================================================================== */
:root {
  --bg-primary: #e6eef9; /* blanc bleuté */
  --bg-secondary: #ffffff;
  --bg-tertiary: #dae6f5;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-glass: #ffffff;
  --blue-primary: #2364b4;
  --blue-hover: #1b56a0;
  --blue-light: #1f5fb0;
  --blue-dark: #163f78;
  --blue-deep: #0f2d58;
  --blue-subtle: rgba(35, 100, 180, 0.07);
  --blue-glow: rgba(35, 100, 180, 0);
  --blue-border: rgba(35, 100, 180, 0.22);
  --blue-border-strong: rgba(35, 100, 180, 0.45);
  --cta-grad-start: #2364b4;
  --cta-grad-mid: #2364b4;
  --cta-grad-end: #2364b4;
  --text-primary: #0f1f3a;
  --text-secondary: #4a5a75;
  --text-muted: #6b7a93;
  --text-inverse: #ffffff;
  --border-subtle: rgba(15, 31, 58, 0.09);
  --border-card: rgba(15, 31, 58, 0.12);
  --border-focus: rgba(35, 100, 180, 0.6);
  --shadow-sm: 0 1px 3px rgba(15, 31, 58, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 31, 58, 0.07);
  --shadow-lg: 0 10px 30px rgba(15, 31, 58, 0.1);
  --shadow-blue: 0 4px 14px rgba(35, 100, 180, 0.18);
  --emerald-beacon: #1f8f5f;
}

/* --- Plus aucun flou, halo, pulsation ni reflet --- */
*, *::before, *::after { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; text-shadow: none !important; }
.badge-dot, .beacon-pulse, .sec-dot { animation: none !important; }
.cta-pulse-glow, .cta-sheen { display: none !important; }
.hero-badge-capsule, .btn-cta-prominent, .btn-cta-prominent:hover, .brand-logo-img, .brand-logo:hover .brand-logo-img,
.flip-card:hover .flip-card-front, .flip-card:hover .card-icon-wrap, .branch-card:hover, .branch-card:focus-visible,
.pillar-card:hover, .accreditation-card:hover, .legal-article:hover, .footer-logo-img, .cabinet-history-logo,
.branch-icon, .blue-divider, .deontology-list li::before, .card-highlights li::before, .metrics-bar, .toast-item,
.flip-card-front .card-domain-badge, .flip-card-back, .lang-btn.active, .skip-link, .nav-indicator {
  box-shadow: none !important;
}

/* --- Base --- */
html, body { background: var(--bg-primary); color: var(--text-primary); }
p { color: var(--text-secondary); }
h1, h2, h3, h4, h5, h6 { color: var(--text-primary); }
.section-desc, .hero-lead { color: var(--text-secondary); }
.hero-lead strong { color: var(--text-primary); }
.text-blue-gradient { background: none; -webkit-text-fill-color: var(--blue-primary); color: var(--blue-primary); }
.section-tag, .trust-strip-tag, .cabinet-history-tag { color: var(--blue-primary); }
.blue-divider { background: var(--blue-primary); width: 56px; height: 2px; }

/* --- En-tête --- */
.site-header, .site-header.scrolled { background: #ffffff; border-bottom: 1px solid var(--border-subtle); box-shadow: none; }
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.brand-title { color: var(--text-primary); }
.brand-title-light { color: var(--blue-primary); }
.brand-subtitle { color: var(--text-muted); }
.dynamic-nav { background: var(--bg-tertiary); border: 1px solid var(--border-subtle); }
.nav-item { color: var(--text-secondary); }
.nav-item:hover { color: var(--text-primary); background: transparent; }
.nav-item.active { color: #ffffff; }
.nav-item.active .nav-icon { color: #ffffff; }
.nav-indicator { background: var(--blue-primary); border: none; }
.lang-switcher { background: var(--bg-tertiary); border-color: var(--border-subtle); }
.lang-btn { opacity: 0.55; }
.lang-btn:hover, .lang-btn.active { opacity: 1; background: #ffffff; border-color: var(--blue-primary); }
.mobile-toggle .bar { background: var(--text-primary); }

/* --- Boutons --- */
.btn-cta-prominent { background: var(--blue-primary); color: #ffffff; border: 1px solid var(--blue-primary); }
.btn-cta-prominent:hover { background: var(--blue-hover); border-color: var(--blue-hover); transform: translateY(-1px); }
.btn-secondary { background: #ffffff; border: 1px solid var(--blue-border-strong); color: var(--blue-primary); }
.btn-secondary:hover { background: var(--blue-subtle); border-color: var(--blue-primary); color: var(--blue-hover); }
.btn-primary, .btn-primary-sm { background: var(--blue-primary); color: #ffffff; border: none; }
.btn-primary:hover, .btn-primary-sm:hover { background: var(--blue-hover); }
.cta-badge { color: rgba(255, 255, 255, 0.85); }

/* --- Menu mobile --- */
.mobile-drawer { background: rgba(15, 31, 58, 0.35); }
.mobile-drawer-content { background: #ffffff; border-left: 1px solid var(--border-subtle); }
.mobile-drawer-badge, .mobile-lang-title { color: var(--text-primary); }
.mobile-drawer-close { color: var(--text-secondary); }
.mobile-drawer-close:hover { color: var(--text-primary); background: var(--bg-tertiary); }
.mobile-nav-item { background: #ffffff; border: 1px solid var(--border-subtle); color: var(--text-primary); }
.mobile-nav-item:hover, .mobile-nav-item.active { background: var(--blue-subtle); border-color: var(--blue-border-strong); color: var(--blue-primary); }
.mobile-lang-box .lang-btn { color: var(--text-secondary); }
.mobile-lang-box .lang-btn.active { color: var(--text-primary); }
.mobile-drawer-footer, .mobile-drawer-footer * { color: var(--text-muted); }

/* --- Accueil clair : texte à gauche, photo encadrée à droite --- */
.hero-section { min-height: auto; padding: 5rem 0 4.5rem; background: linear-gradient(180deg, #ffffff 0%, var(--bg-primary) 100%); overflow: visible; }
.hero-content { max-width: 1280px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem 4rem; align-items: center; }
.hero-text { min-width: 0; }
.hero-badge-capsule { background: var(--blue-subtle); border: 1px solid var(--blue-border); color: var(--blue-primary); }
.badge-dot { background: var(--blue-primary); opacity: 1; transform: none; }
.hero-title { color: var(--text-primary); font-size: clamp(1.2rem, 6.4vw, 2.6rem); line-height: 1.15; }
.nowrap { white-space: nowrap; }
.hero-title::after { background: var(--blue-primary); }
.metrics-bar { grid-column: 1 / -1; background: #ffffff; border: 1px solid var(--border-card); }
.metric-card { border-left: 1px solid var(--border-subtle); }
.metric-card:first-child { border-left: none; }
.metric-val { color: var(--text-primary); }
.metric-label { color: var(--blue-primary); }
.metric-sub { color: var(--text-muted); }

/* --- Blocs, cartes, encadrés --- */
.pillar-card, .branch-card, .accreditation-card, .deontology-block, .channels-card, .contact-form-card, .legal-article, .legal-ref,
.trust-strip, .prest-footnote, .legal-toc, .deontology-means, .form-consent, .coverage-reminder-box, .footer-accreditation,
.cabinet-history, .legal-model, .channel-item {
  background: #ffffff;
  border-color: var(--border-card);
}
.pillar-card:hover, .accreditation-card:hover, .legal-article:hover, .branch-card:hover, .branch-card:focus-visible, .channel-item:hover {
  border-color: var(--blue-border-strong);
  box-shadow: var(--shadow-md) !important;
  transform: translateY(-3px);
}
.pillar-icon, .accreditation-icon, .card-icon-wrap { background: var(--blue-subtle); border: 1px solid var(--blue-border); color: var(--blue-primary); }
.branch-icon { background: var(--blue-primary); color: #ffffff; }
.branch-card::after { background: var(--blue-primary); }
.branch-num, .card-num { color: rgba(35, 100, 180, 0.16); }
.branch-title, .pillar-title, .card-title, .back-title, .accreditation-card h3, .legal-article h2, .deontology-block-title, .channels-title, .form-title, .cabinet-history-title { color: var(--text-primary); }
.branch-text, .pillar-text, .card-abstract, .back-step, .accreditation-card p, .deontology-list li, .legal-article p, .legal-ref-text, .trust-strip-text, .channels-sub, .form-sub { color: var(--text-secondary); }
.branch-link, .btn-flip-trigger, .legal-ref-law, .back-step strong, .deontology-means strong { color: var(--blue-primary); }
.trust-strip { border-left: 4px solid var(--blue-primary); }
.trust-list li { background: var(--blue-subtle); border-color: var(--blue-border); color: var(--blue-primary); }
.trust-strip-ambition { color: var(--text-secondary); border-top-color: var(--border-subtle); }
.trust-strip-ambition strong { color: var(--blue-primary); }

/* Cartes de prestations */
.flip-card-front { background: #ffffff; border: 1px solid var(--border-card); }
.flip-card-front::before { height: 3px; background: var(--blue-primary); opacity: 1; }
.flip-card:hover .flip-card-front { border-color: var(--blue-border-strong); box-shadow: var(--shadow-md) !important; }
.flip-card:hover .card-icon-wrap { background: var(--blue-primary); color: #ffffff; border-color: transparent; transform: none; }
.flip-card-front .card-domain-badge { background: var(--blue-primary); color: #ffffff; border-color: var(--blue-primary); }
.card-highlights { border-top-color: var(--border-subtle); }
.card-highlights li { color: var(--text-primary); }
.card-highlights li::before { background: var(--blue-primary); }
.flip-card-back { background: #e3ecf8; border: 1px solid var(--blue-border-strong); }
.back-header { border-bottom-color: var(--blue-border); }
.back-subtitle { color: var(--blue-primary); }
.back-step { background: #ffffff; border-left: 2px solid var(--blue-primary); }
.flip-card-back .back-step span { color: var(--text-secondary); }
.btn-flip-return { color: var(--text-muted); }
.btn-flip-return:hover { color: var(--blue-primary); }

/* Page Cabinet */
.cabinet-history-bg img { filter: saturate(0.6) brightness(1.05); }
.cabinet-history-bg::after { background: linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.55) 100%); }
.cabinet-history-text p { color: var(--text-secondary); }
.accreditation-numbers { color: var(--blue-primary); border-top-color: var(--border-subtle); }
.accreditation-logo-wrap, .footer-cnaps-logo-wrap { background: #ffffff; border: 1px solid var(--border-subtle); }
.deontology-block summary { background: var(--blue-subtle); border-bottom-color: var(--border-subtle); }
.deontology-block-num { background: var(--blue-primary); color: #ffffff; }
.deontology-chevron { border-color: var(--blue-primary); }
.deontology-means { background: var(--blue-subtle); border-color: var(--blue-border); }
.deontology-means p { color: var(--text-primary); }
.legal-ref { border-left: 3px solid var(--blue-primary); }

/* Contact */
.channel-name { color: var(--text-primary); }
.channel-val { color: var(--text-secondary); }
.phone-bg { background: rgba(31, 143, 95, 0.1); color: #1f8f5f; }
.pgp-bg { background: var(--blue-subtle); color: var(--blue-primary); }
.reminder-text, .reminder-text strong { color: var(--text-primary); }
.badge-lock { color: #1f8f5f; background: rgba(31, 143, 95, 0.08); border-color: rgba(31, 143, 95, 0.3); }
.form-label { color: var(--text-primary); }
.form-label-sub { color: var(--text-secondary); }
.form-select, .form-input, .form-textarea { background: #ffffff; border: 1px solid var(--border-card); color: var(--text-primary); }
.form-select:focus, .form-input:focus, .form-textarea:focus { border-color: var(--blue-primary); box-shadow: 0 0 0 3px rgba(35, 100, 180, 0.12); outline: none; }
.form-input::placeholder, .form-textarea::placeholder { color: #9aa7bb; }
.form-select option { background: #ffffff; color: var(--text-primary); }
.checkmark { background: #ffffff; border-color: var(--border-card); }
.custom-checkbox { color: var(--text-secondary); }
.custom-checkbox input:checked ~ .checkmark { background: var(--blue-primary); border-color: var(--blue-primary); }
.custom-checkbox input:checked ~ .checkmark::after { border-color: #ffffff; color: #ffffff; }
.form-consent { background: var(--blue-subtle); }
.form-mail-hint, .form-compliance-notice { color: var(--text-muted); }
.direct-mail-link, .inline-legal-link { color: var(--blue-primary); }
.direct-mail-link:hover, .inline-legal-link:hover { color: var(--blue-hover); }
.form-direct-mail { color: var(--text-muted); }
.toast-item { background: #ffffff; color: var(--text-primary); border-color: var(--blue-border-strong); box-shadow: var(--shadow-lg) !important; }
.modal-card { background: #ffffff; }

/* Mentions légales */
.legal-fill-notice { color: #7a4b00; background: #fff6e0; border-color: #f0d28a; }
.legal-fill-notice strong { color: #5c3800; }
.to-fill { color: #7a4b00; background: #fff6e0; border-color: #e0b85a; }
.legal-toc a { color: var(--text-secondary); }
.legal-toc a:hover { color: var(--blue-primary); background: var(--blue-subtle); }
.legal-dl dt { color: var(--text-muted); }
.legal-dl dd { color: var(--text-primary); }
.legal-quote { background: var(--blue-subtle); border-left-color: var(--blue-primary); color: var(--text-primary); }
.legal-model { background: var(--bg-tertiary); border-color: var(--blue-border); color: var(--text-primary); }

/* --- Pied de page : bleu nuit sobre --- */
.site-footer { background: #0f1f3a; border-top: none; }
.site-footer p, .site-footer li, .site-footer a, .footer-motto, .footer-legal-list li, .copy-text, .security-indicator { color: #b9c6dc; }
.site-footer .footer-col-title, .footer-logo-title { color: #ffffff; }
.footer-logo-sub { color: #9fb0cc; }
.footer-links a:hover, .footer-legal-link { color: #ffffff !important; }
.footer-accreditation { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.12); }
.footer-cnaps-badge { color: #cfdbee; border-left-color: rgba(255, 255, 255, 0.25); }
.footer-cnaps-logo-wrap { border: none; }
.footer-email-link { color: #ffffff; background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.2); }
.footer-email-link:hover { background: rgba(255, 255, 255, 0.12); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.sec-dot { background: #4fd18f; }

/* --- Divers --- */
.skip-link { background: var(--blue-primary); }
.reveal { transform: translateY(14px); }

/* --- Responsive du nouvel accueil --- */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 768px) {
  .hero-section { padding: 2.5rem 0 3rem; }
}


/* En-tête sur petit écran : tout tient dans la largeur, burger compris */
@media (max-width: 480px) {
  .header-container { padding: 0 1rem; gap: 0.5rem; }
  .header-actions { gap: 0.6rem; }
  .brand-logo { gap: 0.5rem; }
  .brand-logo-img { width: 42px; height: 42px; }
  .mobile-toggle { width: 28px; }
  #headerCtaBtn { padding: 0.55rem 0.8rem; }
  #headerCtaBtn .cta-icon { display: none; }
  #headerCtaBtn .cta-label { font-size: 0.78rem; white-space: nowrap; }
}
@media (max-width: 370px) {
  .brand-text { display: none; }
}

/* Très petits écrans : les colonnes peuvent rétrécir, les adresses longues passent à la ligne */
@media (max-width: 480px) {
  .contact-col-channels, .contact-col-form, .legal-layout > * { min-width: 0; }
  .channel-val, .direct-mail-link, .legal-dl dd, .legal-model { overflow-wrap: anywhere; }
}

/* Le mot « Confidentialité » doit tenir dans la largeur sur les plus petits écrans */
@media (max-width: 370px) {
  .section-title { font-size: 1.6rem; }
}

/* Volet de menu mobile */
.mobile-lang-box .lang-switcher { display: flex; }
.mobile-lang-box .lang-txt { display: inline; }
.mobile-toggle.open { opacity: 0; pointer-events: none; }
.mobile-drawer-footer .btn-cta-prominent,
.mobile-drawer-footer .btn-cta-prominent * { color: #ffffff; }
.mobile-lang-title { white-space: nowrap; }
.mobile-lang-box .lang-btn { padding: 0.32rem; }


/* ==========================================================================
   FOND FIXE COMMUN — les buildings restent en place, seul le contenu change
   ========================================================================== */
html { scrollbar-gutter: stable; }
.site-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.site-backdrop picture, .site-backdrop img {
  display: block;
  width: 100%;
  height: 100%;
}
.site-backdrop img { object-fit: cover; object-position: center; }

/* Accueil : le texte occupe sa colonne, les buildings respirent derrière */
.hero-section { background: transparent; min-height: calc(100vh - var(--header-height)); }
.hero-content { grid-template-columns: minmax(0, 1fr); align-content: center; }
.hero-text { justify-self: start; width: min(100%, 700px); }
.metrics-bar { grid-column: 1; width: 100%; }

/* Lisibilité : un seul voile transparent sur tout le fond, sans cadre autour des textes.
   Pour régler l'intensité des buildings, changer uniquement --backdrop-veil (0 = traits pleins, 1 = invisibles). */
:root { --backdrop-veil: 0.95; }
.site-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(230, 238, 249, var(--backdrop-veil));
}
.section-header { max-width: 860px; }
.section-desc, .hero-lead { color: #33435f; }
.section-tag { color: #1b56a0; }

/* Titre d'accueil sur téléphone : trois lignes, sans coupure */
@media (max-width: 480px) {
  .hero-title { font-size: 5.6vw; }
}

/* ==========================================================================
   ANIMATION DU PARCOURS CLIENT (accueil) : un dessin qui se transforme, format 4:3
   ========================================================================== */
.hero-content { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 3rem 4rem; }
.hero-text { width: 100%; }
.metrics-bar { grid-column: 1 / -1; }
.process-morph { width: 100%; max-width: 580px; aspect-ratio: 4 / 3; justify-self: center; }
.process-morph svg { display: block; width: 100%; height: 100%; }
.process-morph path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pm-main path { stroke: var(--blue-primary); stroke-width: 3; }
.pm-fine path { stroke: #5b8ad0; stroke-width: 1.7; }
.process-morph svg { overflow: visible; }
.pm-seal circle { fill: var(--bg-primary); stroke: var(--blue-primary); }
.pm-seal path { stroke: var(--blue-primary); }
.pm-label { opacity: 0; text-anchor: middle; }
.pm-label.is-first { opacity: 1; }
.pm-name { font-family: var(--font-serif); font-size: 32px; font-weight: 700; fill: var(--text-primary); }
.pm-sub { font-family: var(--font-sans); font-size: 19px; font-weight: 500; fill: #33435f; }
@media (max-width: 1100px) {
  .hero-content { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
}
@media (max-width: 480px) {
  .pm-name { font-size: 38px; transform: translateY(-6px); }
  .pm-sub { font-size: 25px; transform: translateY(4px); }
}
@media (max-width: 370px) {
  .pm-sub { font-size: 29px; }
}

/* Espacements resserrés : menu / début de page, et texte d'accueil / animation */
.hero-section { padding-top: 2.5rem; align-items: flex-start; }
.hero-content { column-gap: 1.5rem; }
.process-morph { justify-self: start; }
.section-pro-inner, .section-intl-inner, .section-contact-inner, .section-legal-inner { padding-top: 3rem; }
@media (max-width: 1100px) {
  .hero-content { row-gap: 1.5rem; }
  .process-morph { justify-self: center; }
}
@media (max-width: 768px) {
  .hero-section { padding-top: 1.5rem; }
  .section-pro-inner, .section-intl-inner, .section-contact-inner, .section-legal-inner { padding-top: 2rem; }
}

/* Sur-titre placé sous le titre de page */
.section-title + .section-tag { margin-bottom: 0; }

/* En-tête : nom et mention sur deux lignes, mention masquée sous 680 px faute de place */
.brand-subtitle { display: block; color: var(--text-secondary); }
@media (max-width: 680px) {
  .brand-subtitle { display: none; }
}

/* Petite flèche de défilement, centrée en bas de l'écran */
@keyframes scroll-hint-bob {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(3px); }
}
.scroll-hint {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 50;
  width: 40px;
  height: 40px;
  margin-left: -20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--blue-border);
  color: var(--blue-primary);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s linear, visibility 0.25s linear, border-color 0.2s linear;
}
.scroll-hint.is-visible { opacity: 1; visibility: visible; }
.scroll-hint:hover { border-color: var(--blue-primary); }
.scroll-hint svg { display: block; animation: scroll-hint-bob 2s ease-in-out infinite; }

/* Le dessin est centré dans son cadre 4:3 : on rapproche le cadre du texte, sa marge vide peut passer sous le texte */
@media (min-width: 1101px) {
  .process-morph { margin-left: -16%; pointer-events: none; }
}

/* Texte d'accueil + animation = un seul bloc centré sur la page.
   Le bord droit du bloc est celui du dessin (cercle final), pas celui de son cadre 4:3. */
@media (min-width: 1101px) {
  .hero-text { transform: translateX(16.15%); }
  .process-morph { transform: translateX(17.84%); }
}

/* Capsule d'accueil : sur sa propre ligne, centrée sur la page */
.hero-badge-capsule {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 100%;
  margin-bottom: 0;
  text-align: center;
}
@media (min-width: 1101px) {
  .hero-badge-capsule { margin-bottom: -1rem; }
}
.badge-dot { flex-shrink: 0; }

/* En-tête en trois colonnes : logo à gauche, menu au centre de la page, langues et contact à droite */
@media (min-width: 1201px) {
  .header-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    column-gap: 1rem;
  }
  .brand-logo { justify-self: start; }
  .header-actions { justify-self: end; }
}
/* Le bouton de contact reste sur une ligne ; sur les plus petits écrans à menu, sa flèche laisse la place au centrage */
@media (min-width: 1201px) {
  #headerCtaBtn .cta-label { white-space: nowrap; }
}
@media (min-width: 1201px) and (max-width: 1270px) {
  #headerCtaBtn .cta-icon { display: none; }
}

/* Volet du menu burger : même style que le menu PC (capsule, icônes, pastille bleue sur la page active) */
.mobile-nav-list {
  flex: 0 0 auto;
  gap: 2px;
  padding: 4px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
}
.mobile-nav-item {
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
}
.mobile-nav-item:hover { background: transparent; color: var(--text-primary); }
.mobile-nav-item.active,
.mobile-nav-item.active:hover { background: var(--blue-primary); color: #ffffff; font-weight: 600; }
.mobile-nav-item .nav-icon { flex-shrink: 0; width: 17px; height: 17px; }
.mobile-nav-item.active .nav-icon { color: #ffffff; opacity: 1; }
.mobile-drawer-footer { margin-top: auto; }

/* Sélecteur de langue : même capsule que le menu, pastille bleue sur la langue active */
.lang-switcher {
  gap: 2px;
  padding: 4px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
}
.lang-switcher .lang-btn {
  height: 32px;
  padding: 0 0.4rem;
  border: none;
  opacity: 1;
}
.lang-switcher .lang-btn:hover { background: transparent; }
.lang-switcher .lang-btn.active { background: var(--blue-primary); }
.lang-switcher .lang-btn.active .flag-svg { box-shadow: 0 0 0 1.5px #ffffff; }
/* Même hauteur que le menu, qui change de taille selon la largeur de l'écran */
@media (min-width: 1201px) and (max-width: 1400px) {
  #langSwitcher .lang-btn { height: 29.4px; }
}
@media (min-width: 1561px) {
  #langSwitcher .lang-btn { height: 33px; }
}

/* Page Contact : le titre tient sur une seule ligne sur PC */
#page-contact .section-header { max-width: 900px; }

/* Cartes Prestations : le titre est dans la puce, sur une ou deux lignes */
.flip-card-front .card-domain-badge {
  margin: 0;
  max-width: 100%;
  font-family: var(--font-sans);
  line-height: 1.35;
  white-space: normal;
}
/* Sans pictogramme, le texte de la face avant occupe mieux la hauteur de la carte : un peu plus grand et centré entre la puce et « Détails » */
.flip-card-front .card-abstract { margin-top: auto; font-size: 1.05rem; }
.flip-card-front .card-highlights { margin-bottom: auto; padding-bottom: 1rem; }
.flip-card-front .card-highlights li { font-size: 0.98rem; }
.flip-card-front .btn-flip-trigger { margin-top: 0; }

/* Cartes « Nos Domaines d'Intervention » : même puce que les cartes Prestations */
.branch-card .branch-title {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 1.4rem;
  padding: 0.5rem 1rem;
  background: var(--blue-primary);
  border: 1px solid var(--blue-primary);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Cartes « Pourquoi Confier Votre Dossier » : même puce que les cartes Prestations */
.pillar-card .pillar-title {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 1.4rem;
  padding: 0.5rem 1rem;
  background: var(--blue-primary);
  border: 1px solid var(--blue-primary);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Accueil : espace resserré entre le bandeau de chiffres et « Pourquoi Confier Votre Dossier », quelle que soit la hauteur de l'écran */
.hero-section { min-height: auto; padding-bottom: 1rem; }
.section-presentation { padding-top: 6rem; }

/* Capsule d'accueil plus discrète */
.hero-badge-capsule {
  padding: 0.25rem 0.8rem;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
}

/* Accueil sur téléphone et tablette : titre, animation, boutons, puis texte */
@media (max-width: 1100px) {
  .hero-text { display: contents; }
  .hero-badge-capsule { order: 0; }
  .hero-title { order: 1; margin-bottom: 0; min-width: 0; }
  .process-morph { order: 2; }
  .hero-cta-group { order: 3; margin-bottom: 0; }
  .hero-lead { order: 4; margin-bottom: 0; max-width: none; }
  .metrics-bar { order: 5; }
}

/* Nouveaux logos CAMI (bleu du site) */
.brand-wordmark { display: block; height: 40px; width: auto; flex-shrink: 0; }
.brand-logo .brand-text { padding-left: 0.75rem; border-left: 1px solid var(--border-subtle); }
.mobile-wordmark { display: block; height: 34px; width: auto; }
.footer-logo-wrap { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.footer-wordmark { display: block; height: 44px; width: auto; }
.cabinet-history-logo { width: 140px; height: auto; border-radius: 0; }
@media (max-width: 768px) {
  .cabinet-history-logo { width: 110px; height: auto; }
}
@media (max-width: 480px) {
  .brand-wordmark { height: 32px; }
}

/* Pied de page : même bleu que le reste du site, textes éclaircis pour rester lisibles */
.site-footer { background: var(--blue-primary); }
.site-footer p, .site-footer li, .site-footer a, .footer-motto, .footer-legal-list li, .copy-text, .security-indicator { color: #e6eefa; }
.footer-logo-sub { color: #d3e1f5; }
.footer-logo-sub { color: #e6eefa; }
.footer-cnaps-badge { color: #f3f7fd; }
.site-footer .footer-email-link { color: #ffffff; }

/* Champs du formulaire : fond blanc et texte foncé, aussi pendant la saisie */
.form-select:focus, .form-input:focus, .form-textarea:focus { background: #ffffff; color: var(--text-primary); }
.form-input:-webkit-autofill, .form-input:-webkit-autofill:focus, .form-textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--text-primary);
  box-shadow: 0 0 0 1000px #ffffff inset;
  caret-color: var(--text-primary);
}
/* Le raccourci vers le formulaire s'arrête sous l'en-tête fixe */
#confidentialContactForm { scroll-margin-top: calc(var(--header-height) + 24px); }

/* Formulaire : bloc « Contact discret » (créneaux horaires et consignes) */
.styled-form .discretion-box { background: var(--blue-subtle); border: 1px solid var(--border-card); }
.styled-form .discretion-title { color: var(--blue-primary); font-size: 0.85rem; }
.slot-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.slot-chip { position: relative; cursor: pointer; }
.slot-chip input { position: absolute; opacity: 0; pointer-events: none; }
.slot-chip span {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  background: #ffffff;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.slot-chip:hover span { border-color: var(--blue-primary); color: var(--blue-primary); }
.slot-chip input:checked + span { background: var(--blue-primary); border-color: var(--blue-primary); color: #ffffff; }
.slot-chip input:focus-visible + span,
.custom-checkbox input:focus-visible ~ .checkmark { outline: 2px solid var(--blue-primary); outline-offset: 2px; }
.styled-form .discretion-box .custom-checkbox { color: var(--text-primary); }

/* Créneaux de rappel libres : jour, de … à … */
.slot-list { display: flex; flex-direction: column; gap: 0.6rem; }
.slot-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto minmax(0, 1fr) auto minmax(0, 1fr) 36px;
  gap: 0.5rem;
  align-items: center;
}
.slot-row .form-select, .slot-row .form-input { padding: 0.6rem 0.7rem; min-width: 0; }
.slot-word { font-size: 0.82rem; color: var(--text-secondary); }
.slot-remove {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-card); border-radius: 50%;
  background: #ffffff; color: var(--text-secondary); font-size: 1.15rem; line-height: 1; cursor: pointer;
}
.slot-remove:hover { border-color: var(--blue-primary); color: var(--blue-primary); }
.slot-remove[hidden] { display: inline-flex; visibility: hidden; }
.slot-add {
  align-self: flex-start;
  padding: 0.45rem 0.9rem;
  border: 1px dashed var(--blue-primary); border-radius: var(--radius-full);
  background: #ffffff; color: var(--blue-primary); font-size: 0.82rem; font-weight: 700; cursor: pointer;
}
.slot-add:hover { background: var(--blue-primary); color: #ffffff; }
.slot-add[hidden] { display: none; }
.form-select option { background: #ffffff; color: var(--text-primary); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 560px) {
  .slot-row { grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr) 36px; }
  .slot-row .slot-day { grid-column: 1 / -1; }
}

/* Champ du nom neutre, sous sa case à cocher */
.neutral-name-field { margin-left: 1.9rem; }
.neutral-name-field[hidden] { display: none; }
/* Téléphone : le jour et le bouton de retrait sur la première ligne, les heures plus larges sur la seconde */
@media (max-width: 560px) {
  .slot-row { grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr) 36px; row-gap: 0.45rem; }
  .slot-row .slot-day { grid-column: 1 / 5; grid-row: 1; }
  .slot-row .slot-remove { grid-column: 5; grid-row: 1; }
  .slot-row .slot-to { grid-column: 4 / 6; }
  .slot-row .slot-from, .slot-row .slot-to { padding: 0.55rem 0.5rem; font-size: 0.88rem; }
}
@media (max-width: 560px) {
  .slot-row { grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr); }
  .slot-row .slot-day { grid-column: 1 / 4; }
  .slot-row .slot-remove { grid-column: 4; justify-self: end; }
  .slot-row .slot-to { grid-column: 4; }
}

/* Page Contact sur grand écran : formulaire à gauche, coordonnées à droite */
@media (min-width: 1025px) {
  .contact-layout-grid { grid-template-columns: 1.25fr 1fr; }
  .contact-col-form { order: -1; }
}

/* Cartes « Nos Domaines d'Intervention » : liste à puces */
.branch-list { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.branch-list li { position: relative; padding-left: 1.1rem; font-size: 0.97rem; line-height: 1.5; color: var(--text-secondary); }
.branch-list li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-primary); }

/* Logo CAMI à la place des anciens logos CNAPS */
.accreditation-icon--logo { background: none; border: none; padding: 0; overflow: hidden; }
.accreditation-icon--logo img { display: block; width: 100%; height: 100%; }
.footer-accreditation { display: flex; align-items: center; gap: 1rem; }
.footer-badge-logo { flex-shrink: 0; width: 48px; height: 48px; border-radius: 11px; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9); }

/* Page Prestations : trois catégories (Entreprises, Particuliers, Généalogie) */
.prest-group { margin-bottom: 3.5rem; }
.prest-group-title {
  margin: 0 0 1.5rem;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text-primary);
}
.prest-group-title::after { content: ''; display: block; width: 48px; height: 2px; margin: 0.6rem auto 0; background: var(--blue-primary); }
.prest-group .flip-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 0; }
.prest-group--single .flip-cards-grid { grid-template-columns: minmax(0, 560px); justify-content: center; }
@media (max-width: 768px) {
  .prest-group .flip-cards-grid { grid-template-columns: minmax(0, 1fr); }
  .prest-group-title { font-size: 1.35rem; }
}
