/* ============================================================
   AML Studio — shared.css
   Charte v1.0 · Mai 2026
   ============================================================ */

/* ── TOKENS ── */
:root {
  /* Palette */
  --prune:        #3D3448;
  --moka:         #8B5E3C;
  --ivoire:       #F4F1EE;
  --ivoire-deep:  #ECE7E1;
  --grege:        #BDB4AB;
  --pierre:       #5C5660;

  /* Semantic */
  --bg:           var(--ivoire);
  --bg-alt:       var(--ivoire-deep);
  --bg-inverse:   var(--prune);
  --fg:           var(--prune);
  --fg-body:      var(--pierre);
  --fg-muted:     var(--grege);
  --fg-on-dark:   var(--ivoire);
  --accent:       var(--moka);
  --border:       var(--grege);
  --focus:        var(--prune);

  /* Type families */
  --font-ui:    'Urbanist', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --font-body:  'Newsreader', Georgia, 'Times New Roman', serif;

  /* Type scale */
  --h1-size: 56px;   --h1-weight: 300; --h1-lh: 1.06; --h1-tracking: -0.025em;
  --h2-size: 40px;   --h2-weight: 400; --h2-lh: 1.10; --h2-tracking: -0.015em;
  --h3-size: 24px;   --h3-weight: 500; --h3-lh: 1.25; --h3-tracking: -0.005em;
  --body-size: 16.5px; --body-lh: 1.65;
  --label-size: 10.5px; --label-weight: 600; --label-tracking: 0.28em;
  --caption-size: 13px;

  /* Spacing */
  --s-1:  4px;  --s-2:  8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px;  --s-6: 32px;  --s-7: 48px; --s-8: 64px;
  --s-9: 96px;  --s-10: 128px;

  /* Motion */
  --t-fast: 120ms; --t-base: 200ms; --t-slow: 250ms;
  --ease:   cubic-bezier(.22, .61, .36, 1);

  /* Layout */
  --max-w: 1180px;
  --px:    64px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg-body);
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: var(--body-lh);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
input, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ── TYPOGRAPHIE ── */
h1, h2, h3, h4 { font-family: var(--font-ui); color: var(--fg); text-wrap: balance; }
h1 { font-size: var(--h1-size); font-weight: var(--h1-weight); line-height: var(--h1-lh); letter-spacing: var(--h1-tracking); }
h2 { font-size: var(--h2-size); font-weight: var(--h2-weight); line-height: var(--h2-lh); letter-spacing: var(--h2-tracking); }
h3 { font-size: var(--h3-size); font-weight: var(--h3-weight); line-height: var(--h3-lh); letter-spacing: var(--h3-tracking); }
p  { text-wrap: pretty; }

em, i { font-style: italic; color: var(--accent); font-weight: 400; }
strong, b { font-weight: 500; color: var(--fg); }

.label {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: var(--label-size);
  font-weight: var(--label-weight);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  color: var(--fg-muted);
  line-height: 1;
}
.label--moka { color: var(--accent); }
.caption {
  font-family: var(--font-body);
  font-size: var(--caption-size);
  line-height: 1.55;
  color: var(--fg-muted);
  font-style: italic;
}

::selection { background: var(--prune); color: var(--ivoire); }

/* ── LAYOUT ── */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--px); }
.sec  { padding: var(--s-9) 0; }
.sec--deep { background: var(--bg-alt); }
.sec--prune { background: var(--bg-inverse); }
hr.hline { border: 0; border-top: 1px solid var(--border); margin: 0; }
hr.hline--moka { border-top-color: var(--accent); }

/* Double parallèle — section header marker per charte */
.rule-double {
  display: block;
  width: 56px;
  height: 5px;
  background-image: linear-gradient(to bottom,
    var(--border) 0, var(--border) 1px,
    transparent 1px, transparent 4px,
    var(--border) 4px, var(--border) 5px);
}

/* ── ANIMATIONS ── */
.fi    { opacity: 0; transform: translateY(16px); transition: opacity 420ms var(--ease), transform 420ms var(--ease); }
.fi.v  { opacity: 1; transform: none; }
.fi-d1 { transition-delay: 80ms; }
.fi-d2 { transition-delay: 160ms; }

/* ── BOUTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background var(--t-base) var(--ease),
              color var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}
.btn-p { background: var(--prune); color: var(--ivoire); border-color: var(--prune); }
.btn-p:hover { background: var(--moka); border-color: var(--moka); }
.btn-p:active { opacity: .85; }

.btn-out { background: transparent; color: var(--prune); border-color: var(--prune); }
.btn-out:hover { background: var(--prune); color: var(--ivoire); }

.btn-ivoire { background: var(--ivoire); color: var(--prune); border-color: var(--ivoire); }
.btn-ivoire:hover { background: var(--moka); color: var(--ivoire); border-color: var(--moka); }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--px);
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: block; line-height: 0; border: 0; }
.nav-logo img { width: 110px; height: auto; display: block; }
.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links a {
  font-family: var(--font-ui);
  font-size: 11px; font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--pierre);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.nav-links a:hover { color: var(--prune); border-bottom-color: var(--moka); }
.nav-links a.active { color: var(--prune); border-bottom-color: var(--prune); }

.nav-cta {
  font-family: var(--font-ui);
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 12px 22px;
  background: var(--prune); color: var(--ivoire);
  border: 1px solid var(--prune);
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.nav-cta:hover { background: var(--moka); border-color: var(--moka); }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-hamburger span { display: block; width: 22px; height: 1px; background: var(--prune); transition: transform var(--t-base) var(--ease); }

.nav-mobile {
  display: none; position: absolute; top: 72px; left: 0; right: 0;
  background: var(--bg); border-bottom: 1px solid var(--border);
  padding: 12px var(--px);
  flex-direction: column;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-ui); font-size: 13px; font-weight: 600;
  color: var(--prune); padding: 16px 0;
  border-bottom: 1px solid var(--ivoire-deep);
  letter-spacing: .12em; text-transform: uppercase;
}
.nav-mobile a:last-child { border-bottom: 0; }

.page-wrap { padding-top: 72px; }

/* ── FOOTER ── */
footer {
  background: var(--prune);
  padding: var(--s-7) var(--px);
  border-top: 1px solid var(--moka);
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}
.footer-logo img { width: 110px; height: auto; }
.footer-middle {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grege);
  text-align: center;
}
.footer-middle a {
  border-bottom: 1px solid transparent;
  transition: color var(--t-base), border-color var(--t-base);
}
.footer-middle a:hover { color: var(--ivoire); border-bottom-color: var(--moka); }
.footer-right { text-align: right; }
.footer-right p {
  white-space: nowrap;
}
.footer-right p:first-child {
  font-family: var(--font-ui); font-size: 11px;
  letter-spacing: .14em; color: var(--ivoire);
  margin-bottom: 4px;
}
.footer-right p:last-child {
  font-family: var(--font-ui); font-size: 10px;
  letter-spacing: .12em; color: var(--grege);
}

/* ── CTA bloc générique ── */
.cta-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: var(--s-9) var(--px);
  text-align: center;
}
.cta-inner .label { display: block; margin-bottom: 18px; color: var(--moka); }
.cta-inner h2 { margin-bottom: 16px; }
.cta-inner p {
  font-size: 17px; max-width: 520px; margin: 0 auto 32px;
}

