/* ════════════════════════════════════════════════════════════
   Ocore Technologies — Design premium light
   ════════════════════════════════════════════════════════════ */

/* ═══ TOKENS ═══ */
:root {
  /* Palette Ocore */
  --navy: #0E1E34;
  --navy-600: #1E3A5F;
  --navy-500: #2A4E7A;
  --blue-500: #3B82F6;
  --blue-400: #60A5FA;
  --cyan: #22B8CF;
  --cyan-light: #67E8F9;

  /* Neutres */
  --bg: #FAFBFC;
  --green-500: #28a745;
  --green-soft: rgba(40, 167, 69, 0.12);
  --bg-paper: #FFFFFF;
  --bg-soft: #F4F6F9;
  --border: #E5EAF0;
  --border-strong: #D1D9E3;
  --text: #0E1E34;
  --text-soft: #4A5A72;
  --text-muted: #7B8A9E;

  /* Typo */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Space Grotesk', 'Inter', -apple-system, sans-serif;

  /* Navy mesh : fond navy + 2 halos radiaux (bleu + cyan).
     Utilisé par .cta-navy, .pack-card, .audit-how, .quiz-body, .email-gate.
     Le quadrillage ::before reste défini localement par classe (peu répétitif). */
  --navy-mesh:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(59, 130, 246, 0.25), transparent 70%),
    radial-gradient(ellipse 80% 60% at 10% 90%, rgba(34, 184, 207, 0.18), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-600) 100%);

  /* Spacing */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2rem);

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-round: 999px;

  /* Shadows (très subtiles, premium) */
  --sh-sm: 0 1px 2px rgba(14, 30, 52, 0.04), 0 1px 1px rgba(14, 30, 52, 0.03);
  --sh-md: 0 4px 6px -1px rgba(14, 30, 52, 0.06), 0 2px 4px -1px rgba(14, 30, 52, 0.04);
  --sh-lg: 0 10px 15px -3px rgba(14, 30, 52, 0.08), 0 4px 6px -2px rgba(14, 30, 52, 0.04);
  --sh-xl: 0 20px 35px -10px rgba(14, 30, 52, 0.12), 0 10px 15px -5px rgba(14, 30, 52, 0.06);
  --sh-glow: 0 20px 60px -20px rgba(59, 130, 246, 0.35);

  /* Transitions */
  --t-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-med: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* ═══ RESET ═══ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}

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

ul, ol {
  list-style: none;
}

/* Typo générale */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text);
}

em {
  font-style: normal;
  font-family: var(--font-serif);
  background: linear-gradient(120deg, var(--blue-500) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

/* ═══ LAYOUT ═══ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: var(--r-round);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--t-med);
  white-space: nowrap;
  font-family: var(--font-sans);
}

.btn svg {
  transition: transform var(--t-med);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.btn--primary {
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(59, 130, 246, 0.4), transparent 70%),
    radial-gradient(ellipse 70% 80% at 20% 50%, rgba(34, 184, 207, 0.28), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-600) 100%);
  color: #fff;
  box-shadow: var(--sh-md);
}

.btn--primary:hover {
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(59, 130, 246, 0.55), transparent 70%),
    radial-gradient(ellipse 70% 80% at 20% 50%, rgba(34, 184, 207, 0.4), transparent 70%),
    linear-gradient(180deg, var(--navy-600) 0%, var(--navy-500) 100%);
  box-shadow: var(--sh-lg), 0 0 0 4px rgba(14, 30, 52, 0.08);
  transform: translateY(-1px);
}

.btn--primary:hover svg:last-child {
  transform: translateX(3px);
}

/* Sur fond navy quadrillé, on neutralise les halos du btn--primary pour
   éviter la collision avec les halos du fond. Ajouter ici toute nouvelle
   classe de conteneur navy qui embarque un btn--primary. */
.cta-navy .btn--primary,
.method .btn--primary,
.local-area__box .btn--primary {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-600) 100%);
}
.cta-navy .btn--primary:hover,
.method .btn--primary:hover,
.local-area__box .btn--primary:hover {
  background: linear-gradient(135deg, var(--navy-600) 0%, var(--navy-500) 100%);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn--ghost:hover {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--link {
  background: transparent;
  color: var(--text);
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.btn--link:hover {
  color: var(--blue-500);
}

/* ═══ NAV ═══ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.75rem 0;
  transition: all var(--t-med);
  background: transparent;
}

/* Dégradé sombre derrière la nav quand on est en haut (pour lisibilité sur vidéo) */
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 30, 52, 0.6) 0%, rgba(14, 30, 52, 0.3) 70%, transparent 100%);
  z-index: -1;
  transition: opacity var(--t-med);
  pointer-events: none;
}

.nav.is-scrolled::before {
  opacity: 0;
}

