/* ============================================
   SAFTI Recrutement — Design System
   Mohamed Hallali — Landing Page
   ============================================ */

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

svg:not(:root) {
  max-width: 100%;
  height: auto;
  overflow: hidden;
}

:root {
  /* Couleurs SAFTI — Charte officielle */
  /* Principale */
  --terracotta: #EC6525;
  --terre-sienne: #B2391A;

  /* Secondaires */
  --outremer: #0C727A;
  --petrole: #06464B;
  --bondi: #38AEB6;
  --sable: #D0A880;

  /* Fonds */
  --coton: #F9F5F3;
  --lin: #DACABE;

  /* Texte */
  --nuit-noire: #1D1B1B;
  --gris: #494343;

  /* Dérivées utilitaires */
  --terracotta-light: #FFF0E8;
  --terracotta-dark: #D4550D;
  --outremer-light: #E0F5F7;
  --outremer-dark: #064E54;
  --bondi-light: #E8F7F8;
  --white: #FFFFFF;

  /* Sémantique */
  --color-primary: var(--outremer);
  --color-primary-dark: var(--petrole);
  --color-primary-light: var(--outremer-light);
  --color-accent: var(--terracotta);
  --color-accent-dark: var(--terre-sienne);
  --color-accent-light: var(--terracotta-light);
  --color-text: var(--nuit-noire);
  --color-text-secondary: var(--gris);
  --color-text-inverse: var(--white);
  --color-bg: var(--white);
  --color-bg-subtle: var(--coton);
  --color-bg-muted: var(--lin);
  --color-border: #E7E2DE;

  /* Typographie — Charte SAFTI : Garet (titres) + Inter (corps) */
  --font-heading: 'Garet', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Tailles */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Espacements */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Rayons */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Ombres */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-glow-orange: 0 0 40px rgba(236, 101, 37, 0.15);
  --shadow-glow-teal: 0 0 40px rgba(12, 114, 122, 0.12);

  /* Aliases gris (mapped to SAFTI palette) */
  --gray-50: var(--coton);
  --gray-100: #F0EBE8;
  --gray-200: #E7E2DE;
  --gray-300: #D6D1CD;
  --gray-400: #A8A29E;
  --gray-500: var(--gris);
  --gray-600: #57534E;
  --gray-700: #3D3838;
  --gray-800: #292524;
  --gray-900: var(--nuit-noire);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[id] {
  scroll-margin-top: calc(var(--nav-height) + 16px);
}

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

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

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

ul, ol {
  list-style: none;
}

/* --- Utilitaires --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-24) 0;
}

.section--compact {
  padding: var(--space-4) 0 var(--space-12) 0;
}

.section--teal {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.section--subtle {
  background: var(--color-bg-subtle);
}

.section--muted {
  background: var(--color-bg-muted);
}

.section--warm {
  background: #FFF7F0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }

/* --- Typographie --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-accent);
}

.section-label--light {
  color: var(--sable);
}

.section-label--light::before {
  background: var(--sable);
}

.section-title {
  margin-bottom: var(--space-6);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 640px;
  line-height: 1.7;
}

.section--teal .section-subtitle {
  color: rgba(255,255,255,0.8);
}

.highlight {
  color: var(--color-accent);
}

.highlight--teal {
  color: var(--color-primary);
}

/* --- Boutons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  line-height: 1;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(236, 101, 37, 0.3);
}

.btn--primary:hover {
  background: var(--color-accent-dark);
  box-shadow: 0 6px 20px rgba(236, 101, 37, 0.4);
  transform: translateY(-1px);
}

.btn--secondary {
  background: var(--white);
  color: var(--color-primary);
  border: 2px solid var(--color-border);
}

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

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

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

.btn--lg {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-lg);
  border-radius: var(--radius-xl);
}

.btn--sm {
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(2px);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-base);
  color: var(--color-primary);
  white-space: nowrap;
}

.nav__logo img {
  height: 28px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.nav__link {
  font-size: var(--text-xs);
  font-weight: 500;
  white-space: nowrap;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-primary);
}

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

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__cta {
  margin-left: var(--space-2);
}

.nav__mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.nav__mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 6px 0;
  transition: all var(--transition-fast);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
  background: linear-gradient(135deg, var(--coton) 0%, var(--white) 50%, var(--outremer-light) 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

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

.hero__title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: var(--space-6);
  color: var(--gray-900);
}

.hero__title .line {
  display: block;
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 520px;
}

.hero__ctas {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.hero__proof-avatars {
  display: flex;
}

.hero__proof-avatars span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--white);
  background: var(--color-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 700;
  margin-left: -8px;
}

.hero__proof-avatars span:first-child {
  margin-left: 0;
}

.hero__proof-text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.hero__proof-text strong {
  color: var(--color-text);
  display: block;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 3/4;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--color-primary);
}

.hero__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  animation: float 6s ease-in-out infinite;
}

.hero__float-card--top {
  top: 10%;
  right: -20px;
}

.hero__float-card--bottom {
  bottom: 15%;
  left: -30px;
  animation-delay: -3s;
}

.hero__float-card .icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.hero__float-card .icon--teal {
  background: var(--outremer-light);
  color: var(--color-primary);
}

.hero__float-card .icon--orange {
  background: var(--terracotta-light);
  color: var(--color-accent);
}

.hero__float-card .label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-800);
}

.hero__float-card .value {
  font-size: var(--text-xs);
  color: var(--gray-500);
}

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

/* Decorative blobs */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
}