/* ============================================================
   HOME / INDEX
   ============================================================ */

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 72px;
  align-items: center;
  min-height: calc(100vh - 72px);
  max-width: var(--max-w); margin: 0 auto;
  padding: 72px var(--px) 80px;
}
.hero-lead .label { display: block; margin-bottom: 24px; color: var(--moka); }
.hero h1 { margin-bottom: 32px; font-size: 50px; line-height: 1.08; }
.hero h1 .h1-line1 { display: block; }
br.mob-br { display: none; }
.hero h1 em { font-style: normal; color: var(--moka); font-weight: 300; }
.hero h1 .nowrap { white-space: nowrap; }
.hero-sub {
  font-family: var(--font-body); font-size: 18px; line-height: 1.55;
  color: var(--pierre); margin-bottom: 12px; max-width: 460px;
}
.hero-sub-detail {
  font-family: var(--font-ui); font-size: 11px;
  font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--grege);
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 44px;
}
.hero-sub-detail span:not(:last-child)::after {
  content: "·";
  margin-left: 14px;
  color: var(--moka);
}
.hero-img-wrap { display: flex; flex-direction: column; align-items: flex-start; }
.hero-img { position: relative; width: 100%; }
.hero-img img {
  width: 100%; height: 600px;
  object-fit: cover; object-position: center top;
  border: 1px solid var(--grege);
  display: block;
}
.hero-badge {
  margin-top: -28px;
  margin-left: -32px;
  background: var(--ivoire-deep);
  border: 1px solid var(--grege);
  padding: 22px 26px; max-width: 380px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-badge .label { white-space: nowrap; }
.hero-badge .label { display: block; margin-bottom: 10px; color: var(--moka); }
.hero-badge p { font-size: 14px; line-height: 1.6; color: var(--pierre); }
.hero-badge p em { color: var(--moka); }

/* INTRO (problème) */
.intro-section {
  max-width: var(--max-w); margin: 0 auto;
  padding: 88px var(--px);
}
.intro-section .label { display: block; margin-bottom: 20px; color: var(--moka); }
.intro-section h2 { margin-bottom: 36px; max-width: 760px; }
.intro-text { max-width: 760px; }
.intro-text p { font-size: 17.5px; line-height: 1.75; margin-bottom: 16px; }
.intro-text p:last-child { margin-bottom: 0; }
.intro-accent-bloc {
  margin-top: 40px;
  border-left: 2px solid var(--moka);
  padding: 22px 32px;
  background: var(--ivoire-deep);
  max-width: 760px;
}
.intro-accent {
  font-family: var(--font-ui);
  font-size: 22px; font-weight: 500;
  color: var(--prune); margin-bottom: 6px;
  letter-spacing: -.005em;
}
.intro-accent-bloc p { font-size: 15.5px; line-height: 1.7; }

/* PROBLÈMES (cartes flip / accordéon) */
.pb-section { padding: var(--s-9) 0; background: var(--ivoire-deep); }
.pb-wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--px); }
.pb-header { margin-bottom: 64px; max-width: 720px; }
.pb-header .label { display: block; margin-bottom: 16px; color: var(--moka); }
.pb-header h2 { margin-bottom: 18px; }
.pb-header p { font-size: 17px; line-height: 1.7; }

.pb-list { display: flex; flex-direction: column; }
.pb-item { position: relative; cursor: pointer; border-top: 1px solid var(--grege); transition: background var(--t-base) var(--ease); }
.pb-item:last-child { border-bottom: 1px solid var(--grege); }
.pb-front, .pb-back {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0 32px;
  align-items: start;
  padding: 28px 24px;
  margin: 0 -24px;
}
.pb-back { display: none; background: var(--prune); }

@media (min-width: 1025px) {
  .pb-item:hover .pb-front { display: none; }
  .pb-item:hover .pb-back  { display: grid; }
}
.pb-item.open .pb-front { display: none; }
.pb-item.open .pb-back  { display: grid; }

.pb-num {
  font-family: var(--font-ui);
  font-size: 28px; font-weight: 300;
  color: var(--moka); line-height: 1;
  padding-top: 4px;
}
.pb-num-back {
  font-family: var(--font-ui);
  font-size: 28px; font-weight: 300;
  color: rgba(244, 241, 238, .25);
  line-height: 1; padding-top: 4px;
}
.pb-title {
  font-family: var(--font-ui);
  font-size: 17px; font-weight: 600;
  line-height: 1.35; color: var(--prune);
  margin-bottom: 10px;
}
.pb-back-title {
  font-family: var(--font-ui);
  font-size: 17px; font-weight: 600;
  line-height: 1.35; color: var(--ivoire);
  margin-bottom: 10px;
}
.pb-problem { font-size: 14.5px; line-height: 1.65; color: var(--pierre); }
.pb-sol-text { font-size: 14.5px; line-height: 1.75; color: rgba(244, 241, 238, .82); }
.pb-sol-text em { color: var(--ivoire); }