.nav.is-scrolled {
  background: rgba(250, 251, 252, 0.9);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: var(--sh-sm);
  padding: 0.5rem 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.nav__brand-text {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 4px rgba(14, 30, 52, 0.4);
  transition: color var(--t-fast), text-shadow var(--t-fast);
  line-height: 1;
}

.nav__brand-text em {
  font-style: normal;
  font-weight: 500;
  color: inherit;
  -webkit-text-fill-color: currentColor;
  background: none;
}

.nav.is-scrolled .nav__brand-text {
  color: var(--text-soft);
  text-shadow: none;
}

.nav__logo {
  height: 42px;
  width: auto;
  transition: height var(--t-med);
  filter: drop-shadow(0 2px 6px rgba(14, 30, 52, 0.25));
}

.nav.is-scrolled .nav__logo {
  height: 34px;
  filter: none;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__menu a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding: 0.25rem 0;
  text-shadow: 0 1px 4px rgba(14, 30, 52, 0.4);
  transition: color var(--t-fast), text-shadow var(--t-fast);
}

.nav.is-scrolled .nav__menu a {
  color: var(--text-soft);
  text-shadow: none;
}

.nav__menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan));
  transition: width var(--t-med);
}

.nav__menu a:hover {
  color: #fff;
}

.nav.is-scrolled .nav__menu a:hover {
  color: var(--text);
}

.nav__menu a:hover::after {
  width: 100%;
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Bouton "ghost" dans la nav : versions selon état scroll */
.nav:not(.is-scrolled) .nav__cta .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  text-shadow: 0 1px 4px rgba(14, 30, 52, 0.3);
}

.nav:not(.is-scrolled) .nav__cta .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.nav__burger span {
  width: 22px;
  height: 2px;
  background: #fff;
  transition: all var(--t-med);
  transform-origin: center;
}

.nav.is-scrolled .nav__burger span {
  background: var(--text);
}

.nav__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ═══ HERO ═══ */
.hero {
  position: relative;
  padding: clamp(7rem, 12vh, 10rem) 0 clamp(4rem, 10vh, 7rem);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Fondu en bas du hero vers la section suivante claire (couleur adaptée par variante) */
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 20px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 0;
  pointer-events: none;
}

.hero--to-paper::after {
  background: linear-gradient(to bottom, transparent, var(--bg-paper));
}

.hero--to-soft::after {
  background: linear-gradient(to bottom, transparent, var(--bg-soft));
}

.hero--compact {
  min-height: 72vh;
  padding: clamp(7rem, 12vh, 9rem) 0 clamp(3.5rem, 8vh, 5rem);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 30, 52, 0.72) 0%, rgba(14, 30, 52, 0.55) 50%, rgba(14, 30, 52, 0.82) 100%),
    radial-gradient(ellipse 70% 50% at 20% 80%, rgba(59, 130, 246, 0.25), transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(34, 184, 207, 0.18), transparent 70%);
}

.hero__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 50%, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 50%, #000 30%, transparent 90%);
  opacity: 0.5;
}

.hero__content {
  max-width: 1080px;
  text-align: center;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.375rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-round);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
}

.hero__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 184, 207, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

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

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
  color: #fff;
}

.hero__title em {
  -webkit-text-fill-color: transparent;
  background: linear-gradient(120deg, var(--cyan-light) 0%, var(--blue-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.hero__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

/* Stats dans le hero (page a-propos) */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 760px;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat {
  text-align: center;
}

.hero-stat__num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 0%, var(--cyan-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.4rem;
}

.hero-stat__label {
  display: block;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.01em;
  font-weight: 500;
}

@media (max-width: 600px) {
  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

.btn--link.btn--link-light {
  color: rgba(255, 255, 255, 0.95);
}

.btn--link.btn--link-light:hover {
  color: var(--cyan-light);
}

/* ═══ SECTION HEADER ═══ */
.section__header {
  max-width: 760px;
  margin: 0 auto clamp(2rem, 4vh, 3.5rem);
  text-align: center;
}

.section__kicker {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 1rem;
  font-family: var(--font-sans);
}

.section__kicker--light {
  color: var(--cyan-light);
}

.section__title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  margin-bottom: 1.25rem;
  color: var(--navy);
}

.section__title--light {
  color: #fff;
}

.section__lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-soft);
}

/* ═══ PROBLEMS ═══ */
.problems {
  padding: clamp(3rem, 7vh, 5rem) 0;
}

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

.problem-card {
  background: var(--bg-paper);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: all var(--t-med);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.problem-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-xl);
  border-color: var(--blue-400);
}

.problem-card__head {
  padding: 2rem 2rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.problem-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(34, 184, 207, 0.08));
  color: var(--blue-500);
}

.problem-card__icon svg {
  width: 26px;
  height: 26px;
}

.problem-card h3 {
  font-size: 1.1875rem;
  color: var(--navy);
  line-height: 1.3;
}

.problem-card__pain {
  font-size: 0.9375rem;
  color: var(--text-soft);
  line-height: 1.65;
}

.problem-card__solution {
  position: relative;
  padding: 2.25rem 2rem 1.75rem;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.09) 0%, rgba(34, 184, 207, 0.05) 100%);
  border-top: 1px solid rgba(59, 130, 246, 0.18);
}

/* Badge check circulaire qui chevauche la jonction */
.problem-card__solution::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 2rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/16px no-repeat,
    linear-gradient(135deg, var(--blue-500), var(--cyan));
  box-shadow: 0 6px 16px -4px rgba(59, 130, 246, 0.4), 0 0 0 4px var(--bg-paper);
}

.problem-card__solution-label {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 0.5rem;
}

.problem-card__solution-label::after {
  content: '→';
  font-size: 0.875rem;
  letter-spacing: 0;
  transition: transform var(--t-fast);
}

.problem-card:hover .problem-card__solution-label::after {
  transform: translateX(3px);
}

