/* ==========================================================================
DIDIER SANZ CONSEIL - MAIN CSS
Version: 2.1.0 (Corrected & Optimized)
========================================================================== */

/* ==========================================================================
   AUTO-HÉBERGEMENT DES POLICES DE CARACTÈRES (FONT-FACE)
   ========================================================================== */

/* --- 1. NUNITO (Police principale du corps de texte) --- */
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/nunito-v40-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/nunito-v40-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/nunito-v40-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- 2. PLAYFAIR DISPLAY (Police des titres éditoriaux) --- */
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display-v37-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display-v37-latin-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display-v37-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display-v37-latin-900.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* --- 3. DM SANS (Police des menus et boutons) --- */
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-v15-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-v15-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-v15-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ----- VARIABLES ----- */
:root {
  --navy: #0d1b2a;
  --ink: #1a1a2e;
  --gold: #c9a84c;
  --gold-light: #e8c96e;
  --gold-text: #7a5f14; /* or foncé pour le texte : ≥ 5:1 sur crème, blanc et light-bg */
  --cream: #f5f0e8;
  --white: #ffffff;
  --gray: #4b5563;
  --light-bg: #f8f6f2;
  --border: rgba(201, 168, 76, 0.3);
  --font-serif: "Playfair Display", serif;
  --font-sans: "DM Sans", sans-serif;
  --font-body: "Nunito", "Gill Sans", sans-serif;
  --card-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* ----- RESET & BASE ----- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  height: auto;
  min-height: 100%;
}
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100dvh;   /* ajoute cette ligne */
  display: flex;
  flex-direction: column;
  /* AJOUT : empêche Safari iOS de redimensionner arbitrairement les polices */
 -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}
button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}
ul {
  list-style: none;
}

/* ----- NAVIGATION ----- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-brand {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}
.nav-brand span {
  color: var(--gold);
}
.nav-links {
  display: flex;
  gap: 0.1rem;
  align-items: center;
  flex-wrap: wrap;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  font-weight: 400;
  padding: 0.45rem 0.85rem;
  border-radius: 4px;
  transition: var(--transition-fast);
  letter-spacing: 0.02em;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(201, 168, 76, 0.15);
}
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 600 !important;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  font-size: 1.05rem;
  flex-direction: column;
  flex-shrink: 0 !important;
  align-items: center;
  gap: 0.12rem;
}
.nav-toggle-icon {
  font-size: 1.15rem;
  line-height: 1;
}
.nav-toggle-label {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* ----- PAGE STRUCTURE ----- */
.page {
  display: none;
  min-height: 100vh;
  padding-top: 70px;
}
#page-home.page {
  padding-top: 56px;
  flex: 1 0 auto; /* le contenu principal prend l'espace disponible */
}
.page.active {
  display: flex;
  flex-direction: column;
}
.main-content {
  min-height: calc(100vh - 70px);
}

/* ----- TOP BAR (PAGES INTÉRIEURES) ----- */
.page-topbar {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.page-topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.topbar-back {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}
.topbar-back:hover {
  color: var(--gold);
}
.topbar-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.8rem;
  border-radius: 100px;
  align-self: flex-start;
  width: fit-content;
  margin-bottom: 1rem;
}
.topbar-cta {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold);
}

/* ----- SECTIONS & CONTENT ----- */
section {
  padding: 2rem 5rem;
}
.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-top: 1.5rem;
}
.offer-section-title,
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.section-intro {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 580px;
  line-height: 1.75;
}
.content-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 4rem;
}
.content-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 4rem;
}
.section-white {
  background: var(--white);
  padding: 2rem 0;
}
.section-light {
  background: var(--light-bg);
  padding: 2rem 0;
}
.home-hero-section {
  padding: 0;
  background: var(--cream);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.offer-hero-section {
  background: var(--cream);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.offer-hero {
  display: grid;
  grid-template-columns: 1fr 260px 380px;
  column-gap: 3rem;
  row-gap: 1.5rem; /* Réduit l'espace vertical entre les rangées de la grille */
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 4rem 1rem;
  align-items: start;
}
#offres,
#contact {
  scroll-margin-top: 80px;
}

html.instant-contact-anchor { scroll-behavior: auto; }

/* ----- HERO SECTION (HOME) ----- */
.hero {
  min-height: 65vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 50%, rgba(201, 168, 76, 0.07) 0%, transparent 60%);
}
.hero-left {
  padding: 1rem 4rem 1rem 5rem;
  position: relative;
  z-index: 1;
}
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.1rem;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  color: var(--gold);
  font-style: normal;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-photo-frame {
  position: relative;
  width: min(420px, 90%);
}
.hero-photo-frame::before {
  content: "";
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 10px;
  z-index: 0;
}
.hero-photo-frame img {
  width: 100%;
  border-radius: 10px;
  position: relative;
  z-index: 1;
}
.hero-media-tag {
  display: block;
  margin-top: 0.55rem;
  color: var(--gray);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}
