/* ========================================
   ACCES IA — Landing page
   Palette "Terre cuite"
   Mobile-first responsive
   ======================================== */

:root {
  /* Couleurs */
  --terracotta:      #B55B47;   /* terracotta brique, cale au plus pres du bandeau LinkedIn */
  --terracotta-dark: #8C4232;
  --terracotta-light: #E8B090;
  --ivory:           #F2E6D0;
  --ivory-soft:      #F7EEDC;
  --orange:          #E8461F;  /* officiel marque ACCES IA — strict identique site + plateforme (validé 2026-04-30) */
  --orange-dark:     #C03A18;  /* dérivé pour ombre / hover, conserve la teinte rouge-orange profond */
  --ink:             #1A1612;
  --sepia:           #7A4936;
  --grey-soft:       #E8DDCD;

  /* Typographie */
  --font-serif:       'Playfair Display', 'Gloock', Didot, Georgia, serif;
  --font-italic:      'Crimson Pro', Georgia, serif;
  --font-sans:        'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Espacement */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;
}

/* Reset léger */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--orange); }
a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-radius: 2px;
}

p { margin: 0 0 1em 0; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.5em 0;
  letter-spacing: -0.01em;
}

em { font-family: var(--font-italic); font-style: italic; font-weight: 400; }

strong { font-weight: 600; color: var(--terracotta-dark); }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   HEADER
   ======================================== */

.site-header {
  background: var(--ivory);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.logo img { width: 72px; height: 72px; }

.logo-text {
  font-family: var(--font-serif);
  font-size: 26px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .logo img { width: 56px; height: 56px; }
  .logo-text { font-size: 22px; }
}

.site-nav {
  display: none;
  gap: 10px;
  flex-wrap: nowrap;
  align-items: center;
}

.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: var(--ivory-soft);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--terracotta);
  color: var(--ivory);
}

@media (min-width: 1100px) {
  .site-nav { display: flex; }
}

/* ========================================
   SECTIONS GÉNÉRIQUES
   ======================================== */

section { padding: 72px 0; }

@media (min-width: 768px) {
  section { padding: 112px 0; }
}

.eyebrow,
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  color: var(--orange);
}

.section-title {
  font-size: clamp(30px, 4.5vw, 44px);
  margin-bottom: 40px;
}

/* ========================================
   HERO
   ======================================== */

.hero {
  background-color: var(--terracotta);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}

/* Axonométrie architecturale : bâtiment étagé en 3 volumes, lignes ivoire qui se tracent à l'arrivée. */
.hero-axo {
  position: absolute;
  left: -9%;
  top: 0;
  height: 100%;
  width: auto;
  aspect-ratio: 700 / 900;
  max-width: 58%;
  color: var(--ivory);
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
}

