/* OPERGON — feuille de style du site */

:root {
  --navy: #0D1128;
  --navy-2: #1C2338;
  --turq: #00D4C4;
  --turq-text: #0A8C82;
  --bg: #F4F7FA;
  --surface: #FFFFFF;
  --line: #E5E9F0;
  --text-2: #5A6473;
  --text-3: #8B95A5;
  --crit: #D64550;
  --high: #C9820F;
  --ok: #178A5A;
  --info: #3B6FD1;
  --radius: 14px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(13, 17, 40, .04), 0 12px 32px -18px rgba(13, 17, 40, .18);
  --gutter: clamp(20px, 4.4vw, 64px);
  --max: 1440px;
  --font-title: 'Sora', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--turq-text); }
a:hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--turq); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-title); margin: 0; letter-spacing: -0.03em; line-height: 1.08; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--font-mono); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 9vw, 140px) 0; }
.section--tight { padding: clamp(48px, 6vw, 88px) 0; }
.section--white { background: var(--surface); }
.section--dark { background: var(--navy); color: #fff; }
.section--dark .eyebrow, .section--dark .lead { color: #AAB3C2; }
.section--dark .muted-word { color: #4D5670; }
.section--dark a { color: var(--turq); }

/* ---- Typographie éditoriale ---- */
.eyebrow {
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--text-2);
  font-weight: 500; display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--turq); flex: none; }
.display { font-size: clamp(42px, 6.4vw, 96px); font-weight: 500; letter-spacing: -0.045em; line-height: 1.0; text-wrap: balance; }
.h2 { font-size: clamp(32px, 4.4vw, 64px); font-weight: 500; letter-spacing: -0.04em; text-wrap: balance; }
.h3 { font-size: clamp(20px, 1.7vw, 24px); font-weight: 600; letter-spacing: -0.02em; }
.muted-word { color: var(--text-3); }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--text-2); max-width: 620px; text-wrap: pretty; }
.small { font-size: 14px; color: var(--text-2); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .eyebrow { grid-column: 1 / -1; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; } }