.hero-credentials {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.cred {
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
}
.cred-num {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.cred-label {
  font-size: 0.72rem;
  color: var(--ink);
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ----- BUTTONS ----- */
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 0.875rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
  letter-spacing: 0.02em;
  transition: all 0.25s;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(13, 27, 42, 0.25);
  padding: 0.875rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 400;
  border-radius: 4px;
  letter-spacing: 0.02em;
  transition: all 0.25s;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-primary-dark {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 0.9rem 2.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.25s;
}
.btn-primary-dark:hover {
  background: var(--ink);
  transform: translateY(-2px);
}

/* ==========================================================================
   🎯 Alignement de la largeur des boutons de l'Accueil
   ========================================================================== */
.hero-actions .btn-primary,
.hero-actions .btn-outline {
  min-width: 240px;    /* Force les deux boutons à faire au moins cette largeur */
  text-align: center;  /* Centre parfaitement le texte à l'intérieur */
}

/* ----- LOGO MARQUEE ----- */
.logos-bar {
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  padding: 2.5rem 5rem 2rem; /* Légèrement plus aéré pour laisser respirer le badge */
  display: flex;
  flex-direction: column;    /* 🎯 Aligne les éléments verticalement */
  align-items: flex-start;   /* 🎯 Aligne le badge à gauche au-dessus */
  gap: 1.5rem;               /* 🎯 Espace parfait entre le badge et la bande de logos */
}

.logos-label {
  font-size: 0.7rem;
  color: var(--gray);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-top: 0;
}
.logo-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  width: 100%;          /* Force la bande défilante à occuper uniquement l'écran */
  max-width: 100%;      /* Interdit tout débordement horizontal */
  flex: 1;              /* Permet un alignement parfait sur tablette à côté du texte */
  min-width: 0;         /* Sécurité Flexbox pour forcer le recadrage */
}

.logo-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 1.25rem;
  animation: marquee-scroll 34s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}
.logo-marquee:hover .logo-marquee-track {
  animation-play-state: paused;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.client-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--light-bg);
  border: 1px solid rgba(0, 0, 0, 0.09);
  padding: 0.35rem 1rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  flex-shrink: 0;
}
.client-logo {
  width: auto;
  height: 36px;
  max-width: 240px;
  object-fit: contain;
  display: block;
}

/* ----- OFFER CARDS (GRID) ----- */
.offres-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.offre-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 8px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  display: block;
}
.offre-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.offre-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
  border-color: rgba(201, 168, 76, 0.3);
}
.offre-card:hover::before {
  transform: scaleX(1);
}
.offre-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 900;
  ///color: rgba(154, 120, 30, 0.18);
  color: rgba(201, 168, 76, 0.65);    /* doré à 65 % — contraste renforcé, proche des surtitres */
  line-height: 1;
  margin-bottom: 0.75rem;
}
.offre-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}
.offre-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.offre-card .tagline {
  color: #9a781e; /* Or miel cuivré : respecte le contraste AA sur fond blanc */
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 0.875rem;
  letter-spacing: 0.03em;
}
.offre-card p {
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.65;
}
/* ----- EN-TETE DE CARTE : icone a gauche, titre + tagline a droite ----- */
.offre-card .offre-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.875rem;
}
.offre-head .offre-icon {
  flex: 0 0 auto;
  margin-bottom: 0;
}
.offre-head .offre-icon img {
  display: block;
}
.offre-head-txt {
  flex: 1;
  min-width: 0;
}
.offre-head-txt h3 {
  margin-bottom: 0.2rem;
}
.offre-head-txt .tagline {
  margin-bottom: 0;
}

/* ----- TESTIMONIALS ----- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.2rem;
}
.testimonial {
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 1rem;
}
.testimonial p {
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 0.75rem;
}
.testimonial-author {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
}
.testimonial-role {
  color: var(--gray);
  font-size: 0.78rem;
  margin-top: 0.2rem;
}

/* --- CITATIONS (unifié pour .testimonial-quote et .temoignage-quote) --- */
.temoignage-quote,
.testimonial-quote {
  position: relative;
  padding-left: 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 1rem;
  line-height: 1.4;
  display: block;
}
.temoignage-quote::before,
.testimonial-quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  background-image: url('../guillemet.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top left;
  opacity: 0.8;
}

/* ----- CTA SECTION ----- */
.cta-section {
  background: var(--gold);
  padding: 3rem;
  text-align: center;
}
.cta-section h2 {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 1rem;
}
.cta-section p {
  color: var(--navy);   /* 7,6:1 sur l'or, au lieu de rgba(…, .65) */
  max-width: 480px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

/* ----- OFFER HERO (INNER PAGES) ----- */
.offer-hero > .offer-title {
  grid-column: 1 / -1;
  align-self: start;
}
.offer-hero > .offer-left {
  grid-column: 1;
  display: grid;
  gap: 1rem;
  align-content: start;
}
.offer-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem !important;  /* Réduit de 2rem à 0.85rem pour resserrer avec le titre */
  padding: 0.35rem 0.75rem;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 2px;
  width: fit-content;                  /* Empêche la pastille de s'étirer en pleine largeur sur mobile/flex */
  align-self: flex-start;              /* Aligne proprement à gauche dans les conteneurs flex */
  flex-wrap: wrap;
  line-height: 1.4;
}
.offer-eyebrow::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--gold);
}
.ap-hero h1,
.page-hero h1,
.offer-hero > .offer-title,
.offer-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  line-height: 1.12;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.ap-hero h1 em {
  font-style: italic;
  color: var(--gold) !important;
}
.offer-title em {
  font-style: italic;
  color: var(--gold);
}
.offer-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 1.25rem;
}
.offer-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   BOUTONS ET SURVOLS UNIFIÉS ET SÉCURISÉS (STYLE ABBY ADAPTÉ EN GRIS ARDOISE)
   ========================================================================== */