.hero-axo .ln {
  stroke: currentColor;
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawLine 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-axo .ln-gnd {
  stroke-width: 0.9;
  opacity: 0.5;
}

.hero-axo .v3-fill {
  opacity: 0;
  animation: v3FillIn 0.7s ease-out forwards;
  animation-delay: 1.5s;
}

.hero-axo .v3-fill-orange { fill: var(--orange); }
.hero-axo .v3-fill-dark   { fill: #14090A; }

@keyframes v3FillIn {
  to { opacity: 0.92; }
}

.hero-axo .compass,
.hero-axo .label {
  opacity: 0;
  animation: fadeInDeco 0.6s ease-out forwards;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

@keyframes fadeInDeco {
  to { opacity: 0.7; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-axo .ln,
  .hero-axo .compass,
  .hero-axo .label {
    animation: none;
    stroke-dashoffset: 0;
    opacity: 0.7;
  }
}

@media (max-width: 768px) {
  .hero-axo { display: none; }
}

.hero .container { position: relative; z-index: 2; }

.hero .container { position: relative; z-index: 2; }

.hero .eyebrow {
  color: var(--ivory);
  opacity: 0.75;
}

.hero-title {
  font-size: clamp(40px, 7vw, 76px);
  margin-bottom: 20px;
  color: var(--ivory);
}

.hero-baseline {
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--ivory);
  opacity: 0.9;
  max-width: 640px;
  margin-bottom: 36px;
}

/* Highlight chiffre dans le titre hero */
.hero-highlight {
  color: var(--orange);
  font-style: italic;
  white-space: nowrap;
}

/* Sous-titre hero : phrase d'appui sous le H1 */
.hero-lead {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  max-width: 640px;
  color: var(--ivory);
  opacity: 0.88;
  margin: 0 auto 28px;
  text-align: center;
}

/* Actions hero : CTA principal centré */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  row-gap: 12px;
}

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  padding: 14px 0;
  border: none;
  border-radius: 0;
  font-weight: 400;
  font-size: 14px;
  opacity: 0.75;
  border-bottom: 1px solid transparent;
  transition: opacity .2s ease, border-color .2s ease;
  box-shadow: none;
}

.btn-ghost:hover {
  opacity: 1;
  border-bottom-color: var(--ivory);
  background: transparent;
  color: var(--ivory);
  transform: none;
}

.targets {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.targets li {
  background: var(--ivory);
  color: var(--ink);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Bandeau défilant des métiers couverts */
.targets-marquee {
  position: relative;
  margin: 0 0 40px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.targets-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  animation: targets-scroll 50s linear infinite;
}

.targets-marquee:hover .targets-track {
  animation-play-state: paused;
}

.targets-chip {
  background: var(--ivory);
  color: var(--ink);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.targets-sep {
  color: var(--ivory);
  opacity: 0.45;
  font-size: 10px;
  flex-shrink: 0;
}

@keyframes targets-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .targets-track { animation: none; }
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 2px 0 var(--orange-dark);
}

.btn-primary:hover {
  background: var(--ink);
  color: var(--orange);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-secondary {
  background: transparent;
  color: var(--ivory);
  border-color: var(--ivory);
}

.btn-secondary:hover {
  background: var(--ivory);
  color: var(--ink);
  transform: translateY(-1px);
}

/* ========================================
   OFFRE HERO BTP (offre phare détaillée)
   ======================================== */

.offre-hero-section {
  background: var(--ivory);
  color: var(--ink);
}

.offre-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 24px;
}

@media (min-width: 1024px) {
  .offre-hero {
    grid-template-columns: 1.5fr 1fr;
    gap: 56px;
  }
}

.offre-hero-content p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
}

.offre-hero-lead {
  font-size: 19px !important;
  color: var(--terracotta-dark) !important;
}

.offre-hero-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0 0;
}

.offre-hero-list li {
  padding: 12px 0 12px 36px;
  border-top: 1px solid var(--grey-soft);
  position: relative;
  font-size: 16px;
  line-height: 1.6;
}

.offre-hero-list li:first-child { border-top: none; padding-top: 0; }
.offre-hero-list li:first-child::before { top: 4px; }

.offre-hero-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 12px;
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--orange);
  line-height: 1;
  font-weight: 600;
}

/* Liens cliquables dans la liste hero BTP */
.hero-list-link {
  color: var(--ink);
  text-decoration: none;
  display: block;
  transition: color .2s ease;
  position: relative;
}

.hero-list-link:hover {
  color: var(--terracotta-dark);
}

.hero-list-link strong {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  transition: text-decoration-color .2s ease;
}

.hero-list-link:hover strong {
  text-decoration-color: var(--terracotta-dark);
}

.hero-list-link::after {
  content: '›';
  margin-left: 8px;
  color: var(--orange);
  font-weight: 600;
  opacity: 0;
  transition: opacity .2s ease, margin-left .2s ease;
}

.hero-list-link:hover::after {
  opacity: 1;
  margin-left: 12px;
}

.offre-hero-aside {
  background: var(--ink);
  color: var(--ivory);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: start;
  position: sticky;
  top: 100px;
}

@media (max-width: 1023px) {
  .offre-hero-aside { position: static; }
}

.aside-title {
  font-size: 20px;
  color: var(--orange);
  margin: 0 0 4px 0;
}

.aside-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aside-list li {
  padding: 10px 0;
  border-bottom: 1px dashed rgba(242, 230, 208, 0.15);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ivory);
  opacity: 0.92;
}

.aside-list li:last-child { border-bottom: none; }

.aside-cta {
  display: block;
  margin-top: 12px;
  padding: 12px 16px;
  background: var(--orange);
  color: var(--ink);
  text-align: center;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  transition: background .2s ease, transform .15s ease;
}

.aside-cta:hover {
  background: var(--ivory);
  color: var(--ink);
  transform: translateY(-1px);
}

/* ========================================
   OFFRES SECONDAIRES (formations collectivités / PME)
   ======================================== */

.offres {
  background: var(--ivory);
  color: var(--ink);
}

.offres-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .offres-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .offres-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .offres-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
  }
}