.pb-tags, .pb-back-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pb-tag {
  font-family: var(--font-ui);
  font-size: 9px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--grege);
  color: var(--pierre);
  border-radius: 0;
}
.pb-tag.org   { border-color: var(--prune); color: var(--prune); }
.pb-tag.strat { border-color: var(--moka); color: var(--moka); }
.pb-tag.fin   { border-color: var(--pierre); color: var(--pierre); }
.pb-tag.ops   { border-color: var(--grege); color: var(--pierre); }
.pb-back-tag {
  font-family: var(--font-ui);
  font-size: 9px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid rgba(244, 241, 238, .2);
  color: rgba(244, 241, 238, .45);
}

/* CONCLUSION */
.conclu-bloc { background: var(--prune); padding: 72px var(--px); }
.conclu-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: center;
}
.conclu-inner .label { display: block; margin-bottom: 18px; color: var(--grege); }
.conclu-inner h2 { color: var(--ivoire); font-size: 34px; line-height: 1.15; }
.conclu-right p {
  font-size: 18px; line-height: 1.7;
  color: rgba(244, 241, 238, .82);
}
.conclu-right p em { color: var(--ivoire); font-style: italic; }

/* DOMAINES */
.domains-section { padding: var(--s-9) var(--px); background: var(--ivoire); }
.domains-header { max-width: var(--max-w); margin: 0 auto var(--s-7); }
.domains-header .label { display: block; margin-bottom: 16px; color: var(--moka); }
.domains-header h2 { max-width: none; }
.domains-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--grege);
}
.domain-item {
  padding: 32px 24px;
  border-right: 1px solid var(--grege);
  display: flex; flex-direction: column;
  transition: background var(--t-base) var(--ease);
  min-width: 0;
}
.domain-item:last-child { border-right: 0; }
.domain-item:hover { background: var(--ivoire-deep); }
.domain-item svg { margin-bottom: 22px; color: var(--moka); flex-shrink: 0; }
.domain-item h3 {
  font-family: var(--font-ui); font-size: 15px; font-weight: 600;
  margin-bottom: 12px; flex-shrink: 0;
  letter-spacing: -.005em;
}
.domain-item p { font-size: 13.5px; line-height: 1.65; flex: 1; }

/* POURQUOI */
.why-section { background: var(--prune); }
.why-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.why-img img {
  width: 100%; height: 100%;
  min-height: 540px;
  object-fit: cover; object-position: center top;
}
.why-content {
  padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.why-content .label { display: block; margin-bottom: 22px; color: var(--grege); }
.why-content h2 {
  color: var(--ivoire);
  margin-bottom: 28px;
  font-size: 32px; line-height: 1.2;
}
.why-content p {
  color: rgba(244, 241, 238, .8);
  font-size: 15.5px; line-height: 1.75;
  margin-bottom: 16px;
}
.why-content p em { color: var(--ivoire); }
.why-content p:last-of-type { margin-bottom: 36px; }

/* ============================================================
   OFFRE
   ============================================================ */
.offre-hero {
  max-width: var(--max-w); margin: 0 auto;
  padding: 88px var(--px) 72px;
}
.offre-hero .label { display: block; margin-bottom: 24px; color: var(--moka); }
.offre-hero h1 { max-width: 1100px; margin-bottom: 16px; }
.offre-hero p { font-size: 17px; max-width: 1100px; line-height: 1.7; margin-bottom: 16px; }
.offre-hero p:last-of-type { margin-bottom: 0; }

.sec-niveaux { padding: var(--s-9) 0; }
.sec-niveaux-header { margin-bottom: var(--s-7); max-width: 760px; }
.sec-niveaux-header .label { display: block; margin-bottom: 16px; color: var(--moka); }

.niveaux-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--grege);
}
.niveau-col {
  padding: 40px 32px 36px;
  border-right: 1px solid var(--grege);
  display: flex; flex-direction: column;
}
.niveau-col:last-child { border-right: 0; background: var(--prune); }
.niveau-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 22px;
}
.niveau-col .label { color: var(--moka); }
.niveau-col:last-child .label { color: var(--grege); }
.niveau-icon { flex-shrink: 0; color: var(--prune); opacity: .55; }
.niveau-col:last-child .niveau-icon { color: var(--ivoire); opacity: .5; }
.niveau-col h3 {
  font-family: var(--font-ui);
  font-size: 30px; font-weight: 300;
  letter-spacing: -.015em;
  margin-bottom: 8px;
  color: var(--prune);
}
.niveau-col:last-child h3 { color: var(--ivoire); }
.niveau-sous {
  font-family: var(--font-ui);
  font-size: 12px; font-weight: 500;
  letter-spacing: .04em;
  color: var(--moka);
  display: block; margin-bottom: 28px;
}
.niveau-col:last-child .niveau-sous { color: rgba(244, 241, 238, .55); }
.niveau-col p { font-size: 14.5px; line-height: 1.7; margin-bottom: 10px; color: var(--pierre); }
.niveau-col:last-child p { color: rgba(244, 241, 238, .82); }
.niveau-col .caption {
  margin-top: auto; padding-top: 28px;
  border-top: 1px dashed var(--grege);
}
.niveau-col:last-child .caption {
  color: rgba(244, 241, 238, .42);
  border-top-color: rgba(244, 241, 238, .15);
}
.niveau-foot {
  font-family: var(--font-ui);
  font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grege);
  margin-top: 24px;
}