.offer-btn-primary,
.offer-btn-secondary {
  background-color: #ebe3d5 !important; /* Crème plus soutenu, très proche de l'intensité de votre fond de page #f5f0e8 */
  color: #4b5563 !important;            /* Noir très adouci, pratiquement gris ardoise */
  border: 1px solid rgba(201, 168, 76, 0.4) !important;
  border-radius: 8px !important;         /* Arrondi rectangulaire de 8px style Abby */
  padding: 0.85rem 2.2rem;               /* Marges intérieures aérées d'Abby */
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 600;                      /* Épaisseur de texte semi-gras pour l'impact */
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Effet au survol du bouton principal (Le Doré de l'offre Didier Sanz Conseil) */
.offer-btn-primary:hover {
  background-color: #c9a84c !important; /* Doré identique à la carte CTA */
  color: #0d1b2a !important;            /* Texte bleu marine foncé pour un contraste et une lisibilité parfaits */
  border-color: #c9a84c !important;     /* Bordure assortie */
}

/* Effet au survol (Hover) : Remplissage en gris ardoise et texte blanc pour un feedback dynamique et lisible */
.offer-btn-secondary:hover {
  background-color: #4b5563 !important; /* Le bouton se remplit du gris ardoise */
  color: var(--white) !important;       /* Le texte passe en blanc */
  border-color: #4b5563 !important;     /* La bordure s'aligne sur le gris ardoise */
}

/* ----- OFFER PERSON ----- */
.offer-person {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 0.5rem;
}
.offer-person-photo {
  width: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 3px;
  background: #1a2a3a;
}
.offer-person-photo-wrap {
  position: relative;
  width: 100%;
}
.offer-person-caption {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.offer-person-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.offer-person-role {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.offer-person-bio {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.7;
}
.offer-person-bio strong {
  color: var(--ink);
  font-weight: 500;
}

/* ----- PRESS BADGES ----- */
.press-badges {
  margin-top: 1rem;
}
.badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.badge-logo {
  width: 40%;
  height: auto;
  max-width: 60px;
}
.badge-sub {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ----- OFFER CARD (SUMMARY) ----- */
.offer-card {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  position: relative;
  margin-top: 1.25rem;
  box-shadow: var(--card-shadow);
  background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
}
.offer-card-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 2px;
  margin-bottom: 0.75rem;
}
.offer-card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.offer-card-promise {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 1rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--gold);
}
.offer-card-steps {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
}
.offer-card-step {
  display: contents;
}
.offer-step-num {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}
.offer-step-title {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.offer-step-desc {
  color: var(--gray);
  line-height: 1.6;
}
.offer-price {
  padding: 0.9rem 1rem;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 2px;
  text-align: center;
  margin-bottom: 0.65rem;
}
.offer-price-value {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
}
.offer-card-cta {
  display: block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.7rem 1.25rem;
  border-radius: 2px;
  margin: 0 auto 0.65rem auto;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s;
  width: fit-content;
  min-width: 180px;
}
.offer-card-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}
.offer-card-note {
  font-size: 0.72rem;
  color: var(--gray);
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* ----- CLIENTS STRIP & LOGO MARQUEE ----- */
.clients-strip {
  background: var(--white);
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  padding: 2rem 0;
}
.clients-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 4rem;
}
.clients-strip-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.vu-strip {
  background: var(--white);
  padding: 2rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}
.vu-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;   /* ← empêche les enfants de s'étirer en largeur */
  gap: 1.5rem;
}
.offer-section-label,
.section-label,
.clients-strip-label,
.logos-label, 
.vu-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-top: 1.5rem;
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: rgba(201, 168, 76, 0.15);
  border-radius: 2px;
}

/* ==========================================================================
   GRILLE DE LOGOS — Remplace le bandeau défilant de la page Animation
   ========================================================================== */
.vu-grid {
  background: var(--white);
  padding: 2rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.vu-grid-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 4rem;
}

.vu-grid .vu-label {
  display: inline-block;
  width: fit-content;
  margin-bottom: 1.5rem;
}

.vu-logos {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);   /* 3 colonnes sur desktop */
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

.vu-logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.vu-logos .client-logo {
  max-width: 100%;
  height: auto;
  max-height: 40px;     /* évite qu'un logo soit trop grand */
  object-fit: contain;
}

/* Responsive : 2 colonnes sur tablette, 1 colonne sur mobile */
@media (max-width: 900px) {
  .vu-grid-inner {
    padding: 0 1.5rem;
  }
  .vu-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .vu-logos {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .vu-logos .client-logo {
    max-height: 60px;
  }
}

/* ----- INCLUDES GRID (PROGRAMME) ----- */
.includes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.include-item {
  display: flex;
  gap: 1.25rem;
  align-items: start;
}
.include-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(201, 168, 76, 0.65);
  line-height: 1;
  min-width: 3rem;
}
.mt-num {
  color: rgba(201, 168, 76, 0.65);
}
.include-duration {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.include-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.include-desc {
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.65;
}
.include-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  list-style: disc;
}
.include-list li::marker {
  color: var(--gold);
}

/* ----- FORWHOM GRID ----- */
.forwhom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
/* Pas d'effet :hover — décision volontaire (cartes non cliquables, y compris au toucher) */
.forwhom-card {
  background: var(--light-bg);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s;
}
.forwhom-role {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}
.forwhom-pain {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
  padding-left: 0.75rem;
  border-left: 2px solid var(--gold);
}

/* ----- TEMOIGNAGES GRID ----- */
.temoignages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.temoignage {
  background: var(--white);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  height: 100%;
}
.offer-card .temoignage-text {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 1.25rem;
}
.temoignage-author {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}
.temoignage-name {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.85rem;
}
.temoignage-role {
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 0.25rem;
}

/* ----- FAQ GRID ----- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.faq-item {
  background: var(--light-bg);
  border-radius: 6px;
  padding: 1.25rem;
}
.faq-q {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.faq-a {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--gray);
}

/* ----- TOPICS GRID (TECH & DIRIGEANTS) ----- */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
/* Pas d'effet :hover — décision volontaire (cartes non cliquables, y compris au toucher) */
.topic-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s;
}
.topic-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.topic-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.topic-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--gray);
}