.section-intro {
  font-size: 17px;
  line-height: 1.6;
  max-width: 720px;
  margin: -16px 0 32px 0;
  color: var(--sepia);
  font-family: var(--font-italic);
  font-style: italic;
}

.offre {
  background: var(--ivory-soft);
  border: 1px solid var(--grey-soft);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.offre:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 22, 18, 0.08);
  border-color: var(--terracotta);
}

.offre-feature {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}

.offre-feature:hover {
  border-color: var(--orange);
  box-shadow: 0 12px 32px rgba(254, 116, 31, 0.25);
}

.offre-feature strong {
  color: var(--orange);
}

.offre-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  padding: 4px 10px;
  border: 1px solid var(--orange);
  border-radius: var(--radius-pill);
  align-self: flex-start;
}

.offre h3 {
  font-size: 26px;
  line-height: 1.2;
  margin: 0;
}

.offre p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.offre-ref {
  font-family: var(--font-italic);
  font-size: 13px;
  color: var(--sepia);
  margin-top: auto;
  padding-top: 8px;
}

.offre-feature .offre-ref { color: rgba(242, 230, 208, 0.6); }

/* ========================================
   CATALOGUE (outils BTP + formations)
   ======================================== */

.catalogue-section {
  background: var(--ivory);
  color: var(--ink);
}

.catalogue-section-alt {
  background: var(--ivory-soft);
}

.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 32px;
}

.catalogue-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.card-outil {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--grey-soft);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}

.card-outil:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 22, 18, 0.10);
  border-color: var(--terracotta);
  color: var(--ink);
}

.card-outil::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .25s ease;
}

.card-outil:hover::after {
  transform: scaleY(1);
}

.card-featured {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}

.card-featured:hover {
  color: var(--ivory);
  border-color: var(--orange);
  box-shadow: 0 16px 40px rgba(254, 116, 31, 0.22);
}

.card-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  padding: 4px 10px;
  border: 1px solid var(--orange);
  border-radius: var(--radius-pill);
}

.card-featured .card-tag {
  border-color: var(--orange);
  color: var(--orange);
}

.card-outil h3 {
  font-size: 22px;
  line-height: 1.2;
  margin: 4px 0 0 0;
  color: inherit;
}

.card-tagline {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 15px;
  color: var(--sepia);
  margin: 0;
  line-height: 1.5;
}

.card-featured .card-tagline {
  color: rgba(242, 230, 208, 0.75);
}

.card-benefits {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-benefits li {
  font-size: 14px;
  line-height: 1.5;
  padding-left: 22px;
  position: relative;
  color: var(--ink);
}

.card-featured .card-benefits li {
  color: var(--ivory);
}

.card-benefits li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--font-serif);
  color: var(--orange);
  font-weight: 600;
  font-size: 16px;
}

.card-cta {
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  color: var(--terracotta-dark);
  display: inline-block;
  transition: transform .2s ease, color .2s ease;
}

.card-featured .card-cta {
  color: var(--orange);
}

.card-outil:hover .card-cta {
  transform: translateX(4px);
}

.catalogue-note {
  margin-top: 40px;
  text-align: center;
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 15px;
  color: var(--sepia);
}

.catalogue-note a {
  color: var(--terracotta-dark);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 3px;
}

/* ========================================
   PAGE OUTIL / FORMATION — styles dédiés
   ======================================== */

.page-hero {
  background-color: var(--terracotta);
  background-image: url('blueprint-bg.svg');
  background-size: cover;
  background-position: center;
  color: var(--ivory);
  padding: 72px 0 56px;
}

.page-hero .breadcrumb {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(242, 230, 208, 0.7);
  margin: 0 0 12px 0;
  text-transform: uppercase;
}

.page-hero .breadcrumb a {
  color: var(--ivory);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}

.page-hero .breadcrumb a:hover {
  border-bottom-color: var(--orange);
}

.page-hero h1 {
  color: var(--ivory);
  font-size: clamp(34px, 5vw, 52px);
  margin-bottom: 12px;
  line-height: 1.15;
}

.page-hero .tagline {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--ivory);
  opacity: 0.88;
  max-width: 720px;
  margin: 0 0 24px 0;
}

.page-hero .hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-hero .hero-chips li {
  background: var(--ivory);
  color: var(--ink);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
}

.page-section {
  padding: 72px 0;
}

.page-section.alt-bg {
  background: var(--ivory-soft);
}

.page-section h2 {
  font-size: clamp(26px, 3.5vw, 34px);
  color: var(--terracotta-dark);
  margin-bottom: 24px;
}