/* FAQ */
.sec-faq { padding: var(--s-9) 0; }
.sec-faq-header { margin-bottom: var(--s-7); max-width: 720px; }
.sec-faq-header .label { display: block; margin-bottom: 16px; color: var(--moka); }

.faq-item { border-top: 1px solid var(--grege); }
.faq-item:last-child { border-bottom: 1px solid var(--grege); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px 0; cursor: pointer; gap: 32px;
  width: 100%; text-align: left;
  transition: color var(--t-base) var(--ease);
}
.faq-q span {
  font-family: var(--font-ui);
  font-size: 16.5px; font-weight: 500;
  color: var(--prune); line-height: 1.4;
}
.faq-item.open .faq-q span,
.faq-q:hover span { color: var(--moka); }
.faq-icon {
  width: 20px; height: 20px; flex-shrink: 0; position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute;
  background: var(--moka);
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}
.faq-icon::before { width: 14px; height: 1px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-icon::after  { width: 1px; height: 14px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 400ms var(--ease); }
.faq-item.open .faq-a { max-height: 1500px; }
.faq-a-inner { padding-bottom: 28px; max-width: 1100px; }
.faq-a-inner p { font-size: 15.5px; line-height: 1.75; margin-bottom: 12px; color: var(--pierre); }
.faq-a-inner p:last-child { margin-bottom: 0; }

/* CE QUE JE NE SUIS PAS */
.pas-header { margin-bottom: var(--s-7); max-width: 720px; }
.pas-header .label { display: block; margin-bottom: 16px; color: var(--moka); }
.pas-list { display: flex; flex-direction: column; max-width: 820px; }
.pas-item {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 24px 0;
  border-top: 1px solid var(--grege);
}
.pas-item:last-child { border-bottom: 1px solid var(--grege); }
.pas-bar { width: 2px; height: 24px; background: var(--moka); flex-shrink: 0; margin-top: 4px; }
.pas-item p {
  font-family: var(--font-ui);
  font-size: 16px; font-weight: 400;
  color: var(--prune); line-height: 1.5;
}

/* FORM (offre / contact) */
.form-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
.form-intro .label { display: block; margin-bottom: 18px; color: var(--moka); }
.form-intro h2 { margin-bottom: 18px; }
.form-intro p { font-size: 16px; line-height: 1.7; }
.form-fields { display: flex; flex-direction: column; }
.fld {
  padding: 22px 0 8px;
  border-bottom: 1px solid var(--grege);
  transition: border-color var(--t-base) var(--ease);
}
.fld:focus-within { border-bottom-color: var(--prune); }
.fld label {
  display: block;
  font-family: var(--font-ui);
  font-size: 9.5px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--grege);
  margin-bottom: 8px;
  transition: color var(--t-base) var(--ease);
}
.fld:focus-within label { color: var(--prune); }
.fld input, .fld textarea {
  width: 100%; background: transparent; border: 0; outline: 0;
  font-family: var(--font-body); font-size: 16px;
  color: var(--prune);
  padding: 2px 0 8px; resize: none;
}
.fld textarea { min-height: 96px; line-height: 1.55; }
.fld input::placeholder, .fld textarea::placeholder { color: var(--grege); }
.form-submit { margin-top: 36px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.form-delay {
  font-family: var(--font-ui);
  font-size: 11px; letter-spacing: .12em;
  color: var(--grege); text-transform: uppercase;
}

/* ============================================================
   À PROPOS
   ============================================================ */
.ap-hero {
  max-width: var(--max-w); margin: 0 auto;
  padding: 88px var(--px) 64px;
}
.ap-hero .label { display: block; margin-bottom: 24px; color: var(--moka); }
.ap-hero h1 { margin-bottom: 0; }

.ap-central {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  padding: 88px var(--px);
  align-items: start;
}
.ap-text p { font-size: 16.5px; line-height: 1.85; margin-bottom: 18px; }
.ap-text p:last-child { margin-bottom: 0; }
.ap-img { position: sticky; top: 96px; }
.ap-img img {
  width: 100%; height: 620px;
  object-fit: cover; object-position: center top;
  border: 1px solid var(--grege);
}

.ap-shift { padding: 88px 0; background: var(--ivoire-deep); }
.ap-shift .wrap { max-width: var(--max-w); }
.ap-shift h2 { margin-bottom: 24px; max-width: 1100px; }
.ap-shift p { font-size: 16.5px; line-height: 1.8; margin-bottom: 14px; max-width: 1100px; }

.ap-creds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--grege);
}
.ap-cred { padding: 40px 32px; border-right: 1px solid var(--grege); }
.ap-cred:last-child { border-right: 0; }
.ap-cred .label { display: block; margin-bottom: 16px; color: var(--moka); }
.ap-cred h3 { margin-bottom: 14px; font-size: 22px; }
.ap-cred p { font-size: 14.5px; line-height: 1.7; }