.hero__blob--teal {
  width: 400px;
  height: 400px;
  background: var(--bondi);
  top: -100px;
  right: -100px;
  opacity: 0.08;
}

.hero__blob--orange {
  width: 300px;
  height: 300px;
  background: var(--terracotta);
  bottom: -50px;
  left: 20%;
  opacity: 0.06;
}

/* --- Section : À propos de Mohamed --- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-16);
  align-items: center;
}

.about__image {
  position: relative;
}

.about__image-main {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/5;
  background: var(--gray-200);
}

.about__image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--color-accent);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  box-shadow: var(--shadow-glow-orange);
}

.about__image-accent .number {
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1;
}

.about__image-accent .label {
  font-size: var(--text-xs);
  text-align: center;
  opacity: 0.9;
}

.about__text p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
  font-size: var(--text-lg);
  line-height: 1.8;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}

.about__stat {
  text-align: center;
}

.about__stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.about__stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

/* --- Section : About Carousel (horizontal slide) --- */
.about-carousel {
  position: relative;
}

.about-carousel__viewport {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.about-carousel__track {
  display: flex;
  transition: transform 0.5s ease;
}

.about-carousel__slide {
  flex: 0 0 100%;
  position: relative;
}

.about-carousel__slide img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

.about-carousel__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-5) var(--space-6);
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-carousel__caption strong {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
}

.about-carousel__caption span {
  font-size: var(--text-sm);
  opacity: 0.85;
}

/* Flèches */
.about-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  color: var(--color-text-primary);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.about-carousel__arrow:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.about-carousel__arrow--prev { left: var(--space-3); }
.about-carousel__arrow--next { right: var(--space-3); }

/* Dots */
.about-carousel__nav {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.about-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-base);
}

.about-carousel__dot.active {
  background: var(--color-primary);
  transform: scale(1.2);
}

.about-carousel__dot:hover {
  background: var(--bondi);
}

/* --- Section : Vidéos YouTube --- */
.videos__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.video-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--gray-900);
  aspect-ratio: 16/9;
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.video-card iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-card--featured {
  grid-row: span 2;
}

.video-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-6);
  pointer-events: none;
}

.video-card__title {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
}

.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(236,101,37,0.4);
  pointer-events: none;
  transition: transform var(--transition-base);
}