/* ---- Boutons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; font: 500 15px/1 var(--font-body);
  text-decoration: none; border-radius: 999px; padding: 15px 24px; border: 1px solid transparent;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-2); color: var(--turq); }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--turq { background: var(--turq); color: var(--navy); }
.btn--turq:hover { background: #fff; color: var(--navy); }
/* Dans une section sombre, .section--dark a passe tous les liens en teal : on rétablit la couleur propre des boutons (sinon texte teal sur fond teal = invisible). */
.section--dark .btn--turq, .section--dark .btn--turq:hover { color: var(--navy); }
.section--dark .btn--primary { color: #fff; }
.section--dark .btn--primary:hover { color: var(--turq); }
.section--dark .btn--ghost-light { color: #fff; }
.section--dark .btn--ghost-light:hover { color: var(--turq); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--ghost-light:hover { border-color: var(--turq); color: var(--turq); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- En-tête ---- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(244, 247, 250, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.site-header--dark { background: rgba(13, 17, 40, .86); color: #fff; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.site-header .logo img { height: 22px; width: auto; }
.site-header .rule { height: 1px; background: linear-gradient(90deg, var(--line) 0%, var(--turq) 30%, var(--line) 60%); }
.site-header--dark .rule { background: linear-gradient(90deg, #2A3250 0%, var(--turq) 30%, #2A3250 60%); }
.nav { display: flex; align-items: center; gap: 34px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14px; color: var(--navy); text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; }
.nav-links a:hover { color: var(--turq-text); }
.nav-links a[aria-current="page"] { font-weight: 600; border-bottom-color: var(--turq); }
.site-header--dark .nav-links a { color: #fff; }
.site-header--dark .nav-links a:hover { color: var(--turq); }
.nav .btn { padding: 11px 18px; font-size: 14px; border-color: var(--navy); color: var(--navy); }
.nav .btn:hover { background: var(--turq); border-color: var(--turq); color: var(--navy); }
.site-header--dark .nav .btn { border-color: #fff; color: #fff; }
.site-header--dark .nav .btn:hover { color: var(--navy); }
.burger { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: inherit; }
.burger span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .25s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.site-header--dark .burger { border-color: #2A3250; }
.mobile-menu { display: none; }
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: flex; }
  .mobile-menu { position: fixed; inset: 77px 0 0; z-index: 39; background: var(--navy); color: #fff; padding: 32px var(--gutter) 40px; flex-direction: column; justify-content: space-between; overflow-y: auto; }
  .mobile-menu.open { display: flex; }
  .mobile-menu a.m-link { display: flex; justify-content: space-between; color: #fff; text-decoration: none; font: 500 30px/1.2 var(--font-title); letter-spacing: -0.03em; padding: 16px 0; border-bottom: 1px solid #2A3250; }
  .mobile-menu a.m-link[aria-current="page"] { color: var(--turq); }
  .mobile-menu .btn { margin-top: 32px; justify-content: center; }
}

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(24px, 4vw, 64px); align-items: center; min-height: min(78vh, 820px); padding: clamp(32px, 5vw, 64px) 0 clamp(24px, 3vw, 40px); }
.hero-copy { display: flex; flex-direction: column; gap: 28px; position: relative; z-index: 2; }
.hero-visual { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 680px; justify-self: center; }
.hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; font-size: 13px; color: var(--text-2); padding-bottom: 40px; }
.hero-foot .scroll { display: flex; gap: 12px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-visual { max-width: 520px; aspect-ratio: 1 / .85; order: -1; }
}
.page-hero { padding: clamp(48px, 7vw, 104px) 0 clamp(48px, 6vw, 88px); }
.page-hero .hero-grid { min-height: 0; padding: 0 var(--gutter); }
.page-hero .hero-visual { aspect-ratio: 5 / 4; }

/* Scène 3D : le canvas remplit son hôte ; repli statique si WebGL indisponible. */
.scene { position: absolute; inset: 0; border-radius: var(--radius-lg); overflow: hidden; }
.scene canvas { width: 100% !important; height: 100% !important; }
.scene .fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.scene.is-3d .fallback { display: none; }
.fallback-ring { width: 58%; aspect-ratio: 1; border-radius: 50%; position: relative;
  background: conic-gradient(from 210deg, #F9FBFC, #A9B3C2, #EEF2F6, #6F7A8E, #F4F7FA, #BCC5D1, #F9FBFC);
  -webkit-mask: conic-gradient(from 132deg, #000 0 276deg, transparent 276deg), radial-gradient(circle, transparent 50%, #000 51%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.fallback-bar { position: absolute; left: 50%; top: 46%; width: 30%; height: 9%; border-radius: 999px; background: linear-gradient(180deg, #B8F7F1, var(--turq) 42%, var(--turq-text)); }

/* ---- Cartes ---- */
.cards { display: grid; gap: 16px; }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards-2, .cards-3, .cards-4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 2.4vw, 36px); display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); position: relative; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(13, 17, 40, .04), 0 24px 48px -24px rgba(13, 17, 40, .28); }
.card .num { font: 500 13px var(--font-mono); color: var(--turq-text); letter-spacing: .08em; }
.card p { color: var(--text-2); }
.card--big { border-radius: var(--radius-lg); min-height: 300px; }
.card--big .num { font: 500 clamp(48px, 5vw, 72px)/1 var(--font-title); color: var(--line); letter-spacing: -0.04em; margin-bottom: auto; }
.card--dark { background: var(--navy-2); border-color: #2A3250; color: #fff; box-shadow: none; }
.card--dark p { color: #AAB3C2; }
.card--accent { border-color: var(--turq); box-shadow: 0 0 0 1px var(--turq), var(--shadow); }
.tag { display: inline-flex; align-items: center; gap: 6px; font: 500 11px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--bg); color: var(--text-2); border: 1px solid var(--line); width: fit-content; }
.tag--turq { background: rgba(0, 212, 196, .1); color: var(--turq-text); border-color: rgba(0, 212, 196, .35); }
.tag--ok { background: rgba(23, 138, 90, .08); color: var(--ok); border-color: rgba(23, 138, 90, .3); }
.tag--crit { background: rgba(214, 69, 80, .08); color: var(--crit); border-color: rgba(214, 69, 80, .3); }
.tag--high { background: rgba(201, 130, 15, .08); color: #9a6409; border-color: rgba(201, 130, 15, .3); }
.check-list { display: grid; gap: 10px; }
.check-list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--text-2); }
.check-list li::before { content: '✓'; color: var(--turq-text); font-weight: 600; }
.section--dark .check-list li { color: #C9D0DB; }
.section--dark .check-list li::before { color: var(--turq); }

/* ---- Bandeau de chiffres ---- */
.stats { display: grid; grid-template-columns: 1.1fr repeat(5, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stats > div { padding: 32px 28px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; justify-content: space-between; }
.stats > div:first-child { border-left: 0; }
.stats .big { font: 500 clamp(40px, 4vw, 60px)/1 var(--font-title); letter-spacing: -0.04em; }
.stats .big .unit { font-size: .5em; color: var(--turq-text); margin-left: 2px; }
.stats .lbl { font-size: 14px; color: var(--text-2); line-height: 1.4; }
@media (max-width: 1080px) { .stats { grid-template-columns: repeat(3, 1fr); } .stats > div:nth-child(4) { border-left: 0; } .stats > div:nth-child(n+4) { border-top: 1px solid var(--line); } }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } .stats > div:first-child { grid-column: 1 / -1; } .stats > div { border-left: 0 !important; border-top: 1px solid var(--line); } .stats > div:first-child { border-top: 0; } .stats > div:nth-child(odd):not(:first-child) { border-left: 1px solid var(--line) !important; } }

/* ---- Niveaux d'action ---- */
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .levels { grid-template-columns: 1fr; } }
.level { border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 16px; min-height: 280px; border: 1px solid #2A3250; background: var(--navy-2); }
.level .meter { display: flex; gap: 6px; margin-top: auto; }
.level .meter span { height: 6px; flex: 1; border-radius: 3px; background: #2A3250; }
.level .meter span.on { background: var(--turq); }
.level code { font: 500 13px var(--font-mono); color: var(--turq); }
.level p { color: #AAB3C2; }

/* ---- Jauge Indice ---- */
.gauge-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 900px) { .gauge-wrap { grid-template-columns: 1fr; } }
.gauge-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 44px); box-shadow: var(--shadow); }
.gauge { position: relative; max-width: 460px; margin: 0 auto; }
.gauge svg { width: 100%; height: auto; overflow: visible; }
.gauge .val { position: absolute; left: 0; right: 0; bottom: 4%; text-align: center; }
.gauge .val b { display: block; font: 500 clamp(48px, 6vw, 76px)/1 var(--font-title); letter-spacing: -0.04em; }
.gauge .val span { font-size: 13px; color: var(--text-2); }
.weights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 28px; }
.weights div { border: 1px solid var(--line); border-radius: 10px; padding: 12px; text-align: center; font-size: 13px; color: var(--text-2); }
.weights b { display: block; font: 600 20px var(--font-mono); color: var(--navy); }
.weights .c b { color: var(--crit); } .weights .e b { color: #9a6409; } .weights .m b { color: var(--info); }
.sample-note { font: 400 12px var(--font-mono); color: var(--text-3); text-align: center; margin-top: 14px; }

/* ---- Dossier de preuve / console ---- */
.proof { background: var(--navy); color: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid #2A3250; box-shadow: 0 30px 80px -40px rgba(13, 17, 40, .6); }
.proof-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid #2A3250; font: 500 12px var(--font-mono); color: #AAB3C2; flex-wrap: wrap; }
.dots { display: flex; gap: 6px; } .dots span { width: 9px; height: 9px; border-radius: 50%; background: #2A3250; }
.proof-body { padding: 22px; font: 400 13px/1.9 var(--font-mono); overflow-x: auto; }
.proof-body .k { color: #8B95A5; }
.proof-body .minus { color: #F08A92; } .proof-body .plus { color: #5BE3B0; }
.proof-body .t { color: var(--turq); }
.proof-foot { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 22px 22px; }
.badge-ok { display: inline-flex; align-items: center; gap: 8px; font: 500 12px var(--font-mono); padding: 7px 12px; border-radius: 999px; background: rgba(23, 138, 90, .18); color: #5BE3B0; border: 1px solid rgba(91, 227, 176, .35); }
.badge-ok::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #5BE3B0; box-shadow: 0 0 0 3px rgba(91, 227, 176, .2); }
.proof-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 900px) { .proof-grid { grid-template-columns: 1fr; } }
.feature-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.feature-list li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.feature-list .n { font: 500 13px var(--font-mono); color: var(--turq-text); padding-top: 2px; }
.feature-list b { display: block; font-weight: 600; }
.feature-list span { color: var(--text-2); font-size: 15px; }

/* ---- Secteurs ---- */
.sectors { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 900px) { .sectors { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .sectors { grid-template-columns: repeat(2, 1fr); } }
.sector { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 16px; background: var(--surface); }
.sector svg { width: 34px; height: 34px; color: var(--navy); }
.sector span { font-weight: 500; font-size: 15px; }

/* ---- Souveraineté ---- */
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid #2A3250; border-radius: 999px; font: 500 13px var(--font-mono); letter-spacing: .06em; color: #fff; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--turq); }

/* ---- CTA ---- */
.cta { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy); color: #fff; padding: clamp(40px, 6vw, 96px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 32px; align-items: end; }
.cta::after { content: ''; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(0, 212, 196, .25); box-shadow: 0 0 0 60px rgba(0, 212, 196, .03), 0 0 0 140px rgba(0, 212, 196, .02); pointer-events: none; }
.cta .h2 { color: #fff; }
.cta > * { position: relative; z-index: 1; }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; } }

/* ---- Pied de page ---- */
.site-footer { background: var(--navy); color: #fff; padding: 72px 0 32px; }
/* Réserve de l'espace pour le lanceur de chat (fixe, bas-droite) afin qu'il ne recouvre pas la ligne légale. */
.footer-base { padding-bottom: 72px; }
@media (max-width: 640px) { .footer-base { padding-bottom: 88px; } }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid #2A3250; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.site-footer .logo img { height: 22px; }
.site-footer .sign { font: 500 clamp(20px, 2vw, 26px)/1.3 var(--font-title); letter-spacing: -0.02em; margin-top: 28px; max-width: 420px; }
.site-footer .sign span { color: var(--turq); }
.site-footer .footer-intro { margin-top: 16px; max-width: 400px; font-size: 14px; line-height: 1.6; color: #AAB3C2; }
.site-footer h3 { font: 500 12px var(--font-body); letter-spacing: .24em; text-transform: uppercase; color: #8B95A5; margin-bottom: 18px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--turq); }
.footer-compliance { margin: 0; padding-top: 24px; font-size: 12.5px; line-height: 1.5; color: #8B95A5; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 13px; color: #8B95A5; }
.footer-base nav { display: flex; gap: 20px; }
.footer-base a { color: #AAB3C2; }

/* ---- Apparition au défilement ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* ---- Problème ---- */
.problem { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); }
@media (max-width: 900px) { .problem { grid-template-columns: 1fr; } }
.alert-stack { display: grid; gap: 10px; }
.alert { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 14px; }
.alert .sev { width: 8px; height: 8px; border-radius: 50%; }
.alert .mono { font-size: 12px; color: var(--text-3); }
.alert.faded { opacity: .45; } .alert.faded2 { opacity: .22; }
.alert.done { border-color: rgba(23, 138, 90, .35); background: rgba(23, 138, 90, .05); }

/* ---- Services : formules ---- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr; } }
.plan { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-lg); padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.plan h3 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 500; letter-spacing: -0.03em; }
.plan h3 small { display: block; font: 500 12px var(--font-mono); letter-spacing: .14em; color: var(--text-3); margin-bottom: 8px; }
.plan .for { font-size: 15px; color: var(--text-2); min-height: 48px; }
.plan .btn { margin-top: auto; justify-content: center; }
.plan--featured { background: var(--navy); color: #fff; border-color: var(--navy); }
.plan--featured .for, .plan--featured .check-list li { color: #C9D0DB; }
.plan--featured .check-list li::before { color: var(--turq); }
.plan--featured h3 small { color: var(--turq); }
.included { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 22px 28px; border: 1px dashed #C9D0DB; border-radius: var(--radius); font-size: 15px; color: var(--text-2); }
.included b { color: var(--navy); }

.sprint { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 900px) { .sprint { grid-template-columns: 1fr; } }
.steps-v { display: grid; gap: 0; counter-reset: s; }
.steps-v li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid #2A3250; }
.steps-v li:last-child { border-bottom: 1px solid #2A3250; }
.steps-v .n { font: 500 13px var(--font-mono); color: var(--turq); }
.steps-v b { display: block; font-weight: 600; margin-bottom: 4px; }
.steps-v span { color: #AAB3C2; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { font: 500 14px var(--font-body); padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--navy); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip:hover { border-color: var(--navy); }
.op[hidden] { display: none; }
.op .doms { display: flex; gap: 6px; flex-wrap: wrap; }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.kpis > div { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 12px; }
.kpis .n { font: 500 13px var(--font-mono); color: var(--turq-text); padding-top: 3px; }
.kpis b { font-weight: 500; font-size: 18px; letter-spacing: -0.01em; }
@media (max-width: 900px) { .kpis { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .kpis { grid-template-columns: 1fr; } }

/* ---- À propos ---- */
.timeline { position: relative; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 80px 28px 1fr; gap: 16px; align-items: start; padding: 0 0 36px; position: relative; }
.timeline li::after { content: ''; position: absolute; left: 109px; top: 18px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline .n { font: 500 13px var(--font-mono); color: var(--text-3); padding-top: 4px; }
.timeline .dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--navy); background: var(--bg); margin: 6px auto 0; position: relative; z-index: 1; }
.timeline li:last-child .dot { background: var(--turq); border-color: var(--turq); box-shadow: 0 0 0 6px rgba(0, 212, 196, .18); }
.timeline .t { font: 500 clamp(18px, 1.6vw, 22px)/1.35 var(--font-title); letter-spacing: -0.02em; }
.timeline li:last-child .t { color: var(--turq-text); }
@media (max-width: 560px) { .timeline li { grid-template-columns: 22px 1fr; } .timeline .n { display: none; } .timeline li::after { left: 10px; } }

.quote { font: 500 clamp(28px, 3.6vw, 52px)/1.15 var(--font-title); letter-spacing: -0.035em; max-width: 1100px; text-wrap: balance; }
.quote span { color: var(--turq); }
.name-block { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.name-block .latin { font: 500 clamp(56px, 9vw, 140px)/1 var(--font-title); letter-spacing: -0.05em; }
@media (max-width: 700px) { .name-block { grid-template-columns: 1fr; } }
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.promises > div { padding: 32px 32px 32px 0; }
.promises > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.promises b { display: block; font: 500 clamp(32px, 3.6vw, 52px)/1 var(--font-title); letter-spacing: -0.04em; margin: 12px 0 14px; }
@media (max-width: 800px) { .promises { grid-template-columns: 1fr; } .promises > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }
.versus { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.versus .row { display: grid; grid-template-columns: 1fr 1fr; }
.versus .row > div { padding: 24px 28px; border-top: 1px solid var(--line); }
.versus .row > div + div { border-left: 1px solid var(--line); }
.versus .head > div { border-top: 0; font: 500 12px var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.versus .head > div + div { color: var(--turq-text); }
.versus .row > div:first-child { color: var(--text-2); text-decoration: line-through; text-decoration-color: rgba(139, 149, 165, .5); }
.versus .row > div:last-child { font-weight: 500; }
@media (max-width: 640px) { .versus .row { grid-template-columns: 1fr; } .versus .row > div + div { border-left: 0; border-top: 0; padding-top: 0; } .versus .head { display: none; } }
.photo-slot { border: 1px dashed #C9D0DB; border-radius: var(--radius-lg); min-height: 180px; display: grid; place-items: center; color: var(--text-3); font-size: 13px; padding: 20px; text-align: center; background: repeating-linear-gradient(135deg, transparent 0 12px, rgba(13, 17, 40, .02) 12px 13px); }
.photo-slot:empty { display: none; }

/* ---- Réalisations : parcours NTLM ---- */
.journey { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; }
@media (max-width: 900px) { .journey { grid-template-columns: 1fr; } }
.journey-steps { display: grid; gap: 6px; align-content: start; }
@media (max-width: 900px) { .journey-steps { grid-template-columns: repeat(3, 1fr); } }
.jstep { text-align: left; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: #AAB3C2; font: 500 15px var(--font-body); cursor: pointer; }
.jstep .n { font: 500 12px var(--font-mono); color: #4D5670; }
.jstep:hover { color: #fff; }
.jstep[aria-selected="true"] { background: var(--navy-2); border-color: #2A3250; color: #fff; }
.jstep[aria-selected="true"] .n { color: var(--turq); }
@media (max-width: 560px) { .jstep { grid-template-columns: 1fr; font-size: 13px; padding: 10px; } }
.jpanel { background: var(--navy-2); border: 1px solid #2A3250; border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; min-height: 420px; }
.jpanel h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; }
.jpanel p { color: #AAB3C2; max-width: 640px; }
.jpanel .log { background: var(--navy); border: 1px solid #2A3250; border-radius: 12px; padding: 18px; font: 400 13px/2 var(--font-mono); color: #C9D0DB; }
.jpanel .log .t { color: var(--turq); margin-right: 12px; }
.jpanel .nav-j { display: flex; gap: 8px; margin-top: auto; }
.jpanel .nav-j button { width: 44px; height: 44px; border-radius: 999px; border: 1px solid #2A3250; background: transparent; color: #fff; cursor: pointer; font-size: 16px; }
.jpanel .nav-j button:hover:not(:disabled) { border-color: var(--turq); color: var(--turq); }
.jpanel .nav-j button:disabled { opacity: .3; cursor: default; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.facts div { border: 1px solid #2A3250; border-radius: 12px; padding: 16px; }
.facts b { display: block; font: 500 28px var(--font-title); color: #fff; }
.facts span { font-size: 13px; color: #AAB3C2; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }
.plan5 { counter-reset: p; display: grid; gap: 8px; }
.plan5 li { counter-increment: p; display: grid; grid-template-columns: 30px 1fr; color: #C9D0DB; }
.plan5 li::before { content: counter(p, decimal-leading-zero); font: 500 12px var(--font-mono); color: var(--turq); padding-top: 4px; }

.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 48px); align-items: center; }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } }
.case dl { display: grid; grid-template-columns: 110px 1fr; gap: 12px 16px; margin: 20px 0 0; }
.case dt { font: 500 12px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); padding-top: 3px; }
.case dd { margin: 0; }
.gaps { display: grid; gap: 8px; margin-top: 20px; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 44px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; box-shadow: var(--shadow); }
.form .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 14px; font-weight: 500; }
.field input, .field textarea { font: 400 16px var(--font-body); color: var(--navy); padding: 13px 14px; border-radius: 10px; border: 1px solid #C9D0DB; background: var(--bg); width: 100%; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--turq); outline-offset: 0; border-color: var(--turq); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.field .err { font-size: 13px; color: var(--crit); display: none; }
.field.invalid .err { display: block; }
.field.invalid input { border-color: var(--crit); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.seg label { position: relative; font-weight: 400; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: inline-block; padding: 10px 16px; border: 1px solid #C9D0DB; border-radius: 999px; font-size: 14px; cursor: pointer; background: var(--bg); }
.seg input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.seg input:focus-visible + span { outline: 2px solid var(--turq); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 14px; color: var(--text-2); align-items: start; }
.consent input { width: 18px; height: 18px; accent-color: var(--navy); margin-top: 2px; }
.form-ok { grid-column: 1 / -1; display: none; text-align: center; padding: 48px 12px; }
.form.sent > :not(.form-ok) { display: none; }
.form.sent .form-ok { display: block; }
.form-ok .tick { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px; background: rgba(0, 212, 196, .12); color: var(--turq-text); font-size: 28px; }
.next-steps { display: grid; gap: 0; }
.next-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); }
.next-steps .n { font: 500 13px var(--font-mono); color: var(--turq-text); }
.next-steps b { display: block; font-weight: 600; margin-bottom: 4px; }
.next-steps span { color: var(--text-2); font-size: 15px; }
.readonly-note { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; margin-top: 24px; padding: 20px; border-radius: var(--radius); background: var(--navy); color: #fff; font-size: 15px; }
.readonly-note .ic { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--turq); display: grid; place-items: center; color: var(--turq); }

/* ---- Contact : titre, chips à icône, carte contrôle ---- */
.form-title { grid-column: 1 / -1; font: 600 clamp(20px, 2vw, 24px) var(--font-title); letter-spacing: -.01em; margin: -4px 0 2px; }
.field label .opt { color: var(--text-3); font-weight: 400; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chipbox { position: relative; }
.chipbox input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chipbox span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid #C9D0DB; border-radius: 999px; font-size: 14px; cursor: pointer; background: var(--bg); color: var(--navy); transition: border-color .15s, background .15s, color .15s; }
.chipbox span svg { color: var(--turq-text); flex: none; }
.chipbox span:hover { border-color: var(--turq); }
.chipbox input:checked + span { background: var(--turq); border-color: var(--turq); color: var(--navy); }
.chipbox input:checked + span svg { color: var(--navy); }
.chipbox input:focus-visible + span { outline: 2px solid var(--turq); outline-offset: 2px; }
.form-note { grid-column: 1 / -1; font-size: 13px; color: var(--text-3); margin-top: -6px; }
.form-note a { color: var(--turq-text); }
.control-card { margin-top: 24px; padding: 24px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.control-card .control-ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--turq); color: var(--turq); margin-bottom: 14px; }
.control-card .control-ic svg { width: 22px; height: 22px; }
.control-card b { display: block; font: 600 18px var(--font-title); margin-bottom: 6px; }
.control-card p { color: #C9D0DB; font-size: 14px; line-height: 1.55; }

/* Opérations — en-tête de fiche (technologies + statut) et lien */
.op-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.op-status { font: 600 11px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(0, 212, 196, .14); color: var(--turq-text); white-space: nowrap; }
.op-status--study { background: rgba(240, 176, 74, .18); color: #8A5E05; }
.op-link { margin-top: auto; padding-top: 4px; font: 600 14px var(--font-body); color: var(--turq-text); display: inline-flex; align-items: center; gap: 6px; }
.op-link:hover { color: var(--navy); }

/* Boutons de téléchargement des livrables (rapport, plan, preuve) */
.dl-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.dl-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; border: 1px solid #C9D0DB; background: var(--bg); color: var(--navy); font: 500 13px var(--font-body); transition: border-color .15s, background .15s, color .15s, transform .15s; }
.dl-btn svg { color: var(--turq-text); flex: none; }
.dl-btn:hover { border-color: var(--turq); background: #fff; transform: translateY(-1px); }
.section--dark .dl-btn { background: rgba(255, 255, 255, .04); border-color: #2A3250; color: #fff; }
.section--dark .dl-btn svg { color: var(--turq); }
.section--dark .dl-btn:hover { border-color: var(--turq); background: rgba(0, 212, 196, .08); }
@media (prefers-reduced-motion: reduce) { .dl-btn:hover { transform: none; } }

/* Illustration 3D dédiée (webp transparent) dans le hero, variante non-3D */
.scene .hero-art { position: absolute; inset: 0; display: grid; place-items: center; padding: clamp(8px, 3%, 36px); box-sizing: border-box; }
.scene .hero-art .hero-svg { width: 100%; height: 100%; max-height: 100%; overflow: visible; filter: drop-shadow(0 34px 40px rgba(13,17,40,.14)); }
.scene .hero-img { position: absolute; inset: 0; }
.scene .hero-img img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Illustration pleine (décor rectangulaire) fondue dans le fond du site : bords adoucis + coins arrondis */
.scene .hero-img--blend img {
  object-fit: cover;
  border-radius: var(--radius-lg, 24px);
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 22%, #000 78%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to right, transparent 0, #000 22%, #000 78%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%);
          mask-composite: intersect;
}

/* Formes géométriques CSS-art par page (variante non-3D) — même style que le logo */
.glogo .sh { position: absolute; }
/* Carré arrondi 3D (Services) + barre teal */
.sh-tile { left: 22%; top: 18%; width: 56%; aspect-ratio: 1/1; border-radius: 22%; transform: rotate(14deg); background: linear-gradient(145deg, #FFFFFF 0%, #E4E9EF 45%, #AEB8C6 100%); box-shadow: inset -18px -26px 50px rgba(13,17,40,.16), inset 18px 18px 36px #FFFFFF, 0 50px 70px -30px rgba(13,17,40,.4); }
.sh-bar { left: 30%; top: 44%; width: 56%; height: 10%; border-radius: 999px; background: linear-gradient(180deg, #B8F7F1 0%, #00D4C4 42%, #0A8C82 100%); box-shadow: inset 0 3px 8px rgba(255,255,255,.75), inset 0 -6px 12px rgba(13,17,40,.25), 0 30px 36px -18px rgba(10,140,130,.55); }
/* Icône thématique gravée sur la tuile */
.sh-ic { left: 34%; top: 30%; width: 32%; z-index: 2; }
.sh-ic svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 6px 10px rgba(13,17,40,.12)); }
/* Cylindre (Opérations) */
.sh-cyl { left: 34%; top: 14%; width: 32%; height: 64%; border-radius: 50% / 13%; background: linear-gradient(90deg, #92A0B0 0%, #FFFFFF 34%, #EEF2F6 54%, #AEB8C6 100%); box-shadow: 0 50px 70px -30px rgba(13,17,40,.4); }
.sh-cyl::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 26%; border-radius: 50%; background: linear-gradient(180deg, #FFFFFF, #DCE2EA); }
.sh-cyl::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 26%; border-radius: 50%; background: linear-gradient(180deg, #C3CBD6, #8591A2); }
/* Cône / triangle (À propos) */
.sh-cone { left: 26%; top: 13%; width: 48%; height: 64%; clip-path: polygon(50% 0, 100% 100%, 0 100%); background: linear-gradient(100deg, #FFFFFF 0%, #D7DEE6 52%, #92A0B0 100%); filter: drop-shadow(0 38px 26px rgba(13,17,40,.32)); }
/* Cube isométrique (OPERGON en action) */
.sh-cube { left: 29%; top: 17%; width: 42%; height: 54%; }
.sh-cube i { position: absolute; inset: 0; }
.sh-cube i:nth-child(1) { clip-path: polygon(50% 0, 100% 25%, 50% 50%, 0 25%); background: linear-gradient(145deg, #FFFFFF, #E4E9EF); }
.sh-cube i:nth-child(2) { clip-path: polygon(0 25%, 50% 50%, 50% 100%, 0 75%); background: linear-gradient(180deg, #CAD2DC, #AEB8C6); }
.sh-cube i:nth-child(3) { clip-path: polygon(50% 50%, 100% 25%, 100% 75%, 50% 100%); background: linear-gradient(180deg, #9AA6B6, #7C889A); }
/* Sphère (Contact) */
.sh-ball { left: 24%; top: 15%; width: 52%; aspect-ratio: 1/1; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #FFFFFF 0%, #EEF2F6 22%, #C3CBD6 58%, #8591A2 100%); box-shadow: 0 50px 70px -30px rgba(13,17,40,.4); }

/* Logo « G » en CSS-art (variante non-3D animée) : anneau métallique + barre teal + sphères */
.glogo { position: absolute; inset: 0; }
.glogo > div { position: absolute; }
.gl-orbit { left: 2%; top: 4%; width: 92%; aspect-ratio: 1/1; border-radius: 50%; border: 1px solid rgba(13,17,40,.18); transform: rotate(-18deg) scaleY(.42); }
.gl-shadow { left: 18%; bottom: 6%; width: 62%; height: 7%; border-radius: 50%; background: radial-gradient(ellipse, rgba(13,17,40,.28), rgba(13,17,40,0) 70%); filter: blur(6px); }
.gl-ring { left: 10%; top: 10%; width: 72%; aspect-ratio: 1/1; -webkit-mask: conic-gradient(#000 0 58deg, transparent 58deg 122deg, #000 122deg); mask: conic-gradient(#000 0 58deg, transparent 58deg 122deg, #000 122deg); }
.gl-ring span { position: absolute; inset: 0; border-radius: 50%; display: block; }
.gl-ring .a { background: conic-gradient(from 210deg, #F9FBFC, #A9B3C2, #EEF2F6, #6F7A8E, #F4F7FA, #BCC5D1, #F9FBFC); -webkit-mask: radial-gradient(circle, transparent 52%, #000 53%, #000 71%, transparent 72%); mask: radial-gradient(circle, transparent 52%, #000 53%, #000 71%, transparent 72%); }
.gl-ring .b { background: radial-gradient(circle, transparent 52%, rgba(13,17,40,.32) 53.5%, rgba(255,255,255,0) 58%, rgba(255,255,255,.55) 61%, rgba(255,255,255,0) 64%, rgba(13,17,40,.3) 71%, transparent 72%); }
.gl-bar { left: 45%; top: 40.5%; width: 42%; height: 11%; border-radius: 999px; background: linear-gradient(180deg, #B8F7F1 0%, #00D4C4 42%, #0A8C82 100%); box-shadow: inset 0 3px 8px rgba(255,255,255,.75), inset 0 -6px 12px rgba(13,17,40,.25), 0 34px 40px -20px rgba(10,140,130,.55); }
.gl-orb { border-radius: 50%; }
.gl-dark { right: 3%; top: 5%; width: 19%; aspect-ratio: 1/1; background: radial-gradient(circle at 32% 28%, #C9D0DB, #5A6473 18%, #1C2338 48%, #0D1128 82%); box-shadow: 0 30px 40px -18px rgba(13,17,40,.55); }
.gl-white { left: 3%; bottom: 17%; width: 10%; aspect-ratio: 1/1; background: radial-gradient(circle at 32% 28%, #fff, #E7ECF2 30%, #AEB8C6 72%, #6F7A8E 100%); box-shadow: 0 18px 24px -12px rgba(13,17,40,.4); }
.gl-teal { right: 16%; bottom: 16%; width: 5%; aspect-ratio: 1/1; background: radial-gradient(circle at 32% 28%, #E6FFFC, #00D4C4 50%, #0A8C82 100%); }
@media (prefers-reduced-motion: no-preference) {
  .gl-orbit { animation: gl-spin 36s linear infinite; }
  .gl-dark { animation: gl-float 7s ease-in-out infinite; }
  .gl-white { animation: gl-float 9s ease-in-out infinite .6s; }
  .gl-teal { animation: gl-float 6s ease-in-out infinite 1.1s; }
}
@keyframes gl-spin { from { transform: rotate(-18deg) scaleY(.42); } to { transform: rotate(342deg) scaleY(.42); } }
@keyframes gl-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Référentiels de conformité (pastilles) */
.frameworks { display: flex; flex-wrap: wrap; gap: 12px; }
.fw { display: inline-flex; align-items: center; padding: 11px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font: 600 14px var(--font-body); color: var(--navy); box-shadow: var(--shadow); }
.fw-c { color: var(--turq-text); font-weight: 700; margin-right: 8px; }

/* Bandeau de consentement cookies */
.cookie-banner { position: fixed; left: 16px; bottom: 16px; z-index: 80; max-width: 420px; background: #fff; color: var(--navy); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 60px -24px rgba(13,17,40,.5); padding: 18px 20px; font-size: 14px; line-height: 1.5; }
.cookie-banner p { margin: 0 0 14px; }
.cookie-banner a { color: var(--turq-text); }
.cb-row { display: flex; gap: 10px; flex-wrap: wrap; }
.cb-row .btn { padding: 10px 16px; font-size: 14px; }
@media (max-width: 600px) { .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; } }
/* Bouton « charger le calendrier » (avant consentement) */
.cal-ph { position: absolute; inset: 0; margin: auto; width: fit-content; height: fit-content; display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--turq); background: #fff; color: var(--navy); font: 500 14px var(--font-body); cursor: pointer; transition: background .15s; }
.cal-ph:hover { background: var(--turq); }

/* Calendrier Cal.com intégré */
.cal-embed { position: relative; min-height: 640px; width: 100%; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); padding: clamp(16px, 2vw, 32px); box-sizing: border-box; }
.cal-embed iframe { border-radius: var(--radius-lg); }
@media (max-width: 600px) { .cal-embed { min-height: 560px; } }

/* ---- Accueil B (console) ---- */
.hero--console { background: var(--navy); color: #fff; }
.hero--console .lead { color: #AAB3C2; }
.hero--console .muted-word { color: #4D5670; }
.hero--console .eyebrow { color: #AAB3C2; }
.hero--console .hero-foot { color: #8B95A5; }
.console { position: relative; z-index: 2; background: rgba(28, 35, 56, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid #2A3250; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .7); }
.console-grid { display: grid; grid-template-columns: 1.25fr .75fr; }
.console-grid > div { padding: 20px 22px; }
.console-grid > div + div { border-left: 1px solid #2A3250; }
@media (max-width: 640px) { .console-grid { grid-template-columns: 1fr; } .console-grid > div + div { border-left: 0; border-top: 1px solid #2A3250; } }
.exec { display: grid; gap: 0; font: 400 12.5px/1.6 var(--font-mono); }
.exec li { display: grid; grid-template-columns: 44px 14px 1fr; gap: 8px; padding: 8px 0; color: #C9D0DB; opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s; }
.exec li.on { opacity: 1; transform: none; }
.exec .t { color: #8B95A5; }
.exec .d { width: 8px; height: 8px; border-radius: 50%; background: #4D5670; margin-top: 6px; }
.exec .d.ok { background: #5BE3B0; } .exec .d.wait { background: var(--turq); box-shadow: 0 0 0 4px rgba(0, 212, 196, .2); }
.mini-gauge svg { width: 100%; }
.mini-gauge b { display: block; text-align: center; font: 500 34px var(--font-title); margin-top: -18px; }
.mini-gauge span { display: block; text-align: center; font: 400 11px var(--font-mono); color: #8B95A5; }
.console-label { font: 500 11px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: #8B95A5; margin-bottom: 12px; }
.hero-console-visual { position: relative; }
.hero-console-visual { padding-top: 30%; }
.hero-console-visual .scene { inset: -4% -12% 0; border-radius: 0; }
@media (max-width: 900px) { .hero-console-visual { padding-top: 34%; } .hero-console-visual .scene { inset: -6% -5% 0; } }

/* ---- Pages légales ---- */
.legal { max-width: 820px; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; font-weight: 600; }
.legal p, .legal li { color: var(--text-2); margin-bottom: 10px; }
.legal ul { list-style: disc; padding-left: 20px; }
.todo { background: rgba(201, 130, 15, .1); color: #7a4f06; padding: 1px 6px; border-radius: 4px; font-family: var(--font-mono); font-size: .9em; }
.jpanel[hidden], [hidden] { display: none !important; }

/* ---- Bouton de langue : un seul drapeau, celui de l'autre langue ---- */
.bar-end { display: flex; align-items: center; gap: 20px; }
.flag { display: block; width: 34px; height: 23px; border-radius: 5px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); transition: transform .2s, box-shadow .2s; }
.flag svg { width: 100%; height: 100%; display: block; }
.flag:hover, .flag:focus-visible { transform: translateY(-1px); box-shadow: 0 0 0 2px var(--turq); }
.site-header--dark .flag { box-shadow: 0 0 0 1px #2A3250; }
@media (max-width: 1080px) { .bar-end { gap: 12px; } }

/* ---- Assistant de cadrage (chatbot) ---- */
.oa-launch { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; border-radius: 999px; border: 1px solid #2A3250; background: var(--navy); color: #fff; font-family: var(--font-body); cursor: pointer; box-shadow: 0 18px 40px -16px rgba(13, 17, 40, .55); transition: transform .2s, box-shadow .2s; text-align: left; }
.oa-launch:hover { transform: translateY(-2px); box-shadow: 0 22px 48px -16px rgba(13, 17, 40, .65); }
.oa-launch-ic { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; position: relative; }
.oa-launch-ic::after { content: ""; position: absolute; top: -3px; right: -3px; width: 12px; height: 12px; border-radius: 50%; background: var(--turq); box-shadow: 0 0 0 2px var(--navy); }
.oa-launch-ic img { width: 26px; height: 26px; display: block; }
.oa-launch-txt { display: grid; line-height: 1.25; }
.oa-launch-txt b { font-weight: 600; font-size: 15px; }
.oa-launch-txt small { font: 400 11px var(--font-mono); color: #AAB3C2; letter-spacing: .04em; }
.oa-open .oa-launch { opacity: 0; pointer-events: none; }
.oa-panel { position: fixed; right: 24px; bottom: 24px; z-index: 61; width: 420px; height: min(720px, calc(100vh - 48px)); display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 40px 100px -30px rgba(13, 17, 40, .5); }
.oa-panel[hidden] { display: none; }
@media (max-width: 600px) { .oa-panel { inset: 0; width: auto; height: auto; border-radius: 0; } .oa-launch { right: 16px; bottom: 16px; } .oa-launch-txt small { display: none; } }
.oa-head { background: var(--navy); color: #fff; padding: 18px 20px 16px; }
.oa-top { display: flex; justify-content: space-between; align-items: center; }
.oa-title { display: flex; align-items: center; gap: 10px; }
.oa-title img { width: 18px; height: 18px; display: block; }
.oa-title span { font: 500 11px var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: #AAB3C2; }
.oa-icon { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #2A3250; background: transparent; color: #fff; cursor: pointer; font-size: 17px; margin-left: 6px; }
.oa-icon:hover { border-color: var(--turq); color: var(--turq); }
.oa-h { font: 500 24px/1.15 var(--font-title); letter-spacing: -.03em; margin-top: 10px; }
.oa-step { font: 400 12px var(--font-mono); color: var(--turq); margin-top: 6px; }
.oa-progress { display: flex; gap: 6px; margin-top: 12px; }
.oa-progress span { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .14); }
.oa-progress span.cur { background: #fff; } .oa-progress span.done { background: var(--turq); }
.oa-thread { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; }
.oa-msg { max-width: 88%; padding: 11px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; white-space: pre-line; }
.oa-msg.bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.oa-msg.user { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.oa-typing { display: flex; gap: 4px; }
.oa-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); animation: oa-dot 1s infinite; }
.oa-typing span:nth-child(2) { animation-delay: .15s; } .oa-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes oa-dot { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.oa-actions { padding: 6px 16px 10px; max-height: 46%; overflow-y: auto; border-top: 1px solid var(--line); background: var(--bg); }
.oa-actions:empty { display: none; }
.oa-group { font: 500 11px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin: 10px 0 8px; }
.oa-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.oa-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid #D5DBE4; background: var(--surface); color: var(--navy); font: 500 13.5px var(--font-body); cursor: pointer; text-align: left; }
.oa-chip small { font: 500 11px var(--font-mono); color: var(--turq-text); }
.oa-chip:hover { border-color: var(--navy); }
.oa-chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.oa-chip.on small { color: var(--turq); }
.oa-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; position: sticky; bottom: 0; background: var(--bg); padding: 6px 0 2px; }
.oa-link { background: none; border: 0; color: var(--text-2); font: 500 13.5px var(--font-body); text-decoration: underline; cursor: pointer; padding: 6px 0; }
.oa-next { display: inline-flex; align-items: center; justify-content: center; padding: 11px 18px; border-radius: 999px; border: 0; background: var(--navy); color: #fff; font: 500 14px var(--font-body); cursor: pointer; margin-top: 8px; }
.oa-next:hover:not(:disabled) { color: var(--turq); }
.oa-next:disabled { background: #B9C0CC; cursor: not-allowed; }
.oa-days { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.oa-day { flex: none; width: 52px; padding: 8px 0; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--navy); cursor: pointer; display: grid; gap: 2px; }
.oa-day small { font: 400 11px var(--font-mono); color: var(--text-2); text-transform: capitalize; }
.oa-day b { font: 500 18px var(--font-title); }
.oa-day.on { background: var(--navy); border-color: var(--navy); color: #fff; } .oa-day.on small { color: var(--turq); }
.oa-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.oa-slot { padding: 10px 0; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font: 500 13.5px var(--font-mono); color: var(--navy); cursor: pointer; }
.oa-slot:hover:not(:disabled) { border-color: var(--navy); }
.oa-slot:disabled { background: transparent; border-color: transparent; color: #B9C0CC; text-decoration: line-through; cursor: not-allowed; }
.oa-email { display: grid; gap: 8px; margin-top: 10px; }
.oa-email input { font: 400 15px var(--font-body); padding: 12px 14px; border-radius: 10px; border: 1px solid #C9D0DB; background: #fff; color: var(--navy); }
.oa-email input:focus { outline: 2px solid var(--turq); border-color: var(--turq); }
.oa-err { font-size: 13px; color: var(--crit); }
.oa-recap { display: grid; grid-template-columns: 110px 1fr; gap: 6px 12px; margin: 12px 0 4px; font-size: 13.5px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.oa-recap dt { font: 500 11px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); padding-top: 2px; }
.oa-recap dd { margin: 0; }
.oa-ask { display: flex; gap: 8px; padding: 10px 16px; border-top: 1px solid var(--line); background: var(--surface); }
.oa-ask input { flex: 1; min-width: 0; font: 400 14.5px var(--font-body); padding: 11px 14px; border-radius: 999px; border: 1px solid #D5DBE4; background: var(--bg); color: var(--navy); }
.oa-ask input:focus { outline: 2px solid var(--turq); border-color: var(--turq); }
.oa-ask button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; font-size: 17px; cursor: pointer; flex: none; }
.oa-ask button:hover { color: var(--turq); }
.oa-foot { font: 400 11px var(--font-mono); color: var(--text-3); text-align: center; padding: 0 16px 10px; background: var(--surface); }

/* ===================== Animations (ajout) ===================== */
/* Transitions & états hover — sûrs même en reduced-motion (déclenchés par l'utilisateur) */
.oa-launch-ic, .oa-chip, .oa-day, .oa-slot, .oa-next, .oa-icon, .oa-link { transition: transform .15s ease, border-color .15s ease, background .15s ease, color .15s ease, box-shadow .2s ease; }
.oa-chip:hover, .oa-day:hover, .oa-slot:hover:not(:disabled) { transform: translateY(-1px); }
.oa-chip:active, .oa-day:active, .oa-slot:active:not(:disabled), .oa-next:active { transform: translateY(0) scale(.98); }
.oa-next { transition: transform .15s ease, filter .15s ease, box-shadow .2s ease; }
.oa-next:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(13,17,40,.5); }
.oa-icon:hover { transform: rotate(10deg); }
.oa-launch:hover .oa-launch-ic { transform: scale(1.06) rotate(-4deg); animation-play-state: paused; }
/* Cartes & boutons du site */
.card { transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 26px 60px -30px rgba(13,17,40,.45); }
.btn { transition: transform .2s ease, background .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -16px rgba(13,17,40,.5); }
.btn:active { transform: translateY(0); }

@media (prefers-reduced-motion: no-preference) {
  /* Chatbot — launcher : entrée + attention (version marquée) */
  .oa-launch { animation: oa-pop .5s cubic-bezier(.2,.8,.2,1) .6s both, oa-nudge 4s ease-in-out 2s infinite, oa-glow 2.6s ease-in-out 1.6s infinite; }
  .oa-launch:hover { animation-play-state: paused; }
  .oa-launch-ic { animation: oa-breathe 2.4s ease-in-out infinite; }
  .oa-launch-ic::after { animation: oa-badge 1.3s ease-in-out infinite; }
  /* Chatbot — ouverture du panneau */
  .oa-panel:not([hidden]) { animation: oa-panel-in .36s cubic-bezier(.2,.8,.2,1); transform-origin: bottom right; }
  /* Chatbot — entrée du dernier message */
  .oa-thread .oa-msg:last-child { animation: oa-msg-in .32s ease both; }
  /* Chatbot — pulse de l'étape courante */
  .oa-progress span.cur { animation: oa-progress-pulse 1.8s ease-in-out infinite; }
  /* Hero — léger flottement du visuel */
  .hero-visual { animation: oa-float 7s ease-in-out infinite; }
}

@keyframes oa-pop { from { opacity: 0; transform: translateY(10px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes oa-ping { 0% { opacity: .65; transform: scale(1); } 70% { opacity: 0; transform: scale(1.7); } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes oa-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
/* Rebond périodique du lanceur pour attirer l'œil */
@keyframes oa-nudge { 0%, 68%, 100% { transform: translateY(0); } 74% { transform: translateY(-9px); } 80% { transform: translateY(0); } 85% { transform: translateY(-5px); } 90% { transform: translateY(0); } }
/* Halo teal pulsé autour du lanceur */
@keyframes oa-glow { 0%, 100% { box-shadow: 0 18px 40px -16px rgba(13,17,40,.55), 0 0 0 0 rgba(0,212,196,0); } 50% { box-shadow: 0 18px 40px -16px rgba(13,17,40,.55), 0 0 22px 6px rgba(0,212,196,.45); } }
/* Pastille « disponible » qui pulse */
@keyframes oa-badge { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: .75; } }
@keyframes oa-panel-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes oa-msg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes oa-progress-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes oa-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (prefers-reduced-motion: reduce) {
  .oa-launch, .oa-launch::after, .oa-launch-ic, .oa-launch-ic::after, .oa-panel:not([hidden]), .oa-thread .oa-msg:last-child, .oa-progress span.cur, .hero-visual { animation: none !important; }
  .card:hover, .btn:hover, .oa-chip:hover, .oa-day:hover, .oa-slot:hover, .oa-next:hover { transform: none; }
}

.hero-tags { margin-top: 20px; font: 500 12px/1.6 var(--font-mono); letter-spacing: .05em; opacity: .6; }

/* Rappel « défiler » : fondu dès le scroll */
.hero-foot .scroll { transition: opacity .4s ease, transform .4s ease; }
html.scrolled .hero-foot .scroll { opacity: 0; transform: translateY(8px); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .hero-foot .scroll { transition: none; } }

/* OPERGON en chiffres — cartes KPI (maquette) */
.kpi-grid .card { gap: 10px; align-items: flex-start; }
.kpi-num { font: 500 clamp(44px, 4.6vw, 64px)/1 var(--font-title); letter-spacing: -.04em; color: var(--turq-text); }
.kpi-num .unit { font-size: .5em; margin-left: 2px; }
.card p.kpi-lbl { color: inherit; font: 600 17px var(--font-title); margin: 0; }
.kpi-note { text-align: center; margin-top: 34px; font: 600 clamp(18px, 2.2vw, 24px)/1.3 var(--font-title); letter-spacing: -.01em; }
.kpi-note b { color: var(--turq-text); }

/* Comment ça marche — gate de validation */
.howgate { text-align: center; margin-top: 28px; font-size: 15px; color: var(--text-2); }
.howgate-badge { display: inline-block; background: var(--surface); border: 1px solid var(--turq); color: var(--turq-text); font: 600 13px var(--font-mono); letter-spacing: .03em; padding: 6px 14px; border-radius: 999px; margin-right: 12px; }
@media (max-width: 640px) { .howgate-badge { display: block; margin: 0 auto 10px; width: fit-content; } }

/* Survol des cartes à chiffres (Comment ça marche) : le chiffre s'allume */
.card--big { transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, border-color .25s ease; }
.card--big .num { transition: color .25s ease; }
.card--big:hover { border-color: var(--turq); }
.card--big:hover .num { color: var(--turq); }
@media (prefers-reduced-motion: reduce) { .card--big, .card--big .num { transition: none; } }

/* Services — diagnostic & formules (maquettes) */
.diag-note { margin-top: 30px; font-size: 13px; color: #AAB3C2; }
.plan-tag { font: 600 17px var(--font-title); letter-spacing: -.01em; color: var(--navy); margin-top: -10px; }
.plan--featured .plan-tag { color: #fff; }
.plan .check-list { margin-bottom: 2px; }
.plan-price { margin-top: auto; padding-top: 6px; font: 500 13px var(--font-mono); letter-spacing: .04em; color: var(--text-3); }
.plan--featured .plan-price { color: #AEB7C4; }
.plans-note { max-width: 760px; margin: 36px auto 0; text-align: center; font-size: 14px; color: var(--text-2); }
.plans-note b { color: var(--navy); }

/* Survol cartes à chiffres — teal plus lisible */
.card--big:hover { border-color: var(--turq-text); box-shadow: 0 0 0 1px var(--turq-text), var(--shadow); }
.card--big:hover .num { color: var(--turq-text); }