.problem-card__solution p {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.6;
}

/* ═══ METHOD (dark block breaker) ═══ */
.method {
  position: relative;
  padding: clamp(5rem, 11vh, 8rem) 0;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

/* Fondus : bg (vs avant) → method → bg (cta après) */
.method::before,
.method::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 20px;
  z-index: 0;
  pointer-events: none;
}

.method::before {
  top: 0;
  background: linear-gradient(to bottom, var(--bg), transparent);
}

.method::after {
  bottom: 0;
  background: linear-gradient(to top, var(--bg), transparent);
}

.method .container {
  position: relative;
  z-index: 1;
}

.method__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(59, 130, 246, 0.25), transparent 70%),
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(34, 184, 207, 0.15), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-600) 100%);
}

.method__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 50%, #000 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 50%, #000 40%, transparent 90%);
}

.method__wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}

.method__intro {
  text-align: left;
}

.method__lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

.method__steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.method-step {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  backdrop-filter: blur(10px);
  transition: all var(--t-med);
}

.method-step:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(4px);
}

.method-step__num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--cyan-light);
  line-height: 1;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  width: 58px;
}

.method-step__body h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.method-step__body p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
}

/* ═══ PACKS ═══ */
.packs {
  padding: clamp(3.5rem, 8vh, 5.5rem) 0;
  background: var(--bg-soft);
}

.packs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1180px;
  margin: 0 auto;
  align-items: stretch;
}

.pack-card {
  position: relative;
  isolation: isolate;
  padding: 2.5rem;
  color: #fff;
  background: var(--navy-mesh);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  transition: all var(--t-med);
  box-shadow: var(--sh-sm);
}
.pack-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 50%, #000 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 50%, #000 40%, transparent 90%);
  pointer-events: none;
  z-index: -1;
}

.pack-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-xl);
}

.pack-card--featured {
  border: 2px solid var(--blue-400);
  box-shadow: var(--sh-lg), var(--sh-glow);
}

.pack-card--featured:hover {
  box-shadow: var(--sh-xl), var(--sh-glow);
}

.pack-card__ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.375rem 1rem;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--r-round);
  box-shadow: var(--sh-md);
}

.pack-card__tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--r-round);
  margin-bottom: 1rem;
}

.pack-card__tag--featured {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.3), rgba(34, 184, 207, 0.25));
  color: #fff;
}

.pack-card h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.pack-card__desc {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.5rem;
}

.pack-card__price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem 0 1.5rem;
  margin-bottom: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.pack-card__price-from {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}
.pack-card__price-amount {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}
.pack-card__price-unit {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.4rem;
}

/* Override local des boutons --link dans les pack-card (fond sombre).
   ATTENTION cascade fragile :
   1. base `.btn--link` couleur sombre
   2. variante `.btn--link.btn--link-light` inverse pour fond sombre
   3. override local ici pour le contexte spécifique pack-card
   Ajouter une nouvelle variante (.btn--link-dark, etc.) sans connaître ces
   3 niveaux peut casser les boutons des packs. Préférer ajouter ici un
   selecteur avec data-attribute (.pack-card [data-btn-variant="..."]). */
.pack-card .btn--link {
  margin-top: auto;
  text-align: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
}
.pack-card .btn--link:hover {
  color: #fff;
}

.packs__note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 2.5rem;
}

/* Encart "à la demande" — ancrage de prix, volontairement plus discret que
   les forfaits (fond clair vs cartes navy) pour rester un repère, pas une offre. */
.pack-ondemand {
  position: relative;
  padding: 2.5rem;
  border-radius: var(--r-xl);
  border: 1px dashed var(--navy-500);
  background: rgba(255, 255, 255, 0.55);
  display: flex;
  flex-direction: column;
  color: var(--navy);
  box-shadow: var(--sh-sm);
}
.pack-ondemand__tag {
  display: inline-block;
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-600);
  background: rgba(14, 30, 52, 0.06);
  border-radius: var(--r-round);
  margin-bottom: 1rem;
}
.pack-ondemand h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}
.pack-ondemand__desc {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.pack-ondemand__price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: auto;
  padding: 1.25rem 0 1.5rem;
  border-top: 1px solid rgba(14, 30, 52, 0.1);
}
.pack-ondemand__price-amount {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}
.pack-ondemand__price-unit {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}
.pack-ondemand__foot {
  font-size: 0.85rem;
  color: var(--navy-600);
  font-style: italic;
}

/* ═══ FOUNDER ═══ */
.founder {
  padding: clamp(3.5rem, 8vh, 5.5rem) 0;
  background: var(--bg-paper);
}

.founder__wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.founder__photo-wrap {
  position: relative;
  margin-bottom: 1.5rem;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.founder__caption {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 1rem;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.founder__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl);
  border: 4px solid var(--blue-500);
}

.founder__text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 1.25rem;
}

.founder__text strong {
  color: var(--text);
  font-weight: 600;
}

/* ═══ CTA ═══ */
.cta {
  padding: clamp(3rem, 7vh, 5rem) 0;
  background: var(--bg);
}

.cta__box {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2.25rem, 5vw, 3.5rem);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.06) 0%, rgba(34, 184, 207, 0.04) 100%);
  border: 1px solid rgba(59, 130, 246, 0.18);
  border-radius: var(--r-xl);
  position: relative;
  align-items: center;
}