/* ----- CTA FINAL ----- */
.cta-final {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 0;
}
.cta-final-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 4rem;
  display: flex;
  flex-direction: column;   /* ← empile le titre et le formulaire */
  align-items: stretch;      /* ← empêche l'étirement vertical du h2 */
  gap: 2rem;                 /* ← espace entre le titre et le formulaire */
}
.cta-final-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--white);
}
.form-box {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}
.form-box-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.sub {
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

/* ----- FORMS ----- */
form {
  max-width: 100%;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.75rem;
}
.form-field label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  padding: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  background: var(--light-bg);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}
.form-field textarea {
  min-height: 120px;
  resize: vertical;
}
.form-submit {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 0.875rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
  width: 100%;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 0.5rem;
}
.form-submit:hover:not(:disabled) {
  background: var(--gold-light);
  transform: translateY(-1px);
}
.form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.form-legal {
  font-size: 0.65rem;
  color: var(--gray);
  margin-top: 0.75rem;
  line-height: 1.5;
}
.form-success {
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}
.form-success .icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.form-success h4 {
  color: #2e7d32;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.form-success p {
  color: #4a5d5a;
  font-size: 0.9rem;
}
.form-feedback {
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.form-feedback.error {
  background: rgba(244, 67, 54, 0.1);
  border: 1px solid rgba(244, 67, 54, 0.3);
  color: #c62828;
}
.form-feedback.success {
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: #2e7d32;
}
.form-feedback-close {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.25rem;
  opacity: 0.7;
}
.form-feedback-close:hover {
  opacity: 1;
}
.form-contact-wrapper {
  max-width: 580px;
  margin: 0 auto;
  width: 100%;
}

/* ----- ABOUT PAGE SPECIFIC ----- */
.ap-hero {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  padding: 3rem 4rem;
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
.ap-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.ap-hero .offer-eyebrow {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.ap-hero .offer-eyebrow::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--gold);
}
.ap-bio-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--gray);
}
.ap-bio-source {
  font-size: 0.82rem;
  color: var(--gray);
  margin-top: 0.5rem;
}
.ap-bio-source a {
  color: var(--gold);
  text-decoration: underline;
}
.ap-photos-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ap-photo {
  border-radius: 8px;
  overflow: hidden;
}
.ap-photo img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.ap-timeline-wrap {
  background: var(--cream);
  padding: 3rem 4rem;
}
.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 0;
}
.timeline-line {
  position: absolute;
  left: 160px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0;
  margin-bottom: 2rem;
  position: relative;
  padding-left: 0;
}
.timeline-date {
  min-width: 120px;
  padding-right: 2rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--gold);
  text-align: right;
  font-size: 0.9rem;
  align-self: start;
}
.timeline-bullet {
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  position: absolute;
  left: 160px;
  top: 8px;
  transform: translateX(-50%);
  z-index: 1;
}
.timeline-content {
  padding-left: 2rem;
}
.timeline-content h2,
.timeline-content h3,
.timeline-content h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.timeline-content p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--gray);
  margin: 0;
}

.ap-links {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 4rem;
}
.ap-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.ap-link-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s;
  display: block;
}
.ap-link-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow);
  border-color: var(--border);
}
.ap-link-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.ap-link-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}
.ap-cta-section {
  text-align: center;
}

/* ----- OFFRE CONTENT ----- */
.offre-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem;
  background: var(--cream);
}
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5a 100%);
  color: var(--white);
  padding: 4rem;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}
.page-hero h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.page-hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  line-height: 1.7;
}

/* ----- LEGAL MENTIONS ----- */
.legal-mentions-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 8px;
  padding: 3rem;
  box-shadow: var(--card-shadow);
}
.legal-mentions-container {
  text-align: left;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.legal-mentions-container h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.legal-mentions-container h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 1.5rem 0 0.75rem;
}
.legal-mentions-container h4 {
  font-weight: 600;
  color: var(--navy);
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
}
.legal-mentions-container ul {
  padding-left: 1.5rem;
}
.legal-mentions-container li {
  margin-bottom: 0.5rem;
  list-style: disc;
  color: var(--gray);
  line-height: 1.6;
}

