:root {
    --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-heading: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --bg: #f7f9fc;
    --surface: #ffffff;
    --surface-soft: #eef4ff;
    --text: #0f172a;
    --muted: #475569;
    --border: #dbe4f0;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #14b8a6;
    --brand-gradient: linear-gradient(135deg, #2563eb 0%, #14b8a6 100%);
    --brand-blue: #2563eb;
    --brand-teal: #14b8a6;
    --brand-navy: #071831;
    --dark: #08111f;
    --dark-soft: #101b2d;
    --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

body,
button,
input,
textarea,
select {
    font: inherit;
}

img,
svg {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

.narrow {
    width: min(900px, calc(100% - 40px));
}

.section-padding {
    padding: 88px 0;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 20;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.skip-link:focus {
    top: 16px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(247, 249, 252, 0.86);
    border-bottom: 1px solid rgba(219, 228, 240, 0.82);
    backdrop-filter: blur(16px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 74px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    font-size: 0.78rem;
}

.brand-text {
    font-size: 1.04rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--muted);
    font-size: 0.95rem;
}

.nav-links a {
    transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--text);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    color: #fff;
    background: var(--dark);
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
}

.hero {
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.55), transparent 34%),
        radial-gradient(circle at 80% 20%, rgba(20, 184, 166, 0.35), transparent 30%),
        linear-gradient(135deg, var(--dark), var(--dark-soft));
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 56px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero .eyebrow,
.final-cta .eyebrow {
    color: #93c5fd;
}

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

h1 {
    margin-bottom: 24px;
    font-family: var(--font-heading);
    font-size: clamp(2.15rem, 4vw, 3.45rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
    font-weight: 800;
}

h2 {
    margin-bottom: 18px;
    font-family: var(--font-heading);
    font-size: clamp(1.65rem, 2.5vw, 2.35rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
    font-weight: 800;
}

h3 {
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
    line-height: 1.25;
    letter-spacing: -0.02em;
    font-weight: 750;
}

.hero-lead,
.section-lead {
    color: var(--muted);
    line-height: 1.7;
}

.hero-lead {
    max-width: 720px;
    color: #cbd5e1;
    font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.section-lead {
    font-size: clamp(0.98rem, 1.2vw, 1.1rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 34px 0 14px;
}

.hero-reassurance {
    max-width: 760px;
    margin: 0 0 34px;
    color: #dbeafe;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.55;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    transition:
        border-color 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.button-primary {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    background: var(--primary);
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

.button-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--brand-gradient);
    opacity: 0;
    transition: opacity 180ms ease;
}

.button-primary:hover,
.button-primary:focus-visible {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.28);
}

.button-primary:hover::before,
.button-primary:focus-visible::before {
    opacity: 1;
}

.button-secondary {
    color: var(--brand-navy);
    border-color: rgba(37, 99, 235, 0.18);
    background: #fff;
}

.button-card {
    width: 100%;
    color: var(--text);
    border-color: var(--border);
    background: var(--surface);
}

.button-secondary-dark {
    color: var(--text);
    border-color: var(--border);
    background: var(--surface);
}

.button-secondary-dark:hover,
.button-secondary-dark:focus-visible,
.button-card:hover,
.button-card:focus-visible,
.button-secondary:hover,
.button-secondary:focus-visible {
    border-color: rgba(37, 99, 235, 0.45);
    background: #f8fbff;
}

.button-full {
    width: 100%;
}

.button:disabled,
.button[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.72;
}

.button-primary:disabled:hover,
.button-primary:disabled:focus-visible {
    transform: none;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

.button-primary:disabled::before {
    opacity: 0;
}

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

.hero-metrics div {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
}

.hero-metrics dt {
    margin-bottom: 8px;
    color: #fff;
    font-weight: 800;
}

.hero-metrics dd {
    margin: 0;
    color: #cbd5e1;
    font-size: 0.94rem;
}

.hero-card {
    position: relative;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: -28px;
    z-index: 0;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.32), rgba(20, 184, 166, 0.22));
    filter: blur(6px);
}

.mock-window {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.mock-window-bar {
    display: flex;
    gap: 8px;
    padding: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mock-window-bar span {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
}

.mock-dashboard {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
}

.mock-panel,
.mock-list {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    background: rgba(8, 17, 31, 0.42);
}

.mock-panel-main {
    grid-column: span 2;
}

.mock-label {
    margin-bottom: 6px;
    color: #94a3b8;
    font-size: 0.82rem;
}

.mock-panel strong {
    display: block;
    margin-bottom: 3px;
    font-size: clamp(1.45rem, 3vw, 2.2rem);
    line-height: 1;
}

.mock-panel span,
.mock-list em {
    color: #a7f3d0;
    font-size: 0.9rem;
    font-style: normal;
}

.mock-list {
    grid-column: span 2;
}

.mock-list div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.proof-strip {
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.proof-grid span {
    display: grid;
    place-items: center;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted);
    font-weight: 750;
    font-size: 0.9rem;
    background: var(--bg);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 56px;
    align-items: start;
}

.feature-list {
    display: grid;
    gap: 16px;
}

.feature-list article,
.tech-cards article,
.steps li,
.price-card,
.faq-list details {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.feature-list article,
.tech-cards article {
    padding: 24px;
}

.feature-list p,
.tech-cards p,
.steps p,
.price-card p,
.faq-list p,
.site-footer p {
    color: var(--muted);
}

.packs {
    background: #eef4ff;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-heading.center {
    margin-inline: auto;
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px;
}

.price-card-featured {
    border-color: rgba(37, 99, 235, 0.52);
    box-shadow: 0 30px 90px rgba(37, 99, 235, 0.18);
}

.featured-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff;
    background: var(--primary);
    font-size: 0.78rem;
    font-weight: 850;
}

.pack-label {
    margin-bottom: 12px;
    color: var(--primary) !important;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pack-result {
    min-height: 58px;
}

.price {
    margin: 16px 0 4px;
    color: var(--text) !important;
    font-size: 1.02rem;
}

.price strong {
    display: block;
    font-size: 2rem;
    line-height: 1.1;
    letter-spacing: 0;
}

.recurring {
    margin-bottom: 22px;
    font-size: 0.94rem;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    color: var(--muted);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    color: #fff;
    background: var(--accent);
    font-size: 0.75rem;
    font-weight: 900;
}

.price-card .button {
    margin-top: auto;
}

.pack-detail-group {
    margin-bottom: 22px;
}

.pack-detail-group h4,
.basket-group h4,
.module-card h4 {
    margin: 0 0 12px;
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 850;
    letter-spacing: 0;
}

.pack-detail-group-secondary {
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tag-list li {
    padding: 8px 10px;
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 999px;
    color: var(--muted);
    background: #f8fbff;
    font-size: 0.88rem;
    font-weight: 750;
    line-height: 1.2;
}

.pricing-disclaimer {
    max-width: 880px;
    margin: 24px auto 0;
    padding: 18px 22px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: var(--radius-md);
    color: var(--muted);
    text-align: center;
    background: rgba(255, 255, 255, 0.74);
}


.custom-offer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 24px;
    padding: 28px;
    border: 1px solid rgba(37, 99, 235, 0.24);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(238, 244, 255, 0.9));
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.custom-offer h3 {
    margin-bottom: 8px;
}

.custom-offer p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.custom-offer .button {
    flex: 0 0 auto;
}

.comparison {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.comparison div {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.72);
}

.comparison strong,
.comparison span {
    display: block;
}

.comparison span {
    color: var(--muted);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: steps;
}

.steps li {
    padding: 26px;
}

.steps span {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 22px;
    border-radius: 14px;
    color: var(--primary);
    background: var(--surface-soft);
    font-weight: 900;
}

.tech {
    color: #fff;
    background: var(--dark);
}

.tech .section-lead,
.tech-cards p {
    color: #cbd5e1;
}

.tech-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: start;
}

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

.tech-cards article {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-list details {
    padding: 20px 24px;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 850;
    letter-spacing: 0;
}

.faq-list p {
    margin: 14px 0 0;
}

.final-cta {
    background: linear-gradient(135deg, var(--dark), #102340);
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.cta-panel p {
    max-width: 760px;
    margin-bottom: 0;
    color: #cbd5e1;
}

.site-footer {
    padding: 56px 0 24px;
    background: var(--surface);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr 0.85fr 0.7fr;
    gap: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.footer-brand {
    margin-bottom: 14px;
}

.site-footer h2 {
    margin-bottom: 12px;
    font-size: 1rem;
    letter-spacing: 0;
}

.site-footer address {
    color: var(--muted);
    font-style: normal;
}

.footer-links {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.inline-link {
    color: var(--primary);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: rgba(37, 99, 235, 0.32);
    text-underline-offset: 3px;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.inline-link:hover,
.inline-link:focus-visible {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 22px;
    color: var(--muted);
}

.legal-page {
    background: var(--surface);
}

.legal-page h1 {
    color: var(--text);
}

.legal-section {
    padding: 26px 0;
    border-top: 1px solid var(--border);
}

.legal-section:first-of-type {
    margin-top: 28px;
}

.legal-section h2 {
    margin-bottom: 10px;
    font-size: clamp(1.25rem, 2vw, 1.6rem);
}

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

.legal-section a {
    color: var(--primary);
    font-weight: 750;
}

:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.4);
    outline-offset: 3px;
}

@media (max-width: 980px) {

    .nav-links {
        display: none;
    }

    .hero-grid,
    .split,
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid,
    .steps,
    .comparison,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .custom-offer {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-metrics,
    .proof-grid,
    .tech-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 740px) {

    .container,
    .narrow {
        width: min(100% - 28px, var(--container));
    }

    .section-padding {
        padding: 64px 0;
    }

    h1 {
        font-size: clamp(2rem, 10vw, 2.3rem);
        line-height: 1.06;
        letter-spacing: -0.045em;
    }

    h2 {
        font-size: clamp(1.55rem, 7vw, 1.9rem);
        line-height: 1.12;
        letter-spacing: -0.035em;
    }

    h3 {
        font-size: 1.08rem;
    }

    .hero-lead,
    .section-lead {
        font-size: 1rem;
        line-height: 1.65;
    }

    .nav {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        padding: 14px 0;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 14px;
    }

    .nav-cta {
        width: 100%;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-reassurance {
        margin-bottom: 28px;
        font-size: 0.92rem;
    }

    .hero-grid {
        gap: 36px;
    }

    .hero-metrics,
    .proof-grid,
    .mock-dashboard,
    .tech-cards {
        grid-template-columns: 1fr;
    }

    .mock-panel-main,
    .mock-list {
        grid-column: auto;
    }

    .cta-panel {
        align-items: stretch;
        flex-direction: column;
        padding: 26px;
    }

    .cta-panel .button {
        width: 100%;
    }
}

/* LogicGate V2: modularité, clarification des prix et service mensuel */
.modularity {
    background: var(--surface);
}

.modularity-grid,
.service-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: start;
}

.module-note {
    padding: 18px 20px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: var(--radius-md);
    color: var(--muted);
    background: var(--surface-soft);
}

.module-roadmap,
.service-cards {
    display: grid;
    gap: 16px;
}

.module-roadmap article,
.service-cards article,
.pricing-note div {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.module-roadmap article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 16px;
    padding: 22px;
}

.module-roadmap article span {
    grid-row: span 2;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: var(--primary);
    background: var(--surface-soft);
    font-weight: 900;
}

.module-roadmap h3,
.module-roadmap p,
.service-cards h3,
.service-cards p {
    margin-bottom: 0;
}

.module-roadmap p,
.service-cards p {
    color: var(--muted);
}

.price-block {
    display: grid;
    gap: 10px;
    margin: 18px 0 24px;
}

.price,
.recurring {
    margin: 0;
}

.price span,
.recurring span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.recurring {
    padding: 14px 16px;
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: var(--radius-sm);
    background: #f8fbff;
}

.recurring strong {
    display: block;
    color: var(--text);
    font-size: 1.25rem;
    line-height: 1.15;
    letter-spacing: 0;
}

.pricing-note {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.pricing-note div {
    padding: 18px;
}

.pricing-note strong,
.pricing-note span {
    display: block;
}

.pricing-note strong {
    margin-bottom: 6px;
}

.pricing-note span {
    color: var(--muted);
}

.monthly-service {
    background: var(--surface);
}

.service-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-cards article {
    padding: 24px;
}

.configurator {
    background: var(--surface);
}

.configurator-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
    gap: 36px;
    align-items: start;
}

.basket-card {
    padding: 28px;
    border: 1px solid rgba(37, 99, 235, 0.20);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.basket-header {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.basket-header h3 {
    margin-bottom: 14px;
}

.basket-group {
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}

.basket-line {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 9px 0;
    color: var(--muted);
}

.basket-line strong {
    flex: 0 0 auto;
    color: var(--text);
    font-weight: 850;
}

.basket-line-strong {
    padding: 0;
    color: var(--text);
    font-size: 1.05rem;
}

.basket-total,
.basket-monthly {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
    padding: 18px;
    border-radius: var(--radius-md);
}

.basket-total {
    color: #fff;
    background: var(--brand-navy);
}

.basket-total strong {
    font-size: 1.45rem;
    line-height: 1.1;
}

.basket-monthly {
    border: 1px solid rgba(20, 184, 166, 0.24);
    color: var(--brand-navy);
    background: #ecfdf5;
}

.basket-monthly strong {
    font-size: 1.15rem;
}

.basket-note {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.modules-panel {
    min-width: 0;
}

.modules-heading {
    max-width: 620px;
    margin-bottom: 20px;
}

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

.module-card {
    min-height: 188px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.module-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.module-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 14px;
    padding: 0 10px;
    border-radius: 999px;
    color: #075985;
    background: #e0f2fe;
    font-size: 0.76rem;
    font-weight: 850;
    line-height: 1;
}

.module-badge-soft {
    color: #115e59;
    background: #ccfbf1;
}

.module-badge-quote {
    color: #475569;
    background: #f1f5f9;
}

@media (max-width: 980px) {

    .modularity-grid,
    .service-grid,
    .configurator-grid {
        grid-template-columns: 1fr;
    }

    .pricing-note,
    .service-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 740px) {
    .module-roadmap article {
        grid-template-columns: 1fr;
    }

    .module-roadmap article span {
        grid-row: auto;
        margin-bottom: 14px;
    }

    .basket-card {
        padding: 22px;
    }

    .basket-line,
    .basket-total,
    .basket-monthly {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }
}

/* LogicGate V3: logo, typography, gradient identity and contact section */
body {
    font-family: var(--font-body);
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
.section-title,
.hero-title,
.pack-title,
.final-cta-title,
.contact-title,
.featured-badge,
.pack-label,
.button,
.nav-cta,
.hero-metrics dt,
.faq-list summary {
    font-family: var(--font-heading);
}

h1 {
    font-weight: 800;
}

h2 {
    font-weight: 800;
}

h3 {
    font-weight: 750;
}

.site-header {
    background: rgba(255, 255, 255, 0.88);
}

.brand-logo {
    min-width: 0;
}

.brand-logo-img {
    display: block;
    width: auto;
    height: 42px;
    object-fit: contain;
}

.footer-logo-img {
    height: 36px;
}

.nav-cta,
.button-primary {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    background: var(--brand-blue);
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
    transition:
        box-shadow 180ms ease,
        transform 180ms ease,
        border-color 180ms ease;
}

.nav-cta::before,
.button-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--brand-gradient);
    opacity: 0;
    transition: opacity 180ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible,
.button-primary:hover,
.button-primary:focus-visible {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.28);
}

.nav-cta:hover::before,
.nav-cta:focus-visible::before,
.button-primary:hover::before,
.button-primary:focus-visible::before {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

.button-secondary:hover,
.button-secondary:focus-visible {
    border-color: rgba(37, 99, 235, 0.45);
    background: #f8fbff;
}

.hero {
    background: linear-gradient(135deg, #071831 0%, #0e1f3a 52%, #0b2534 100%);
}

.hero-card::before {
    background: var(--brand-gradient);
    opacity: 0.18;
}

.mock-panel span,
.mock-list em {
    color: #99f6e4;
}

.proof-grid span,
.module-roadmap article,
.service-cards article,
.feature-list article,
.module-card,
.tech-cards article,
.steps li,
.price-card,
.faq-list details,
.contact-benefits article,
.diagnostic-form {
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease;
}

.proof-grid span:hover,
.module-roadmap article:hover,
.service-cards article:hover,
.feature-list article:hover,
.module-card:hover,
.steps li:hover,
.price-card:hover,
.faq-list details:hover,
.contact-benefits article:hover {
    border-color: rgba(37, 99, 235, 0.26);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.055);
}

.price-card-featured {
    border-color: rgba(20, 184, 166, 0.46);
    box-shadow: 0 30px 90px rgba(37, 99, 235, 0.16), 0 0 0 1px rgba(20, 184, 166, 0.12);
}

.featured-badge,
.check-list li::before {
    background: var(--brand-gradient);
}

.pack-label,
.module-roadmap article span,
.steps span {
    color: var(--brand-blue) !important;
}

.contact-section {
    background:
        radial-gradient(circle at 20% 0%, rgba(37, 99, 235, 0.10), transparent 36%),
        radial-gradient(circle at 90% 12%, rgba(20, 184, 166, 0.10), transparent 34%),
        var(--surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 56px;
    align-items: start;
}

.contact-copy {
    position: sticky;
    top: 108px;
}

.contact-benefits {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

.contact-benefits article {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.76);
}

.contact-benefits strong,
.contact-benefits span {
    display: block;
}

.contact-benefits strong {
    margin-bottom: 6px;
    color: var(--text);
    font-family: var(--font-heading);
    font-weight: 800;
}

.contact-benefits span {
    color: var(--muted);
}

.diagnostic-form {
    position: relative;
    display: grid;
    gap: 18px;
    padding: 32px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 70px rgba(15, 23, 42, 0.09);
}

.form-grid {
    display: grid;
    gap: 18px;
}

.form-row,
.form-field {
    display: grid;
    gap: 8px;
}

.form-row label,
.form-field label {
    color: var(--text);
    font-size: 0.94rem;
    font-weight: 800;
    letter-spacing: 0;
}

.form-row input,
.form-row select,
.form-row textarea,
.form-control,
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 14px;
    padding: 13px 15px;
    color: var(--text);
    background: #fff;
    outline: none;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease;
}

.form-row input::placeholder,
.form-row textarea::placeholder,
.form-control::placeholder,
.form-input::placeholder,
.form-textarea::placeholder {
    color: #94a3b8;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus,
.form-control:focus,
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: rgba(37, 99, 235, 0.64);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.form-row input.invalid,
.form-row select.invalid,
.form-row textarea.invalid,
.form-control.invalid,
.form-input.invalid,
.form-select.invalid,
.form-textarea.invalid {
    border-color: rgba(220, 38, 38, 0.44);
}

.form-row textarea,
.form-textarea {
    min-height: 132px;
    resize: vertical;
}

.validation-summary,
.validation-summary-errors {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid rgba(220, 38, 38, 0.22);
    border-radius: 14px;
    color: #991b1b;
    background: #fef2f2;
    font-size: 0.94rem;
}

.validation-summary ul,
.validation-summary-errors ul {
    display: grid;
    gap: 4px;
    margin: 0;
    padding-left: 18px;
}

.validation-message,
.field-validation-error {
    color: #b91c1c;
    font-size: 0.9rem;
    line-height: 1.45;
}

.form-status {
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 750;
    line-height: 1.5;
}

.form-status-success {
    border: 1px solid rgba(20, 184, 166, 0.32);
    color: #0f766e;
    background: #ecfdf5;
}

.form-status-error {
    border: 1px solid rgba(220, 38, 38, 0.22);
    color: #991b1b;
    background: #fef2f2;
}

.checkbox-row,
.form-consent {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
    padding: 14px 16px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 14px;
    background: #f8fbff;
}

.checkbox-row .form-checkbox,
.form-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--brand-blue);
}

.checkbox-row label,
.form-consent label {
    font-weight: 650;
    line-height: 1.5;
}

.checkbox-row .validation-message,
.form-consent .validation-message,
.form-consent .field-validation-error {
    grid-column: 2;
}

.honeypot-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

@media (max-width: 980px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-copy {
        position: static;
    }
}

@media (max-width: 740px) {
    .brand-logo-img {
        height: 38px;
    }

    .footer-logo-img {
        height: 34px;
    }

    .nav-links {
        display: none;
    }

    .diagnostic-form {
        gap: 16px;
        padding: 22px;
        border-radius: 18px;
    }
}
