/* humeshare.com — feuille de style du site. Reprend la direction visuelle des maquettes de Codex (docs/site-humeshare). */
:root { --blue: #175cd3; --blue-dark: #124bb0; --blue-light: #edf3ff; --ink: #182b46; --muted: #5b6b82; --line: #dde5ef; --green: #15803d; --red: #b91c1c; --violet: #6c4dff; --surface: #f5f7fa; color-scheme: light; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; cursor: pointer; }
button { color: inherit; border: 0; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 3px; }
p, h1, h2, h3, h4 { margin: 0; }
p { color: var(--muted); }
ul, ol { color: var(--muted); }
.container { width: min(1232px, calc(100% - 112px)); margin-inline: auto; }
.section { padding: 104px 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.045em; color: var(--ink); }
h1 { font-size: 66px; line-height: 1.08; letter-spacing: -.055em; }
h1 span, .page-hero h1 span { color: var(--blue); }
h2 { font-size: 44px; line-height: 1.17; }
h3 { font-size: 23px; line-height: 1.25; letter-spacing: -.025em; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .13em; color: var(--blue); margin-bottom: 20px; text-transform: uppercase; }
.section-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; margin-bottom: 42px; }
.section-intro > p { max-width: 380px; font-size: 16px; line-height: 1.75; }
.section-intro h2 { max-width: 720px; }
.skip { position: absolute; top: -100px; left: 20px; z-index: 20; background: #fff; color: var(--blue); padding: 12px 16px; border-radius: 8px; box-shadow: 0 8px 25px #182b4620; font-weight: 600; }
.skip:focus { top: 10px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- En-tête ---------- */
.header { border-bottom: 1px solid var(--line); background: #fff; position: relative; z-index: 10; }
.nav-wrap { max-width: 1328px; margin: auto; min-height: 84px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 23px; font-weight: 650; letter-spacing: -.7px; color: var(--ink); }
.brand > span > span { color: var(--blue); }
.brand img { width: 38px; height: 38px; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 13.5px; font-weight: 550; }
.nav > a:not(.nav-contact):hover, .sector-menu a:hover, .nav > a[aria-current="page"], .sector-menu a[aria-current="page"] { color: var(--blue); }
.nav-lang { border: 1px solid var(--line); border-radius: 6px; padding: 5px 9px; font-size: 12.5px; letter-spacing: .04em; }
.nav-lang:hover { border-color: var(--blue); }
/* sélecteur de langue (en-tête) : les 9 langues par leur nom propre */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: flex; gap: 6px; align-items: center; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu ul { position: absolute; z-index: 15; top: 38px; right: -12px; width: 180px; list-style: none; margin: 0; display: grid; gap: 2px; background: #fff; box-shadow: 0 12px 40px #182b4620; border: 1px solid var(--line); padding: 10px; border-radius: 10px; color: var(--ink); }
.lang-menu a { display: block; padding: 7px 8px; border-radius: 6px; }
.lang-menu a:hover { background: var(--blue-light); color: var(--blue); }
.lang-menu a[aria-current="true"] { color: var(--blue); font-weight: 650; }
.nav-login { white-space: nowrap; }
.nav-contact { background: var(--blue); color: #fff; padding: 11px 16px; border-radius: 7px; white-space: nowrap; }
.nav-contact:hover { background: var(--blue-dark); }
.nav-contact span { margin-left: 10px; }
.sector-menu { position: relative; }
.sector-menu summary { list-style: none; display: flex; gap: 7px; align-items: center; }
.sector-menu summary::-webkit-details-marker { display: none; }
.sector-menu > div { position: absolute; z-index: 15; top: 34px; left: -15px; width: 200px; display: grid; gap: 4px; background: #fff; box-shadow: 0 12px 40px #182b4620; border: 1px solid var(--line); padding: 12px; border-radius: 10px; }
.sector-menu a { padding: 7px 8px; border-radius: 6px; }
.sector-menu a:hover { background: var(--blue-light); }
.menu-toggle { display: none; }

/* ---------- Héros ---------- */
.hero { padding: 70px 0 0; background: linear-gradient(122deg, #fff 45%, #f5f7fc); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.03fr; gap: 36px; align-items: center; }
.hero .eyebrow { display: flex; align-items: center; gap: 9px; letter-spacing: .11em; }
.small-line { width: 18px; height: 2px; background: var(--blue); flex: none; }
.hero-desc { max-width: 480px; font-size: 17px; line-height: 1.8; margin-top: 25px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 12px 19px; min-height: 46px; border-radius: 7px; font-size: 14px; line-height: 1.5; font-weight: 600; transition: background .15s, box-shadow .15s; }
.button:hover { box-shadow: 0 4px 14px #175cd320; }
.primary { background: var(--blue); color: #fff; }
.primary:hover { background: var(--blue-dark); }
.secondary { border-color: #c9d4e3; background: #fff; color: var(--ink); }
.secondary:hover { background: #f6f8fc; }
.hero-small { font-size: 13px; margin-top: 23px; }
.check { color: var(--green); font-size: 15px; margin-right: 5px; }
.hero-art { position: relative; }
.hero-art > img, .hero-art > picture img { width: 100%; height: 440px; object-fit: cover; object-position: 55% 50%; border-radius: 16px 16px 90px 16px; border: 1px solid #e4e4e0; background: #eef1f5; }
.art-label { position: absolute; left: 20px; bottom: 26px; background: #fff; padding: 10px 16px; border: 1px solid #e1e6ed; box-shadow: 0 8px 25px #182b4610; border-radius: 7px; font-size: 13px; font-weight: 550; color: var(--ink); }
.live-dot { display: inline-block; height: 8px; width: 8px; background: var(--green); border-radius: 100%; margin-right: 7px; box-shadow: 0 0 0 3px #15803d1f; vertical-align: 1px; }
.art-tag { position: absolute; right: -10px; top: 14px; background: #fff; padding: 14px 20px; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 35px #182b4610; transform: rotate(3deg); font-size: 13px; color: var(--muted); line-height: 1.6; }
.art-tag strong { font-weight: 600; color: var(--ink); }
.hero-path { display: flex; gap: 30px; justify-content: center; align-items: center; border-top: 1px solid var(--line); margin-top: 60px; padding: 23px 0; font-size: 14px; color: var(--muted); }
.hero-path > span[aria-hidden] { color: #7d8fab; }
.hero-path strong { font-weight: 600; color: var(--ink); }
.breadcrumb { font-size: 13px; margin-bottom: 36px; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: #8c9fbd; }
.breadcrumb a:hover { color: var(--blue); }
.sector-hero { padding-top: 26px; }
.sector-hero h1 { font-size: 60px; }

/* Pages d'information (en-tête plus sobre) */
.page-hero { padding: 26px 0 72px; background: linear-gradient(122deg, #fff 45%, #f5f7fc); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: 56px; }
.page-hero .hero-desc { max-width: 640px; }
.page-hero.avec-image .hero-grid { align-items: center; }
.page-hero.avec-image .hero-art > img { height: 380px; }

/* ---------- Secteurs ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sector-card { background: #fff; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; display: flex; flex-direction: column; }
.sector-card > img { aspect-ratio: 1.6; object-fit: cover; width: 100%; background: #eef1f5; }
.sector-card > div { padding: 27px 25px 25px; display: flex; flex-direction: column; flex: 1; }
.sector-card .eyebrow { margin-bottom: 11px; }
.sector-card h3 { margin-bottom: 15px; }
.sector-card p:not(.eyebrow) { font-size: 15px; line-height: 1.7; }
.sector-card .text-link { margin-top: auto; padding-top: 22px; align-self: flex-start; }
.text-link { display: inline-flex; align-items: center; gap: 16px; color: var(--blue); font-size: 14px; font-weight: 600; border-bottom: 1px solid #b6cbee; padding-bottom: 5px; }
.text-link:hover { border-color: var(--blue); }
.sector-card .text-link { border-bottom: 0; text-decoration: underline; text-decoration-color: #b6cbee; text-underline-offset: 6px; }
.sector-card .text-link::after { content: ""; position: absolute; inset: 0; }
.sector-card { position: relative; }
.sector-card:hover { border-color: #c4d3ea; box-shadow: 0 12px 30px #182b460d; }

/* ---------- Bâtiment ---------- */
.building { background: var(--surface); }
.building-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-top: 28px; margin: 0; list-style: none; }
.building-notes li { font-size: 14px; }
.building-notes span { font-size: 12px; color: var(--blue); margin-right: 10px; font-weight: 600; }

/* ---------- Arguments ---------- */
.benefits h2 { margin-bottom: 45px; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.benefit-grid article { padding-top: 23px; border-top: 1px solid var(--line); }
.icon { width: 38px; height: 38px; margin-bottom: 22px; }
.icon-pair { display: flex; gap: 9px; }
.icon-pair .icon:last-child { width: 29px; }
.benefit-grid h3 { font-size: 20px; margin-bottom: 14px; }
.benefit-grid p { font-size: 14px; line-height: 1.8; }
.more-link { margin-top: 36px; }

/* ---------- Étapes ---------- */
.steps { background: #f6f8fc; }
.steps-grid { padding: 0; margin: 44px 0 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps-grid li { position: relative; border-top: 1px solid #cfd9e7; padding-top: 20px; }
.step-num { font-size: 13px; font-weight: 600; color: var(--blue); }
.step-preview { height: 82px; display: flex; align-items: center; justify-content: center; margin: 20px 0 24px; background: #fff; border: 1px solid #e2e8f2; border-radius: 9px; font-size: 20px; font-weight: 550; letter-spacing: -.02em; color: var(--ink); }
.address { gap: 20px; }
.address span { font-size: 16px; color: #6a7b93; }
.code { gap: 5px; }
.code span { padding: 4px 9px; border: 1px solid #d8e2ef; border-radius: 4px; color: var(--blue); font-size: 22px; font-weight: 550; }
.share { font-size: 17px; gap: 12px; color: var(--blue); }
.steps-grid h3 { font-size: 22px; margin-bottom: 12px; }
.steps-grid p { font-size: 15px; }
.steps-note { margin-top: 26px; font-size: 14px; }

/* ---------- Écrans compatibles ---------- */
.platforms { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 40px 0 28px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; padding: 0; list-style: none; }
.platforms > li { padding: 24px 20px; border-right: 1px solid var(--line); }
.platforms > li:last-child { border-right: 0; }
.platform-logos { display: flex; align-items: center; gap: 12px; height: 34px; margin-bottom: 20px; }
.platform-logos img { display: block; height: 26px; width: auto; max-width: 100%; min-width: 0; }
.platform-symbol { width: 34px; height: 34px; display: block; margin-bottom: 20px; color: #5f7290; }
.platforms h3 { font-size: 18px; letter-spacing: -.025em; margin-bottom: 12px; }
.platforms p { font-size: 14px; margin-top: 12px; }
.status { font-size: 12px; font-weight: 600; color: var(--green); border-radius: 4px; padding: 3px 8px; background: #edf7f0; display: inline-block; }
.pending { color: #4c5a6e; background: #edf0f6; }
.fine-print { font-size: 13px; margin-top: 19px; }

/* ---------- Démo ---------- */
.demo-section { background: var(--blue-light); padding: 72px 0; }
.demo-inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 110px; align-items: center; }
.demo-inner h2 { font-size: 38px; }
.demo-inner p { max-width: 560px; margin-top: 18px; font-size: 15px; }
.demo-links { display: grid; gap: 16px; justify-items: start; margin-top: 22px; }
.demo-note { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid #d5e1f5; border-radius: 10px; padding: 12px 14px; color: var(--ink) !important; font-size: 14px !important; }
.demo-note strong { white-space: nowrap; }
.demo-code { padding: 30px; text-align: center; background: #fff; border: 1px solid #dce6f7; border-radius: 14px; }
.demo-code > span { font-size: 12px; font-weight: 650; letter-spacing: .13em; color: var(--muted); text-transform: uppercase; }
.demo-code strong { display: block; font-size: 51px; letter-spacing: .07em; font-weight: 600; line-height: 1.3; margin: 14px 0 18px; color: var(--blue); font-variant-numeric: tabular-nums; }
.demo-code button { background: #f0f5ff; border: 1px solid #c9d8f2; padding: 9px 17px; border-radius: 6px; font-size: 14px; color: var(--blue); font-weight: 600; min-height: 40px; }
.demo-code button:hover { background: #e4edfd; }
.demo-code p { font-size: 13px !important; margin-top: 13px !important; }

/* ---------- Appel final ---------- */
.closing { text-align: center; padding: 92px 0; }
.closing h2 { font-size: 47px; }
.closing-inner > p:not(.eyebrow) { margin-top: 23px; font-size: 16px; }
.closing-inner .button-row, .closing-inner .footer-langues ul { justify-content: center; } /* page 404 */
.closing .button { margin-top: 27px; }
.closing .plans { font-size: 14px !important; margin-top: 24px !important; color: var(--ink); }
.plans span { color: var(--muted); }

/* ---------- Usages (pages secteur) ---------- */
.usages h2 { margin-bottom: 46px; }
.usage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.usage-grid.quatre { grid-template-columns: repeat(2, 1fr); }
.usage-grid article { border-top: 1px solid var(--line); padding-top: 23px; position: relative; }
.line-number { font-size: 12px; letter-spacing: .07em; color: var(--blue); font-weight: 650; display: block; margin-bottom: 22px; text-transform: uppercase; }
.usage-grid h3 { font-size: 26px; line-height: 1.3; margin-bottom: 18px; }
.usage-grid p { font-size: 15px; line-height: 1.8; }
.usage-grid .icon { width: 28px; height: 28px; position: absolute; right: 0; top: 17px; margin: 0; }
.swatches { display: flex; gap: 7px; margin-top: 20px; }
.swatches i { display: block; height: 17px; width: 17px; border-radius: 50%; background: #175cd3; box-shadow: inset 0 0 0 1px #00000010; }
.swatches i:nth-child(2) { background: #817766; }
.swatches i:nth-child(3) { background: #9d6d4c; }
.swatches i:nth-child(4) { background: #6e7e69; }

/* ---------- Console ---------- */
.console-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 100px; align-items: center; }
.console-grid > div > p:not(.eyebrow) { margin-top: 23px; max-width: 560px; font-size: 16px; }
.check-list { list-style: none; padding: 0; margin: 23px 0 28px; font-size: 15px; }
.check-list li { padding: 7px 0 7px 28px; position: relative; }
.check-list li::before { content: "✓"; color: var(--green); position: absolute; left: 0; font-weight: 700; }
.console-aside { background: #f2f5fb; border: 1px solid #e4e9f2; border-radius: 15px; padding: 43px; }
.aside-icon { display: flex; gap: 15px; margin-bottom: 20px; }
.aside-icon .icon { margin: 0; }
.console-aside h3 { font-size: 29px; }
.console-aside p { margin-top: 12px; font-size: 15px; }
.aside-rule { height: 1px; background: #d7e1ee; margin: 28px 0; }
.console-aside .text-link { margin-top: 23px; }

/* ---------- Blocs de contenu (pages d'information) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split > div > p:not(.eyebrow) { margin-top: 20px; font-size: 16px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.cards.deux { grid-template-columns: repeat(2, 1fr); }
.cards.quatre { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 28px; }
.card h3 { font-size: 21px; margin-bottom: 12px; }
.card p, .card li { font-size: 15px; line-height: 1.75; }
.card p + p { margin-top: 10px; }
.card .icon { margin-bottom: 18px; }
.card .text-link { margin-top: 18px; }
.tint { background: var(--surface); }
.flow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; margin-top: 40px; }
.flow-arrow { align-self: center; color: var(--blue); font-size: 28px; }
.flow .card.direct { border-color: #b9cdf0; box-shadow: 0 10px 30px #175cd312; }
.flow .card .tag { display: inline-block; font-size: 12px; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--violet); background: #f1edff; border-radius: 4px; padding: 3px 8px; margin-bottom: 14px; }
.flow .card.direct .tag { color: var(--blue); background: var(--blue-light); }
.numbered { counter-reset: etape; list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 20px; }
.numbered > li { counter-increment: etape; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 26px 28px 26px 84px; }
.numbered > li::before { content: counter(etape, decimal-leading-zero); position: absolute; left: 28px; top: 26px; font-size: 15px; font-weight: 650; color: var(--blue); }
.numbered h3 { font-size: 21px; margin-bottom: 10px; }
.numbered p { font-size: 15px; }
.numbered .button { margin-top: 16px; }
.contact-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.contact-mail { font-size: 30px; font-weight: 600; letter-spacing: -.03em; color: var(--blue); word-break: break-word; }
.contact-mail:hover { text-decoration: underline; text-underline-offset: 6px; }
address { font-style: normal; color: var(--muted); line-height: 1.8; }
.prose > * { max-width: 760px; }
.prose h2 { font-size: 26px; margin: 44px 0 12px; letter-spacing: -.03em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li, .prose dd { font-size: 16px; line-height: 1.8; }
.prose p + p { margin-top: 12px; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.prose dl { display: grid; grid-template-columns: 220px 1fr; gap: 8px 20px; margin: 0; }
.prose dt { font-weight: 600; color: var(--ink); }
.prose dd { margin: 0; color: var(--muted); }
.a-completer { background: #fff4d6; color: #6b4a00; border-radius: 4px; padding: 1px 6px; font-weight: 600; }
.lang-note { font-size: 12px; color: var(--muted); }

/* ---------- Pied de page ---------- */
footer { border-top: 1px solid var(--line); padding: 53px 0 24px; background: #fafbfd; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; }
.footer-top .brand { font-size: 22px; }
.footer-top .brand img { width: 34px; height: 34px; }
.footer-top p { font-size: 14px; margin-top: 16px; line-height: 1.8; }
.footer-top h2 { font-size: 14px; letter-spacing: 0; margin: 7px 0 16px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li a { display: inline-block; font-size: 14px; color: var(--muted); padding: 5px 0; }
.footer-top li a:hover, .footer-bottom a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 23px; margin-top: 40px; font-size: 13px; color: var(--muted); gap: 15px; }
.footer-bottom > div { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-langues { margin-top: 18px; font-size: 13px; }
.footer-langues ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-langues a { color: var(--muted); }
.footer-langues a:hover, .footer-langues a[aria-current="true"] { color: var(--blue); }

/* ---------- Adaptation ---------- */
@media (max-width: 1190px) {
  .nav { gap: 15px; font-size: 13px; }
  .nav-wrap { padding: 0 28px; }
  .brand { font-size: 21px; }
  .container { width: calc(100% - 64px); }
  h1 { font-size: 53px; }
  .sector-hero h1, .page-hero h1 { font-size: 50px; }
  .hero-art > img, .hero-art > picture img { height: 410px; }
  .button { padding: 12px 15px; gap: 14px; }
  .benefit-grid { gap: 22px; }
  .demo-inner { gap: 55px; }
  .sector-card > div { padding: 22px; }
  .platforms > li { padding: 22px; }
  .section-intro { gap: 35px; }
  .section-intro > p { max-width: 300px; }
  .console-grid { gap: 50px; }
}
@media (max-width: 1060px) {
  .nav-wrap { min-height: 74px; flex-wrap: wrap; gap: 0; padding: 15px 28px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 10px; padding: 10px 2px 10px 12px; background: none; font-size: 15px; font-weight: 600; color: var(--ink); min-height: 44px; }
  .menu-icon { width: 18px; height: 12px; background: linear-gradient(currentColor 0 0) top/100% 2px no-repeat, linear-gradient(currentColor 0 0) center/100% 2px no-repeat, linear-gradient(currentColor 0 0) bottom/100% 2px no-repeat; }
  .nav { display: none; width: 100%; padding: 18px 0 8px; align-items: stretch; gap: 4px; font-size: 16px; }
  .nav.is-open { display: flex; flex-direction: column; }
  .nav > a, .sector-menu summary { padding: 10px 0; }
  .nav-lang { align-self: flex-start; padding: 6px 12px !important; margin: 6px 0; }
  .lang-menu { align-self: flex-start; }
  .lang-menu summary { display: inline-flex; }
  .lang-menu ul { position: static; box-shadow: none; width: auto; margin: 0 0 6px; grid-template-columns: repeat(3, auto); gap: 2px 8px; border-radius: 8px; }
  .nav-contact { align-self: flex-start; padding: 12px 18px !important; margin-top: 8px; }
  .sector-menu > div { position: static; box-shadow: none; margin: 4px 0 6px; width: 100%; border-radius: 8px; }
  .sector-menu summary { justify-content: space-between; }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-copy h1, .sector-hero h1, .page-hero h1 { font-size: 44px; }
  .sector-grid { gap: 14px; }
  .sector-card > div { padding: 20px 17px; }
  .sector-card h3 { font-size: 20px; }
  .benefit-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  h2 { font-size: 37px; }
  .section-intro { align-items: flex-start; }
  .section-intro > p { max-width: 280px; font-size: 15px; }
  .platforms { grid-template-columns: 1fr 1fr; }
  .platforms > li:nth-child(2n) { border-right: 0; }
  .platforms > li:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .platforms > li:last-child { grid-column: 1 / -1; }
  .demo-inner { gap: 40px; }
  .demo-code strong { font-size: 40px; }
  .steps-grid { gap: 20px; }
  .code span { padding: 4px 6px; }
  .usage-grid h3 { font-size: 22px; }
  .usage-grid { gap: 25px; }
  .console-aside { padding: 30px; }
  .footer-top { gap: 30px; }
  .hero-path { font-size: 13px; gap: 20px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .split, .contact-card { gap: 40px; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 40px); }
  .section { padding: 64px 0; }
  .nav-wrap { padding: 12px 20px; min-height: 68px; }
  .brand { font-size: 22px; gap: 6px; }
  .brand img { width: 34px; height: 34px; }
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-copy h1, .sector-hero h1, .page-hero h1 { font-size: 42px; letter-spacing: -.05em; line-height: 1.1; }
  .hero .eyebrow { font-size: 11px; letter-spacing: .09em; margin-bottom: 20px; }
  .hero-desc { font-size: 16px; line-height: 1.75; margin-top: 20px; }
  .button-row { margin-top: 24px; gap: 10px; }
  .button-row .button { padding: 12px 15px; gap: 14px; }
  .hero-small { font-size: 13px; margin-top: 18px; line-height: 1.7; }
  .hero-art > img, .hero-art > picture img, .page-hero.avec-image .hero-art > img { height: 250px; border-radius: 12px 12px 56px 12px; }
  .art-label { left: 12px; bottom: 12px; padding: 8px 11px; font-size: 12px; }
  .art-tag { right: -3px; top: -14px; padding: 9px 12px; font-size: 12px; border-radius: 7px; }
  .hero-path { margin-top: 28px; gap: 8px; padding: 18px 0; justify-content: space-between; font-size: 12px; line-height: 1.45; text-align: center; }
  .eyebrow { font-size: 11px; letter-spacing: .11em; margin-bottom: 16px; }
  h2 { font-size: 32px; line-height: 1.18; letter-spacing: -.045em; }
  .section-intro { display: block; margin-bottom: 28px; }
  .section-intro > p { font-size: 15px; line-height: 1.75; max-width: none; margin-top: 20px; }
  .sector-grid { grid-template-columns: 1fr; gap: 20px; }
  .sector-card > div { padding: 22px; }
  .sector-card h3 { font-size: 23px; margin-bottom: 12px; }
  .building-notes { grid-template-columns: 1fr; gap: 10px; padding-top: 22px; }
  .benefits h2 { margin-bottom: 30px; }
  .benefit-grid { grid-template-columns: 1fr; gap: 26px; }
  .benefit-grid article { position: relative; padding: 22px 0 0 58px; }
  .benefit-grid article > .icon, .benefit-grid .icon-pair { position: absolute; left: 0; top: 23px; }
  .benefit-grid .icon-pair { display: grid; gap: 0; }
  .icon-pair .icon { margin-bottom: 0; width: 32px; height: 32px; }
  .icon-pair .icon:last-child { width: 23px; height: 23px; margin-left: 12px; }
  .benefit-grid h3 { font-size: 20px; margin-bottom: 10px; }
  .steps-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; }
  .step-preview { height: 72px; margin: 14px 0 18px; }
  .code { gap: 6px; }
  .code span { padding: 3px 9px; font-size: 21px; }
  .platforms { margin-top: 28px; grid-template-columns: 1fr; }
  .platforms > li { padding: 20px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .platforms > li:last-child { border-bottom: 0; }
  .demo-section { padding: 56px 0; }
  .demo-inner { grid-template-columns: 1fr; gap: 28px; }
  .demo-inner h2 { font-size: 32px; }
  .demo-code { padding: 24px; }
  .demo-code strong { font-size: 44px; }
  .closing { padding: 62px 0; }
  .closing h2 { font-size: 33px; }
  .closing-inner > p:not(.eyebrow) { font-size: 15px; line-height: 1.75; margin-top: 20px; }
  .plans span { display: block; margin-top: 4px; }
  .usage-grid { grid-template-columns: 1fr; gap: 28px; }
  .usages h2 { margin-bottom: 30px; }
  .usage-grid h3 { font-size: 24px; margin-bottom: 14px; }
  .console-grid { grid-template-columns: 1fr; gap: 30px; }
  .console-aside { padding: 26px; }
  .console-aside h3 { font-size: 25px; }
  .page-hero { padding-bottom: 52px; }
  .breadcrumb { font-size: 12px; margin-bottom: 26px; }
  .cards, .cards.deux, .cards.quatre, .split, .contact-card { grid-template-columns: 1fr; gap: 18px; }
  .card { padding: 22px; }
  .flow { grid-template-columns: 1fr; gap: 12px; }
  .flow-arrow { justify-self: center; transform: rotate(90deg); }
  .numbered > li { padding: 22px 20px 22px 62px; }
  .numbered > li::before { left: 20px; top: 23px; }
  .contact-mail { font-size: 23px; }
  .prose dl { grid-template-columns: 1fr; gap: 2px; }
  .prose dd { margin-bottom: 12px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 17px; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 14px; margin-top: 28px; padding-top: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .menu-toggle, .skip, .bat { display: none; } .nav { display: flex; } .section { break-inside: avoid; } }

/* Comparatif */
.compare-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; min-width: 640px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 20px 22px; border-bottom: 1px solid var(--line); line-height: 1.5; }
.compare thead th { font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.compare tbody th { width: 22%; font-weight: 650; }
.compare .hs { background: var(--blue-light); }
.compare thead .hs { color: var(--blue); border-radius: 12px 12px 0 0; }
.compare-label { display: flex; align-items: center; gap: 14px; }
.compare-label .icon { width: 34px; height: 34px; flex: none; }

/* Offres et niveaux revendeurs */
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.plan-grid.trois { grid-template-columns: repeat(3, 1fr); margin-top: 34px; }
.plan-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px; }
.plan-card h2, .plan-card h3 { font-size: 28px; margin: 6px 0 10px; }
.plan-card .check-list { flex: 1; margin: 16px 0 22px; }
.plan-card .button { align-self: flex-start; }
.plan-card.vedette { border: 2px solid var(--blue); box-shadow: 0 14px 40px rgba(23, 92, 211, .14); }
.plan-badge { position: absolute; top: -13px; left: 24px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.plan-desc { color: var(--muted); font-size: 15px; }
.plan-price { font-weight: 700; color: var(--ink); margin: 0 0 14px; }
@media (max-width: 1100px) { .plan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .plan-grid, .plan-grid.trois { grid-template-columns: 1fr; } }

.segment { display: inline-flex; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 18px; }
.segment button { border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font: inherit; font-weight: 650; color: var(--muted); cursor: pointer; }
.segment button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.segment-note { color: var(--ink); background: var(--blue-light); border-radius: 10px; padding: 12px 16px; margin: 0 0 26px; }
[hidden] { display: none !important; }

/* Offres, vue éducation : sa propre couleur */
.offres[data-public="edu"] { --blue: #0f766e; --blue-dark: #0b5d57; --blue-light: #e6f5f2; }
.offres[data-public="edu"] .plan-card.vedette { box-shadow: 0 14px 40px rgba(15, 118, 110, .16); }
.offres .plan-grid.trois { margin-top: 0; }
.edu-plus { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 26px; }
.edu-plus p { margin: 0; background: var(--blue-light); border-radius: 12px; padding: 18px 20px; color: var(--ink); }
.edu-plus strong { display: block; margin-bottom: 4px; }
@media (max-width: 700px) { .edu-plus { grid-template-columns: 1fr; } }
