/* MC3D Line, améliorations du site original, septembre 2026.
   Palette, police, contenus et gabarits d’origine conservés.
   Ce fichier contient seulement les ajustements de présentation. */

:root {
  --maxw: 1200px;
  --nav-h: 80px;
  --separation: rgba(34, 22, 43, .14);
  --shadow-1: 0 8px 24px rgba(34, 22, 43, .08);
}

body { background: var(--bg); }
main, footer { animation: none; }

/* L’offre apparaît immédiatement, sans écran d’attente ni décor flottant. */
.splash, .ambient, .diamond, .printjob, .decor-sketch, .decor-hex,
.logo-drop, .logo-ripple, .logo-halo, .wave { display: none !important; }
.reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
.band-bg { transform: none !important; }
.brand:hover .logo-img { transform: none; }
.btn.primary::after { display: none; }
.progress { height: 2px; background: var(--violet); }

/* Navigation d’origine, mêmes destinations et même ordre. */
.topbar {
  background: var(--bg);
  backdrop-filter: none;
  border-bottom: 1px solid var(--separation);
  padding-inline: max(24px, calc((100vw - 1280px) / 2));
}
.nav-links { gap: 24px; }
.nav-links a { font-weight: 600; letter-spacing: 0; }
.nav-links > li > a { display: flex; align-items: center; min-height: 48px; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--violet); }
.drop { border: 1px solid var(--separation); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.drop a { min-height: 44px; display: flex; align-items: center; }
.topbar .cta-top {
  background: linear-gradient(100deg, var(--magenta), var(--violet-soft));
  color: #fff;
  border: 1px solid transparent;
  box-shadow: none;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-weight: 600;
}
.topbar .cta-top:hover { filter: brightness(.96); color: #fff; }
.topbar .tel-top { font-size: .875rem; }
.burger { min-width: 48px; min-height: 48px; align-items: center; justify-content: center; }
.mobile-menu { justify-content: flex-start; padding-top: calc(var(--nav-h) + 24px); padding-bottom: 40px; background: var(--bg); }
.mobile-menu .mm-h { color: var(--violet); margin-top: 24px; }
.mobile-menu a, .mobile-menu a.sub { min-height: 44px; font-size: 1rem; }

/* Hiérarchie plus régulière, lecture moins fatigante. */
.section { min-height: auto; padding: 96px 32px; }
main > .section:first-child { padding-top: calc(var(--nav-h) + 64px); }
.section.tight { padding-top: 64px; padding-bottom: 64px; }
.section > .inner { min-width: 0; }
.section + .section { border-top: 1px solid var(--separation); }
section[id], h2[id], h3[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }
h1 { font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 1.1; letter-spacing: -.02em; font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3.3vw, 3rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 600; }
h3 { font-size: 1.4rem; line-height: 1.35; font-weight: 600; }
.lead { font-size: 1.15rem; line-height: 1.65; max-width: 65ch; color: var(--ink-soft); }
.eyebrow { margin-bottom: 24px; font-size: .75rem; letter-spacing: .12em; color: var(--violet); font-weight: 600; }
.eyebrow::before, .eyebrow::after { color: var(--violet); }
.grid { gap: 24px; }
.grid > *, .split > * { min-width: 0; }
.card { padding: 32px; border: 1px solid var(--separation); box-shadow: none; background: var(--card); border-radius: var(--radius); }
.card:hover { box-shadow: none; border-color: var(--violet); transform: none; }
.card p, .article p, .article li { line-height: 1.7; }
.card .more, .more { color: var(--violet); font-size: .875rem; text-underline-offset: 4px; }
.more:hover { color: var(--violet); text-decoration: underline; }
.part-card, .art-card { padding: 0; overflow: hidden; }
.part-card .part-body, .art-card .a-body { padding: 24px; }
.part-img { aspect-ratio: 1.3; }
.part-img img { object-fit: cover; }
.band { border-radius: var(--radius); }
.btn { border-radius: var(--radius); min-height: 48px; padding: 16px 24px; font-size: .875rem; font-weight: 600; }
.btn.ghost { color: var(--violet); border-color: var(--violet); background: transparent; }
.btn-row { gap: 16px; margin-top: 32px; }
.tagline { gap: 24px; margin-top: 24px; }
.tagline b { color: var(--violet); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 4px; }

/* Accueil : la promesse d’origine, accompagnée d’une réalisation tangible. */
.home-layout { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 64px; }
.home-copy h1 { max-width: 22ch; }
.home-copy .lead { font-size: 1rem; margin-top: 24px; }
.home-copy .eyebrow { letter-spacing: .08em; }
.home-copy .btn-row { align-items: center; }
.home-copy .btn.ghost { padding-inline: 0; border: 0; text-decoration: underline; text-underline-offset: 6px; }
.hero-evidence { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--violet); }
.hero-evidence a { display: block; color: #fff; text-decoration: none; }
.hero-evidence img { display: block; width: 100%; height: 360px; object-fit: cover; }
.hero-evidence figcaption { padding: 24px; display: grid; gap: 8px; }
.hero-evidence figcaption > span:first-child { font-size: .75rem; letter-spacing: .08em; font-weight: 600; }
.hero-evidence strong { font-size: 2.2rem; font-weight: 600; letter-spacing: -.02em; color: var(--gold); }
.hero-evidence figcaption > span:last-child { font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; }
.hero-evidence a:hover figcaption > span:last-child { text-decoration-thickness: 2px; }
#accueil .proof { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--separation); gap: 16px 24px; }
.proof > a, .proof > span { background: transparent; border: 0; border-radius: 0; padding: 4px 0; letter-spacing: 0; font-size: .75rem; line-height: 1.6; }
.proof a { min-height: 32px; }
.proof a:hover { text-decoration: underline; text-underline-offset: 4px; }
.proof a:hover b { color: var(--violet); }
.proof .stars { color: #E8A33D; background: transparent; padding: 0; border: 0; }
#accueil { padding-bottom: 48px; }
#parcours { background: var(--bg-soft); }
.flow { gap: 24px; }
.flow .f { background: transparent; box-shadow: none; border-radius: var(--radius); }
.flow .f > i { color: var(--violet); }
.stats { margin-top: 40px; border-top: 1px solid var(--separation); padding-top: 32px; }
.stats b { color: var(--violet); }
.stats span { font-size: .875rem; }
.next-tease { margin-top: 40px; color: var(--violet); font-size: .875rem; }
.next-tease .arrow { animation: none; }
.testimonials { margin-top: 40px; }
.testimonials blockquote { box-shadow: none; }

/* Choix techniques : état sélectionné explicite, aucun magenta décoratif. */
.selector { border-radius: var(--radius); box-shadow: none; border: 1px solid var(--separation); padding: 32px; background: var(--bg-soft); }
.opts { gap: 12px; }
.opts button { min-height: 48px; border-radius: var(--radius); padding: 12px 16px; font-size: .875rem; }
.opts button.sel { background: var(--violet); color: #fff; border-color: var(--violet); }
.verdict { border-radius: var(--radius); }
.field label { font-size: .875rem; color: var(--ink); letter-spacing: 0; text-transform: none; font-weight: 600; }
.field label .req { color: var(--violet); }
.field input, .field select, .field textarea { border-color: var(--ink-mute); min-height: 48px; min-width: 0; }
.field-consent, .form-note { font-size: .875rem; line-height: 1.6; }
.field-consent input { min-width: 20px; min-height: 20px; }
.faq { border-radius: var(--radius); box-shadow: none; margin-bottom: 12px; }
.faq summary { padding: 24px; min-height: 48px; font-size: 1rem; }
.faq summary::before, .faq summary::after { color: var(--violet); }
.faq p { font-size: 1rem; line-height: 1.65; }
#contact-cta { background: var(--bg-soft); border-top: 4px solid var(--gold); }
.article { max-width: 840px; }
.article p, .article li { font-size: 1rem; }
.article a:not(.btn):not(.card) { text-underline-offset: 4px; }
.article h2 { margin-top: 48px; }
.article table { font-size: .875rem; }
.article img { height: auto; }
.article .a-hero img { width: 100%; }
.spy { background: var(--bg); box-shadow: var(--shadow-1); border: 1px solid var(--separation); }
.spy a { min-height: 44px; display: flex; align-items: center; }
.spy a.active { background: linear-gradient(100deg, var(--violet), var(--magenta)); color: #fff; }
footer { padding-top: 64px; padding-bottom: 96px; }
.foot-inner p, .foot-inner a, .foot-legal { color: #fff; }
.foot-inner a { min-height: 36px; }
.foot-inner .f-h { font-size: .875rem; line-height: 1.4; }
.to-top { background: var(--violet); color: #fff; min-width: 48px; min-height: 48px; }

@media (min-width: 1001px) and (max-width: 1200px) {
  .nav-links { gap: 16px; }
  .topbar .tel-top { display: none; }
  .home-layout { gap: 32px; }
}
@media (max-width: 1000px) {
  .topbar .nav-links { display: none; }
  .topbar .burger { display: flex; }
  .topbar .tel-top { display: none; }
  .topbar .cta-top { display: block; margin-left: auto; margin-right: 16px; }
  .home-layout { gap: 32px; }
  .hero-evidence img { height: 320px; }
  .home-copy h1 { font-size: 2.2rem; }
}
@media (max-width: 760px) {
  .home-layout { grid-template-columns: 1fr; gap: 40px; }
  .home-copy h1 { font-size: clamp(2.2rem, 7vw, 3rem); max-width: 24ch; }
  .home-copy .lead { max-width: 60ch; }
  .hero-evidence img { height: 340px; }
  .hero-evidence figcaption { grid-template-columns: 1fr auto; }
  .hero-evidence figcaption > span:last-child { grid-column: 1 / -1; }
  .hero-evidence strong { grid-column: 2; grid-row: 1 / 3; }
  .section, .section.tight { padding: 64px 24px; }
  main > .section:first-child { padding-top: calc(var(--nav-h) + 40px); }
  .lead { font-size: 1rem; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { gap: 24px; }
  .card { padding: 24px; }
  .part-card, .art-card { padding: 0; }
  .selector { padding: 24px; }
  .spy { display: none; }
  .article table { display: block; overflow-x: auto; }
  .foot-inner.f4 { gap: 32px; }
}
@media (max-width: 480px) {
  .topbar { padding-inline: 16px; }
  .topbar .cta-top { padding: 12px; font-size: .75rem; margin-right: 8px; }
  .section, .section.tight { padding-inline: 20px; }
  .hero-evidence img { height: 280px; }
  .hero-evidence figcaption { display: flex; flex-direction: column; gap: 8px; }
  .hero-evidence strong { font-size: 1.75rem; }
  .home-copy .btn-row { align-items: flex-start; }
  #accueil .proof { gap: 12px 24px; }
  .flow { gap: 16px; }
  .flow .f { padding: 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .selector { padding: 20px; }
  .btn-row .btn { max-width: 100%; white-space: normal; }
  .field input, .field select, .field textarea { max-width: 100%; }
  .faq summary { padding: 16px; }
  .article h1 { overflow-wrap: break-word; }
  .article { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .btn.primary:hover { transform: none; }
}

/* Offres de conseil, formation, audit et stock virtuel ajoutées dans l’archive 110 pages. */
.grad { background: none; color: var(--violet); -webkit-text-fill-color: currentColor; }
.menu-360::before, .menu-360::after { display: none; }
.menu-360 { background: none; animation: none; }
.page-offre .offer-hero { padding-bottom: 48px; }
.offer-hero > .inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px 64px; align-items: center; }
.offer-intro h1 { max-width: 23ch; font-size: clamp(2.2rem, 4.1vw, 3.75rem); }
.offer-intro .lead { font-size: 1rem; max-width: 54ch; }
.offer-intro .eyebrow { color: var(--violet); }
.offer-visual { margin: 0; border-radius: var(--radius); background: var(--violet); overflow: hidden; }
.offer-visual img { display: block; width: 100%; height: 352px; object-fit: cover; }
.offer-visual figcaption { padding: 24px; color: #fff; display: flex; flex-direction: column; gap: 12px; }
.offer-visual figcaption span { font-size: .75rem; font-weight: 600; letter-spacing: .08em; }
.offer-visual figcaption strong { font-size: 1.4rem; font-weight: 600; line-height: 1.3; }
.offer-facts { grid-column: 1 / -1; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 24px 0 0; margin: 0; border-top: 1px solid var(--separation); }
.offer-facts li { font-size: .875rem; font-weight: 600; color: var(--ink-soft); padding-left: 16px; border-left: 3px solid var(--gold); }
.page-offre #modules .grid { gap: 0 40px; margin-top: 40px; }
.page-offre #modules .card { padding: 32px 0; border: 0; border-top: 1px solid var(--separation); border-radius: 0; background: transparent; }
.page-offre #modules .card h3 { margin-bottom: 16px; }
.page-offre #modules .card p { color: var(--ink-soft); }
.page-offre .pull { font-size: 1.15rem; background: var(--bg-soft); border-left: 3px solid var(--gold); padding: 24px 32px; border-radius: var(--radius); }
.page-offre .offer-faq { max-width: 900px; }
.offer-faq .faq { border: 0; border-bottom: 1px solid var(--separation); border-radius: 0; background: transparent; margin: 0; }
.offer-faq summary { padding: 24px 40px 24px 0; }
.offer-faq .faq p { padding: 0 24px 24px 0; max-width: 75ch; color: var(--ink-soft); }
.page-offre #nos-offres { background: var(--bg-soft); }
.page-offre #nos-offres .card { background: transparent; box-shadow: none; }
.page-offre #nos-offres .card:hover { border-color: var(--violet); }
.page-offre #nos-offres h3 a { display: inline-block; min-height: 48px; }
.page-offre #nos-offres h3 a:hover { text-decoration: underline !important; text-underline-offset: 6px; }
.advice-inline { margin-top: 40px; padding: 32px; display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 32px; border: 1px solid var(--separation); border-left: 4px solid var(--gold); border-radius: var(--radius); }
.advice-inline img { width: 120px; height: 120px; object-fit: cover; object-position: center 25%; border-radius: var(--radius); }
.advice-inline h3 { margin-bottom: 8px; }
.advice-inline p { color: var(--ink-soft); max-width: 65ch; }
.advice-inline a { color: var(--violet); display: inline-flex; align-items: center; margin: 16px 24px 0 0; min-height: 44px; font-size: .875rem; font-weight: 600; text-underline-offset: 4px; }
#conseil-formation .card { display: flex; flex-direction: column; }
#conseil-formation .card p { flex: 1; }
#conseil-formation .btn.ghost { border: 0; padding-left: 0; text-decoration: underline; text-underline-offset: 6px; }
@media (min-width: 1001px) {
  .has-sub:first-child .drop { width: 560px; }
  .has-sub:first-child:is(:hover, :focus-within) .drop { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
}
@media (max-width: 1000px) {
  .offer-hero > .inner { gap: 32px; }
  .offer-visual img { height: 320px; }
}
@media (max-width: 760px) {
  .section { overflow-x: clip; }
  .offer-hero > .inner { grid-template-columns: 1fr; gap: 32px; }
  .offer-intro h1 { max-width: 24ch; font-size: clamp(2.2rem, 7vw, 3rem); }
  .offer-visual img { height: 320px; }
  .offer-facts { grid-template-columns: 1fr; gap: 16px; }
  .advice-inline { grid-template-columns: 80px 1fr; gap: 24px; padding: 24px; }
  .advice-inline img { width: 80px; height: 104px; }
  .page-offre #modules .grid { grid-template-columns: 1fr 1fr; gap: 0 24px; }
}
@media (max-width: 480px) {
  .offer-visual img { height: 280px; }
  .page-offre #modules .grid { grid-template-columns: 1fr; }
  .advice-inline { grid-template-columns: 1fr; padding: 24px; }
  .advice-inline img { width: 80px; height: 80px; }
  .advice-inline a { margin-right: 0; }
}

/* Controle du defilement : animation d'origine, pause accessible et boucle continue. */
.logos-track { padding-right: 64px; }
.logos-marquee:focus-within .logos-track,
.logos-marquee.is-paused .logos-track { animation-play-state: paused; }
.logos-marquee:focus-within { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
.logos-marquee:focus-within .logos-track { animation: none; transform: none; }
.logos-control { display: block; margin: 16px 0 0 auto; min-height: 44px; padding: 8px 12px; border: 1px solid var(--card-border); border-radius: var(--radius); background: transparent; color: var(--violet); font: 600 .75rem 'Montserrat', sans-serif; cursor: pointer; }
.logos-control:hover { background: var(--bg-soft); }
.drop { max-height: calc(100dvh - var(--nav-h) - 24px); overflow-y: auto; }
.offer-visual.is-portrait img { object-position: center 25%; }
.contact-guidance { max-width: 62ch; color: var(--ink-soft); margin: 16px auto 24px; }
.section { overflow-x: clip; }
.logo-img { clip-path: none; animation: none; }
@media (prefers-reduced-motion: reduce) {
  .logos-track { padding-right: 0; }
  .logos-marquee { mask-image: none; -webkit-mask-image: none; }
  .logos-control { display: none; }
}

/* Parcours de decision : une preuve concrete, puis une prise de contact simple. */
.action-note { color: var(--ink-mute); font-size: .875rem; line-height: 1.6; margin-top: 16px; max-width: 48ch; }
.case-next { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; padding: 32px 0; border-top: 1px solid var(--separation); border-bottom: 1px solid var(--separation); }
.case-next p { max-width: 55ch; color: var(--ink-soft); }
.case-next strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 8px; }
.case-next .btn { flex-shrink: 0; }
.contact-page #intro { padding-bottom: 32px; }
.contact-page #intro .lead { max-width: 70ch; }
.contact-page #formulaire { padding-top: 32px; border-top: 0; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr); gap: 64px; align-items: start; margin-top: 32px; }
.contact-layout .form-grid { margin-top: 0; }
.contact-fields { min-width: 0; }
.contact-reassurance { border-left: 1px solid var(--separation); padding-left: 32px; }
.contact-person { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.contact-person img { width: 64px; height: 64px; border-radius: var(--radius); object-fit: cover; object-position: center 25%; }
.contact-person p { line-height: 1.5; }
.contact-person strong { display: block; font-weight: 600; }
.contact-person span { color: var(--ink-mute); font-size: .875rem; }
.contact-reassurance > p { font-size: .875rem; color: var(--ink-soft); line-height: 1.7; }
.contact-reassurance h3 { font-size: 1rem; margin: 32px 0 16px; }
.contact-reassurance ol { list-style: none; counter-reset: contact-step; padding: 0; }
.contact-reassurance li { display: flex; gap: 12px; margin-top: 16px; color: var(--ink-soft); font-size: .875rem; line-height: 1.6; }
.contact-reassurance li::before { counter-increment: contact-step; content: counter(contact-step, decimal-leading-zero); color: var(--violet); font-weight: 600; }
.contact-reassurance > a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 24px; color: var(--violet); font-size: .875rem; text-underline-offset: 4px; }
.drop { top: 100%; }
.spy[hidden] { display: none; }
.consent-btns button { min-height: 44px; }
@media (max-width: 1000px) { .contact-layout { gap: 32px; } .contact-reassurance { padding-left: 24px; } }
@media (max-width: 760px) {
  .case-next { flex-direction: column; align-items: flex-start; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-reassurance { border-left: 0; border-top: 1px solid var(--separation); padding: 24px 0 0; }
  .contact-page #intro { padding-bottom: 24px; }
  .contact-page #formulaire { padding-top: 24px; }
}
