/* =========================
   Refonte 2026 — positionnement Audit IA
   Composants repris À L'IDENTIQUE de css/formations-ia.css (page de référence)
   pour les pages Accueil, Offres, IA, À propos et Produits.
   Design system inchangé : orange #FF4B1F, bleu nuit #192a56,
   cards blanches, radius 8-12px.
   Aucune règle existante n'est modifiée : ce fichier n'ajoute que des
   composants de mise en page pour les nouvelles sections de contenu.
   ========================= */

/* =========================
   1. Hero
   ========================= */
.hero-subtitle {
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 1rem 0;
}

/* Signature au-dessus du H1 : discrete, ne doit pas concurrencer le titre. */
.hero-eyebrow {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
  margin: 0 0 0.6rem 0;
  opacity: 0.9;
}

/* Phrase de reassurance sous les boutons du hero. */
.hero-reassurance {
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 42rem;
  margin: 0.9rem 0 0 0;
  opacity: 0.9;
}

.hero-lede {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  line-height: 1.65;
  max-width: 46rem;
  margin: 0 0 1.25rem 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions .button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.accent-primary-section .button {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.accent-primary-section .button:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.accent-primary-section .button.secondary-button-on-accent-primary {
  background-color: #ffffff;
  color: #d63c13;
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
}

.accent-primary-section .button.secondary-button-on-accent-primary:hover {
  background-color: #f8f8f8;
  border-color: rgba(255, 255, 255, 0.5);
  color: #b3300d;
}

.accent-primary-section .button:not(.secondary-button-on-accent-primary) {
  background-color: rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.accent-primary-section .button:not(.secondary-button-on-accent-primary):hover {
  background-color: rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

/* =========================
   2. En-têtes de section
   ========================= */
.section-head {
  max-width: 42rem;
  margin: 0 auto 2rem auto;
  text-align: center;
}

.section-head .h2-heading {
  margin-top: 0;
}

.section-head p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #444;
  margin-bottom: 0;
}

/* =========================
   3. Preuves
   ========================= */
.proof-section {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0 auto;
  padding: 1.5rem;
  max-width: 60rem;
  background: #f8f9fa;
  border-radius: 12px;
  border-left: 4px solid #FF4B1F;
}

.proof-band-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 44rem;
}

.proof-band li {
  margin: 0;
  text-align: center;
}

.proof-band strong {
  display: block;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  line-height: 1.2;
  color: #192a56;
  margin-bottom: 0.35rem;
}

.proof-band span {
  display: block;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #555;
}

.proof-note {
  max-width: 46rem;
  margin: 1.25rem auto 0 auto;
  text-align: center;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #444;
}

/* =========================
   4. Références clients
   ========================= */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

.case-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 56rem;
}

.case-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-top: 4px solid #FF4B1F;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.case-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.35rem 0;
}

.case-context {
  font-size: 0.88rem;
  font-weight: 600;
  color: #FF4B1F;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 0.85rem 0;
}

.case-card p {
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 0.9rem;
}

.case-card ul {
  margin: 0 0 1rem 0;
  padding-left: 1.15rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.case-card li {
  margin-bottom: 0.3rem;
}

.case-meta {
  margin: auto 0 0 0 !important;
  padding-top: 0.85rem;
  border-top: 1px solid #eee;
  font-size: 0.88rem !important;
  color: #666;
  font-weight: 600;
}

.case-inline {
  max-width: 52rem;
  margin: 2rem auto 0 auto;
  padding: 1.5rem 1.75rem;
  background: #f8f9fa;
  border-left: 4px solid #192a56;
  border-radius: 10px;
}

.case-inline h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
}

.case-inline p {
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.case-inline-result {
  margin-bottom: 0 !important;
  color: #444;
}

/* =========================
   5. Méthode en 4 étapes
   ========================= */
.methode-section {
  background: #f8f9fa;
}

.method-steps-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
  list-style: none;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0;
}