.video-card:hover .video-card__play {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-card__play svg {
  width: 24px;
  height: 24px;
  fill: white;
  margin-left: 3px;
}

/* --- Section : Avantages --- */
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.advantage-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

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

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

.advantage-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--space-5);
}

.advantage-card:nth-child(even) .advantage-card__icon {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.advantage-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--gray-800);
}

.advantage-card__text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* --- Section : Témoignages --- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

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

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
  color: #F59E0B;
  font-size: 16px;
}

.testimonial-card__quote {
  font-size: var(--text-base);
  color: var(--gray-700);
  line-height: 1.7;
  flex: 1;
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.testimonial-card__name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--gray-800);
}

.testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--gray-500);
}

/* --- Espacement réduit entre Témoignages et POS --- */
#testimonials {
  padding-bottom: var(--space-12);
}

/* --- Section : Prochaine réunion (POS) --- */
#pos {
  padding-top: var(--space-8);
}

.pos__card {
  background: linear-gradient(135deg, var(--petrole) 0%, var(--outremer) 50%, var(--bondi) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-16);
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.pos__card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}

.pos__card::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(236, 101, 37, 0.08);
}

.pos__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.pos__title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.pos__text {
  font-size: var(--text-lg);
  opacity: 0.85;
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.pos__details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.pos__detail {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
}

.pos__detail-icon {
  font-size: 24px;
  margin-bottom: var(--space-2);
}

.pos__detail-value {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
}

.pos__detail-label {
  font-size: var(--text-xs);
  opacity: 0.7;
  margin-top: var(--space-1);
}

.pos__checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.pos__checklist-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.pos__checklist-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.pos__checklist-icon svg {
  width: 12px;
  height: 12px;
  stroke: white;
  stroke-width: 3;
  fill: none;
}

/* --- Section : FAQ --- */
.faq__list {
  max-width: 780px;
  margin: var(--space-12) auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--gray-800);
  transition: color var(--transition-fast);
}

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

.faq-item__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border-radius: 50%;
  background: var(--color-bg-muted);
  position: relative;
  transition: all var(--transition-base);
  font-size: 0;
  color: transparent;
}

/* Barre horizontale */
.faq-item__icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--gray-600);
  transform: translate(-50%, -50%);
  transition: background var(--transition-base);
}

/* Barre verticale */
.faq-item__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 14px;
  background: var(--gray-600);
  transform: translate(-50%, -50%);
  transition: all var(--transition-base);
}

.faq-item.active .faq-item__icon {
  background: var(--color-primary);
}

.faq-item.active .faq-item__icon::before {
  background: var(--white);
}

.faq-item.active .faq-item__icon::after {
  background: var(--white);
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.active .faq-item__answer {
  max-height: 300px;
}

.faq-item__answer-inner {
  padding-bottom: var(--space-6);
  color: var(--color-text-secondary);
  line-height: 1.8;
  font-size: var(--text-base);
}

/* --- Section : Formulaire CTA --- */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta__card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  max-width: 680px;
  margin: 0 auto;
}

.cta__card--orange {
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terre-sienne) 100%);
  border: none;
  color: var(--white);
  box-shadow: 0 20px 60px rgba(236, 101, 37, 0.3);
}

.cta__card--orange .form-group label {
  color: var(--white);
}

.cta__card--orange .form-group input,
.cta__card--orange .form-group select,
.cta__card--orange .form-group textarea {
  background: rgba(255,240,232,0.92);
  border-color: rgba(255,255,255,0.35);
  color: var(--nuit-noire);
}

.cta__card--orange .form-group input::placeholder {
  color: rgba(150,80,40,0.5);
}

.cta__card--orange .form-group input:focus {
  border-color: var(--white);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.2);
}

.cta__card--orange .form-consent label {
  color: rgba(255,255,255,0.85);
}

.cta__card--orange .cta__tabs {
  background: rgba(255,255,255,0.1);
}

.cta__card--orange .cta__tab {
  color: rgba(255,255,255,0.7);
}