.cta__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--navy);
  margin-bottom: 0.875rem;
  letter-spacing: -0.025em;
}

.cta__lead {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-soft);
}

.cta__actions {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  justify-content: center;
}

/* ═══ FOOTER ═══ */
.footer {
  position: relative;
  padding: clamp(3rem, 6vh, 5rem) 0 2rem;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  overflow: hidden;
  isolation: isolate;
}

/* Fondu haut du footer : par défaut section claire au-dessus (cta/legal/etc.) */
.footer::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 20px;
  background: linear-gradient(to bottom, var(--bg), var(--navy));
  z-index: 0;
  pointer-events: none;
}

/* Override accueil : quand .banner précède directement le footer */
.banner + .footer::before {
  background: linear-gradient(to bottom, var(--navy-600), var(--navy));
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
  width: 110px;
  margin-bottom: 1.25rem;
}

.footer__tagline {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer__contact a {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  transition: color var(--t-fast);
}

.footer__contact a:hover {
  color: var(--cyan-light);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer__col h4 {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 1rem;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__col a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  transition: color var(--t-fast);
}

.footer__col a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.footer__bottom a:hover {
  color: #fff;
}

/* ═══ BANNER (accueil : bandeau expérience + stats) ═══ */
.banner {
  position: relative;
  padding: clamp(5rem, 11vh, 8rem) 0 clamp(4rem, 9vh, 6rem);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

/* Fondu haut : bg (problems avant) → banner */
.banner::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 20px;
  background: linear-gradient(to bottom, var(--bg), transparent);
  z-index: 0;
  pointer-events: none;
}

.banner__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(59, 130, 246, 0.25), transparent 70%),
    radial-gradient(ellipse 80% 60% at 10% 90%, rgba(34, 184, 207, 0.18), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-600) 100%);
}

.banner__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 50%, #000 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 50%, #000 40%, transparent 90%);
}

.banner__intro,
.banner__outro {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.banner__lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  margin: 1.25rem 0 2rem;
}

.banner__lead strong {
  color: #fff;
  font-weight: 600;
}

.banner__divider {
  width: 80px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 3.5rem auto;
}

.banner__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 2.5rem;
}

.banner__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.banner-stat {
  text-align: center;
  padding: 1rem;
  position: relative;
}

.banner-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -0.75rem;
  top: 25%;
  bottom: 25%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.banner-stat__num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff 0%, var(--cyan-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.banner-stat__label {
  display: block;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.01em;
  font-weight: 500;
}

.banner__cta-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}

@media (max-width: 720px) {
  .banner__stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .banner-stat:nth-child(2)::after {
    display: none;
  }
}

/* ═══ COMPARE TABLE (page services) ═══ */
.compare {
  padding: clamp(3rem, 7vh, 5rem) 0;
  background: var(--bg-soft);
}

.compare__table-wrap {
  max-width: 960px;
  margin: 0 auto;
  background: var(--bg-paper);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-md);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.compare-table thead th {
  padding: 1.5rem 1.25rem;
  background: var(--bg-soft);
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.compare-table thead th.col-featured {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.08), rgba(34, 184, 207, 0.05));
  color: var(--blue-500);
  position: relative;
}

.compare-table thead th.col-featured::before {
  content: 'Recommandé';
  position: absolute;
  top: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-500);
}

/* Centrer les titres des colonnes Essentiel et Intégral (aligner avec les coches en dessous) */
.compare-table thead th + th {
  text-align: center;
}

.compare-table tbody td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  line-height: 1.5;
  vertical-align: middle;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody tr:hover td {
  background: rgba(59, 130, 246, 0.02);
}

.compare-table td:first-child {
  font-weight: 500;
  color: var(--navy);
  width: 42%;
}

.compare-table td.cell-check,
.compare-table td.cell-cross,
.compare-table td.cell-info {
  text-align: center;
}

.compare-table .icon-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(34, 184, 207, 0.12);
  color: var(--cyan);
}

.compare-table .icon-cross {
  display: inline-block;
  color: var(--border-strong);
  font-size: 1.25rem;
  line-height: 1;
}

.compare-table .cell-info span {
  display: inline-block;
  padding: 0.2rem 0.625rem;
  background: rgba(59, 130, 246, 0.08);
  color: var(--blue-500);
  border-radius: var(--r-round);
  font-size: 0.8125rem;
  font-weight: 500;
}

.compare-table .cell-featured {
  background: rgba(59, 130, 246, 0.02);
}

/* Colonne Intégral : coches et badges en vert (vert Ocore "Pourquoi choisir") */
.compare-table .cell-featured .icon-check {
  background: var(--green-soft);
  color: var(--green-500);
}

.compare-table .cell-info.cell-featured span {
  background: var(--green-soft);
  color: var(--green-500);
}

/* ═══ VS (approche réactive vs proactive) ═══ */
.vs {
  padding: clamp(3rem, 7vh, 5rem) 0;
}

.vs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.vs-col {
  padding: 2.25rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  position: relative;
}