.method-steps-4 > li {
  counter-increment: step;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.method-steps-4 > li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #FF4B1F;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

.method-steps-4 h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.65rem 0;
}

.method-steps-4 p {
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* =========================
   6. Listes à puces marquées (problèmes, cas d'usage)
   ========================= */
.marked-list {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.5rem 1.75rem;
  list-style: none;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e6e6e6;
}

.marked-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.65rem;
  font-size: 1.02rem;
  line-height: 1.65;
}

.marked-list li:last-child {
  margin-bottom: 0;
}

.marked-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #FF4B1F;
}

/* =========================
   7. Offres
   ========================= */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

.offer-grid-1 {
  grid-template-columns: 1fr;
  max-width: 40rem;
}

.offer-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 78rem;
}

.offer-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-top: 4px solid #192a56;
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.offer-card-featured {
  border-top-color: #FF4B1F;
}

.offer-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.offer-card p {
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 0.7rem;
}

.offer-promise {
  font-size: 1rem;
  line-height: 1.65;
  color: #444;
  margin: 0 0 1rem 0;
}

.offer-price {
  font-size: 1.05rem;
  color: #192a56;
  margin: 0 0 1rem 0;
}

.offer-price strong {
  font-size: 1.35rem;
}

.offer-card ul {
  margin: 0 0 1.25rem 0;
  padding-left: 1.15rem;
  font-size: 0.98rem;
  line-height: 1.6;
}

.offer-card li {
  margin-bottom: 0.35rem;
}

.offer-card ol {
  margin: 0 0 1.25rem 0;
  padding-left: 1.3rem;
  font-size: 0.98rem;
  line-height: 1.6;
}

.offer-card ol li {
  margin-bottom: 0.35rem;
}

.offer-meta {
  margin: auto 0 0 0 !important;
  padding-top: 0.85rem;
  border-top: 1px solid #eee;
  font-size: 0.92rem;
  font-weight: 600;
  color: #192a56;
}

.offer-step {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #FF4B1F;
  margin: 0 0 0.5rem 0;
}

.offer-levels {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem 0;
  font-size: 0.98rem;
}

.offer-levels th,
.offer-levels td {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid #eee;
  line-height: 1.5;
}

.offer-levels th {
  font-weight: 700;
  color: #192a56;
}

.offer-levels tbody th {
  white-space: nowrap;
}

.formats-note {
  max-width: 46rem;
  margin: 1.5rem auto 0 auto;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #555;
}

.cta-centered {
  text-align: center;
  margin: 1.75rem 0 0 0;
}

/* =========================
   8. Bloc mis en avant
   ========================= */
.highlight-block {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2rem 2.25rem;
  background: #f8f9fa;
  border-left: 4px solid #FF4B1F;
  border-radius: 10px;
}

.highlight-block .h2-heading {
  margin-top: 0;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
}