.cta__card--orange .cta__tab.active {
  background: var(--white);
  color: var(--terracotta);
}

.cta__btn-white {
  background: var(--white) !important;
  color: var(--terracotta) !important;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: all var(--transition-base);
}

.cta__btn-white:hover {
  background: var(--coton) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.cta__tabs {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: var(--space-1);
}

.cta__tab {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  border: none;
  background: none;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.cta__tab.active {
  background: var(--white);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.cta__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

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

.form-group label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(12, 114, 122, 0.1);
}

.form-group input::placeholder {
  color: var(--gray-400);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--gray-500);
}

.form-consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--color-primary);
}

/* --- Footer --- */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer__desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.footer__social {
  display: flex;
  gap: var(--space-3);
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--gray-800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  background: var(--color-primary);
  color: var(--white);
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-5);
}

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

.footer__links a {
  font-size: var(--text-sm);
  color: var(--gray-400);
  transition: color var(--transition-fast);
}

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

.footer__bottom {
  padding-top: var(--space-8);
  border-top: 1px solid var(--gray-800);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-sm);
}

.footer__bottom a {
  color: var(--gray-500);
}

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

/* --- Image hero mobile (cachée sur desktop) --- */
.hero__visual-mobile {
  display: none;
}

/* --- Photo événement mobile (cachée sur desktop) --- */
.pos__photo-mobile {
  display: none;
}

/* --- Bouton réunion mobile (caché sur desktop) --- */
.pos__cta-mobile {
  display: none;
}

/* --- Animations d'entrée (Intersection Observer) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Breadcrumb --- */
.breadcrumb {
  background: #ffffff;
  padding: var(--space-4) 0;
  margin-top: var(--nav-height);
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  flex-wrap: wrap;
}

.breadcrumb__item a {
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.breadcrumb__item a:hover {
  color: var(--color-primary);
}

.breadcrumb__item + .breadcrumb__item::before {
  content: '›';
  margin-right: var(--space-2);
  color: var(--gray-400);
}

.breadcrumb__item--current {
  color: var(--color-text);
  font-weight: 500;
}

/* --- Blog header --- */
.blog-header {
  text-align: center;
  padding: var(--space-12) 0 var(--space-8);
}

.blog-header .section-subtitle {
  margin: 0 auto;
}

/* --- Blog filters --- */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding-bottom: var(--space-8);
  justify-content: center;
}

.blog-filter {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-secondary);
  background: var(--white);
  border: 1.5px solid var(--color-border);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.blog-filter:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.blog-filter.active {
  background: var(--color-primary);
  color: var(--white);
  border-color: var(--color-primary);
}

/* --- Blog grid & cards --- */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  text-decoration: none;
  color: inherit;
}

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

.blog-card__thumbnail {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--gray-100);
}

.blog-card__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card__thumbnail img {
  transform: scale(1.05);
}

.blog-card__placeholder {
  width: 100%;
  height: 100%;
  background: var(--gray-100);
}

.blog-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__category {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.blog-card__category a {
  color: var(--color-primary);
}

.blog-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
  flex: 1;
  margin-bottom: var(--space-4);
}

.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.blog-card__footer time {
  font-size: var(--text-xs);
  color: var(--gray-400);
}

.blog-card__readmore {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
}

/* --- Reading progress bar --- */
.reading-progress {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 999;
}

.reading-progress__bar {
  height: 100%;
  width: 0%;
  background: var(--terracotta);
  transition: width 50ms linear;
}

/* --- Article hero (single post) --- */
.article-hero {
  background: linear-gradient(135deg, #FFF5EE 0%, #FFE8D6 50%, #FDDCCA 100%);
  padding: var(--space-12) 0;
}

.article-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
}

.article-hero__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.article-hero__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-xl);
  display: block;
}

.article-hero__placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--gray-200);
  border-radius: var(--radius-xl);
}

.article-hero__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.article-hero__category {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--terracotta);
}

