:root {
    --bg: #060913;
    --panel: rgba(255, 255, 255, .075);
    --panel-strong: rgba(255, 255, 255, .12);
    --line: rgba(148, 163, 184, .24);
    --line-strong: rgba(56, 189, 248, .42);
    --text: #f8fafc;
    --muted: #9fb0c4;
    --ink: #101828;
    --ink-soft: #667085;
    --blue: #38bdf8;
    --blue-dark: #2563eb;
    --teal: #2dd4bf;
    --green: #22c55e;
    --white: #ffffff;
    --radius: 24px;
    --shadow: 0 30px 90px rgba(2, 8, 23, .24);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    font-synthesis-weight: none;
    color: var(--ink);
    background: #f8fafc;
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 50% 20%, rgba(45, 212, 191, .2), transparent 30%),
        linear-gradient(145deg, #050816, #071222 55%, #06130f);
    transition: opacity .45s ease, visibility .45s ease;
}

.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-mark {
    position: relative;
    z-index: 2;
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 30px;
    border: 1px solid rgba(125, 211, 252, .22);
    border-radius: 28px;
    background: rgba(255, 255, 255, .075);
    backdrop-filter: blur(16px);
    box-shadow: 0 30px 90px rgba(0,0,0,.24);
}

.loader-mark img {
    width: 74px;
    height: 74px;
    object-fit: contain;
}

.loader-mark strong {
    font-size: 24px;
}

.loader-mark span {
    color: var(--muted);
    font-size: 14px;
}

.leaf {
    position: absolute;
    top: -80px;
    width: 24px;
    height: 34px;
    border-radius: 70% 10% 70% 10%;
    background: linear-gradient(135deg, #7dd3fc, #2dd4bf 54%, #a7f3d0);
    opacity: .78;
    animation: leafFall 4.5s linear infinite;
}

.leaf::after {
    content: "";
    position: absolute;
    inset: 5px 11px 5px auto;
    width: 1px;
    background: rgba(6, 78, 59, .4);
    transform: rotate(28deg);
}

.leaf-1 { left: 8%; animation-delay: 0s; }
.leaf-2 { left: 24%; animation-delay: .7s; animation-duration: 5.2s; }
.leaf-3 { left: 42%; animation-delay: 1.4s; animation-duration: 4.8s; }
.leaf-4 { left: 61%; animation-delay: .3s; animation-duration: 5.5s; }
.leaf-5 { left: 78%; animation-delay: 1.1s; animation-duration: 4.4s; }
.leaf-6 { left: 91%; animation-delay: 2s; animation-duration: 5.8s; }

@keyframes leafFall {
    0% { transform: translate3d(0, -90px, 0) rotate(0deg); }
    50% { transform: translate3d(38px, 50vh, 0) rotate(180deg); }
    100% { transform: translate3d(-18px, 110vh, 0) rotate(360deg); }
}

.site-header {
    position: fixed;
    top: 14px;
    left: 50%;
    z-index: 20;
    width: min(1180px, calc(100% - 28px));
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 12px;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 20px 60px rgba(15, 23, 42, .08);
    backdrop-filter: blur(20px);
}

.site-header::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(56, 189, 248, .24), rgba(45, 212, 191, .16), rgba(255,255,255,.4));
    opacity: .75;
}

.brand,
.main-nav,
.header-cta,
.hero-actions,
.contact-lines,
.site-footer,
.console-brand,
.console-head,
.trust-row {
    display: flex;
    align-items: center;
}

.brand {
    gap: 10px;
    text-decoration: none;
    font-weight: 900;
}

.brand img {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    object-fit: contain;
    background: transparent;
    box-shadow: none;
}

.main-nav {
    gap: 24px;
}

.main-nav a {
    color: #475467;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.header-cta,
.btn,
.product-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
}