/* ----- FOOTER ----- */
footer {
  background: var(--navy);
  color: var(--white);
  padding: 2rem 4rem;
  margin-top: auto;
  flex-shrink: 0; /* le footer ne rétrécit pas */
}
.brand {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.brand span {
  color: var(--gold);
}
footer p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-legal {
  color: var(--gold) !important;
  text-decoration: none;
  margin-left: 1rem;
}
.footer-legal:hover {
  color: var(--gold-light) !important;
  text-decoration: underline;
}

/* ----- MEDIA QUERIES ----- */
@media (min-width: 901px) and (max-width: 1200px) {
  section { padding: 2rem 4rem; }
  .content-section { padding: 2.5rem 4rem; }
  .offre-content { padding: 3rem 4rem; }

  /* Optimisation de la grille d'offre sans impacter le mobile */
  .offer-hero {
    padding: 1.5rem 1.5rem 1rem !important;
    grid-template-columns: 1fr 230px 320px !important; /* Étroitise la bio et la carte */
    column-gap: 1.5rem !important;                     /* Rapproche les blocs */
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 3rem 2rem;
  }
  .hero-left { padding: 0; }
  .hero-right {
    justify-content: center;
    margin-top: 2rem;
  }
  .offer-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }
  .includes-grid {
    grid-template-columns: 1fr;
  }
  .offres-grid {
    grid-template-columns: 1fr;
  }
 .testimonials-grid,
  .temoignages-grid {
    grid-template-columns: 1fr !important; /* Force l'affichage vertical sur 1 colonne */
  }
  .forwhom-grid {
    grid-template-columns: 1fr;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .topics-grid {
    grid-template-columns: 1fr;
  }
 
  .ap-links-grid {
    grid-template-columns: 1fr;
  }
  .ap-timeline-wrap {
    padding: 2rem 1.5rem;
  }
  
  /* --- Styles de la frise pour tablettes (de 600px à 900px) --- */
  .timeline-line {
    left: 120px !important;
  }
  .timeline-bullet {
    left: 120px !important;
  }
  .timeline-item {
    grid-template-columns: 120px 1fr !important;
  }
  .timeline-date {
    text-align: right !important;
    padding-right: 1.5rem !important;
    font-size: 0.85rem !important;
  }
  .timeline-content {
    padding-left: 1.5rem !important;
  }
  .timeline-content h4 {
    font-size: 1.15rem;
  }
  .timeline-content p {
    font-size: 0.9rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  section, .content-inner, .content-section {
    padding: 2rem 1.5rem;
  }
  .cta-section {
    padding: 2rem 1.5rem;
  }
  .cta-final {
    padding: 3rem 1rem;
  }
  .cta-final-inner {
    padding: 0 1.5rem;
  }
  .legal-mentions-wrapper {
    padding: 2rem 1.5rem;
  }
  footer {
    padding: 2rem 1.5rem;
  }
  
/* Centrage forcé du formulaire de contact sur mobile */
@media (max-width: 900px) {
  .cta-final-inner,
  .offre-content > div[style*="max-width:580px"] {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    display: flex;
    justify-content: center;
  }
  
  .cta-final .form-box,
  #form-contact {
    width: 100%;
    max-width: 100%;
    margin: 0 !important; /* supprime toute marge résiduelle */
  }
}

  /* Menu burger mobile */
  .nav-toggle {
    display: inline-flex;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem 1.5rem;
    background: rgba(13, 27, 42, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 200;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  nav.nav-open .nav-links {
    display: flex;
  }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.04);
  }
  nav {
    padding: 0 1rem;
    height: 70px;
  }

  #page-animation .offer-hero > .offer-person,
  #page-tech-clarity .offer-hero > .offer-person {
    display: flex;
  }
  #page-animation .offer-hero > .offer-title,
  #page-animation .offer-hero > .offer-left,
  #page-animation .offer-hero > .offer-person-photo-wrap,
  #page-animation .offer-hero > .offer-person-photo,
  #page-animation .offer-hero > .offer-card,
  #page-tech-clarity .offer-hero > .offer-title,
  #page-tech-clarity .offer-hero > .offer-left,
  #page-tech-clarity .offer-hero > .offer-person-photo-wrap,
  #page-tech-clarity .offer-hero > .offer-person-photo,
  #page-tech-clarity .offer-hero > .offer-card {
    grid-row: auto;
    grid-column: auto;
  }

  .vu-strip-inner,
  .clients-strip-inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  /* Blocs cliquables de l'Accueil et des formules de Qui suis-je ? au repos */
  #page-home .offre-card,
  #page-apropos .ap-link-card {
    box-shadow: var(--card-shadow) !important; /* Ombre portée douce visible directement au repos */
    border-color: rgba(201, 168, 76, 0.25) !important; /* Léger contour doré discret pour marquer le relief */
    transform: none !important; /* Désactive les effets de survol de bureau qui se bloquent au toucher */
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }

  /* Effet d'enfoncement de relief lors de la pression du doigt (sélection active) */
  #page-home .offre-card:active,
  #page-apropos .ap-link-card:active {
    transform: scale(0.98) translateY(1px) !important; /* Le bloc s'enfonce légèrement sous le doigt */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important; /* L'ombre s'écrase sous l'effet de la pression */
  }

  .blog-hero-section,
  .blog-grid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .article-header,
  .article-body,
  .article-offer-link {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .article-back-link {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* Photo pleine largeur sur toutes les pages d'offre en dessous de 900px */
  .offer-hero .offer-person-photo {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 0 0.75rem 0 !important;
    align-self: flex-start !important;
    height: auto !important;
    max-height: 440px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
  }

  .offer-hero > .offer-person,
  .offer-hero .offer-person-photo-wrap,
  .offer-hero .offer-person-caption {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
}

/* ==========================================================================
   MOBILES ÉTROITS (max-width: 600px) - DOMINE LA CASCADE POUR LA FRISE
   ========================================================================== */
@media (max-width: 600px) {
  .timeline-line {
    left: 16px !important;            /* La ligne se colle enfin à gauche */
  }
  .timeline-bullet {
    left: 16px !important;            /* Les puces s'alignent sur la ligne */
    top: 6px !important;
  }
  .timeline-item {
    grid-template-columns: 1fr !important; /* Passage propre en une seule colonne */
    gap: 0.25rem !important;
    padding-left: 2.5rem !important;   /* Marge de respiration pour le texte */
    margin-bottom: 1.75rem !important;
  }
  .timeline-date {
    text-align: left !important;       /* La date passe à gauche au-dessus du texte */
    padding-right: 0 !important;
    margin-bottom: 0.15rem !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
  }
  .timeline-content {
    padding-left: 0 !important;
  }

  .form-box {
    padding: 1.25rem !important; /* Réduit l'étau autour du formulaire pour gagner 24px de largeur utile */
  }

  .legal-mentions-wrapper {
    padding: 1.5rem 1rem !important; /* Libère de l'espace de lecture sur smartphone */
  }
}
 .page-hero {
    padding: 2rem 1.25rem;
  }

  .page-hero h2 {
    font-size: 1.5rem;        /* réduit pour tenir sur une ligne ou deux équilibrées */
    line-height: 1.2;
    text-wrap: balance;       /* force un équilibre visuel des lignes */
  }

  .page-hero p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

  .offre-content {
    padding: 1.5rem 1rem;   /* réduit drastiquement les marges autour */
  }

  .form-box {
    padding: 1.25rem;       /* réduit le padding interne du formulaire */
  }

  .form-contact-wrapper {
    max-width: 100%;
  }

  /* Remplace la contrainte inline max-width:580px sur mobile */
  .offre-content > div {
    max-width: 100% !important;
  }
}

  .cf-turnstile {
    margin: 1rem 0;
    min-height: 60px;
  }

 /* Réduit le padding horizontal de .offre-content uniquement sur l'accueil */
  #page-home .offre-content {
    padding: 2rem 1rem;
  }

  /* Le conteneur du formulaire prend toute la largeur disponible */
  #page-home .form-contact-wrapper {
    max-width: 100%;
    padding: 0;
  }

  /* Le form-box respire moins, mais reste lisible */
  #page-home .form-box {
    padding: 1.25rem;
  }

  /* Le widget Turnstile reste dans le flux, sans déborder */
  #page-home .cf-turnstile {
    margin: 1rem 0;
    min-height: 65px;
    position: relative;
    z-index: 1;
    overflow: visible;
}

  /* Le titre du formulaire est un peu plus compact */
  #page-home .form-box-title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
  }

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .offer-title { font-size: 1.75rem; }
  .section-title { font-size: 1.5rem; }
  .hero-credentials { gap: 1.5rem; flex-wrap: wrap; }
  .cred { flex: 1 1 45%; }
  .logos-bar { flex-direction: column; padding: 1rem; }
  .logo-marquee-track { animation-duration: 24s; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; }
}