.article-hero__category a {
  color: var(--terracotta);
  text-decoration: none;
  font-weight: 600;
}

.article-hero__title {
  font-size: var(--text-4xl);
  line-height: 1.2;
  color: var(--gray-900);
}

.article-hero__meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.article-hero__sep {
  color: var(--gray-300);
}

.article-hero__share {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.article-hero__share-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
}

.article-hero__share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  color: var(--gray-600);
  transition: all var(--transition-fast);
  border: 1px solid var(--color-border);
}

.article-hero__share-btn:hover {
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
}

/* --- Container article (plus large que narrow) --- */
.container--article {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.article__body {
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
}

/* Prose styles for article body */
.article__body h2 {
  font-size: var(--text-3xl);
  margin-top: var(--space-12);
  margin-bottom: var(--space-6);
  color: var(--terracotta);
}

.article__body h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
  color: var(--gray-800);
}

.article__body p {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
}

.article__body ul,
.article__body ol {
  margin-bottom: var(--space-6);
  padding-left: var(--space-8);
}

.article__body ul {
  list-style: disc;
}

.article__body ol {
  list-style: decimal;
}

.article__body li {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2);
}

.article__body a {
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article__body a:hover {
  color: var(--color-accent);
}

.article__body blockquote {
  border-left: 4px solid var(--color-accent);
  padding: var(--space-4) var(--space-8);
  margin: var(--space-8) 0;
  background: var(--color-bg-subtle);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-style: italic;
}

.article__body blockquote p {
  margin-bottom: 0;
}

.article__body img {
  border-radius: var(--radius-lg);
  margin: var(--space-8) 0;
}

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

/* Author card */
.article__author {
  padding: var(--space-12) 0;
  border-top: 1px solid var(--color-border);
}

/* --- Article CTA card (orange form block) --- */
.article__cta {
  padding: var(--space-6) 0 var(--space-16);
}

.article-cta-card {
  background: linear-gradient(135deg, var(--terracotta) 0%, #d4540e 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-10) var(--space-8);
  color: var(--white);
}

.article-cta-card__header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.article-cta-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-3);
}

.article-cta-card__subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto;
}

.article-cta-card__form {
  max-width: 540px;
  margin: 0 auto;
}

.article-cta-card__form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.article-cta-card__form .form-group {
  margin-bottom: var(--space-4);
}

.article-cta-card__form label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-1);
}

.article-cta-card__form input[type="email"],
.article-cta-card__form input[type="text"],
.article-cta-card__form input[type="tel"] {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: var(--text-base);
  transition: border-color var(--transition-fast);
}

.article-cta-card__form input::placeholder {
  color: rgba(255,255,255,0.5);
}

.article-cta-card__form input:focus {
  outline: none;
  border-color: var(--white);
  background: rgba(255,255,255,0.2);
}

.article-cta-card__form .form-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.article-cta-card__form .form-consent label {
  font-size: var(--text-xs);
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.article-cta-card__form .form-consent input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
}

.article-cta-card__btn {
  width: 100%;
  justify-content: center;
  background: var(--white);
  color: var(--terracotta);
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.article-cta-card__btn:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}

/* --- Banner events (reunion + webinaire) --- */
.banner-events {
  background: linear-gradient(135deg, #FFF5EE 0%, #FFE8D6 50%, #FDDCCA 100%);
  padding: var(--space-8) 0;
}

.banner-events__grid {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.banner-events__item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex: 1;
}

.banner-events__icon {
  font-size: 28px;
  flex-shrink: 0;
}

.banner-events__content {
  flex: 1;
}

.banner-events__title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-1);
}