.vs-col--bad {
  background: linear-gradient(180deg, #FEF2F2 0%, #FFF 100%);
  border-color: #FECACA;
}

.vs-col--good {
  background: linear-gradient(180deg, #ECFDF5 0%, #FFF 100%);
  border-color: #A7F3D0;
}

.vs-col__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-round);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.vs-col--bad .vs-col__tag {
  background: #FEE2E2;
  color: #B91C1C;
}

.vs-col--good .vs-col__tag {
  background: #D1FAE5;
  color: #065F46;
}

.vs-col h3 {
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.vs-col > p {
  font-size: 0.9375rem;
  color: var(--text-soft);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.vs-col__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.vs-col__list li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.55;
}

.vs-col__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-top: 2px;
}

.vs-col--bad .vs-col__icon {
  background: #FEE2E2;
  color: #B91C1C;
}

.vs-col--good .vs-col__icon {
  background: #D1FAE5;
  color: #065F46;
}

.vs-col__icon svg {
  width: 12px;
  height: 12px;
}

@media (max-width: 600px) {
  }

/* ═══ RELATED (maillage interne) ═══ */
.related {
  padding: clamp(3rem, 6vh, 4.5rem) 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

.related__title {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-500);
  text-align: center;
  margin-bottom: 1rem;
  font-family: var(--font-sans);
}

.related__heading {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--navy);
  text-align: center;
  margin-bottom: 2rem;
}

.related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
}

.related-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-paper);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  transition: all var(--t-med);
}

.related-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
  border-color: var(--blue-400);
}

.related-card__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(34, 184, 207, 0.08));
  color: var(--blue-500);
}

.related-card__icon svg {
  width: 18px;
  height: 18px;
}

.related-card__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.2rem;
}

.related-card__title {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.35;
  display: block;
}

/* Variante carte liée « détaillée » : icône à gauche, label/titre/description
   empilés à droite. Utilisée sur les pages secteurs pour contextualiser
   pourquoi chaque guide est pertinent au métier. */
.related-card--detailed { align-items: flex-start; }
.related-card--detailed > div:last-child { display: flex; flex-direction: column; gap: 0.2rem; }
.related-card__desc {
  font-size: 0.8125rem;
  color: var(--text-soft);
  line-height: 1.55;
  margin-top: 0.35rem;
  margin-bottom: 0;
}

/* ═══ GUIDES (articles) ═══ */
.guide {
  padding: clamp(3rem, 7vh, 5rem) 0 clamp(4rem, 9vh, 6rem);
  background: var(--bg);
}

.guide__wrap {
  max-width: 820px;
  margin: 0 auto;
}

.guide__intro {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.guide__intro + .guide__intro {
  margin-bottom: 3rem;
}

.guide__section {
  margin-bottom: 2.75rem;
}

.guide__section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.guide__section h3 {
  font-size: 1.25rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.guide__section p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 1rem;
}

.guide__section p strong {
  color: var(--text);
  font-weight: 600;
}

.guide__section ul,
.guide__section ol {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-soft);
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.guide__section li {
  margin-bottom: 0.5rem;
}

.guide__section li strong {
  color: var(--text);
  font-weight: 600;
}

.guide__section a {
  color: var(--blue-500);
  font-weight: 500;
  border-bottom: 1px dotted var(--blue-400);
  transition: color var(--t-fast);
}

.guide__section a:hover {
  color: var(--navy);
}

.guide__section code {
  background: var(--bg-soft);
  color: var(--navy);
  padding: 0.15rem 0.4rem;
  border-radius: var(--r-sm);
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.9rem;
}

/* Callout info bleu */
.guide__callout {
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(34, 184, 207, 0.04));
  border-left: 3px solid var(--blue-500);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 1.5rem 0;
}

.guide__callout strong {
  color: var(--blue-500);
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.9375rem;
}

.guide__callout p {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0;
  line-height: 1.65;
}

/* Warning orange */
.guide__warning {
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #FFF7ED, #FFEDD5);
  border-left: 3px solid #F59E0B;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 1.5rem 0;
}

.guide__warning strong {
  color: #B45309;
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.9375rem;
}

.guide__warning p {
  font-size: 0.95rem;
  color: #78350F;
  margin-bottom: 0;
  line-height: 1.65;
}

/* CTA soft dans l'article */
.guide__cta-soft {
  margin: 3rem 0 0;
  padding: 2rem 2.25rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(34, 184, 207, 0.05));
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: var(--r-lg);
  text-align: center;
}

.guide__cta-soft h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
  font-weight: 600;
}

.guide__cta-soft p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 1.25rem;
}

/* Variante CTA navy « premium » : fond navy + 2 halos (bleu + cyan) +
   quadrillage léger. Combinée avec .guide__cta-soft en fin de guide, cette
   règle écrase le fond bleu clair par défaut. Les cartes internes sont en
   glassmorphism translucide. Pattern visuel aligné sur .audit-how et .quiz-body. */