@media (max-width: 400px) {
  /* MICRO-AJUSTEMENT ÉCRANS TRÈS ÉTROITS pour logo & burger */
  .nav-brand {
    font-size: 1.05rem !important;
  }
}

/* ----- UTILITIES ----- */
.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }

/* ----- ACCESSIBILITY ----- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ----- PRINT STYLES ----- */
@media print {
  nav { display: none; }
  .page { display: block !important; padding-top: 0; }
  .cta-section, .cta-final, .form-box { display: none; }
}

/* ==========================================================================
PHOTO PLEINE LARGEUR — Animation & Tech & Dirigeants uniquement
========================================================================== */
#page-animation .offer-hero,
#page-tech-clarity .offer-hero {
  grid-template-rows: auto auto auto;  /* titre / photo / texte+carte */
}

/* ==========================================================================
NOUVEL EN-TÊTE COMPATIBLE GRILLE AVEC BADGE INTÉGRÉ
========================================================================== */
.offer-hero > .offer-header-wrap {
  grid-row: 1;
  grid-column: 1 / -1;        /* Prend toute la largeur de la page au-dessus de la photo */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;               /* Espace harmonieux entre le badge et le titre h1 */
  margin-bottom: 0.5rem;
}

/* .offer-person devient "invisible" pour la grille : ses enfants
(photo et légende) sont placés indépendamment ci-dessous */
#page-animation .offer-hero > .offer-person,
#page-tech-clarity .offer-hero > .offer-person {
  display: contents;
}

/* La photo occupe toute la largeur au-dessus de la bio */
#page-animation .offer-hero > .offer-person > .offer-person-photo-wrap,
#page-animation .offer-hero > .offer-person > .offer-person-photo,
#page-tech-clarity .offer-hero > .offer-person > .offer-person-photo-wrap,
#page-tech-clarity .offer-hero > .offer-person > .offer-person-photo {
  grid-row: 2;
  grid-column: 1 / 3;
}

/* Recadrage en bandeau large */
#page-animation .offer-hero .offer-person-photo {
  height: 440px;  /* plus haute : révèle davantage la photo d'origine */
}
#page-tech-clarity .offer-hero .offer-person-photo {
  height: 320px;
}

/* Le texte (eyebrow + sous-titre + CTA) redescend en ligne 3, colonne 1 */
#page-animation .offer-hero > .offer-left,
#page-tech-clarity .offer-hero > .offer-left {
  grid-row: 3;
}

/* Le nom / rôle / bio / badges redescend en ligne 3, colonne 2 */
#page-animation .offer-hero > .offer-person > .offer-person-caption,
#page-tech-clarity .offer-hero > .offer-person > .offer-person-caption {
  grid-row: 3;
  grid-column: 2;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

/* La carte "résumé de l'offre" s'étend sur toute la hauteur */
#page-animation .offer-hero > .offer-card,
#page-tech-clarity .offer-hero > .offer-card {
  grid-row: 2 / 4;
}

/* Sécurité mobile pour grid-row et grid-column */
/* --- Omissions des marges H1 cumulées sous le header-wrap --- */
.offer-header-wrap h1.offer-title,
.offer-header-wrap .offer-title {
  margin-bottom: 0 !important; /* Supprime le double-emploi de la marge basse du titre */
}

 /* --- Style du lien de nom dans les bios d'offres --- */