.ap-creds-header { margin-bottom: var(--s-7); max-width: 720px; }
.ap-creds-header .label { display: block; margin-bottom: 16px; color: var(--moka); }

/* Crédibilité on prune ground */
.sec--prune .ap-creds-header h2 { color: var(--ivoire); }
.sec--prune .ap-creds-grid { border-color: rgba(244, 241, 238, .18); }
.sec--prune .ap-cred { border-right-color: rgba(244, 241, 238, .18); }
.sec--prune .ap-cred .label { color: var(--grege); }
.sec--prune .ap-cred h3 { color: var(--ivoire); }
.sec--prune .ap-cred p { color: rgba(244, 241, 238, .82); }
.sec--prune .ap-cred p em { color: var(--ivoire); }

/* ============================================================
   CONTACT
   ============================================================ */
.ct-hero {
  max-width: var(--max-w); margin: 0 auto;
  padding: 88px var(--px) 0;
}
.ct-hero .label { display: block; margin-bottom: 24px; color: var(--moka); }
.ct-hero h1 { max-width: 600px; margin-bottom: 28px; }
.ct-hero p { font-size: 18px; line-height: 1.6; max-width: 540px; }

.ct-body {
  max-width: var(--max-w); margin: 0 auto;
  padding: 64px var(--px) 96px;
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 80px;
  align-items: start;
}
.ct-aside { position: sticky; top: 96px; }
.ct-aside .label { display: block; margin-bottom: 18px; color: var(--moka); }
.ct-aside p { font-size: 14.5px; line-height: 1.7; margin-bottom: 28px; color: var(--pierre); }
.ct-aside-meta {
  margin-top: 40px; padding-top: 28px;
  border-top: 1px solid var(--grege);
}
.ct-aside-meta dl { display: grid; grid-template-columns: auto 1fr; gap: 14px 24px; }
.ct-aside-meta dt {
  font-family: var(--font-ui); font-size: 9.5px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--grege);
  padding-top: 3px;
}
.ct-aside-meta dd {
  font-family: var(--font-body);
  font-size: 14.5px; color: var(--prune);
  line-height: 1.5;
}
.linkedin {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui);
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--prune);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--prune);
  transition: color var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.linkedin:hover { color: var(--moka); border-bottom-color: var(--moka); }