.page-section h3 {
  font-size: 20px;
  color: var(--ink);
  margin-top: 28px;
  margin-bottom: 10px;
}

.page-section p,
.page-section li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
}

.page-section ul {
  padding-left: 22px;
  margin: 10px 0;
}

.page-section ul li {
  margin-bottom: 8px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.feature-grid .feature {
  background: #fff;
  border: 1px solid var(--grey-soft);
  border-radius: var(--radius-md);
  padding: 20px;
}

.feature-grid .feature-number {
  font-family: var(--font-serif);
  font-size: 36px;
  color: var(--orange);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.feature-grid .feature h4 {
  font-size: 16px;
  margin: 0 0 8px 0;
  color: var(--terracotta-dark);
}

.feature-grid .feature p {
  margin: 0;
  font-size: 14px;
  color: var(--sepia);
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.metrics-row .metric {
  text-align: center;
  padding: 20px;
  background: var(--ivory);
  border: 1px solid var(--grey-soft);
  border-radius: var(--radius-md);
}

.metrics-row .metric-value {
  display: block;
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--orange);
  font-weight: 500;
  margin-bottom: 4px;
}

.metrics-row .metric-label {
  font-size: 13px;
  color: var(--sepia);
  letter-spacing: 0.04em;
}

.page-cta {
  background: var(--ink);
  color: var(--ivory);
  padding: 56px 0;
  text-align: center;
}

.page-cta h2 {
  color: var(--ivory);
  margin-bottom: 16px;
}

.page-cta p {
  color: rgba(242, 230, 208, 0.85);
  max-width: 600px;
  margin: 0 auto 28px;
  font-size: 17px;
}

.page-cta .btn-primary {
  background: var(--orange);
  color: var(--ink);
}

.page-cta .btn-primary:hover {
  background: var(--ivory);
  color: var(--ink);
}

.related-offers {
  background: var(--ivory);
  padding: 56px 0;
}

.related-offers h2 {
  font-size: 22px;
  color: var(--terracotta-dark);
  margin-bottom: 20px;
}

.related-offers .catalogue-grid {
  margin-top: 0;
}

/* ========================================
   FINANCEMENTS ET AIDES (section discrète)
   ======================================== */

.aides-section {
  background: var(--ivory-soft);
  color: var(--ink);
  border-top: 1px solid var(--grey-soft);
  border-bottom: 1px solid var(--grey-soft);
}

.aides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.aide-item {
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--grey-soft);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius-md);
}

.aide-tag {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
  margin: 0 0 6px 0;
}

.aide-item h3 {
  font-size: 17px;
  color: var(--ink);
  margin: 0 0 8px 0;
}

.aide-item p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--sepia);
  margin: 0;
}

.aide-item strong {
  color: var(--terracotta-dark);
}

.aides-disclaimer {
  margin-top: 36px;
  max-width: 780px;
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 14px;
  color: var(--sepia);
  line-height: 1.65;
}

/* ========================================
   ABOUT
   ======================================== */

.about {
  background-color: var(--terracotta);
  background-image: url('blueprint-bg.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Effet miroir : blueprint orienté à droite pour cette section */
  transform: scaleX(1);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}

.about .container { position: relative; z-index: 2; }

.about .eyebrow,
.about .section-eyebrow { color: var(--ivory); opacity: 0.8; }

.about .section-title { color: var(--ivory); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 1024px) {
  .about-inner {
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
  }
}

.about-text p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ivory);
  opacity: 0.95;
}

.about-lead {
  font-size: 20px !important;
  font-family: var(--font-italic);
  font-style: italic;
  opacity: 1 !important;
  margin-bottom: 28px !important;
  border-left: 3px solid var(--orange);
  padding-left: 18px;
}

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

.credentials {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 480px) {
  .credentials {
    grid-template-columns: repeat(2, 1fr);
  }
}

.credentials li {
  background: rgba(242, 230, 208, 0.08);
  border: 1px solid rgba(242, 230, 208, 0.2);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.credentials li span {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--ivory);
}

.credentials li small {
  font-size: 12px;
  color: var(--ivory);
  opacity: 0.7;
  letter-spacing: 0.02em;
}

.credential-pending {
  opacity: 0.5;
  border-style: dashed;
}

/* ========================================
   CONTACT
   ======================================== */

.contact {
  background: var(--ivory);
  color: var(--ink);
  text-align: center;
}

.contact-intro {
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: 17px;
  line-height: 1.7;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 36px;
}

