:root {
    --blue: #2713bd;
    --deep: #160a76;
    --ink: #18162c;
    --muted: #716e82;
    --line: #e8e5f1;
    --paper: #f7f6fb;
    --green: #00a968;
    --yellow: #ffd932;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.site-header, main, .site-footer { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.site-header {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.site-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.site-brand img { width: 44px; height: 44px; object-fit: contain; border-radius: 13px; background: #fff; border: 1px solid var(--line); padding: 4px; }
.site-brand span { display: grid; gap: 1px; }
.site-brand b { font-size: 18px; letter-spacing: -.04em; }
.site-brand small { color: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: .2em; }
.header-nav, .header-actions { display: flex; align-items: center; gap: 26px; }
.header-nav a, .header-login { color: #555267; font-size: 13px; font-weight: 700; text-decoration: none; }
.header-nav a:hover, .header-login:hover { color: var(--blue); }
.header-actions { gap: 17px; }
.button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 0 23px;
    border: 1px solid var(--blue);
    border-radius: 13px;
    background: var(--blue);
    color: #fff;
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 13px 28px rgba(39, 19, 189, .17);
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); background: var(--deep); box-shadow: 0 16px 32px rgba(39, 19, 189, .22); }
.button span { font-size: 18px; }
.button-small { min-height: 42px; padding-inline: 17px; border-radius: 11px; font-size: 12px; }
.button-outline { background: #fff; color: var(--blue); box-shadow: none; }
.button-outline:hover { background: #f4f1ff; color: var(--deep); }
.hero {
    min-height: 560px;
    position: relative;
    display: grid;
    grid-template-columns: 1.03fr .97fr;
    align-items: center;
    gap: 50px;
    padding: 54px 64px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: linear-gradient(115deg, #fff 0%, #fff 54%, #f0edff 100%);
    box-shadow: 0 24px 70px rgba(31, 20, 89, .075);
}
.hero:after { content: ""; position: absolute; width: 430px; height: 430px; right: -165px; top: -230px; border: 64px solid rgba(39, 19, 189, .045); border-radius: 50%; pointer-events: none; }
.hero-copy { position: relative; z-index: 1; max-width: 555px; }
.eyebrow { margin: 0 0 17px; color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .17em; }
.hero .eyebrow { display: flex; align-items: center; gap: 9px; }
.hero .eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(0, 169, 104, .1); }
.hero h1 { max-width: 590px; margin: 0; font-size: clamp(42px, 5.2vw, 66px); line-height: 1.02; letter-spacing: -.065em; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-lead { max-width: 500px; margin: 23px 0 28px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.hero-secondary { margin-top: 13px; font-size: 11px; }
.hero-secondary a { color: var(--muted); font-weight: 700; text-decoration: underline; text-decoration-color: #c8c4d5; text-underline-offset: 3px; }
.hero-secondary a:hover { color: var(--blue); }
.hero-note { display: flex; align-items: center; gap: 8px; margin: 20px 0 0; color: var(--muted); font-size: 11px; }
.hero-note span { color: var(--green); font-size: 15px; font-weight: 900; }
.hero-visual { min-height: 405px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.visual-orbit { position: absolute; border: 1px solid rgba(39, 19, 189, .09); border-radius: 50%; }
.orbit-one { width: 390px; height: 390px; }
.orbit-two { width: 315px; height: 315px; border-style: dashed; }
.preview-card { position: relative; z-index: 1; width: min(100%, 395px); padding: 25px; border: 1px solid rgba(232, 229, 241, .95); border-radius: 22px; background: rgba(255, 255, 255, .94); box-shadow: 0 25px 65px rgba(31, 20, 89, .14); transform: rotate(1deg); }
.preview-card { transform-origin: 0 0; animation: preview-card-swing 6s ease-in-out infinite; will-change: transform; }
@keyframes preview-card-swing {
    0%, 100% { transform: rotate(-.7deg) translateY(0); }
    50% { transform: rotate(1.1deg) translateY(-5px); }
}
.preview-top { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.preview-kicker { color: #9591a5; font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.preview-top h2 { margin: 7px 0 0; font-size: 19px; letter-spacing: -.04em; }
.preview-label { padding: 6px 9px; border-radius: 999px; background: #f0edff; color: var(--blue); font-size: 9px; font-weight: 900; }
.preview-main { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid #f0eef5; }
.preview-main > div:nth-child(2) { display: grid; gap: 4px; }
.preview-main b { font-size: 12px; }
.preview-main small { color: var(--muted); font-size: 9px; }
.preview-arrow { margin-left: auto; color: #aaa6b7; font-size: 17px; }
.preview-icon, .benefit-icon { display: grid; place-items: center; flex: 0 0 39px; width: 39px; height: 39px; border-radius: 12px; font-weight: 900; font-size: 18px; }
.purple { color: var(--blue); background: #f0edff; }
.yellow { color: #987300; background: #fff8d9; }
.green { color: #008b57; background: #e7fbf2; }
.preview-footer { display: flex; align-items: center; gap: 11px; padding-top: 18px; color: var(--muted); font-size: 9px; }
.mini-shield { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: #e7fbf2; color: var(--green); font-size: 12px; font-weight: 900; }
.floating-chip { position: relative; z-index: 2; display: flex; align-items: center; gap: 8px; max-width: 100%; padding: 11px 14px; border: 1px solid #d9d2ff; border-radius: 12px; background: #f0edff; color: var(--blue); font-size: 10px; font-weight: 800; box-shadow: 0 10px 24px rgba(39, 19, 189, .09); }
.floating-chip span { display: grid; place-items: center; flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: var(--blue); }
.benefit-section { padding: 91px 16px 86px; }
.section-heading { max-width: 650px; margin: 0 auto 36px; text-align: center; }
.section-heading .eyebrow { margin-bottom: 13px; }
.section-heading h2, .steps-copy h2 { margin: 0; font-size: clamp(30px, 3.7vw, 43px); line-height: 1.13; letter-spacing: -.055em; }
.section-heading > p:last-child { max-width: 560px; margin: 14px auto 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.benefit-card { min-height: 222px; padding: 25px; border: 1px solid var(--line); border-radius: 19px; background: #fff; box-shadow: 0 12px 36px rgba(31, 20, 89, .045); }
.benefit-icon { width: 44px; height: 44px; margin-bottom: 17px; }
.benefit-card .benefit-icon { color: var(--blue); background: #f0edff; }
.benefit-card h3 { margin: 0 0 9px; font-size: 16px; letter-spacing: -.025em; }
.benefit-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.pricing-callout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: center; margin: 0 0 30px; padding: 36px 40px; border: 1px solid #c9d8ff; border-radius: 24px; background: linear-gradient(115deg, #e8efff 0%, #f2f6ff 48%, #e7edff 100%); box-shadow: 0 18px 42px rgba(39, 19, 189, .08); }
.pricing-copy .eyebrow { margin-bottom: 12px; }
.pricing-copy h2 { max-width: 440px; margin: 0; font-size: clamp(25px, 3vw, 34px); line-height: 1.12; letter-spacing: -.05em; }
.pricing-copy > p:last-child { max-width: 460px; margin: 13px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.pricing-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pricing-facts > div { min-height: 130px; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 18px; border: 1px solid #d5e0ff; border-radius: 16px; background: linear-gradient(145deg, #fff 0%, #f3f6ff 100%); box-shadow: 0 8px 22px rgba(39, 19, 189, .06); }
.pricing-facts > div:nth-child(1) { background: linear-gradient(145deg, #fff 0%, #eaf0ff 100%); }
.pricing-facts > div:nth-child(2) { background: linear-gradient(145deg, #fafdff 0%, #e4edff 100%); }
.pricing-facts > div:nth-child(3) { background: linear-gradient(145deg, #fff 0%, #eef2ff 100%); }
.pricing-facts strong { color: var(--blue); font-size: 34px; line-height: 1; letter-spacing: -.06em; }
.pricing-facts span { color: #5c586e; font-size: 10px; font-weight: 700; line-height: 1.5; }
.compat-section { padding: 74px 0 82px; }
.compat-section .section-heading { margin-bottom: 30px; }
.integration-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.integration-card { display: grid; grid-template-columns: 48px 1fr; align-items: center; column-gap: 13px; min-height: 205px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 12px 36px rgba(31, 20, 89, .045); }
.integration-mark { display: grid; place-items: center; grid-row: span 2; width: 45px; height: 45px; border-radius: 13px; font-size: 19px; font-weight: 900; }
.omada-mark { background: #eef6ff; color: #1768bb; }
.mikrotik-mark { background: #f0edff; color: var(--blue); }
.money-mark { background: #e7fbf2; color: var(--green); }
.request-mark { background: #fff8d9; color: #987300; }
.integration-type { color: #928ea2; font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.integration-card h3 { margin: 4px 0 0; font-size: 14px; letter-spacing: -.02em; }
.integration-card p { grid-column: 1 / -1; margin: 17px 0 13px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.integration-foot { grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid #f0eef5; color: #5d596f; font-size: 9px; font-weight: 800; }
.integration-contact { display: flex; justify-content: space-between; align-items: center; color: var(--blue); text-decoration: none; }
.integration-contact:hover { color: var(--deep); }
.currency-note { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 23px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.currency-note span { color: var(--blue); font-size: 17px; }
.steps-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 65px; align-items: center; padding: 43px 48px 48px; border: 1px solid var(--line); border-radius: 25px; background: #fff; }
.steps-copy .eyebrow { margin-bottom: 13px; }
.steps-copy > p:last-child { max-width: 430px; margin: 15px 0 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.steps-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.steps-list li { display: flex; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid #f0eef5; }
.steps-list li:last-child { border-bottom: 0; }
.steps-list li > span { display: grid; place-items: center; flex: 0 0 39px; width: 39px; height: 39px; border-radius: 12px; background: #f0edff; color: var(--blue); font-size: 11px; font-weight: 900; }
.steps-list li div { display: grid; gap: 4px; }
.steps-list b { font-size: 12px; }
.steps-list small { color: var(--muted); font-size: 10px; }
.closing-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 70px; padding: 34px 42px; border-radius: 22px; background: linear-gradient(115deg, var(--blue), var(--deep)); color: #fff; }
.closing-cta .eyebrow { margin-bottom: 9px; color: #d7d1ff; }
.closing-cta h2 { max-width: 520px; margin: 0; font-size: clamp(23px, 3vw, 32px); line-height: 1.15; letter-spacing: -.04em; }
.button-light { border-color: #fff; background: #fff; color: var(--blue); box-shadow: none; }
.button-light:hover { background: #f0edff; color: var(--deep); }
.button-ghost { border-color: rgba(255, 255, 255, .45); background: transparent; color: #fff; box-shadow: none; }
.button-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 0 30px; color: #898598; font-size: 10px; }
.site-footer a { color: var(--blue); font-weight: 800; text-decoration: none; }
.footer-brand { color: var(--ink) !important; font-size: 11px; letter-spacing: .04em; }

/* Nuances bleues harmonisées sur les cartes de la page d’accueil. */
.hero { background: linear-gradient(120deg, #fff 0%, #eaf0ff 58%, #dce7ff 100%); }
.preview-card { border-color: #c8d8ff; background: linear-gradient(145deg, #fff 0%, #e8efff 100%); }
.benefit-card { border-color: #cbd9ff; background: linear-gradient(145deg, #fff 0%, #eaf0ff 100%); }
.benefit-card:nth-child(3n + 2) { background: linear-gradient(145deg, #f8fbff 0%, #e0eaff 100%); }
.benefit-card:nth-child(3n) { background: linear-gradient(145deg, #fff 0%, #e5edff 100%); }
.integration-card { border-color: #cbd9ff; background: linear-gradient(145deg, #fff 0%, #e8efff 100%); }
.integration-card:nth-child(3n + 2) { background: linear-gradient(145deg, #f8fbff 0%, #dce7ff 100%); }
.integration-card:nth-child(3n) { background: linear-gradient(145deg, #fff 0%, #e2ebff 100%); }
.steps-section { border-color: #bfd1ff; background: linear-gradient(115deg, #dfe9ff 0%, #eff4ff 56%, #dce7ff 100%); }
.pricing-callout { border-color: #9ebaff; background: linear-gradient(115deg, #cbdcff 0%, #e0eaff 48%, #bfd4ff 100%); }
.pricing-facts > div { border-color: #b2c8ff; box-shadow: 0 9px 24px rgba(39, 19, 189, .1); }
.pricing-facts > div:nth-child(1) { background: linear-gradient(145deg, #eef4ff 0%, #d4e2ff 100%); }
.pricing-facts > div:nth-child(2) { background: linear-gradient(145deg, #e7f0ff 0%, #cbdcff 100%); }
.pricing-facts > div:nth-child(3) { background: linear-gradient(145deg, #f0f5ff 0%, #d7e4ff 100%); }
.hero { background: linear-gradient(120deg, #fff 0%, #e0eaff 58%, #c9dcff 100%); }
.preview-card { border-color: #b5caff; background: linear-gradient(145deg, #fafdff 0%, #dce8ff 100%); }
.benefit-card { border-color: #b6cbff; background: linear-gradient(145deg, #fafdff 0%, #dce8ff 100%); }
.benefit-card:nth-child(3n + 2) { background: linear-gradient(145deg, #f4f8ff 0%, #cbdcff 100%); }
.benefit-card:nth-child(3n) { background: linear-gradient(145deg, #fff 0%, #d4e2ff 100%); }
.integration-card { border-color: #b6cbff; background: linear-gradient(145deg, #fafdff 0%, #dce8ff 100%); }
.integration-card:nth-child(3n + 2) { background: linear-gradient(145deg, #f4f8ff 0%, #cbdcff 100%); }
.integration-card:nth-child(3n) { background: linear-gradient(145deg, #fff 0%, #d4e2ff 100%); }
.steps-section { border-color: #a6c0ff; background: linear-gradient(115deg, #cbdcff 0%, #e4edff 56%, #c5d9ff 100%); }
.pricing-facts > div:nth-child(2) { border-color: var(--blue); background: linear-gradient(145deg, #3925d8 0%, #2110a5 100%); }
.pricing-facts > div:nth-child(2) strong { color: #fff; }
.pricing-facts > div:nth-child(2) span { color: #eeebff; }
.benefit-card:nth-child(3n + 1) { border-color: var(--blue); background: linear-gradient(145deg, #3925d8 0%, #2110a5 100%); color: #fff; }
.benefit-card:nth-child(3n + 1) h3 { color: #fff; }
.benefit-card:nth-child(3n + 1) p { color: #eeebff; }
.benefit-card:nth-child(3n + 1) .benefit-icon { background: #fff; color: var(--blue); }
.integration-card:nth-child(3n + 2) { border-color: var(--blue); background: linear-gradient(145deg, #3925d8 0%, #2110a5 100%); color: #fff; }
.integration-card:nth-child(3n + 2) .integration-type,
.integration-card:nth-child(3n + 2) p,
.integration-card:nth-child(3n + 2) .integration-foot { color: #eeebff; }

/* Cartes bleues, grands panneaux allongés blancs. */
.preview-card,
.benefit-card,
.benefit-card:nth-child(3n + 2),
.benefit-card:nth-child(3n),
.integration-card,
.integration-card:nth-child(3n + 2),
.integration-card:nth-child(3n),
.pricing-facts > div,
.pricing-facts > div:nth-child(1),
.pricing-facts > div:nth-child(2),
.pricing-facts > div:nth-child(3) {
    border-color: #2713bd;
    background: linear-gradient(145deg, #3925d8 0%, #2110a5 100%);
    color: #fff;
}
.preview-card h2, .preview-card b, .benefit-card h3, .integration-card h3,
.pricing-facts > div strong { color: #fff; }
.preview-kicker, .preview-main small, .preview-footer,
.benefit-card p, .integration-card p, .integration-type, .integration-foot,
.pricing-facts > div span { color: #eeebff; }
.preview-top, .preview-main, .integration-foot, .steps-list li { border-color: rgba(255,255,255,.2); }
.preview-label, .preview-icon, .benefit-card .benefit-icon, .integration-mark {
    background: #fff;
    color: var(--blue);
}
.mini-shield, .floating-chip span { background: #fff; color: var(--blue); }
.hero, .pricing-callout, .steps-section { background: #fff; }
.floating-chip { border-color: #d9d2ff; background: #fff; color: var(--blue); }
.preview-card { border-color: #25206f; background: linear-gradient(145deg, #30269f 0%, #17133f 100%); }
.preview-card,
.benefit-card,
.benefit-card:nth-child(3n + 2),
.benefit-card:nth-child(3n),
.integration-card,
.integration-card:nth-child(3n + 2),
.integration-card:nth-child(3n),
.pricing-facts > div,
.pricing-facts > div:nth-child(1),
.pricing-facts > div:nth-child(2),
.pricing-facts > div:nth-child(3) {
    background-image: linear-gradient(145deg, rgba(0,0,0,.08), rgba(0,0,0,.28)), linear-gradient(145deg, #3925d8 0%, #2110a5 100%);
}

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr .85fr; gap: 20px; padding: 45px 38px; }
    .preview-card { padding: 20px; }
    .orbit-one { width: 330px; height: 330px; }.orbit-two { width: 270px; height: 270px; }
    .steps-section { gap: 35px; padding-inline: 32px; }
}
@media (max-width: 700px) {
    .site-header, main, .site-footer { width: min(100% - 30px, 560px); }
    .site-header { min-height: 75px; gap: 10px; }
    .header-nav { display: none; }
    .header-actions { gap: 11px; }
    .header-login { font-size: 11px; }
    .button-small { min-height: 39px; padding-inline: 12px; }
    .hero { grid-template-columns: 1fr; gap: 15px; padding: 38px 25px 32px; border-radius: 23px; }
    .hero h1 { max-width: 500px; font-size: clamp(39px, 11vw, 57px); }
    .hero-lead { margin: 17px 0 22px; font-size: 14px; }
    .hero-visual { min-height: 365px; margin-top: 5px; }
    .preview-card { width: min(100%, 395px); }
    .floating-chip { right: auto; bottom: auto; }
    .benefit-section { padding: 67px 0 62px; }
    .section-heading { margin-bottom: 25px; }
    .section-heading h2, .steps-copy h2 { font-size: 32px; }
    .benefit-grid, .integration-grid { grid-template-columns: 1fr; gap: 11px; }
    .benefit-card { min-height: 0; padding: 21px; }
    .pricing-callout { grid-template-columns: 1fr; gap: 20px; margin-bottom: 14px; padding: 26px 22px; border-radius: 21px; }
    .pricing-facts { gap: 7px; }
    .pricing-facts > div { min-height: 112px; padding: 12px 10px; }
    .pricing-facts strong { font-size: 29px; }
    .pricing-facts span { font-size: 9px; }
    .integration-card { min-height: 0; padding: 19px; }
    .benefit-icon { margin-bottom: 12px; }
    .steps-section { grid-template-columns: 1fr; gap: 20px; padding: 27px 23px; border-radius: 21px; }
    .closing-cta { align-items: flex-start; flex-direction: column; margin-top: 48px; padding: 28px 23px; }
    .closing-cta .hero-actions { width: 100%; }
    .closing-cta .button { flex: 1 1 140px; }
    .site-footer { align-items: flex-start; flex-direction: column; gap: 8px; padding-block: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } .preview-card { animation: none; transform: none; will-change: auto; } }