.banner-events__details {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.banner-events__cta {
  flex-shrink: 0;
}

.banner-events__separator {
  width: 1px;
  height: 48px;
  background: var(--sable);
  opacity: 0.5;
  flex-shrink: 0;
}

/* --- SEO local --- */
.seo-hero {
  background: linear-gradient(135deg, var(--coton) 0%, var(--white) 50%, var(--outremer-light) 100%);
  padding: var(--space-16) 0;
}

.seo-hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.seo-hero__parent {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.seo-hero__parent:hover {
  color: var(--color-accent);
}

.seo-hero__title {
  font-size: var(--text-4xl);
  line-height: 1.15;
  margin-bottom: var(--space-6);
  color: var(--gray-900);
}

.seo-hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.seo-hero__ctas {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.seo-hero__stats {
  display: flex;
  gap: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.seo-hero__stat {
  text-align: center;
}

.seo-hero__stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-primary);
}

.seo-hero__stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
}

.seo-hero__form-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
}

.seo-hero__form-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-2);
}

.seo-hero__form-subtitle {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
}

.seo-hero__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.seo-hero__form .form-group input {
  width: 100%;
}

/* SEO text (prose) */
.seo-text {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.seo-text--wide {
  max-width: 900px;
  margin: 0 auto;
}

.seo-text h2 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  color: var(--terracotta);
}

.seo-text h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.seo-text p {
  margin-bottom: var(--space-6);
}

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

.seo-text ul {
  margin-bottom: var(--space-6);
  padding-left: var(--space-6);
}

.seo-text li {
  margin-bottom: var(--space-3);
}

/* Geo hero (pages géolocalisation) */
.geo-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.geo-hero__image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xl);
  object-fit: cover;
}

.geo-hero__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.geo-hero__intro {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.geo-hero__text p {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.geo-hero__ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-2);
}

/* SEO advantages (compact) */
.seo-advantages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.seo-advantage {
  text-align: center;
  padding: var(--space-8) var(--space-4);
}

.seo-advantage__icon {
  font-size: 32px;
  margin-bottom: var(--space-4);
}

.seo-advantage h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: var(--space-3);
}

.seo-advantage p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* SEO internal links */
.seo-links__subtitle {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-light);
  margin: var(--space-6) 0 var(--space-3) 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-body);
}

.seo-links__subtitle:first-of-type {
  margin-top: var(--space-4);
}

.seo-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.seo-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  transition: all var(--transition-fast);
}

.seo-link:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.seo-link svg {
  color: var(--color-primary);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.seo-link:hover svg {
  opacity: 1;
}

/* --- Page content (legal pages, etc.) --- */
.page-content {
  min-height: calc(100vh - var(--nav-height) - 200px);
}

.page-content--no-breadcrumb {
  padding-top: var(--nav-height);
}

.page-article {
  padding: var(--space-12) 0 var(--space-16);
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.page-article__title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-8);
}

.page-article__meta {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
}

.page-article__thumbnail {
  margin-bottom: var(--space-8);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.page-article__body {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.page-article__body h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  color: var(--gray-900);
}

.page-article__body h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
  color: var(--gray-800);
}

.page-article__body p {
  margin-bottom: var(--space-6);
}

.page-article__body ul,
.page-article__body ol {
  margin-bottom: var(--space-6);
  padding-left: var(--space-8);
}

.page-article__body ul {
  list-style: disc;
}

.page-article__body ol {
  list-style: decimal;
}

.page-article__body li {
  margin-bottom: var(--space-2);
  line-height: 1.8;
}

.page-article__body a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-article__body a:hover {
  color: var(--color-accent);
}

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

/* --- Pagination --- */
.pagination {
  padding: var(--space-10) 0;
  text-align: center;
}

.pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.pagination a {
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
}

.pagination a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.pagination .current {
  background: var(--color-primary);
  color: var(--white);
  border: 1px solid var(--color-primary);
}