.header-cta,
.btn.primary,
.product-card a {
    color: #fff;
    background: linear-gradient(135deg, #111827, var(--blue-dark) 52%, #0f766e);
    box-shadow: 0 18px 42px rgba(37, 99, 235, .25);
}

.btn.ghost {
    color: var(--ink);
    border: 1px solid rgba(148, 163, 184, .28);
    background: rgba(255, 255, 255, .84);
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(460px, 1.05fr);
    gap: 54px;
    align-items: center;
    padding: 130px max(26px, calc((100vw - 1180px) / 2)) 76px;
    color: var(--text);
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 22%, rgba(56, 189, 248, .34), transparent 30%),
        radial-gradient(circle at 86% 72%, rgba(45, 212, 191, .24), transparent 32%),
        linear-gradient(rgba(125, 211, 252, .075) 1px, transparent 1px),
        linear-gradient(90deg, rgba(125, 211, 252, .075) 1px, transparent 1px),
        linear-gradient(145deg, #050816 0%, #071222 48%, #0d1728 100%);
    background-size: auto, auto, 34px 34px, 34px 34px, auto;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(90deg, rgba(6, 9, 19, .94), transparent 52%);
}

.hero-section::after,
.section::after,
.process-section::after {
    content: "";
    position: absolute;
    inset: auto -8% -18% -8%;
    z-index: 0;
    height: 42%;
    pointer-events: none;
    opacity: .5;
    background:
        radial-gradient(ellipse at 12% 100%, rgba(20, 184, 166, .34) 0 9%, transparent 26%),
        radial-gradient(ellipse at 34% 100%, rgba(56, 189, 248, .2) 0 8%, transparent 24%),
        radial-gradient(ellipse at 61% 100%, rgba(45, 212, 191, .28) 0 10%, transparent 28%),
        radial-gradient(ellipse at 86% 100%, rgba(34, 197, 94, .22) 0 9%, transparent 26%),
        linear-gradient(0deg, rgba(2, 6, 23, .86), transparent 72%);
    filter: blur(1px);
}

.hero-section > *,
.section > *,
.process-section > * {
    position: relative;
    z-index: 2;
}

.hero-section > .ambient-fall-layer,
.section > .ambient-fall-layer,
.process-section > .ambient-fall-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.ambient-item {
    position: absolute;
    top: -120px;
    left: var(--x, 50%);
    width: var(--size, 34px);
    height: var(--size, 34px);
    opacity: var(--opacity, .28);
    animation: ambientFall var(--duration, 18s) linear infinite;
    animation-delay: var(--delay, 0s);
    filter: drop-shadow(0 16px 24px rgba(45, 212, 191, .16));
}

.ambient-logo {
    border-radius: 18px;
    background-image: var(--logo-url);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: var(--opacity, .62);
    filter: drop-shadow(0 0 18px rgba(56, 189, 248, .4)) drop-shadow(0 16px 24px rgba(45, 212, 191, .18));
}

.ambient-leaf,
.ambient-tree-leaf {
    border-radius: 72% 10% 72% 10%;
    background: linear-gradient(135deg, rgba(125, 211, 252, .76), rgba(45, 212, 191, .6) 48%, rgba(34, 197, 94, .42));
}

.ambient-tree-leaf {
    width: calc(var(--size, 34px) * 1.25);
    height: calc(var(--size, 34px) * .72);
    border-radius: 70% 35% 70% 35%;
    opacity: calc(var(--opacity, .28) + .06);
    filter: blur(.2px) drop-shadow(0 12px 28px rgba(34, 197, 94, .12));
}

.ambient-leaf::after,
.ambient-tree-leaf::after {
    content: "";
    position: absolute;
    inset: 18% 48% 18% auto;
    width: 1px;
    background: rgba(6, 78, 59, .34);
    transform: rotate(25deg);
}

@keyframes ambientFall {
    0% {
        transform: translate3d(0, -130px, 0) rotate(0deg) scale(.92);
    }
    45% {
        transform: translate3d(var(--drift, 34px), 45vh, 0) rotate(180deg) scale(1);
    }
    100% {
        transform: translate3d(calc(var(--drift, 34px) * -1), 118vh, 0) rotate(360deg) scale(.96);
    }
}

.hero-copy {
    max-width: 700px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 12px;
    border: 1px solid rgba(125, 211, 252, .3);
    border-radius: 999px;
    color: #d8fbff;
    background: rgba(15, 23, 42, .72);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.section .eyebrow,
.contact-section .eyebrow {
    color: #075985;
    border-color: #bae6fd;
    background: #eaf6ff;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 22px;
    font-size: clamp(48px, 7vw, 86px);
    line-height: .96;
    letter-spacing: -0.045em;
}

.hero-copy p {
    max-width: 620px;
    color: var(--muted);
    font-size: 18px;
}

.hero-actions {
    gap: 12px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 610px;
}

.trust-row div {
    padding: 16px;
    border: 1px solid rgba(125, 211, 252, .18);
    border-radius: 18px;
    background: rgba(255, 255, 255, .065);
}

.trust-row strong,
.trust-row span {
    display: block;
}

.trust-row strong {
    font-size: 24px;
}

.trust-row span {
    color: var(--muted);
    font-size: 13px;
}

.hero-console {
    overflow: hidden;
    border: 1px solid rgba(125, 211, 252, .28);
    border-radius: 32px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .035));
    box-shadow: var(--shadow), 0 0 60px rgba(56, 189, 248, .2);
    backdrop-filter: blur(16px);
}