.ct-confirm {
  margin-top: 24px;
  padding: 18px 22px;
  background: var(--ivoire-deep);
  border-left: 2px solid var(--moka);
  font-family: var(--font-ui);
  font-size: 12.5px; letter-spacing: .06em;
  color: var(--prune);
  display: none;
}
.ct-confirm.show { display: block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  :root { --px: 40px; --h1-size: 48px; --h2-size: 34px; }
  .hero { gap: 56px; }
  .hero h1 { font-size: 44px; }
  .hero-img img { height: 520px; }
  .domains-grid { grid-template-columns: repeat(3, 1fr); }
  .domain-item:nth-child(3) { border-right: 0; }
  .domain-item:nth-child(4),
  .domain-item:nth-child(5) { border-top: 1px solid var(--grege); }
  .domain-item:nth-child(5) { border-right: 0; }
  .pb-front, .pb-back { grid-template-columns: 44px 1fr; gap: 0 20px; }
  /* Compresser nav un peu */
  .nav-links { gap: 24px; }
}

@media (max-width: 900px) {
  .niveaux-grid { grid-template-columns: 1fr; }
  .niveau-col { border-right: 0; border-bottom: 1px solid var(--grege); }
  .niveau-col:last-child { border-bottom: 0; }
}

@media (max-width: 820px) {
  :root { --px: 24px; --h1-size: 38px; --h2-size: 28px; --h3-size: 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { height: 64px; }
  .nav-mobile { top: 64px; padding: 8px 24px 16px; }
  .page-wrap { padding-top: 64px; }

  /* Neutralise les largeurs inline 1100px / 320px / 295px posées sur desktop.
     Sur mobile, tout reste fluide à 100% du conteneur. */
  [style*="width: 1100px"],
  [style*="width:1100px"],
  [style*="width: 320px"],
  [style*="width:320px"],
  [style*="width: 295px"],
  [style*="width:295px"] {
    width: auto !important;
    max-width: 100% !important;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 32px 24px 60px;
    min-height: auto;
  }
  .hero h1 { font-size: 36px; }
  .hero h1 br { display: inline; }
  .hero h1 .h1-line1 { display: block; }
  br.mob-br { display: inline; }
  .hero-sub { font-size: 16.5px; max-width: none; }
  .hero-sub-detail { margin-bottom: 32px; gap: 10px; }
  .hero-sub-detail span:not(:last-child)::after { margin-left: 10px; }
  .hero-img-wrap { order: -1; }
  .hero-img img { height: auto; min-height: 300px; max-height: 460px; }
  .hero-badge {
    position: static;
    margin: 0;
    max-width: none;
    padding: 18px 20px;
  }
  .hero-badge p { text-align: left !important; }

  .intro-section { padding: 64px 24px; }
  .intro-section h2 { margin-bottom: 28px; }
  .intro-text p { font-size: 16px; line-height: 1.7; }
  .intro-accent-bloc { padding: 18px 22px; margin-top: 32px; }
  .intro-accent { font-size: 19px; }

  .pb-section { padding: 64px 0; }
  .pb-wrap { padding: 0 24px; }
  .pb-header { margin-bottom: 40px; }
  .pb-header h2 { font-size: 26px; }
  .pb-header p { font-size: 15.5px; }
  .pb-front, .pb-back {
    grid-template-columns: 36px 1fr;
    gap: 0 16px;
    padding: 24px 16px;
    margin: 0 -16px;
  }
  .pb-num, .pb-num-back { font-size: 22px; }
  .pb-title, .pb-back-title { font-size: 15.5px; }
  .pb-problem, .pb-sol-text { font-size: 14px; }

  .conclu-bloc { padding: 56px 24px; }
  .conclu-inner { grid-template-columns: 1fr; gap: 24px; }
  .conclu-inner h2 { font-size: 26px; }
  .conclu-right p { font-size: 16px; }

  .domains-section { padding: 64px 24px; }
  .domains-header { margin-bottom: 32px; }
  .domains-grid { grid-template-columns: 1fr; border: 0; gap: 0; }
  .domain-item {
    border: 1px solid var(--grege) !important;
    margin-bottom: -1px;
    padding: 28px 24px;
  }
  .domain-item h3 { font-size: 16px; }

  .why-inner { grid-template-columns: 1fr; }
  .why-img img { min-height: auto; height: auto; width: 100%; object-position: center center; }
  .why-content { padding: 48px 24px; }
  .why-content h2 { font-size: 26px; }
  .why-content p { font-size: 15px; }

  .offre-hero { padding: 56px 24px 48px; }
  .offre-hero h1 { max-width: none; }
  .offre-hero p { font-size: 16px; }
  .sec-niveaux, .sec-faq { padding: 64px 0; }
  .niveau-col { padding: 32px 24px; }
  .niveau-col h3 { font-size: 26px; }
  .niveau-sous { margin-bottom: 22px; }
  .niveau-foot { margin-top: 20px; font-size: 10.5px; line-height: 1.55; }
  .faq-q { padding: 22px 0; gap: 20px; }
  .faq-q span { font-size: 15px; }
  .faq-a-inner p { font-size: 15px; }

  .pas-header h2 { font-size: 26px; }
  .pas-item { gap: 18px; padding: 20px 0; }
  .pas-item p { font-size: 15px; }

  .ap-hero { padding: 56px 24px 40px; }
  .ap-central { grid-template-columns: 1fr; gap: 36px; padding: 56px 24px; }
  .ap-text p { font-size: 16px; line-height: 1.75; }
  .ap-img { position: static; order: -1; }
  .ap-img img { height: 360px; }
  .ap-shift { padding: 56px 0; }
  .ap-shift p { font-size: 16px; }
  .ap-creds-grid { grid-template-columns: 1fr; }
  .ap-cred { border-right: 0 !important; border-bottom: 1px solid var(--grege); padding: 32px 24px; }
  .sec--prune .ap-cred { border-bottom-color: rgba(244, 241, 238, .18); }
  .ap-cred:last-child { border-bottom: 0; }
  .ap-cred h3 { font-size: 20px; }
  .ap-cred p { font-size: 14px; }

  .ct-hero { padding: 56px 24px 0; }
  .ct-hero p { font-size: 16.5px; }
  .ct-body { grid-template-columns: 1fr; gap: 40px; padding: 32px 24px 64px; }
  .ct-aside { position: static; }
  .ct-aside-meta dl { grid-template-columns: 1fr; gap: 4px 0; }
  .ct-aside-meta dt { padding-top: 14px; }
  .ct-aside-meta dt:first-child { padding-top: 0; }

  .form-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-intro h2 { font-size: 26px; }
  .fld input, .fld textarea { font-size: 16px; } /* 16px = pas de zoom iOS */
  .form-submit { gap: 18px; }
  .form-submit .btn { width: 100%; justify-content: center; }
  .form-delay { width: 100%; text-align: center; }

  footer { padding: 32px 24px; }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }
  .footer-right { text-align: center; }
  .footer-right p { white-space: normal; }
  .footer-logo { justify-self: center; }

  .cta-inner { padding: 64px 24px; }
  .cta-inner h2 { font-size: 26px; }
  .cta-inner p { font-size: 16px; }
  .cta-inner .btn { width: 100%; justify-content: center; }
}

/* ── PETIT MOBILE (≤ 480 px) ── */
@media (max-width: 480px) {
  :root { --h1-size: 32px; --h2-size: 24px; }
  .hero { padding: 24px 20px 48px; }
  .hero h1 { font-size: 32px; }
  .hero-img img { height: auto; min-height: 260px; max-height: 400px; }
  .nav-inner { padding: 0 20px; }
  .nav-logo img { width: 92px; }
  .nav-mobile { padding: 8px 20px 14px; }

  .pb-front, .pb-back {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 22px 16px;
  }
  .pb-num, .pb-num-back { padding-top: 0; }

  .btn { padding: 13px 22px; font-size: 11px; letter-spacing: .12em; }
  .nav-cta { padding: 10px 16px; }

  .intro-section, .offre-hero, .ap-hero, .ct-hero,
  .conclu-bloc, .why-content, .domains-section,
  .pb-wrap, .ap-central, .ct-body, .cta-inner,
  .footer-inner, footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .pb-wrap { padding-left: 20px; padding-right: 20px; }

  .hero-badge { margin-top: 0; padding: 16px 18px; }
}

/* ── EVITER LE SCROLL HORIZONTAL ── */
@media (max-width: 820px) {
  html, body { overflow-x: hidden; }
}