.contact .btn-secondary {
  color: var(--ink);
  border-color: var(--ink);
}

.contact .btn-secondary:hover {
  background: var(--ink);
  color: var(--ivory);
}

.contact-base {
  font-family: var(--font-italic);
  font-size: 14px;
  color: var(--sepia);
  max-width: 560px;
  margin: 0 auto;
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
  background: var(--ink);
  color: var(--ivory);
  padding: 64px 0 20px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
  }
}

.footer-brand {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-brand img {
  /* Pas de filtre : le logo a un fond clair naturel qui contraste avec le footer noir */
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 24px;
  margin: 0 0 4px 0;
  color: var(--ivory);
}

.footer-subtitle {
  font-size: 13px;
  opacity: 0.7;
  margin: 0;
  font-family: var(--font-italic);
}

.footer-links p,
.footer-coords p {
  margin: 0 0 8px 0;
  font-size: 14px;
  opacity: 0.85;
}

.footer-links a,
.footer-coords a {
  color: var(--ivory);
}

.footer-links a:hover,
.footer-coords a:hover { color: var(--orange); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(242, 230, 208, 0.15);
}

.footer-bottom p {
  font-size: 12px;
  opacity: 0.6;
  margin: 0;
  text-align: center;
}

/* ========================================
   PAGE MENTIONS LÉGALES
   ======================================== */

.legal {
  background: var(--ivory);
  color: var(--ink);
  padding: 80px 0;
}

.legal .container {
  max-width: 760px;
}

.legal h1 {
  font-size: clamp(32px, 4vw, 42px);
  margin-bottom: 12px;
}

.legal h2 {
  font-size: 20px;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--terracotta-dark);
}

.legal p, .legal ul {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}

.legal ul { padding-left: 22px; }

.legal .placeholder {
  background: rgba(254, 116, 31, 0.12);
  border-left: 3px solid var(--orange);
  padding: 4px 10px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.9em;
}

.legal .back-home {
  display: inline-block;
  margin-top: 48px;
  font-size: 14px;
  color: var(--terracotta-dark);
  text-decoration: underline;
}

/* ========================================
   METHODE — COMMENT JE TRAVAILLE
   ======================================== */

.methode-section {
  padding: 80px 0;
  background: var(--ivory-soft);
  color: var(--ink);
}

.methode-steps {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  counter-reset: methode;
}

.methode-steps > li {
  position: relative;
  padding: 32px 28px 28px;
  background: #fff;
  border: 1px solid var(--grey-soft);
  border-radius: var(--radius-lg);
}

.methode-steps .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 16px;
}

.methode-steps h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 12px;
  color: var(--ink);
}

.methode-steps p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
}

@media (max-width: 768px) {
  .methode-section {
    padding: 56px 0;
  }
  .methode-steps {
    margin-top: 32px;
  }
}

/* ========================================
   UTILITIES & ACCESSIBILITE
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

::selection {
  background: var(--orange);
  color: var(--ink);
}

/* Video block (page produit Plateforme Multi-Agents) */
.video-wrap {
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  background: #000;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.video-wrap video {
  width: 100%;
  height: auto;
  display: block;
}

.video-caption {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted, #666);
}


/* ========================================
   MOBILE NAV — burger + drawer
   Ajoute le 28/05/2026 (10 items dans la nav)
   ======================================== */

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--ivory-soft, transparent);
  border: 1px solid var(--ink, #1a1a1a);
  border-radius: var(--radius-pill, 999px);
  cursor: pointer;
  z-index: 60;
  flex-shrink: 0;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink, #1a1a1a);
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Desktop : pas de burger, nav inline */
@media (min-width: 1100px) {
  .nav-toggle { display: none; }
}

/* Mobile + tablette : nav qui se deploie en colonne SOUS le header.
   Pattern hamburger classique, robuste sur tous mobiles.
   Pas de position:fixed, pas de transform, pas d'overlay. */
@media (max-width: 1099px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    flex-basis: 100%;
    order: 3;
    gap: 6px;
    padding: 8px 0 16px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    font-size: 16px;
    background: var(--ivory-soft, #F7EEDC);
    border-radius: 8px;
  }

  .site-nav a:hover,
  .site-nav a:focus {
    background: var(--terracotta, #B55B47);
    color: var(--ivory, #F2E6D0);
  }
}

/* Utility — espacement supplementaire sous une section-intro */
.section-intro--spaced { margin-top: 32px; }