.highlight-block p {
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

.highlight-block p:last-child {
  margin-bottom: 0;
}

.bridge-note {
  max-width: 46rem;
  margin: 1.25rem auto 0 auto;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #555;
}

.bridge-note a {
  color: #FF4B1F;
  font-weight: 600;
}

/* =========================
   9. Bandeau récapitulatif des offres
   ========================= */
.offer-summary {
  max-width: 52rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  text-align: center;
  background: #192a56;
  color: #fff;
  border-radius: 12px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 600;
  line-height: 1.6;
}

/* =========================
   10. Label Démonstrateur
   ========================= */
.demo-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: #192a56;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}

/* =========================
   10 bis. Démonstrateurs : mention de données fictives, promesse, vidéo
   ========================= */
.demo-disclaimer {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border-radius: 8px;
  background: #f8f9fa;
  border-left: 3px solid #192a56;
  font-size: 0.88rem !important;
  font-weight: 600;
  color: #444;
  margin: 0 0 1rem 0;
}

.demo-claim {
  font-size: 1.2rem !important;
  font-weight: 600;
  color: #192a56;
  margin: 0 0 1.25rem 0;
}

/* Vidéo verticale 9:16, largeur bornée pour ne pas écraser la colonne de texte */
.demo-video {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
}

.demo-video video {
  width: 100%;
  max-width: 20rem;
  aspect-ratio: 9 / 16;
  height: auto;
  background: #000;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

/* =========================
   11. CTA final
   ========================= */
.final-cta-section {
  padding-bottom: 3rem;
}

.final-cta-block {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.final-cta-block .h2-heading {
  margin-top: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.final-cta-block p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
}

.final-cta-block .button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.final-cta-note {
  margin-top: 1rem !important;
  font-size: 0.92rem !important;
  color: #666;
}

.final-cta-secondary {
  margin-bottom: 0 !important;
  font-size: 0.95rem !important;
}

.final-cta-secondary a {
  color: #FF4B1F;
  font-weight: 600;
}

/* =========================
   12. Responsive — tablette
   ========================= */
@media (max-width: 1024px) {
  .case-grid,
  .method-steps-4,
  .offer-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-band {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

/* =========================
   13. Responsive — mobile
   ========================= */
@media (max-width: 767px) {
  .section.accent-primary-section {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    overflow-x: hidden !important;
  }

  .accent-primary-section .container {
    width: 100%;
    max-width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
    justify-content: center;
  }

  .accent-primary-section .grid-layout {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .accent-primary-section .grid-layout > *,
  .accent-primary-section .flex-horizontal {
    min-width: 0;
    max-width: 100%;
  }

  .accent-primary-section .h1-heading,
  .hero-subtitle,
  .hero-lede {
    text-align: center;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hero-actions {
    justify-content: center;
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
    max-width: 24rem;
    white-space: normal;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .case-grid,
  .case-grid-2,
  .method-steps-4,
  .offer-grid,
  .offer-grid-3,
  .proof-band,
  .proof-band-2 {
    grid-template-columns: 1fr;
  }

  .proof-band {
    padding: 1.25rem;
    gap: 1.1rem;
  }

  .proof-note,
  .section-head,
  .formats-note,
  .bridge-note {
    text-align: left;
  }

  .case-card,
  .method-steps-4 > li,
  .offer-card {
    padding: 1.25rem;
  }

  .case-inline,
  .highlight-block,
  .marked-list {
    padding: 1.25rem;
  }

  .offer-levels th,
  .offer-levels td {
    padding: 0.5rem 0.4rem;
    font-size: 0.92rem;
  }

  .offer-levels tbody th {
    white-space: normal;
  }

  .demo-video video {
    max-width: 100%;
  }

  .cta-centered .button,
  .final-cta-block .button {
    width: 100%;
    max-width: calc(100vw - 2rem);
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.25;
  }
}

/* ==========================================================================
   P1 — Composants de la page Formations réutilisés par la page Solutions
   Valeurs recopiées à l'identique de css/formations-ia.css (qui ne charge pas
   cette feuille) ; aucune autre page chargeant cette feuille n'emploie ces classes.
   ========================================================================== */

/* Pastilles d'informations du bandeau */
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  list-style: none;
  margin: 0 0 1.75rem 0;
  padding: 0;
}

.hero-facts li {
  margin: 0;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
  line-height: 1.4;
  white-space: nowrap;
}

/* Grille de cartes à titre souligné (compétences, exemples) */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 72rem;
  margin: 0 auto;
}

.skill-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 1.35rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.skill-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.75rem 0;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid #FF4B1F;
}

/* Exemples : trois lignes de même nature (aujourd'hui / intervention / mesure).
   Libellé au format de .funding-label (page Formations). */
.example-facts {
  margin: 0;
}

.example-facts dt {
  margin: 0.85rem 0 0.2rem 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d63c13;
}

.example-facts dt:first-child {
  margin-top: 0;
}

.example-facts dd {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Titres h3 dans l'accordéon (FAQ) */
.accordion-trigger h3 {
  transition: color 0.3s ease;
  margin: 0;
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  font-family: inherit !important;
  line-height: 1.2 !important;
  letter-spacing: normal !important;
}

.accordion-trigger.active h3 {
  color: #fff;
}

/* Focus clavier lisible sur l'en-tête blanc comme sur l'en-tête orange ouvert */
.accordion-trigger:focus-visible {
  outline: 2px solid #192a56;
  outline-offset: 2px;
}

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

@media (max-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .hero-facts {
    justify-content: center;
  }

  .hero-facts li {
    white-space: normal;
    font-size: 0.85rem;
  }

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

  .skill-card {
    padding: 1.25rem;
  }
}

/* Apercu du livrable de diagnostic (page Offres). */
.deliverable-preview {
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 10px;
  padding: 1.6rem;
  max-width: 48rem;
  margin: 0 auto;
  background: var(--color-background, #fff);
}

.deliverable-note {
  font-size: 0.9rem;
  font-style: italic;
  color: #5d5d5d;
  margin: 0 0 1.2rem;
}

.deliverable-part {
  padding: 1rem 0;
  border-top: 1px dashed rgba(0, 0, 0, 0.14);
}

.deliverable-part:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.deliverable-part h4 {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

.deliverable-part p {
  margin: 0;
  line-height: 1.6;
}

/* Ligne de priorisation : une liste de definitions plutot qu'un tableau,
   pour ne pas deborder sous 375px. */
.deliverable-row {
  margin: 1.2rem 0 0;
  padding: 1rem;
  background: rgba(255, 75, 31, 0.05);
  border-radius: 8px;
}

.deliverable-row dt {
  font-weight: 600;
  margin-top: 0.5rem;
}

.deliverable-row dt:first-child {
  margin-top: 0;
}

.deliverable-row dd {
  margin: 0.1rem 0 0;
}

/* Retour à la ligne forcé dans un titre, sans <br> (l'espace qui suit reste pour les lecteurs d'écran) */
.h1-line-break { display: block; }

/* Même principe, seulement sur ordinateur : en mobile la phrase suit le texte */
@media (min-width: 992px) {
  .desktop-line-break { display: block; }
}

/* Bandeau sans visuel : le texte prend toute la largeur, les paragraphes restent lisibles */
.accent-primary-section .grid-layout.hero-no-visual { grid-template-columns: minmax(0, 1fr); }
.hero-no-visual .hero-lede,
.hero-no-visual .hero-reassurance { max-width: 48rem; }

/* Bandeau centré (accueil) : titre sur une ligne dès 992px, équilibré en dessous */
.hero-centered { text-align: center; }
.hero-centered .h1-heading,
.hero-centered .hero-subtitle { text-wrap: balance; }
.hero-centered .hero-subtitle,
.hero-centered .hero-lede { max-width: 48rem; margin-left: auto; margin-right: auto; }
.hero-centered .hero-actions { justify-content: center; }
@media (min-width: 992px) {
  /* Le titre mesure ~28,7 fois sa taille de police : 3vw tient dans les 90vw du conteneur */
  .hero-centered .h1-heading { font-size: min(3vw, 2.75rem); }
}

/* Segment de titre à garder sur une ligne dès que la largeur le permet */
@media (min-width: 768px) {
  .h1-nowrap { white-space: nowrap; }
}

/* Variante à trois étapes : trois colonnes centrées au lieu d'une grille de quatre à moitié vide */
@media (min-width: 768px) {
  .method-steps-4.method-steps-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 54rem;
  }
}

/* Encadré élargi pour qu'un titre long tienne sur une ligne */
.highlight-block.highlight-block-wide { max-width: 52rem; }
@media (min-width: 768px) {
  .h2-nowrap { white-space: nowrap; }
}

/* === Section Parcours (a-propos) === */
.parcours-section .section-head { max-width: 720px; }
.parcours-grid { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.parcours-item { border-top: 3px solid var(--color-primary, #FF4B1F); padding-top: 1.25rem; }
.parcours-label { margin: 0 0 .5rem; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-primary-dark, #d63c13); }
.parcours-item h3 { margin: 0 0 .5rem; font-size: 1.15rem; line-height: 1.3; color: var(--color-text, #222); }
.parcours-item p:last-child { margin: 0; color: var(--color-text-light, #444); line-height: 1.6; }
.parcours-tech { margin: 0; text-align: center; font-size: .85rem; color: var(--color-text-light, #444); }
@media (max-width: 767px) {
  .parcours-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .parcours-tech { text-align: left; }
}

/* === Section Parcours : fondations et formation continue (a-propos) === */
.parcours-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fondations { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid #e6e8ee; }
.fondations-title { margin: 0 0 .75rem; text-align: center; font-size: 1.5rem; line-height: 1.3; color: var(--color-text, #222); }
.fondations-intro, .fondations-outro { max-width: 720px; margin: 0 auto; text-align: center; line-height: 1.6; color: var(--color-text-light, #444); }
.fondations-outro { margin-top: 2.5rem; }
.fondations-timeline { position: relative; list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
.fondations-timeline::before { content: ""; position: absolute; top: 6px; left: 0; right: 0; height: 2px; background: #dfe3ec; }
.fondations-timeline li { position: relative; display: flex; flex-direction: column; gap: .25rem; padding-top: 1.75rem; }
.fondations-timeline li::before { content: ""; position: absolute; top: 0; left: 0; width: 14px; height: 14px; box-sizing: border-box; border-radius: 50%; background: #fff; border: 3px solid var(--color-complementary, #192a56); }
.fondations-timeline li:last-child::before { background: var(--color-primary, #FF4B1F); border-color: var(--color-primary, #FF4B1F); }
.ft-when { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-primary-dark, #d63c13); }
.fondations-timeline strong { font-size: 1rem; line-height: 1.3; color: var(--color-text, #222); }
.ft-what { font-size: .9rem; line-height: 1.5; color: var(--color-text-light, #444); }
.fondations-details { max-width: 720px; margin: 1.5rem auto 0; text-align: center; }
.fondations-details summary { display: inline-block; cursor: pointer; list-style: none; font-size: .9rem; font-weight: 700; color: var(--color-complementary, #192a56); text-decoration: underline; text-underline-offset: 3px; }
.fondations-details summary::-webkit-details-marker { display: none; }
.fondations-details summary::after { content: " +"; }
.fondations-details[open] summary::after { content: " −"; }
.fondations-list { margin: 1rem 0 0; padding: 1rem 1.25rem; list-style: none; text-align: left; font-size: .9rem; line-height: 1.6; color: var(--color-text-light, #444); background: #f7f8fa; border-radius: 12px; }
.fondations-list li + li { margin-top: .5rem; }
.fondations-list strong { color: var(--color-text, #222); }
.fondations-list a { color: var(--color-complementary, #192a56); }
@media (max-width: 991px) {
  .fondations-timeline { grid-template-columns: 1fr; gap: 1.25rem; }
  .fondations-timeline::before { top: 0; bottom: 0; left: 6px; right: auto; width: 2px; height: auto; }
  .fondations-timeline li { padding-top: 0; padding-left: 2rem; }
  .fondations-timeline li::before { top: .15rem; }
}
@media (max-width: 767px) {
  .parcours-grid { grid-template-columns: 1fr; }
  .fondations-intro, .fondations-outro { text-align: left; }
}

/* =========================
   Test IA express (.tia-)
   Page test-ia.html, teaser accueil, encart Diagnostic.
   Logique dans js/test-ia.js.
   ========================= */
.tia-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Bouton contour : orange sur fond clair, blanc sur fond orange ou bleu nuit */
.button.tia-btn-outline,
.accent-primary-section .button.tia-btn-outline {
  background: transparent;
  color: var(--color-primary-dark, #d63c13);
  border: 2px solid var(--color-primary, #FF4B1F);
  box-shadow: none;
  backdrop-filter: none;
  font-weight: 600;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.button.tia-btn-outline:hover { background: rgba(255, 75, 31, 0.08); color: var(--color-primary-dark, #d63c13); }
.accent-primary-section .button.tia-btn-outline,
.tia-convert .button.tia-btn-outline { color: #fff; border-color: #fff; }
.accent-primary-section .button.tia-btn-outline:hover,
.tia-convert .button.tia-btn-outline:hover { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: #fff; }
/* Sur le bandeau orange : voile brun leger pour porter le texte blanc a 4,7:1 (4,5:1 requis). */
.accent-primary-section .button.tia-btn-outline { background: rgba(40, 26, 19, 0.22); }
.accent-primary-section .button.tia-btn-outline:hover { background: rgba(40, 26, 19, 0.32); }

/* Focus visible commun */
.tia-app :focus-visible,
.tia-teaser :focus-visible,
.tia-encart :focus-visible,
.hero-actions .tia-btn-outline:focus-visible {
  outline: 3px solid var(--color-complementary, #192a56);
  outline-offset: 3px;
}
.accent-primary-section .tia-btn-outline:focus-visible,
.tia-convert :focus-visible { outline-color: #fff; }
.tia-q-title:focus, .tia-result-title:focus { outline: none; }

/* Page */
/* Signature du hero du test : plus lisible que .hero-eyebrow (partagee avec Produits) ;
   blanc gras a 19 px = grand texte, 3:1 suffit sur l'orange. */
.tia-hero .hero-eyebrow { font-size: 1.2rem; font-weight: 700; opacity: 1; margin-bottom: .4rem; }
.tia-section { padding-top: 2.5rem; padding-bottom: 3.5rem; }
.tia-app { max-width: 46rem; margin: 0 auto; scroll-margin-top: 90px; transition: opacity .16s ease, transform .16s ease; }
.tia-app.tia-leaving { opacity: 0; transform: translateY(6px); }
.tia-noscript { text-align: center; }

/* Intro */
.tia-intro { display: flex; flex-direction: column; gap: .6rem; }
.tia-label { font-weight: 700; font-size: 1.05rem; color: var(--color-text, #222); }
.tia-optional { font-weight: 400; color: var(--color-text-light, #444); }
.tia-input { font-size: 1.05rem; padding: .85rem 1rem; border: 2px solid #d5d9e2; border-radius: 10px; font-family: inherit; }
.tia-input:focus { border-color: var(--color-complementary, #192a56); outline: none; }
.tia-help { font-size: .92rem !important; color: var(--color-text-light, #444); margin: 0 !important; }
.tia-start { align-self: flex-start; margin-top: .5rem; min-height: 48px; font-weight: 700; }

/* Progression */
.tia-progress-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.tia-back { background: none; border: 0; padding: .4rem .2rem; font: inherit; font-weight: 700; color: var(--color-complementary, #192a56); cursor: pointer; }
.tia-back:hover { text-decoration: underline; }
.tia-count { font-weight: 700; color: var(--color-text-light, #444); font-variant-numeric: tabular-nums; }
.tia-progress { height: 6px; border-radius: 3px; background: #e8ebf1; overflow: hidden; margin-bottom: 1.5rem; }
.tia-progress span { display: block; height: 100%; background: var(--color-primary, #FF4B1F); transition: width .25s ease; }

/* Question */
.tia-q-eyebrow { font-size: .8rem !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-primary-dark, #d63c13); margin: 0 0 .3rem !important; }
.tia-q-title { margin: 0 0 1.25rem; font-size: clamp(1.3rem, 2.6vw, 1.75rem); color: var(--color-complementary, #192a56); }
.tia-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.tia-options-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tia-options-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tia-option {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: .25rem;
  min-height: 84px; padding: 1rem 1.15rem; text-align: left; font: inherit; color: var(--color-text, #222);
  background: #fff; border: 2px solid #dfe3ec; border-radius: 12px; cursor: pointer; text-decoration: none;
  box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s, transform .15s, background .15s;
}
.tia-option:hover { border-color: var(--color-primary-light, #ff7e5f); box-shadow: var(--shadow-md); transform: translateY(-2px); color: var(--color-text, #222); }
.tia-option.is-selected { border-color: var(--color-primary, #FF4B1F); background: #fff4f0; }
.tia-option-label { font-size: 1.08rem; font-weight: 700; line-height: 1.3; }
.tia-option-sub { font-size: .92rem; color: var(--color-text-light, #444); line-height: 1.4; }

/* Echelle des 8 niveaux */
.tia-scale { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: .4rem; align-items: end; }
.tia-scale-step { display: flex; flex-direction: column; align-items: center; gap: .3rem; text-align: center; margin: 0; }
.tia-scale-bar { display: block; width: 100%; height: calc(10px + var(--tia-h, 1) * 7px); border-radius: 6px 6px 2px 2px; background: #e3e7ef; }
.tia-scale-num { font-weight: 900; font-size: .95rem; color: var(--color-complementary, #192a56); }
.tia-scale-name { font-size: .78rem; line-height: 1.25; color: var(--color-text-light, #444); min-height: 2.5em; hyphens: auto; }
.tia-scale-step.is-current .tia-scale-bar { background: var(--color-primary, #FF4B1F); }
.tia-scale-step.is-current .tia-scale-num { color: var(--color-primary-dark, #d63c13); }
.tia-scale-step.is-current .tia-scale-name { font-weight: 700; color: var(--color-text, #222); }

/* Resultat */
.tia-result-title { margin: 0 0 .4rem; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--color-complementary, #192a56); }
.tia-result-ex { font-size: 1.1rem !important; margin-bottom: 1.25rem !important; }
.tia-indicators { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 0 0 1rem; }
.tia-ind { background: #f8f9fa; border-radius: 10px; padding: .85rem 1rem; }
.tia-ind dt { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-light, #444); margin-bottom: .35rem; }
.tia-ind dd { margin: 0; font-weight: 700; line-height: 1.35; }
.tia-dots { display: inline-flex; gap: 5px; vertical-align: middle; }
.tia-dot { width: 12px; height: 12px; border-radius: 50%; background: #dfe3ec; }
.tia-dot.is-on { background: var(--color-primary, #FF4B1F); }
.tia-pill { display: inline-block; padding: .15rem .65rem; border-radius: 999px; font-size: .9rem; font-weight: 700; }
.tia-pill-low { background: #e6f4ec; color: #1d6b3f; }
.tia-pill-mid { background: #fff1de; color: #8a4b00; }
.tia-pill-high { background: #fde8e3; color: #b3300d; }
.tia-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .75rem; margin-bottom: 1.5rem; }
.tia-fact { border: 1px solid #e3e7ef; border-radius: 10px; padding: 1rem 1.1rem; }
.tia-fact h3, .tia-lists h3 { margin: 0 0 .45rem; font-size: 1rem; color: var(--color-complementary, #192a56); }
.tia-fact p { margin: 0 0 .25rem !important; }
.tia-note { font-size: .85rem !important; color: var(--color-text-light, #444); }
.tia-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.75rem; }
.tia-list { margin: 0; padding: 0; list-style: none; }
.tia-list li { position: relative; padding-left: 1.2rem; margin-bottom: .55rem; line-height: 1.55; }
.tia-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--color-complementary, #192a56); }
.tia-list-watch li::before { background: var(--color-primary, #FF4B1F); }
.tia-convert { background: var(--color-complementary, #192a56); color: #fff; border-radius: 14px; padding: 1.5rem; margin-bottom: 1.25rem; }
.tia-convert p { color: #fff; margin-bottom: 1rem !important; }
.tia-convert-lead { font-size: 1.12rem !important; font-weight: 700; line-height: 1.5; }
.tia-convert-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.tia-convert-actions .button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; }
.tia-secondary { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.tia-link-btn { background: none; border: 0; padding: .35rem 0; font: inherit; font-weight: 700; color: var(--color-complementary, #192a56); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tia-link-btn:hover { color: var(--color-primary-dark, #d63c13); }
.tia-copy-status { min-height: 1.4em; margin: .35rem 0 0 !important; font-size: .92rem !important; color: #1d6b3f; }
.tia-copy-fallback label { display: block; font-size: .9rem; margin-bottom: .3rem; }
.tia-copy-fallback textarea { font-family: inherit; font-size: .9rem; }
.tia-disclaimer { margin-top: 1.25rem !important; font-size: .85rem !important; color: var(--color-text-light, #444); border-top: 1px solid #e3e7ef; padding-top: .9rem; }

/* Teaser accueil */
.tia-teaser .section-head { margin-bottom: 1.5rem; }
.tia-eyebrow { font-size: 1.05rem !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-primary-dark, #d63c13) !important; margin: 0 0 .25rem !important; }
.tia-teaser-box { max-width: 46rem; margin: 0 auto; }
.tia-teaser-q { margin: 0 0 .85rem; font-size: 1.15rem; color: var(--color-complementary, #192a56); }
.tia-scale-compact { margin: 1.75rem auto 0; max-width: 46rem; }
.tia-scale-compact .tia-scale-bar { height: calc(4px + var(--tia-h, 1) * 4px); }
.tia-scale-caption { text-align: center; font-size: .85rem !important; color: var(--color-text-light, #444); margin: .4rem 0 0 !important; }

/* Encart page Diagnostic */
.tia-encart-section { padding-top: 0; padding-bottom: 2rem; }
.tia-encart { max-width: 52rem; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap; padding: 1.1rem 1.4rem; border: 2px dashed #f3b4a3; border-radius: 12px; background: #fff8f5; }
.tia-encart p { margin: 0 !important; font-size: 1.02rem; line-height: 1.55; flex: 1 1 22rem; }

@media (max-width: 767px) {
  .tia-options-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tia-lists { grid-template-columns: 1fr; }
  .tia-indicators { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .tia-options { grid-template-columns: 1fr; }
  .tia-option { min-height: 68px; }
  .tia-scale { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: .75rem; }
  .tia-scale-bar { height: 8px; }
  .tia-scale-compact .tia-scale-bar { height: 6px; }
  .tia-convert { padding: 1.25rem 1rem; }
  .tia-convert-actions .button, .tia-start { width: 100%; }
  .tia-encart .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .tia-app, .tia-option, .tia-progress span { transition: none; }
  .tia-option:hover { transform: none; }
}

/* Teaser accueil : fond legerement teinte pour le distinguer des sections voisines */
.tia-teaser { background: #fff8f5; }

/* =========================
   Accueil — accès compacts aux offres (remplace le bandeau récapitulatif)
   ========================= */
.home-offers-title {
  margin: 0 0 1.25rem;
  text-align: center;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.home-offer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 60rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.home-offer-links li { margin: 0 !important; } /* annule li { margin-bottom } mobile de responsive-overrides.css */

.home-offer-links a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 14px 40px 14px 16px;
  position: relative;
  color: #222;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--flux-card-border, #EADFD9);
  border-radius: 10px;
  box-shadow: var(--flux-card-shadow, 0 4px 16px rgba(74, 35, 20, 0.05));
  transition: border-color 160ms ease;
}

.home-offer-links a::after {
  content: "\2192";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--flux-orange-deep, #B93614);
  font-weight: 700;
}

.home-offer-links a:hover { border-color: var(--flux-orange-deep, #B93614); }

.home-offer-links strong {
  font-size: 1rem;
  line-height: 1.35;
  color: var(--flux-orange-deep, #B93614);
}

.home-offer-links span {
  font-size: 0.92rem;
  line-height: 1.45;
  color: #555;
}

@media (max-width: 767px) {
  .home-offers-title { text-align: left; }
  .home-offer-links { grid-template-columns: minmax(0, 1fr); }
}