.blog-empty {
  text-align: center;
  padding: var(--space-16) 0;
  color: var(--color-text-secondary);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  :root {
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__ctas {
    justify-content: center;
  }

  .hero__proof {
    justify-content: center;
  }

  .hero__visual {
    max-width: 400px;
    margin: 0 auto;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .about__image {
    max-width: 400px;
    margin: 0 auto;
  }

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

  .video-card--featured {
    grid-row: span 1;
  }

  .advantages__visuals {
    grid-template-columns: 1fr 1fr !important;
  }

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

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

  .pos__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

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

  .seo-hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

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

  .banner-events__grid {
    flex-direction: column;
    gap: var(--space-6);
  }

  .banner-events__separator {
    width: 100%;
    height: 1px;
  }

  .banner-events__item {
    width: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    --text-5xl: 2rem;
    --text-4xl: 1.75rem;
    --text-3xl: 1.5rem;
    --space-24: 4rem;
    --space-20: 3.5rem;
  }

  /* Empêcher le débordement horizontal */
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .container {
    padding: 0 var(--space-4);
    overflow: hidden;
  }

  .nav__links {
    display: none;
  }

  .nav__mobile-toggle {
    display: block;
  }

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    padding: var(--space-6);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    gap: var(--space-4);
  }

  .nav__cta {
    margin-left: 0;
  }

  /* Hero mobile : espacement */
  .hero {
    padding-bottom: var(--space-12);
  }

  .hero__badge {
    margin-top: var(--space-6);
  }

  /* Hero mobile : afficher l'image mobile, cacher l'image desktop */
  .hero__visual {
    display: none;
  }

  .hero__visual-mobile {
    display: block;
    max-width: 300px;
    margin: var(--space-6) auto;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero__float-card {
    display: none;
  }

  .advantages__visuals {
    grid-template-columns: 1fr !important;
  }

  .advantages__visuals img {
    height: 200px !important;
  }

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

  /* Espacement réduit entre Témoignages et POS (mobile) */
  #testimonials {
    padding-bottom: var(--space-8);
  }

  #pos {
    padding-top: var(--space-4);
  }

  .pos__card {
    padding: var(--space-6);
  }

  .pos__details {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .pos__title {
    font-size: var(--text-3xl);
  }

  /* Photo événement : afficher le clone mobile, cacher l'originale */
  .pos__photo-mobile {
    display: block;
    width: 100%;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
    object-fit: cover;
    max-height: 220px;
  }

  .pos__checklist > img:first-child {
    display: none;
  }

  /* Bouton réunion : cacher le desktop, afficher le mobile (après checklist) */
  .pos__cta-desktop {
    display: none !important;
  }

  .pos__cta-mobile {
    display: inline-flex !important;
  }

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .cta__card {
    padding: var(--space-6);
  }

  .cta__tabs {
    flex-direction: column;
  }

  /* Boutons : éviter le débordement */
  .btn--lg {
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-base);
    white-space: normal;
    text-align: center;
  }

  /* Section subtitle : pas de max-width sur mobile */
  .section-subtitle {
    max-width: 100% !important;
  }

  /* About stats : empiler en colonne sur mobile */
  .about__stats {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  /* Blobs : réduire pour ne pas déborder */
  .hero__blob--teal {
    width: 200px;
    height: 200px;
  }

  .hero__blob--orange {
    width: 150px;
    height: 150px;
  }

  /* Hero : centrer les éléments */
  .hero__grid {
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__proof {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Section vidéos : une seule colonne */
  .videos__grid {
    grid-template-columns: 1fr;
  }

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

  .blog-filters {
    padding-bottom: var(--space-6);
  }

  .article-hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .article-hero__title {
    font-size: var(--text-3xl);
  }

  .article-hero {
    padding: var(--space-8) 0;
  }

  .article__body {
    padding-top: var(--space-8);
    padding-bottom: var(--space-4);
  }

  .article__cta {
    padding: var(--space-2) 0 var(--space-10);
  }

  .article__body h2 {
    margin-top: var(--space-8);
  }

  .article-cta-card {
    padding: var(--space-8) var(--space-5);
  }

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

  .article-cta-card__title {
    font-size: var(--text-2xl);
  }

  .seo-hero__ctas {
    flex-direction: column;
  }

  .seo-advantages {
    grid-template-columns: 1fr;
  }

  .seo-hero__stats {
    flex-direction: column;
    gap: var(--space-4);
  }

  .seo-links {
    grid-template-columns: 1fr;
  }

  .banner-events__item {
    flex-wrap: wrap;
  }

  .banner-events__cta {
    width: 100%;
    justify-content: center;
  }

  .page-article__title {
    font-size: var(--text-3xl);
  }
}

/* --- Modale Test Personnalité --- */
.test-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.test-modal.open {
  display: flex;
}

.test-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.test-modal__content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  max-width: 560px;
  width: 90%;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideUp 0.3s ease;
}

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

.test-modal__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-400);
  padding: var(--space-2);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.test-modal__close:hover {
  color: var(--gray-700);
  background: var(--gray-100);
}

.test-modal__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-4);
  padding-right: var(--space-8);
}