.cta-navy {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--navy-mesh);
}
.cta-navy::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 50%, #000 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 50%, #000 40%, transparent 90%);
  pointer-events: none;
  z-index: -1;
}
.cta-navy h3 { color: #fff; }
.cta-navy > p { color: rgba(255, 255, 255, 0.8); }
.cta-navy--wide { max-width: 1100px; margin-left: auto; margin-right: auto; padding: 2.5rem; }
.cta-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.cta-card strong { color: #fff; font-size: 1.0625rem; margin-bottom: 0.5rem; display: block; }
.cta-card p { color: rgba(255, 255, 255, 0.8); flex: 1; margin-bottom: 1.25rem; }

.guide__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  background: var(--bg-paper);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.guide__meta strong {
  color: var(--text);
}

/* ═══ HUB SECTEURS ═══ */
.sectors-hub {
  padding: clamp(3rem, 7vh, 5rem) 0;
}

.sectors-hub__category {
  margin-bottom: clamp(2.5rem, 5vh, 4rem);
}

.sectors-hub__category:last-child {
  margin-bottom: 0;
}

.sectors-hub__cat-title {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
  position: relative;
  font-family: var(--font-sans);
}

.sectors-hub__cat-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan));
}

.sectors-hub__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.sector-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--bg-paper);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all var(--t-med);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.sector-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow);
}

.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--border-strong);
}

.sector-card:hover::before {
  transform: scaleX(1);
}

.sector-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(34, 184, 207, 0.08));
  color: var(--blue-500);
  margin-bottom: 1rem;
}

.sector-card__icon svg {
  width: 22px;
  height: 22px;
}

.sector-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.625rem;
  color: var(--navy);
}

.sector-card p {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.6;
  flex-grow: 1;
}

.sector-card__arrow {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--blue-500);
  transition: gap var(--t-med);
}

.sector-card:hover .sector-card__arrow {
  gap: 0.625rem;
}

.sectors-hub__fallback {
  max-width: 760px;
  margin: 2.5rem auto 0;
  padding: 1.5rem 2rem;
  background: var(--bg-soft);
  border-radius: var(--r-lg);
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-soft);
  line-height: 1.65;
}

.sectors-hub__fallback a {
  color: var(--blue-500);
  font-weight: 500;
}

/* ═══ PAIN CARDS (pages locales) ═══ */
.pain-cards {
  padding: clamp(3rem, 7vh, 5rem) 0;
}

.pain-cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.pain-card {
  padding: 2rem;
  background: var(--bg-paper);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all var(--t-med);
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--border-strong);
}

.pain-card__tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.1), rgba(34, 184, 207, 0.08));
  color: var(--blue-500);
  border-radius: var(--r-round);
  margin-bottom: 1rem;
}

.pain-card h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.pain-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-soft);
}

/* ═══ SCOPE (périmètre dépannage/maintenance) ═══ */
.scope {
  padding: clamp(3rem, 7vh, 5rem) 0;
  background: var(--bg-paper);
}

.scope__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.scope-col {
  padding: 2rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--bg);
}

.scope-col--out {
  background: linear-gradient(180deg, #FEF2F2 0%, #FFF 100%);
  border-color: #FECACA;
}

.scope-col--in {
  background: linear-gradient(180deg, #ECFDF5 0%, #FFF 100%);
  border-color: #A7F3D0;
}

.scope-col__tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--r-round);
  margin-bottom: 0.75rem;
}

.scope-col--out .scope-col__tag {
  background: #FEE2E2;
  color: #B91C1C;
}

.scope-col--in .scope-col__tag {
  background: #D1FAE5;
  color: #065F46;
}

.scope-col h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--navy);
}

.scope-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.scope-col li {
  display: flex;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.55;
}

.scope-col li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-top: 3px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 60%;
}

.scope-col--out li::before {
  background-color: #FEE2E2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23B91C1C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E");
}

.scope-col--in li::before {
  background-color: #D1FAE5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23065F46' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}

/* ═══ LOCAL AREA (proximité) ═══ */
.local-area {
  padding: clamp(3rem, 7vh, 5rem) 0;
}

.local-area__box {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-600) 100%);
  color: #fff;
  border-radius: var(--r-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.local-area__box::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(34, 184, 207, 0.25), transparent 70%);
  z-index: -1;
}

.local-area h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.local-area p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
}

.local-area p strong {
  color: var(--cyan-light);
}

.local-area__links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.local-area__links a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
  font-size: 0.9375rem;
  transition: all var(--t-fast);
}

.local-area__links a:hover {
  border-color: var(--cyan-light);
  color: var(--cyan-light);
}

/* ═══ COMMUNES CARDS (page zone-intervention) ═══ */
.communes {
  padding: clamp(3rem, 7vh, 5rem) 0;
}

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

.commune-card {
  padding: 1.75rem;
  background: var(--bg-paper);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all var(--t-med);
  position: relative;
}

.commune-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--blue-400);
}

.commune-card__cp {
  display: inline-block;
  padding: 0.2rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-soft);
  color: var(--text-muted);
  border-radius: var(--r-round);
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}

.commune-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.commune-card h3 svg {
  color: var(--blue-500);
  flex-shrink: 0;
}

.commune-card p {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.55;
}

/* ═══ COVERAGE (liste secteurs) ═══ */
.coverage {
  padding: clamp(3rem, 7vh, 5rem) 0;
  background: var(--bg-soft);
}

.coverage__secteurs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.secteur-card {
  padding: 1.75rem;
  background: var(--bg-paper);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all var(--t-med);
}

.secteur-card:hover {
  box-shadow: var(--sh-md);
  border-color: var(--border-strong);
}

.secteur-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--navy);
  padding-bottom: 0.625rem;
  border-bottom: 2px solid var(--bg-soft);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.secteur-card h3::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan));
}

.secteur-card p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-soft);
}

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

