/* ============================================================
   FlowAxis — composants des pages internes
   ============================================================ */

/* nav: lien actif */
.nav-link[aria-current="page"] { color: var(--accent-deep); background: var(--sand-2); }

/* ---------- Page hero (interne) ---------- */
.phero {
  background:
    radial-gradient(820px 460px at 84% -12%, rgba(194,65,12,.13), transparent 58%),
    radial-gradient(640px 520px at -4% 110%, rgba(59,90,122,.09), transparent 55%),
    var(--cream);
  border-bottom: 1px solid var(--line);
}
.phero-inner { padding: clamp(56px,8vw,104px) 0 clamp(48px,6vw,84px); max-width: 860px; }
.phero .eyebrow { display: inline-flex; margin-bottom: 1.1rem; }
.phero-kicker { display:inline-flex; align-items:center; gap:.6rem; font-family:var(--ff-sans); font-size:1.02rem; font-weight:600; color:var(--navy); background:#fff; border:1px solid var(--line); border-radius:999px; padding:.52rem 1.05rem .52rem .82rem; box-shadow:0 3px 14px -6px rgba(15,27,45,.22); margin-bottom:1.4rem; }
.phero-kicker .dot { width:9px; height:9px; border-radius:50%; background:var(--accent); flex:none; box-shadow:0 0 0 4px rgba(194,65,12,.14); }
.phero-kicker b { color:var(--accent); font-weight:700; }
.phero-kicker .px { color:var(--slate); font-weight:500; }
.phero.dark .phero-kicker { background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.2); color:#fff; }
.phero.dark .phero-kicker .px { color:rgba(255,255,255,.72); }
.phero h1 { font-size: clamp(2.3rem,5vw,3.9rem); margin-bottom: 1.4rem; text-wrap: balance; }
.phero h1 .accent { color: var(--accent); font-style: italic; }
.phero .sub { font-size: clamp(1.05rem,1.5vw,1.28rem); color: var(--slate); max-width: 40em; text-wrap: pretty; }
.phero .phero-cta { display: flex; gap: 1.1rem; align-items: center; flex-wrap: wrap; margin-top: 2rem; }

/* dark page hero variant */
.phero.dark { background: radial-gradient(900px 540px at 82% -14%, rgba(194,65,12,.2), transparent 55%), linear-gradient(180deg,var(--navy),var(--navy-2)); color: #fff; border-bottom: 0; }
.phero.dark h1 { color: #fff; }
.phero.dark .sub { color: rgba(255,255,255,.72); }
.phero.dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.phero.dark .btn-ghost:hover { background: #fff; color: var(--navy); }

/* ---------- Tableau comparatif ---------- */
.cmp-wrap { margin-top: 8px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-md); }
.cmp { width: 100%; border-collapse: collapse; font-size: .95rem; }
.cmp thead th { position: sticky; top: 72px; z-index: 2; background: #fff; }
.cmp th, .cmp td { padding: 16px 20px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.cmp thead th { font-family: var(--ff-sans); font-weight: 700; font-size: .92rem; border-bottom: 2px solid var(--line); }
.cmp thead th .co { display: flex; flex-direction: column; gap: 3px; }
.cmp thead th small { font-family: var(--ff-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-2); font-weight: 500; }
.cmp .crit { font-weight: 600; color: var(--navy); width: 34%; }
.cmp .col-fx { background: rgba(194,65,12,.05); }
.cmp thead .col-fx { background: #FBF1EE; color: var(--accent-deep); }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody tr:hover td { background: var(--cream); }
.cmp tbody tr:hover td.col-fx { background: rgba(194,65,12,.08); }
.cmp .val-y { display: inline-flex; align-items: center; gap: 7px; color: #0b815f; font-weight: 600; }
.cmp .val-n { display: inline-flex; align-items: center; gap: 7px; color: var(--slate-2); }
.cmp .val-y svg, .cmp .val-n svg { flex: none; }
.cmp td .note { display: block; font-size: .8rem; color: var(--slate-2); margin-top: 2px; }

/* ---------- "Pour qui" two-up ---------- */
.forwho { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 44px; }
.forwho .card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff; }
.forwho .card.them { background: var(--sand-2); }
.forwho .card.us { border-color: var(--accent); box-shadow: 0 24px 50px -28px rgba(194,65,12,.45); }
.forwho .card h3 { font-family: var(--ff-sans); font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.forwho .card .tagline { color: var(--slate); font-size: .92rem; margin-bottom: 18px; }
.forwho ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.forwho li { display: flex; gap: 10px; font-size: .96rem; align-items: flex-start; color: var(--navy); }
.forwho li svg { flex: none; margin-top: 3px; }
.forwho .them li svg { color: var(--steel); }
.forwho .us li svg { color: var(--green); }

/* ---------- Bandeau "angle" (citation) ---------- */
.angle { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px,5vw,64px); position: relative; overflow: hidden; }
.angle::before { content:""; position:absolute; inset:0; background: radial-gradient(500px 300px at 90% 0%, rgba(194,65,12,.18), transparent 60%); }
.angle .eyebrow { color: var(--accent); position: relative; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
.angle p { position: relative; font-family: var(--ff-display); font-size: clamp(1.4rem,2.6vw,2rem); line-height: 1.32; margin-top: 14px; max-width: 24em; text-wrap: pretty; }
.angle p .accent { color: var(--accent); font-style: italic; }

/* ---------- Pricing: bascule + détails ---------- */
.billing { display: inline-flex; align-items: center; gap: 14px; margin: 28px auto 0; padding: 8px 16px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); }
.billing span { font-size: .9rem; font-weight: 600; color: var(--slate-2); transition: color .2s; }
.billing .save { font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .06em; color: #0b815f; background: rgba(16,185,129,.12); padding: 3px 8px; border-radius: 6px; text-transform: uppercase; white-space: nowrap; }
.switch { position: relative; width: 46px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track { position: absolute; inset: 0; background: var(--accent); border-radius: 999px; transition: background .2s; cursor: pointer; }
.switch .track::before { content:""; position:absolute; left: 3px; top: 3px; width: 20px; height: 20px; background:#fff; border-radius: 50%; transition: transform .2s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + .track { background: var(--steel); }
.switch input:checked + .track::before { transform: translateX(20px); }
body[data-billing="annual"] .billing .lbl-an { color: var(--navy); }
body[data-billing="monthly"] .billing .lbl-mo { color: var(--navy); }
.price .pm { display: none; }
body[data-billing="monthly"] .price .pa { display: none; }
body[data-billing="monthly"] .price .pm { display: inline; }

/* add-ons */
.addons { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 44px; }
.addon { position:relative; overflow:hidden; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.addon::before { content:""; position:absolute; top:0; left:0; right:0; height:4px; background:var(--ac,var(--accent)); }
.addon:nth-child(1) { --ac:#C2410C; }
.addon:nth-child(2) { --ac:#3B5A7A; }
.addon:nth-child(3) { --ac:#0b815f; }
.addon:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.addon .ic { width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb,var(--ac,#C2410C) 14%,#fff); color: var(--ac,#C2410C); display: grid; place-items: center; margin-bottom: 14px; }
.addon h4 { font-family: var(--ff-sans); font-size: 1.02rem; font-weight: 700; margin-bottom: 6px; }
.addon p { color: var(--slate); font-size: .9rem; line-height: 1.5; margin-bottom: 12px; }
.addon .pr { font-family: var(--ff-display); font-size: 1.3rem; color: var(--navy); }
.addon .pr small { font-family: var(--ff-sans); font-size: .78rem; color: var(--slate-2); }

/* bandeau OBNL / split info */
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.infobox { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff; }
.infobox.green { background: linear-gradient(180deg, rgba(16,185,129,.06), #fff); border-color: rgba(16,185,129,.3); }
.infobox h3 { font-family: var(--ff-sans); font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.infobox p { color: var(--slate); font-size: .96rem; }
.infobox .big { font-family: var(--ff-display); font-size: 2.4rem; color: var(--green); line-height: 1; margin-bottom: 6px; }

/* ---------- FAQ accordéon ---------- */
.acc { max-width: 820px; margin: 8px auto 0; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q-txt { flex: 1; min-width: 0; }
.acc-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 22px 4px; font-family: var(--ff-sans); font-size: 1.08rem; font-weight: 600; color: var(--navy); }
.acc-q .pm { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .3s var(--ease), background .2s, color .2s; color: var(--steel); }
.acc-item.open .acc-q .pm { transform: rotate(45deg); background: var(--accent); color: #fff; border-color: var(--accent); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.acc-a-inner { padding: 0 4px 22px; color: var(--slate); font-size: 1rem; line-height: 1.6; max-width: 64ch; }
.acc-item.open .acc-a { max-height: 420px; }

/* ---------- mini-CTA (réutilisable bas de page) ---------- */
.cta.compact { padding: clamp(40px,5vw,64px) 28px; }
.cta.compact h2 { font-size: clamp(1.8rem,3.4vw,2.6rem); }

/* ---------- Formulaire de contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px,5vw,72px); align-items: start; }
.contact-aside h2 { margin-bottom: 16px; }
.contact-aside h2 .accent { color: var(--accent); font-style: italic; }
.contact-aside .lead { margin-bottom: 28px; }
.contact-points { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-points li { display: flex; gap: 13px; align-items: flex-start; }
.contact-points .ic { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--sand-2); color: var(--accent-deep); display: grid; place-items: center; }
.contact-points h4 { font-family: var(--ff-sans); font-size: .98rem; font-weight: 700; margin-bottom: 2px; }
.contact-points p { font-size: .9rem; color: var(--slate); }
.contact-channels { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.contact-channels a { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1rem; transition: border-color .2s, color .2s; }
.contact-channels a:hover { border-color: var(--accent); color: var(--accent-deep); }
.contact-channels svg { color: var(--steel); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px,3.5vw,44px); box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--navy); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  font-family: var(--ff-sans); font-size: 1rem; color: var(--ink); background: var(--cream);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .8rem .95rem; width: 100%;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(194,65,12,.14);
}
.field textarea { resize: vertical; min-height: 110px; }
.field .err { font-size: .78rem; color: var(--accent-deep); display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--accent-deep); }
.field.invalid .err { display: block; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-fine { font-size: .8rem; color: var(--slate-2); margin-top: 14px; text-align: center; }
.form-fine svg { color: var(--green); vertical-align: -2px; }
.form-success { text-align: center; padding: 28px 8px; display: none; }
.form-success.show { display: block; }
.form-success .check { width: 64px; height: 64px; border-radius: 50%; background: rgba(16,185,129,.12); color: var(--green); display: grid; place-items: center; margin: 0 auto 18px; }
.form-success h3 { font-family: var(--ff-display); font-size: 1.6rem; margin-bottom: 8px; }
.form-success p { color: var(--slate); }
.form-card.sent form { display: none; }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; }
.ind-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); position: relative; overflow: hidden; }
.ind-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.ind-card .ic { width: 50px; height: 50px; border-radius: 13px; background: var(--navy); color: var(--accent); display: grid; place-items: center; margin-bottom: 20px; }
.ind-card h3 { font-family: var(--ff-sans); font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.ind-card .desc { color: var(--slate); font-size: .94rem; line-height: 1.55; margin-bottom: 16px; }
.ind-card .uses { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 16px; }
.ind-card .uses li { display: flex; gap: 8px; font-size: .88rem; color: var(--navy); align-items: flex-start; }
.ind-card .uses svg { color: var(--accent); flex: none; margin-top: 3px; }

/* ---------- À propos ---------- */
.story { max-width: 760px; margin: 0 auto; }
.story p { font-size: 1.12rem; color: var(--slate); line-height: 1.68; margin-bottom: 1.4rem; text-wrap: pretty; }
.story p .hl { color: var(--navy); font-weight: 600; }
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 48px; }
.value { position:relative; overflow:hidden; padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.value::before { content:""; position:absolute; top:0; left:0; right:0; height:5px; }
.value:hover { transform: translateY(-6px); box-shadow: 0 28px 54px -30px rgba(15,27,45,.45); }
.value .ic { width: 54px; height: 54px; border-radius: 14px; color:#fff; display: grid; place-items: center; margin-bottom: 18px; }
.value h4 { font-family: var(--ff-sans); font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.value p { color: var(--slate); font-size: .96rem; line-height: 1.58; }
.value:nth-child(1) { background: linear-gradient(180deg,#fff,rgba(16,185,129,.07)); }
.value:nth-child(1)::before { background: linear-gradient(90deg,#10B981,#0b815f); }
.value:nth-child(1) .ic { background: linear-gradient(150deg,#10B981,#0b815f); }
.value:nth-child(2) { background: linear-gradient(180deg,#fff,rgba(59,90,122,.08)); }
.value:nth-child(2)::before { background: linear-gradient(90deg,#5d80a6,#3B5A7A); }
.value:nth-child(2) .ic { background: linear-gradient(150deg,#3B5A7A,#26405c); }
.value:nth-child(3) { background: linear-gradient(180deg,#fff,rgba(194,65,12,.07)); }
.value:nth-child(3)::before { background: linear-gradient(90deg,#e0763f,#C2410C); }
.value:nth-child(3) .ic { background: linear-gradient(150deg,#e0763f,#C2410C); }
.statband { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; text-align: center; }
.statband .stat .n { font-family: var(--ff-display); font-size: clamp(2.4rem,4vw,3.2rem); color: var(--accent); line-height: 1; }
.statband .stat .l { font-size: .92rem; color: var(--slate); margin-top: 8px; }
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 44px; }
.member { text-align: center; }
.member .ph { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: repeating-linear-gradient(45deg,#e9e3d9,#e9e3d9 7px,#f1ede6 7px,#f1ede6 14px); border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 12px; }
.member .ph span { font-family: var(--ff-mono); font-size: .66rem; color: var(--slate-2); }
.member h5 { font-family: var(--ff-sans); font-size: .98rem; font-weight: 700; margin: 0 0 2px; }
.member p { font-size: .82rem; color: var(--slate-2); }

/* ---------- Placeholder de capture produit ---------- */
.shot { position: relative; border-radius: var(--radius); border: 1px solid var(--line); background: repeating-linear-gradient(135deg, #efeae1, #efeae1 11px, #f6f3ee 11px, #f6f3ee 22px); box-shadow: var(--shadow-md); display: grid; place-items: center; overflow: hidden; min-height: 300px; padding: 24px; }
.shot .cap { font-family: var(--ff-mono); font-size: .8rem; color: var(--slate-2); background: rgba(255,255,255,.78); border: 1px solid var(--line); border-radius: 8px; padding: 9px 14px; text-align: center; line-height: 1.5; max-width: 80%; }
.shot.dark { background: repeating-linear-gradient(135deg, #16263c, #16263c 11px, #1b2e48 11px, #1b2e48 22px); border-color: rgba(255,255,255,.12); }
.shot.dark .cap { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #9fb0c4; }

/* ---------- Grille de capacités ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px 24px; margin-top: 40px; }
.capability { display: flex; align-items: flex-start; gap: 14px; padding: 18px; border: 1px solid transparent; border-radius: 12px; transition: border-color .2s, background .2s, box-shadow .2s; }
.capability:hover { border-color: var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.capability .ic { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--sand-2); color: var(--steel); display: grid; place-items: center; }
.capability h4 { font-family: var(--ff-sans); font-size: 1rem; font-weight: 700; margin-bottom: 3px; }
.capability p { font-size: .9rem; color: var(--slate); line-height: 1.45; }

/* ---------- Étapes numérotées ---------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 44px; }
.step { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; position: relative; }
.step .num { font-family: var(--ff-display); font-size: 2.6rem; color: var(--accent); line-height: 1; }
.step h4 { font-family: var(--ff-sans); font-size: 1.08rem; font-weight: 700; margin: 12px 0 6px; }
.step p { color: var(--slate); font-size: .94rem; line-height: 1.5; }

/* ---------- Texte + visuel ---------- */
.fsplit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,56px); align-items: center; }
.fsplit .fs-copy h2 { margin-bottom: 14px; }
.fsplit .fs-copy h2 .accent { color: var(--accent); font-style: italic; }
.fsplit .fs-copy p { color: var(--slate); font-size: 1.05rem; }

/* ---------- Niveaux de custom ---------- */
.levels { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 44px; align-items: stretch; }
.lvl { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.lvl:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.lvl .tag { font-family: var(--ff-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); }
.lvl h4 { font-family: var(--ff-display); font-size: 1.6rem; margin: 8px 0 4px; }
.lvl .range { font-family: var(--ff-display); font-size: 1.7rem; color: var(--navy); margin-top: 14px; }
.lvl .meta { font-size: .9rem; color: var(--slate-2); margin-top: 4px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .forwho, .addons, .split2 { grid-template-columns: 1fr; }
  .cap-grid, .steps, .levels { grid-template-columns: 1fr; }
  .ind-grid, .values { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .fsplit { grid-template-columns: 1fr; }
  .fsplit .fs-visual { order: 2; }
  .cmp thead th { top: 60px; position: static; }
  /* comparison table → scroll horizontal interne */
  .cmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cmp { min-width: 620px; }
}
@media (max-width: 560px) {
  .cmp { min-width: 520px; font-size: .86rem; }
  .cmp th, .cmp td { padding: 12px 12px; }
  .form-row { grid-template-columns: 1fr; }
  .statband { grid-template-columns: 1fr; gap: 28px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