.offer-person-link {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

.offer-person-link:hover {
  color: var(--gold); /* Le nom s'illumine doucement en doré au survol */
}

/* ==========================================================================
   OPTIMISATIONS RESPONSIVES ULTIMES (TURNSTILE & MENTIONS LÉGALES)
   ========================================================================== */

/* --- 1. Ajustement du Widget Cloudflare Turnstile --- */
.cf-turnstile {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 1.25rem 0;
  overflow: visible; /* Permet au widget d'être redimensionné sans être coupé */
  position: relative;      /* établit un contexte de positionnement */
  z-index: 1;              /* garantit qu'il reste au-dessus */
  min-height: 65px;        /* réserve la hauteur du widget pour éviter le débordement */
}

/* --- 2. Ajustement de la boîte de formulaire sur smartphone --- */

/* --- 3. Redimensionnement automatique du widget sur écrans très étroits --- */
@media (max-width: 375px) {
  .cf-turnstile {
    transform: scale(0.85); /* Réduction d'échelle fluide et propre */
    transform-origin: center center;
    margin: 0.75rem 0;
  }
}

@media (max-width: 340px) {
  .cf-turnstile {
    transform: scale(0.78); /* Ajustement pour les plus petits mobiles */
    transform-origin: center center;
    margin: 0.5rem 0;
  }
}

/* --- Style de la ligne de mise à jour --- */
.legal-update {
  margin-top: 2rem !important;      /* Crée un grand espace avec le texte du dessus */
  margin-bottom: 2rem !important;   /* Repousse le bandeau noir vers le bas */
  padding-top: 1.5rem !important;   /* Espace interne au-dessus du texte */
  border-top: 1px dashed rgba(0, 0, 0, 0.1); /* Ajoute une jolie ligne pointillée discrète */
  font-size: 0.75rem !important;
  color: var(--gray) !important;    /* Couleur grise adoucie */
}


/* ==========================================================================
   ♿ ACCESSIBILITÉ : Lien d'évitement (Skip Link)
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -100px; /* Complètement masqué au-dessus de l'écran par défaut */
  left: 2.5rem;
  background: var(--gold); /* Reprend votre couleur dorée officielle */
  color: var(--navy);      /* Texte marine pour un contraste parfait */
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 0 0 4px 4px;
  z-index: 999; /* Reste toujours au-dessus du menu et du slider de logos */
  transition: top 0.2s ease;
}

/* Glisse proprement vers le bas pour devenir visible uniquement au focus clavier */
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--white);
  outline-offset: -4px;
}

/* ==========================================================================
   🎯 ALIGNEMENT DU BANDEAU DE LOGOS AVEC LE RÉSUMÉ DE L'OFFRE
   ========================================================================== */
/* On harmonise les marges internes (paddings) des bandeaux de logos de toutes 
   les offres avec celles de la grille principale de présentation (.offer-hero) */

.vu-strip-inner,
.clients-strip-inner {
  padding-left: 4rem;
  padding-right: 4rem;
}

@media (max-width: 1200px) {
  .vu-strip-inner,
  .clients-strip-inner {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}


/* ==========================================================================
   🎯 SÉCURITÉ RESPONSIVE : ANTI-OVERFLOW SUR LES PAGES D'OFFRES
   ========================================================================== */

/* 1. On permet à la colonne de texte flexible de se rétrécir au-delà de son contenu */
.offer-left {
  min-width: 0;
}

/* ==========================================================================
   🎯 ALIGNEMENT DU RÉSUMÉ DE L'OFFRE AVEC LE HAUT DE LA PHOTO (VERSION SIMPLE)
   ========================================================================== */
@media (min-width: 901px) {
  .offer-hero > .offer-card {
    margin-top: 0.5rem !important; /* S'aligne au pixel près sur le décalage de la photo */
  }

  /* Le conteneur du Hero gère les 2 colonnes sous l'en-tête */
  .hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    padding: 3rem 5rem 2rem;
    min-height: auto;               /* Supprime le vide artificiel des 65vh */
    align-content: start;           /* Remonte le sous-titre et la photo au plus près du titre */
    padding-top: 2.5rem;            /* Marge haut globale aérée */
  }

  /* L'en-tête (badge + H1) s'étend sur toute la largeur (2 colonnes), resserré sous le titre */
  .hero-header-wrap {
    grid-column: 1 / -1;
    margin-bottom: 1rem;
  }

  .hero-header-wrap h1 {
    max-width: 1000px;              /* Permet au titre de s'étaler avec élégance */
    margin-bottom: 0.5rem;
  }

  /* Le sous-titre et les boutons restent calés à gauche sous le titre */
  .hero-left {
    padding: 0 2rem 0 0;
  }

  /* La photo reste calée à droite sous le titre */
  .hero-right {
    padding: 0;
    justify-content: flex-end;
  }
}

/* ==========================================================================
   🎯 OPTIMISATION DE L'INTERACTIVITÉ DES CARTES (ACCUEIL & OFFRES)
   ========================================================================== */

/* 1️⃣ POUR MOBILE & IPAD UNIQUEMENT (Écrans de largeur ≤ 900px) :
   On affiche l'ombre portée au repos sur les blocs cliquables de l'Accueil et de "Qui suis-je ?",
   et on génère un bel effet de relief tactile (pression mécanique) lors de la sélection (:active). */




/* ==========================================================================
   BLOG — Réutilise les mêmes jetons de design que le reste du site
   ========================================================================== */

.blog-hero-section {
  background: var(--cream);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 3rem 4rem 2.5rem;
}
.blog-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.blog-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.blog-hero-inner h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-top: 0.6rem;
}
.blog-hero-inner h1 em {
  font-style: italic;
  color: var(--gold);
}
.blog-hero-sub {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 620px;
  line-height: 1.75;
  margin-top: 0.75rem;
}