.test-modal__text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.test-modal__input-group {
  display: flex;
  gap: var(--space-3);
}

.test-modal__input-group input {
  flex: 1;
  padding: var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.test-modal__input-group input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(12, 114, 122, 0.1);
}

.test-modal__input-group input::placeholder {
  color: var(--gray-400);
}

.test-modal__form .test-modal__success {
  text-align: center;
  color: var(--color-primary);
  font-weight: 600;
  font-size: var(--text-lg);
  padding: var(--space-4) 0;
}

@media (max-width: 768px) {
  .test-modal__content {
    padding: var(--space-6);
    width: 95%;
  }

  .test-modal__title {
    font-size: var(--text-xl);
  }

  .test-modal__input-group {
    flex-direction: column;
  }
}

/* ============================
   PAGES GÉOLOCALISATION
   ============================ */

/* --- Bloc infos territoire --- */
.geo-infos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.geo-infos__item {
  text-align: center;
  padding: var(--space-6) var(--space-4);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.geo-infos__value {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.2;
}

.geo-infos__label {
  display: block;
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Section title (pages SEO) --- */
.section__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-6);
  color: var(--color-text);
}

/* --- Grille vidéos 2 colonnes (pages géo) --- */
.videos__grid--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-12);
}

/* --- FAQ (pages géo) --- */
.faq {
  margin-top: var(--space-10);
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq__item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  transition: color var(--transition-fast);
}

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

.faq__chevron {
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq__item.active .faq__chevron {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq__item.active .faq__answer {
  max-height: 500px;
}

.faq__answer p {
  padding-bottom: var(--space-6);
  color: var(--color-text-secondary);
  line-height: 1.8;
  font-size: var(--text-base);
}

/* --- Responsive géo --- */
@media (max-width: 768px) {
  .geo-hero {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .geo-hero__image img {
    aspect-ratio: 1 / 1;
    max-height: 320px;
  }

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

  .videos__grid--2 {
    grid-template-columns: 1fr;
  }

  .faq__question {
    font-size: var(--text-base);
  }
}

/* === Tableaux responsive dans les articles de blog ===
   Sur mobile, les tableaux à 4+ colonnes débordent. On les rend scrollables
   horizontalement via un wrapper, sans casser le rendu desktop. */
.article__body table {
  display: block;
  max-width: 100%;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-collapse: collapse;
}
.article__body table tbody {
  display: table;
  width: 100%;
  min-width: 600px;
}
.article__body table thead {
  display: table-header-group;
}
.article__body table tr {
  display: table-row;
}
@media (max-width: 768px) {
  .article__body table tbody,
  .article__body table thead {
    min-width: 600px;
  }
  /* Indicateur visuel léger qu'on peut scroller */
  .article__body table {
    box-shadow: inset -8px 0 8px -8px rgba(0, 0, 0, 0.15);
  }
}

/* === Anti-spam honeypot ===
   Caché visuellement, accessible aux bots qui scannent le HTML mais invisible
   pour les utilisateurs humains, lecteurs d'écran et navigation clavier. */
.safti-honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