/* ═══ HERO LÉGAL (mini) ═══ */
.hero--mini {
  min-height: 42vh;
  padding: clamp(7rem, 11vh, 9rem) 0 clamp(2rem, 5vh, 3.5rem);
}

.hero--mini .hero__title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  margin-bottom: 0;
}

/* ═══ LEGAL CONTENT ═══ */
.legal {
  padding: clamp(3rem, 7vh, 5rem) 0 clamp(4rem, 9vh, 6rem);
  background: var(--bg);
}

.legal__wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--bg-paper);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
}

.legal__intro {
  font-size: 1.0625rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.legal__intro strong {
  color: var(--navy);
}

.legal__article {
  margin-bottom: 2.25rem;
  scroll-margin-top: 100px;
}

.legal__article:last-child {
  margin-bottom: 0;
}

.legal__article h2 {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 1.375rem;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--bg-soft);
}

.legal__article h2 .legal__num {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan));
  color: #fff;
  border-radius: var(--r-sm);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.legal__article p,
.legal__article ul,
.legal__article ol {
  font-size: 0.9375rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 0.875rem;
}

.legal__article ul,
.legal__article ol {
  padding-left: 1.25rem;
}

.legal__article li {
  margin-bottom: 0.4rem;
}

.legal__article strong {
  color: var(--navy);
  font-weight: 600;
}

.legal__article a {
  color: var(--blue-500);
  font-weight: 500;
  border-bottom: 1px dotted var(--blue-400);
  transition: color var(--t-fast);
}

.legal__article a:hover {
  color: var(--navy);
}

.legal__info-box {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(34, 184, 207, 0.04));
  border-left: 3px solid var(--blue-500);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  font-size: 0.9rem;
  color: var(--text);
}

.legal__info-box strong {
  color: var(--blue-500);
}

.legal__updated {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: right;
}

/* Sommaire (CGU) */
.legal__toc {
  padding: 1.25rem 1.5rem;
  background: var(--bg-soft);
  border-radius: var(--r-md);
  margin-bottom: 2rem;
}

.legal__toc h3 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.875rem;
}

.legal__toc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.legal__toc a {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text);
  padding: 0.375rem 0;
  text-decoration: none;
  border: none;
}

.legal__toc a:hover {
  color: var(--blue-500);
}

.legal__toc a .legal__toc-num {
  color: var(--blue-500);
  font-weight: 600;
  font-family: var(--font-serif);
  flex-shrink: 0;
}

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

/* ═══ LOCAL (page contact) ═══ */
.local {
  padding: clamp(2.5rem, 5vh, 4rem) 0 clamp(3rem, 6vh, 4.5rem);
  background: var(--bg-soft);
}

.local__box {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem);
  background: var(--bg-paper);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  text-align: center;
}

.local__text {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 1rem;
}

.local__text strong {
  color: var(--navy);
}

/* ═══ STATEMENT (constat page a-propos) ═══ */
.statement {
  padding: clamp(3rem, 6vh, 4.5rem) 0;
  background: var(--bg);
}

.statement__box {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(2.5rem, 5vw, 4rem);
  background: var(--bg-paper);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
  position: relative;
  overflow: hidden;
}

.statement__box::before {
  content: '"';
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  font-family: var(--font-serif);
  font-size: 10rem;
  line-height: 1;
  color: var(--blue-500);
  opacity: 0.08;
  font-weight: 600;
}

.statement__text {
  font-size: 1.125rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.statement__text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.statement__punch {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  background: linear-gradient(120deg, var(--blue-500) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
}

/* ═══ NAV ACTIVE ═══ */
.nav__menu a.is-active {
  color: #fff;
  font-weight: 600;
}

.nav.is-scrolled .nav__menu a.is-active {
  color: var(--text);
}

.nav__menu a.is-active::after {
  width: 100%;
}

/* ═══ TIMELINE (page a-propos) ═══ */
.timeline {
  position: relative;
  padding: clamp(5rem, 11vh, 8rem) 0;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

/* Fondus : bg-paper (founder avant) → timeline → bg (statement après) */
.timeline::before,
.timeline::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 20px;
  z-index: 0;
  pointer-events: none;
}

.timeline::before {
  top: 0;
  background: linear-gradient(to bottom, var(--bg-paper), transparent);
}

.timeline::after {
  bottom: 0;
  background: linear-gradient(to top, var(--bg), transparent);
}

.timeline .container {
  position: relative;
  z-index: 1;
}

.timeline__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 20% 30%, rgba(59, 130, 246, 0.2), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-600) 100%);
}

.timeline__list {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  padding-left: clamp(3rem, 8vw, 5rem);
}

.timeline__list::before {
  content: '';
  position: absolute;
  left: calc(clamp(3rem, 8vw, 5rem) / 2);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan-light), transparent);
  opacity: 0.4;
}

.timeline-item {
  position: relative;
  padding: 1.5rem 0 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(clamp(3rem, 8vw, 5rem) * -0.5 - 8px);
  top: 1.75rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--cyan-light);
  box-shadow: 0 0 0 4px rgba(34, 184, 207, 0.15);
}

.timeline-item--active::before {
  background: var(--cyan-light);
  box-shadow: 0 0 0 4px rgba(34, 184, 207, 0.3), 0 0 20px rgba(34, 184, 207, 0.5);
  animation: pulse 2.4s ease-in-out infinite;
}