/* ----- GRILLE D'ARTICLES ----- */
.blog-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.article-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 1.75rem;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;      /* à ajouter dans la règle existante */
  cursor: pointer;
  overflow: hidden; 
}
.article-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition-normal);
}
.article-card:hover::before { transform: scaleX(1); }
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.12);
}
.article-card-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 2px;
  margin-bottom: 0.9rem;
  align-self: flex-start;
}
.article-card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 0.6rem;
}
.article-card-title a {
  color: inherit;
  text-decoration: none;
}
.article-card:hover .article-card-title a {
  color: var(--gold);
}
.article-card-title a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.article-card:focus-within {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.article-card-title a:focus-visible {
  outline: none;
}
.article-card-excerpt {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.65;
  flex-grow: 1;
}
.article-card-meta {
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.article-card-media {
  margin: -1.75rem -1.75rem 1.25rem;
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  border-radius: 7px 7px 0 0;
}
.article-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-normal);
}
.article-card:hover .article-card-media img { transform: scale(1.04); }
.article-cover {
  margin: 1.5rem 0 2rem;
}
.article-cover img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
.article-cover figcaption {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 0.5rem;
}

/* ----- PAGE ARTICLE ----- */
.article-header {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem 1.5rem;
}
.article-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-top: 0.75rem;
}
.article-meta {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink);
}
.article-body h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
.article-body h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.article-body p {
  margin-bottom: 1.25rem;
}
.article-body ul,
.article-body ol {
  margin: 0 0 1.25rem 1.5rem;
}
.article-body li {
  margin-bottom: 0.5rem;
}
.article-body a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(201, 168, 76, 0.4);
}
.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 0.25rem 0 0.25rem 1.5rem;
  margin: 1.75rem 0;
  font-style: italic;
  color: var(--gray);
}
.article-body strong {
  color: var(--navy);
}

/* ----- BLOC DE LIEN VERS L'OFFRE (fin d'article) ----- */
.article-offer-link {
  max-width: 760px;
  margin: 0 auto 3rem;
  padding: 1.75rem 2rem;
  background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 8px;
}
.article-offer-link p {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 0.75rem;
}
.article-offer-link strong {
  color: var(--navy);
}

 .article-back-link {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem 1.5rem;
  text-align: center;
}
.article-back-link a {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 168, 76, 0.4);
  padding-bottom: 2px;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}
.article-back-link a:hover {
  color: var(--navy);
  border-color: var(--navy);
}
 
/* ==========================================================================
   🎯 HERO ACCUEIL : TITRE ET BADGE PLEINE LARGEUR (PC & IPAD)
   ========================================================================== */

/* 1. Réduit la marge basse du sous-titre pour rapprocher les chiffres */
.hero-left .hero-sub {
  margin-bottom: 1.25rem !important;
}

/* 2. Rapproche les deux chiffres clés et ajuste l'espace avant les boutons */
.hero-left .hero-credentials {
  margin-bottom: 1.75rem !important;
  gap: 1.75rem !important; /* Évite que les chiffres ne s'écartent trop sur écran moyen */
}

/* ==========================================================================
   🎯 CORRECTION DU CHEVAUCHEMENT ANIMATION & TECH (ZONE 900PX À 950PX)
   ========================================================================== */

/* 1. Marge verticale garantie et calage strict sur grand écran (> 950px) */
@media (min-width: 951px) {
  #page-animation .offer-hero,
  #page-tech-clarity .offer-hero {
    grid-template-rows: auto auto auto !important;
    row-gap: 1.5rem !important;      /* Espace vertical garanti entre rangées */
    align-items: start !important;   /* Empêche le chevauchement vertical */
  }

  #page-animation .offer-hero .offer-person-photo-wrap,
  #page-tech-clarity .offer-hero .offer-person-photo-wrap {
    margin-bottom: 1rem !important;  /* Repousse le sous-titre vers le bas */
  }
}

/* 2. Bascule en 1 colonne fluide dès 950px (englobe la zone 900px-950px) */
@media (max-width: 950px) {
  #page-animation .offer-hero,
  #page-tech-clarity .offer-hero,
  .offer-hero {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
  }

  /* Rétablit le conteneur flex normal pour la photo et la bio */
  #page-animation .offer-hero > .offer-person,
  #page-tech-clarity .offer-hero > .offer-person,
  .offer-hero > .offer-person {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 0.5rem 0 1rem 0 !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  /* La photo prend 100% de la largeur du sous-titre, calée à gauche */
  .offer-hero .offer-person-photo,
  .offer-hero .offer-person-photo-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 0.75rem 0 !important;
    align-self: flex-start !important;
    height: auto !important;
    max-height: 420px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
  }

  .offer-hero .offer-person-caption {
    width: 100% !important;
    text-align: left !important;
  }
}

/* GESTION DES ICONES DES RESEAUX SOCIAUX */
.share-icons {
  display: flex;
  gap: .5rem;
  margin: 0 0 0 auto;      /* à droite de « min de lecture » sur grand écran */
  padding: 0;
  list-style: none;
}
.share-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(13, 27, 42, 0.25);
  border-radius: 50%;
  color: var(--navy);
  transition: background-color .15s, color .15s, border-color .15s;
}
.share-icons a:hover,
.share-icons a:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
@media (max-width: 640px) {
  .share-icons {
    flex-basis: 100%;        /* passe sous la ligne auteur · date · lecture */
    margin: .25rem 0 0;
  }
}