.console-head {
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.console-brand {
    gap: 12px;
}

.console-brand img {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: transparent;
    object-fit: contain;
}

.console-brand strong,
.console-brand span,
.software-list strong,
.software-list span {
    display: block;
}

.console-brand span,
.software-list span,
.software-list em,
.metric-grid span {
    color: rgba(226, 242, 255, .68);
    font-size: 13px;
    font-style: normal;
}

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border: 1px solid rgba(45, 212, 191, .35);
    border-radius: 999px;
    color: #ccfbf1;
    background: rgba(20, 184, 166, .12);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.live-pill i {
    color: #5eead4;
    font-size: 8px;
}

.console-layout {
    display: grid;
    grid-template-columns: 62px 1fr;
    min-height: 460px;
}

.console-layout aside {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 16px 11px;
    border-right: 1px solid rgba(255, 255, 255, .1);
    background: rgba(15, 23, 42, .55);
}

.console-layout aside i {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    color: rgba(226, 242, 255, .58);
    background: rgba(255, 255, 255, .06);
}

.console-layout aside i.active {
    color: #04111d;
    background: linear-gradient(135deg, #7dd3fc, #5eead4);
}

.console-content {
    padding: 16px;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.metric-grid div,
.software-list article {
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.metric-grid div {
    padding: 14px;
    border-radius: 18px;
}

.metric-grid strong {
    display: block;
    margin-top: 4px;
    color: #fff;
    font-size: 22px;
}

.software-list {
    display: grid;
    gap: 11px;
}

.software-list article {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 12px;
    border-radius: 18px;
}

.software-list i {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    color: #04111d;
    background: linear-gradient(135deg, #7dd3fc, #5eead4);
}

.software-list em {
    color: #e0f2fe;
    font-weight: 900;
    white-space: nowrap;
}

.section {
    position: relative;
    overflow: hidden;
    padding: 86px max(24px, calc((100vw - 1180px) / 2));
}

.section-title {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-title h2,
.contact-section h2 {
    margin: 14px 0 12px;
    color: #08111f;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1;
    letter-spacing: -0.035em;
}

.section-title p,
.contact-section p {
    color: var(--ink-soft);
    font-size: 17px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 18px;
}

.product-card,
.license-grid article,
.contact-section {
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .84));
    box-shadow: 0 20px 60px rgba(15, 23, 42, .08);
}

.product-card {
    display: flex;
    flex-direction: column;
    min-height: 440px;
    padding: 20px;
    gap: 0;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, .45);
    box-shadow: 0 34px 90px rgba(15, 23, 42, .14);
}

.product-card.featured {
    border-color: rgba(56, 189, 248, .48);
    box-shadow: 0 28px 80px rgba(37, 99, 235, .16);
}

.product-card img {
    width: 62px;
    height: 62px;
    margin-bottom: 18px;
    border-radius: 18px;
}

.product-card img.product-card-art {
    display: block;
    width: 100%;
    height: 240px;
    margin-bottom: 16px;
    object-fit: contain;
    object-position: center;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.dijipay-card img.product-card-art {
    object-fit: cover;
    object-position: center;
}


.product-card > span {
    width: fit-content;
    padding: 7px 10px;
    border-radius: 999px;
    color: #075985;
    background: #eaf6ff;
    font-size: 12px;
    font-weight: 900;
}

.product-card h3 {
    margin: 18px 0 10px;
    font-size: 24px;
}

.product-card p,
.product-card li {
    color: var(--ink-soft);
}

.product-card ul {
    display: grid;
    gap: 8px;
    margin: 12px 0 22px;
    padding-left: 18px;
}

.product-card a {
    margin-top: auto;
}

.process-section {
    position: relative;
    overflow: hidden;
    padding: 86px max(24px, calc((100vw - 1180px) / 2));
    color: #fff;
    background:
        radial-gradient(circle at 18% 18%, rgba(56, 189, 248, .22), transparent 28%),
        radial-gradient(circle at 82% 70%, rgba(45, 212, 191, .18), transparent 30%),
        linear-gradient(rgba(125, 211, 252, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(125, 211, 252, .055) 1px, transparent 1px),
        #060914;
    background-size: auto, auto, 32px 32px, 32px 32px, auto;
}

.section-title.light h2 {
    color: #fff;
}

.section-title.light p {
    color: var(--muted);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.process-grid article {
    min-height: 220px;
    padding: 22px;
    border: 1px solid rgba(125, 211, 252, .2);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035));
}

.process-grid span {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    color: #04111d;
    background: linear-gradient(135deg, #7dd3fc, #5eead4);
    font-size: 12px;
    font-weight: 900;
}

.process-grid h3 {
    margin: 58px 0 8px;
    font-size: 24px;
}

.process-grid p {
    color: var(--muted);
}

.license-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.pricing-showcase {
    display: grid;
    gap: 20px;
}

.price-board {
    padding: 26px;
    border-radius: 28px;
    border: 1px solid rgba(148, 163, 184, .22);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .1);
}

.price-board-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.price-board-head span {
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.price-board-head strong {
    font-size: clamp(24px, 4vw, 34px);
}

.price-plan-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.plan-included {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .075);
}

.plan-included strong,
.plan-included span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.plan-included strong {
    color: #fff;
    background: rgba(255, 255, 255, .12);
}

.plan-included span {
    color: rgba(255, 255, 255, .82);
    border: 1px solid rgba(255, 255, 255, .14);
}

.price-plan-grid div,
.price-plan {
    min-height: 126px;
    padding: 18px;
    border: 0;
    border-radius: 18px;
    display: grid;
    align-content: center;
    text-align: center;
    color: inherit;
    font: inherit;
}

.price-plan {
    position: relative;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.price-plan::after {
    content: "∞ Illimité • tous les modules inclus";
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 10px auto 0;
    padding: 5px 9px;
    border-radius: 999px;
    color: rgba(255, 255, 255, .88);
    background: rgba(255, 255, 255, .1);
    font-size: 11px;
    font-weight: 900;
}

.price-plan:hover,
.price-plan:focus-visible {
    transform: translateY(-3px);
    outline: none;
}

.price-plan.is-selected::before {
    content: "Sélectionné";
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 999px;
    color: #04111d;
    background: #fff;
    font-size: 10px;
    font-weight: 900;
}

.price-plan-grid h3 {
    margin: 0;
    font-size: 16px;
}

.price-plan-grid strong {
    display: block;
    font-size: 22px;
    line-height: 1.1;
}

.price-plan-grid span,
.price-plan-grid em {
    display: block;
    font-size: 12px;
    font-style: normal;
}

.price-plan-grid em {
    width: fit-content;
    margin: 7px auto 0;
    padding: 3px 8px;
    border-radius: 999px;
    font-weight: 900;
}

.school-board {
    color: #dff8ff;
    background:
        radial-gradient(circle at 85% 10%, rgba(56, 189, 248, .22), transparent 28%),
        linear-gradient(145deg, #061f33, #071525);
}

.school-board .price-board-head span,
.school-board .price-plan-grid strong {
    color: #22d3ee;
}

.school-board .price-plan-grid div,
.school-board .price-plan {
    background: rgba(8, 47, 73, .72);
}

.school-board .price-plan:hover,
.school-board .price-plan:focus-visible,
.school-board .price-plan.is-selected {
    box-shadow: 0 0 0 2px rgba(34, 211, 238, .9), 0 18px 45px rgba(34, 211, 238, .18);
}

.school-board .price-plan-grid em {
    color: #082f49;
    background: #fbbf24;
}

.pharma-board {
    color: #d9fff0;
    background:
        radial-gradient(circle at 85% 10%, rgba(16, 185, 129, .2), transparent 28%),
        linear-gradient(145deg, #052417, #06130f);
}

.pharma-board .price-board-head span,
.pharma-board .price-plan-grid strong {
    color: #34d399;
}

.pharma-board .price-plan-grid div,
.pharma-board .price-plan {
    background: rgba(0, 18, 12, .82);
    border: 1px solid rgba(16, 185, 129, .18);
}

.pharma-board .price-plan:hover,
.pharma-board .price-plan:focus-visible,
.pharma-board .price-plan.is-selected {
    box-shadow: 0 0 0 2px rgba(52, 211, 153, .9), 0 18px 45px rgba(52, 211, 153, .16);
}

.pharma-board .price-plan-grid em {
    color: #ecfccb;
    background: rgba(132, 204, 22, .18);
}

.license-grid article {
    padding: 24px;
}

.license-grid article.highlight {
    color: #fff;
    border: 0;
    background: linear-gradient(135deg, #0f172a, #2563eb 55%, #0f766e);
}

.license-grid strong {
    display: block;
    margin: 8px 0;
    font-size: 26px;
}

.license-grid p {
    color: var(--ink-soft);
}

.license-grid .highlight p {
    color: rgba(255, 255, 255, .78);
}

.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    margin: 86px max(24px, calc((100vw - 1180px) / 2));
    padding: 34px;
}

.contact-lines {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.selected-plan-note {
    width: fit-content;
    margin-top: 16px;
    padding: 10px 12px;
    border: 1px solid rgba(14, 165, 233, .22);
    border-radius: 14px;
    color: #075985;
    background: #eaf6ff;
    font-size: 14px;
    font-weight: 900;
}

.contact-lines a {
    color: #075985;
    font-weight: 800;
    text-decoration: none;
}

.contact-form {
    display: grid;
    gap: 12px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 18px;
    padding: 15px 16px;
    background: #f8fafc;
    color: var(--ink);
    font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(14, 165, 233, .72);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, .12);
}

.contact-form button {
    border: 0;
    cursor: pointer;
}

.site-footer {
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, minmax(150px, 1fr));
    padding: 34px max(24px, calc((100vw - 1180px) / 2));
    color: rgba(255, 255, 255, .72);
    background: #050816;
}

.site-footer img {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: transparent;
}

.site-footer p {
    max-width: 470px;
    margin: 10px 0 0;
}

.footer-block,
.footer-brand {
    display: grid;
    gap: 8px;
}

.footer-block h4 {
    margin: 0 0 6px;
    color: #fff;
}

.site-footer a,
.site-footer span {
    text-decoration: none;
    font-weight: 800;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
}

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 15;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    box-shadow: 0 18px 40px rgba(34, 197, 94, .28);
    text-decoration: none;
    font-size: 24px;
}

@media (max-width: 1080px) {
    .hero-section,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .product-grid,
    .process-grid,
    .license-grid,
    .site-footer,
    .price-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1180px) and (min-width: 1081px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .site-header {
        top: 10px;
        width: calc(100% - 20px);
        border-radius: 24px;
        flex-wrap: wrap;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 14px;
        overflow-x: auto;
        padding: 2px 0 4px;
    }

    .main-nav a {
        white-space: nowrap;
    }

    .hero-section {
        grid-template-columns: 1fr;
        padding-top: 180px;
    }

    .trust-row,
    .metric-grid,
    .product-grid,
    .process-grid,
    .license-grid,
    .site-footer,
    .price-plan-grid {
        grid-template-columns: 1fr;
    }

    .console-layout {
        grid-template-columns: 1fr;
    }

    .console-layout aside {
        grid-auto-flow: column;
        grid-auto-columns: 40px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
    }

    .software-list article {
        grid-template-columns: 46px 1fr;
    }

    .software-list em {
        grid-column: 2;
    }

    .contact-section {
        margin-inline: 16px;
        padding: 22px;
    }

    h1 {
        font-size: clamp(42px, 13vw, 58px);
    }

    .console-head,
    .software-list article {
        align-items: flex-start;
    }
}

/* ===== Modal de paiement DiJiPay ===== */
.pay-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.pay-modal.is-open { display: flex; }
.pay-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 8, 23, .72);
    backdrop-filter: blur(4px);
}
.pay-modal-card {
    position: relative;
    width: min(440px, 100%);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    background: #0d1424;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px 28px;
    color: var(--text);
    animation: payModalIn .22s ease;
}
@keyframes payModalIn {
    from { opacity: 0; transform: translateY(16px) scale(.98); }
    to { opacity: 1; transform: none; }
}
.pay-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    color: var(--muted);
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}
.pay-modal-close:hover { color: var(--text); }
.pay-modal-card h3 { margin: 0 0 6px; font-size: 1.3rem; }
.pay-modal-sub { margin: 0 0 18px; color: var(--muted); font-size: .92rem; }
.pay-modal-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 18px;
}
.pay-modal-summary strong { font-size: 1.25rem; color: var(--green); white-space: nowrap; }
.pay-modal-form { display: flex; flex-direction: column; gap: 12px; }
.pay-modal-form label { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; color: var(--muted); }
.pay-modal-form input {
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    color: var(--text);
    font-size: .95rem;
}
.pay-modal-form input:focus { outline: none; border-color: var(--line-strong); }
.pay-modal-submit { margin-top: 6px; justify-content: center; }
.pay-modal-note { margin: 6px 0 0; font-size: .78rem; color: var(--muted); text-align: center; }
.pay-modal-error { margin: 4px 0 2px; padding: 10px 12px; border-radius: 8px;
    background: rgba(220, 70, 70, .12); border: 1px solid rgba(220, 70, 70, .4);
    color: #b91c1c; font-size: .85rem; }

/* Le widget officiel DiJiPay injecte ses styles au moment de l'ouverture.
   Ces surcharges gardent l'iframe complète et lisible sur les pages licences. */
#dijipay-overlay {
    z-index: 2147483647 !important;
    align-items: center !important;
    padding: 16px !important;
    overflow: hidden !important;
}

#dijipay-modal {
    width: min(1040px, calc(100vw - 64px)) !important;
    max-width: 1040px !important;
    height: calc(100dvh - 32px) !important;
    max-height: none !important;
    margin: auto !important;
    overflow: hidden !important;
    border-radius: 18px !important;
}

#dijipay-frame {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
}

#dijipay-close {
    z-index: 5 !important;
}

@media (max-width: 760px) {
    #dijipay-overlay {
        padding: 0 !important;
    }

    #dijipay-modal {
        width: 100vw !important;
        max-width: none !important;
        height: 100dvh !important;
        border-radius: 0 !important;
    }
}