.timeline-item__year {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--cyan-light);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.timeline-item__body h3 {
  color: #fff;
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
}

.timeline-item__body p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.65;
}

/* ═══ CONTACT BLOCK (page contact) ═══ */
.contact-bloc {
  padding: clamp(3rem, 7vh, 5rem) 0;
}

.contact-bloc__wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-info__lead {
  font-size: 1.0625rem;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-paper);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all var(--t-med);
  color: inherit;
}

.contact-item:not(.contact-item--static):hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-lg);
  border-color: var(--blue-400);
}

.contact-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(34, 184, 207, 0.08));
  color: var(--blue-500);
}

.contact-item__icon svg {
  width: 22px;
  height: 22px;
}

.contact-item h3 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  font-family: var(--font-sans);
}

.contact-item p {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.contact-item__note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Form status */
.form-status {
  display: none;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  border-left: 3px solid;
}

.form-status.is-visible {
  display: block;
  animation: slide-in 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.form-status--success {
  background: #ECFDF5;
  color: #065F46;
  border-color: #059669;
}

.form-status--error {
  background: #FEF2F2;
  color: #991B1B;
  border-color: #DC2626;
}

.form-status--warning {
  background: #FFFBEB;
  color: #92400E;
  border-color: #D97706;
}

@keyframes slide-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Form */
.contact-form-wrap {
  background: var(--bg-paper);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.25rem;
  box-shadow: var(--sh-lg);
}

.contact-form__title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.contact-form__intro {
  font-size: 0.9375rem;
  color: var(--text-soft);
  margin-bottom: 1.75rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.005em;
}

.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--bg);
  color: var(--text);
  transition: all var(--t-fast);
  font-size: 0.9375rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
  background: var(--bg-paper);
}

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

.field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.625rem;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.field--check input {
  margin-top: 2px;
  accent-color: var(--blue-500);
}

.field--check a {
  color: var(--blue-500);
  text-decoration: underline;
}

.contact-form__note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  line-height: 1.5;
}

/* ═══ REVEAL ANIMATIONS ═══ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms var(--t-slow), transform 800ms var(--t-slow);
  transition-delay: var(--d, 0s);
}

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

/* ═══ RESPONSIVE ═══ */
@media (max-width: 960px) {
  .method__wrap {
    grid-template-columns: 1fr;
  }

  .method__intro {
    position: static;
  }

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

  .cta__box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-bloc__wrap {
    grid-template-columns: 1fr;
  }

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

  .compare-table {
    font-size: 0.875rem;
  }

  .compare-table thead th,
  .compare-table tbody td {
    padding: 0.875rem 0.75rem;
  }
}

@media (max-width: 768px) {
  .nav__menu,
  .nav__cta .btn--sm {
    display: none;
  }

  .nav__cta {
    transform: none;
    gap: 0.5rem;
  }

  .nav__burger {
    display: flex;
  }

  .nav__menu.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1.5rem var(--gutter);
    background: rgba(250, 251, 252, 0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    gap: 1.25rem;
    align-items: flex-start;
  }

  .nav__menu.is-open a {
    color: var(--text);
    text-shadow: none;
    font-size: 1.0625rem;
  }
  .nav__menu.is-open a:hover { color: var(--blue-500); }

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

  .hero__actions .btn {
    width: 100%;
  }

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

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

  .footer__bottom {
    justify-content: flex-start;
  }
}

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

  .pack-card,
  .pack-ondemand {
    padding: 2rem 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Skip navigation (accessibilité WCAG) — technique sr-only : invisible par
   défaut (1px clippé), apparaît uniquement au focus clavier. */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  clip: auto;
  padding: 0.5rem 1rem;
  background: var(--navy, #0E1E34);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  z-index: 9999;
  border-radius: 6px;
}

/* Sur desktop, "Diagnostic" dans le menu principal fait doublon avec
   "Évaluer ma sécurité" du CTA → caché. Reste visible dans le burger mobile
   où le CTA est masqué. */
@media (min-width: 769px) {
  .nav__menu a[href="/audit"],
  .nav__menu a[href="/audit/"] { display: none; }
}







/* Décale UNIQUEMENT le groupe CTA de quelques pixels à droite, sans modifier
   le flex layout (transform ne change pas la position calculée par flexbox). */
.nav__cta { transform: translateX(4rem); }

/* Fil d'Ariane (breadcrumb) visible sur les pages profondes. Placé entre le
   hero et le premier bloc de contenu. Sobre, lien réel cliquable. Le JSON-LD
   Schema.org BreadcrumbList correspondant est toujours présent dans le head
   pour enrichir les résultats Google. */
.breadcrumb {
  background: var(--bg-paper);
  border-bottom: 1px solid var(--border);
  padding: 0.8rem 0;
  font-size: 0.875rem;
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  align-items: center;
}
.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-soft);
}
.breadcrumb li:not(:last-child)::after {
  content: "›";
  color: var(--text-muted);
  font-size: 1rem;
}
.breadcrumb a {
  color: var(--text-soft);
  text-decoration: none;
  transition: color var(--t-fast);
}
.breadcrumb a:hover {
  color: var(--navy);
  text-decoration: underline;
}
.breadcrumb [aria-current="page"] {
  color: var(--navy);
  font-weight: 500;
}


