:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --secondary: #38BDF8;

    --dark: #0B1120;
    --dark-soft: #0F172A;
    --light: #F8FAFC;

    --text-muted: #64748B;

    --gradient-brand: linear-gradient(135deg, var(--primary), var(--secondary));

    --radius: 16px;
    --radius-lg: 24px;

    --shadow-soft: 0 10px 30px rgba(15, 23, 42, .08);
    --shadow-strong: 0 20px 50px rgba(0, 0, 0, .35);

    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    --font-mono: "JetBrains Mono", "Fira Code", Consolas, monospace;
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--light);
    color: #111827;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    letter-spacing: -0.02em;
}

.text-primary {
    color: var(--primary) !important;
}

.btn {
    border-radius: 10px;
    font-weight: 600;
    padding: .65rem 1.5rem;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.btn svg {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    vertical-align: -3px;
}

.btn-primary {
    background: var(--gradient-brand);
    border: none;
    box-shadow: 0 8px 20px rgba(37, 99, 235, .35);
}

.btn-primary:hover {
    background: var(--gradient-brand);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, .45);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

/* Navbar */

.site-navbar {
    background: var(--dark);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    padding-top: .6rem;
    padding-bottom: .6rem;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        max-height: 42px;
        width: auto;
    }
}

.site-navbar .nav-link {
    position: relative;
    color: rgba(255, 255, 255, .75) !important;
    font-weight: 500;
    padding: .5rem 1rem !important;
    transition: color .2s ease;
}

.site-navbar .nav-link:hover {
    color: #fff !important;
}

.site-navbar .nav-link.active {
    color: #fff !important;
}

.site-navbar .nav-link.active::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: -2px;
    height: 2px;
    background: var(--gradient-brand);
    border-radius: 2px;
}

main {
    display: block;
}

@media (min-width: 992px) {
    .py-lg-6 {
        padding-top: 6rem !important;
        padding-bottom: 6rem !important;
    }
}

/* Footer */

.site-footer {
    background: var(--dark);
    color: white;
    padding: 6rem 0 2rem;
}

.footer-cta h2 {
    font-size: 2rem;
}

@media (max-width: 767.98px) {
    .site-footer {
        padding: 3.5rem 0 1.5rem;
    }

    .footer-cta h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .footer-cta .btn {
        overflow-wrap: break-word;
        white-space: normal;
        font-size: .95rem;
    }
}

.footer-divider {
    border-color: rgba(255, 255, 255, .1);
    margin: 3.5rem 0 2rem;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

@media (max-width: 575.98px) {
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .footer-brand img {
        max-height: 36px;
        width: auto;
    }
}

.footer-brand p {
    font-weight: 400;
    font-size: .875rem;
    margin-top: .5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 1.75rem;
    margin: 0;
    padding: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    font-size: .9rem;
    transition: color .2s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copy {
    font-size: .85rem;
}

/* ---------- Hero / page-hero (shared dark hero background) ---------- */

.hero-section,
.page-hero {
    position: relative;
    padding-top: 5rem;
    padding-bottom: 5rem;
    overflow: hidden;
    background: linear-gradient(160deg, var(--dark) 0%, #132244 55%, #1E3A8A 100%);
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.page-hero {
    padding-top: 7.5rem;
}

.hero-section::before,
.page-hero::before,
.hero-section::after,
.page-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}

.hero-section::before,
.page-hero::before {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(56, 189, 248, .35), transparent 70%);
    top: -120px;
    right: -100px;
}

.hero-section::after,
.page-hero::after {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(37, 99, 235, .4), transparent 70%);
    bottom: -160px;
    left: -120px;
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: auto;
        padding-top: 6.5rem;
        padding-bottom: 3rem;
    }

    .page-hero {
        padding-top: 6.5rem;
        padding-bottom: 3rem;
    }
}

.hero-section .container,
.page-hero .container {
    position: relative;
    z-index: 1;
}

.hero-curve {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: auto;
    line-height: 0;
    pointer-events: none;
}

.hero-curve path {
    fill: var(--light);
}

.page-hero-eyebrow {
    margin-bottom: 1.25rem;
}

.page-hero h1 {
    line-height: 1.15;
}

.page-hero-lead {
    color: rgba(255, 255, 255, .75);
    max-width: 560px;
}

.page-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: flex-end;
}

.page-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 120px;
}

.page-hero-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    border-radius: 14px;
    background: rgba(56, 189, 248, .12);
    border: 1px solid rgba(56, 189, 248, .3);
    color: var(--secondary);
}

.page-hero-stat-icon svg {
    width: 22px;
    height: 22px;
}

.page-hero-stat strong {
    color: #fff;
    font-size: .92rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.page-hero-stat span {
    color: rgba(255, 255, 255, .6);
    font-size: .78rem;
}

@media (max-width: 991.98px) {
    .page-hero-stats {
        justify-content: flex-start;
    }
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem 1rem;
    border-radius: 50px;
    background: rgba(56, 189, 248, .1);
    border: 1px solid rgba(56, 189, 248, .3);
    color: var(--secondary);
    font-size: .85rem;
    font-weight: 600;
}

.hero-badge.badge-light {
    background: rgba(37, 99, 235, .08);
    border: 1px solid rgba(37, 99, 235, .25);
    color: var(--primary);
}

.hero-badge--brand {
    letter-spacing: .12em;
    color: #fff;
}

.hero-section h1 {
    line-height: 1.15;
}

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Hero feature row ---------- */

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem 2.25rem;
    margin-top: 2.75rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: rgba(255, 255, 255, .85);
    font-weight: 600;
    font-size: .95rem;
}

.hero-feature svg {
    width: 22px;
    height: 22px;
    color: var(--secondary);
    flex-shrink: 0;
}

.hero-features--no-border {
    border-top: none;
    padding-top: 0;
    margin-top: 1.75rem;
}

/* ---------- Hero visual (laptop + card + cube) ---------- */

.hero-visual {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.hero-laptop {
    position: relative;
    z-index: 1;
}

.hero-laptop-screen {
    aspect-ratio: 16 / 10.2;
    border-radius: 14px 14px 4px 4px;
    background: linear-gradient(160deg, #0B1120 0%, #14224A 60%, #1E3A8A 130%);
    border: 8px solid #1B2436;
    border-bottom-width: 12px;
    box-shadow: var(--shadow-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.hero-laptop-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(56, 189, 248, .35), transparent 60%);
}

.hero-laptop-logo {
    position: relative;
    width: 46%;
    max-width: 190px;
    filter: drop-shadow(0 0 24px rgba(56, 189, 248, .55));
}

.hero-laptop-base {
    height: 16px;
    margin: 0 -14px;
    background: linear-gradient(180deg, #2A3350, #171E33);
    border-radius: 0 0 10px 10px;
    box-shadow: var(--shadow-strong);
}

.hero-laptop-base::after {
    content: "";
    display: block;
    width: 22%;
    height: 5px;
    margin: 0 auto;
    background: #0B1120;
    border-radius: 0 0 6px 6px;
}

.hero-cube {
    position: absolute;
    top: -6px;
    right: 4%;
    width: 74px;
    height: 74px;
    z-index: 2;
    transform: rotate(-8deg);
    filter: drop-shadow(0 12px 20px rgba(37, 99, 235, .25));
}

.cube-face {
    position: absolute;
    inset: 0;
    border: 1.5px solid rgba(56, 189, 248, .55);
    background: rgba(56, 189, 248, .08);
}

.cube-face--top {
    transform: translateY(-18px) scaleX(.86) rotate(45deg);
    border-radius: 6px;
}

.cube-face--left {
    transform: skewY(20deg) scaleY(.9);
    border-radius: 4px;
    background: rgba(37, 99, 235, .12);
}

.cube-face--right {
    transform: skewY(-20deg) scaleY(.9);
    border-radius: 4px;
    background: rgba(56, 189, 248, .18);
}

.hero-float-card {
    position: absolute;
    right: -6%;
    bottom: -8%;
    z-index: 2;
    width: 44%;
    min-width: 170px;
    padding: 18px;
    border-radius: var(--radius);
    background: var(--dark-soft);
    border: 1px solid rgba(56, 189, 248, .25);
    box-shadow: var(--shadow-strong);
}

.hero-float-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(56, 189, 248, .15);
    color: var(--secondary);
    margin-bottom: 14px;
}

.hero-float-avatar svg {
    width: 18px;
    height: 18px;
}

.hero-float-line {
    display: block;
    height: 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .15);
    margin-bottom: 8px;
}

.hero-float-line--short {
    width: 60%;
    margin-bottom: 16px;
}

.hero-float-chart {
    width: 100%;
    height: 32px;
    display: block;
}

.hero-float-chart polyline {
    fill: none;
    stroke: var(--secondary);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 991.98px) {
    .hero-visual {
        max-width: 380px;
    }
}

/* ---------- Code window ---------- */

.hero-card {
    background: var(--dark-soft);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-strong);
}

.code-window {
    color: #CBD5E1;
    font-family: var(--font-mono);
    font-size: .9rem;
}

.code-header {
    display: flex;
    align-items: center;
}

.code-header span {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #64748B;
    margin-right: 6px;
}

.code-header span:nth-child(1) { background: #F87171; }
.code-header span:nth-child(2) { background: #FBBF24; }
.code-header span:nth-child(3) { background: #34D399; }

.code-window pre {
    margin-top: 20px;
    white-space: pre-wrap;
}

.code-window .kw { color: #F472B6; }
.code-window .cls { color: #38BDF8; }
.code-window .prop { color: #93C5FD; }
.code-window .str { color: #34D399; }

/* ---------- Section headings ---------- */

.section-eyebrow {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .5rem;
}

.section-eyebrow--light {
    color: var(--secondary);
}

/* ---------- Global flash banner ---------- */

.global-flash {
    position: relative;
    z-index: 20;
    text-align: center;
    padding: 12px 24px;
    font-weight: 600;
    font-size: .92rem;
}

.global-flash--success {
    background: #ECFDF5;
    color: #065F46;
    border-bottom: 1px solid #A7F3D0;
}

.global-flash--error {
    background: #FEF2F2;
    color: #991B1B;
    border-bottom: 1px solid #FECACA;
}

section {
    scroll-margin-top: 80px;
}

/* ---------- Service cards ---------- */

.service-card {
    height: 100%;
    padding: 35px;
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid rgba(15, 23, 42, .06);
    box-shadow: var(--shadow-soft);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, .12);
    border-color: rgba(37, 99, 235, .25);
}

.service-card .icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, .1), rgba(56, 189, 248, .1));
    margin-bottom: 24px;
}

.service-card .icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.service-card h4 {
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ---------- Projects ---------- */

.projects-section {
    background: var(--light);
}

.project-card {
    height: 100%;
    padding: 35px;
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid rgba(15, 23, 42, .06);
    box-shadow: var(--shadow-soft);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, .12);
    border-color: rgba(37, 99, 235, .25);
}

.project-client {
    display: inline-block;
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--primary);
    margin-bottom: 10px;
}

.project-card h4 {
    font-weight: 700;
    margin-bottom: 12px;
}

.project-card p {
    color: var(--text-muted);
    margin-bottom: 18px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tag {
    font-size: .78rem;
    font-weight: 600;
    color: var(--dark);
    background: var(--light);
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 20px;
    padding: 4px 12px;
}

.case-study {
    margin-bottom: 64px;
}

.case-study:last-of-type {
    margin-bottom: 0;
}

.case-study-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(15, 23, 42, .08);
}

.case-study-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.case-study h3 {
    font-weight: 700;
    margin-bottom: 14px;
}

.case-study p {
    color: var(--text-muted);
    margin-bottom: 18px;
}

.project-link {
    display: inline-block;
    margin-top: 18px;
    font-weight: 600;
    font-size: .9rem;
    color: var(--primary);
    text-decoration: none;
}

.project-link:hover {
    text-decoration: underline;
}

/* ---------- Contact ---------- */

.contact-form label {
    font-weight: 600;
    font-size: .9rem;
    color: var(--dark);
    margin-bottom: 6px;
}

.contact-form .form-control {
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, .12);
    padding: 10px 14px;
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}

.contact-form .invalid-feedback,
.contact-form .form-error {
    color: #DC2626;
    font-size: .82rem;
}

/* ---------- Recommendations ---------- */

.recommendations-section {
    background: var(--light);
}

.reco-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.reco-track {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    width: max-content;
    animation: reco-scroll 40s linear infinite;
}

.reco-marquee:hover .reco-track {
    animation-play-state: paused;
}

.reco-marquee--static {
    display: flex;
    justify-content: center;
}

.reco-marquee--static .reco-track {
    animation: none;
    width: auto;
}

@keyframes reco-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.reco-card {
    flex: 0 0 340px;
    background: white;
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(15, 23, 42, .06);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.reco-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.reco-platform-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.reco-platform-linkedin {
    color: #0A66C2;
}

.reco-stars {
    color: #E2E8F0;
    letter-spacing: 1px;
}

.reco-stars .filled {
    color: #FBBF24;
}

.reco-text {
    color: #1F2937;
    font-size: .95rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.reco-author {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(15, 23, 42, .06);
    padding-top: 12px;
}

.reco-author strong {
    color: var(--dark);
    font-size: .95rem;
}

.reco-author span {
    color: var(--text-muted);
    font-size: .85rem;
}

@media (prefers-reduced-motion: reduce) {
    .reco-track {
        animation: none;
    }
}

/* ---------- Solutions adaptées ---------- */

.solutions-section {
    background: white;
}

.solutions-section h2 {
    margin-top: .5rem;
    line-height: 1.3;
}

.solution-item {
    padding-right: 8px;
}

.solution-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: var(--light);
    border: 1px solid rgba(15, 23, 42, .06);
    color: var(--primary);
}

.solution-icon svg {
    width: 24px;
    height: 24px;
}

.solution-item h6 {
    font-weight: 700;
    margin-bottom: 10px;
}

.solution-item p {
    color: var(--text-muted);
    font-size: .9rem;
    margin-bottom: 0;
}

/* ---------- CTA banner ---------- */

.cta-banner-section {
    background: var(--light);
}

.cta-banner {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem 2.5rem;
    padding: 44px 48px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--dark) 0%, #0F1B38 100%);
    overflow: hidden;
}

.cta-banner-lead {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
}

.cta-banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--gradient-brand);
    color: white;
}

.cta-banner-icon svg {
    width: 24px;
    height: 24px;
}

.cta-banner-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
}

.cta-banner-body {
    flex: 1 1 320px;
    position: relative;
    z-index: 1;
}

.cta-banner-body p {
    color: rgba(255, 255, 255, .75);
    margin-bottom: 14px;
}

.cta-banner-checklist {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    margin: 0;
    padding: 0;
}

.cta-banner-checklist li {
    color: rgba(255, 255, 255, .85);
    font-size: .9rem;
    font-weight: 500;
}

.cta-banner-checklist li::before {
    content: "✓";
    color: var(--secondary);
    font-weight: 700;
    margin-right: 8px;
}

.cta-banner-action {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
}

@media (max-width: 767.98px) {
    .cta-banner {
        padding: 32px 28px;
    }
}

/* ---------- Why section ---------- */

.feature-item {
    padding: 30px 10px;
}

.feature-item .icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 14px;
    background: var(--light);
    border: 1px solid rgba(15, 23, 42, .06);
}

.feature-item .icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.feature-item h5 {
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-item p {
    color: var(--text-muted);
    font-size: .95rem;
    margin-bottom: 0;
}

/* ---------- Quote modal ---------- */

body.quote-modal-open {
    overflow: hidden;
}

.quote-modal {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.quote-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 17, 32, .72);
    backdrop-filter: blur(4px);
}

.quote-modal-dialog {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    max-width: 980px;
    max-height: calc(100vh - 48px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.quote-modal-aside {
    position: relative;
    flex: 0 0 38%;
    padding: 40px 36px;
    background: linear-gradient(160deg, var(--dark) 0%, #132244 55%, #1E3A8A 100%);
    color: rgba(255, 255, 255, .8);
    overflow: hidden;
    display: none;
}

.quote-modal-aside-title {
    color: #fff;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.25;
    margin: .5rem 0 1rem;
}

.quote-modal-benefits {
    list-style: none;
    margin: 1.75rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.quote-modal-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.quote-modal-benefits li span:last-child {
    display: flex;
    flex-direction: column;
    font-size: .88rem;
    line-height: 1.5;
}

.quote-modal-benefits strong {
    color: #fff;
    font-size: .95rem;
}

.quote-modal-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(56, 189, 248, .15);
    color: var(--secondary);
}

.quote-modal-benefit-icon svg {
    width: 18px;
    height: 18px;
}

.quote-modal-visual {
    position: relative;
    margin-top: 2.5rem;
    height: 120px;
}

.quote-modal-cube {
    position: absolute;
    left: 10%;
    top: 0;
    width: 100px;
    height: 100px;
    transform: rotate(-6deg);
}

.quote-modal-visual-logo {
    position: absolute;
    left: 10%;
    top: 18px;
    width: 55px;
    opacity: .9;
    filter: drop-shadow(0 0 16px rgba(56, 189, 248, .6));
}

.quote-modal-form-panel {
    position: relative;
    flex: 1 1 auto;
    padding: 40px 44px;
    background: #fff;
    overflow-y: auto;
}

.quote-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--light);
    color: var(--dark);
    cursor: pointer;
}

.quote-modal-close svg {
    width: 18px;
    height: 18px;
}

.quote-modal-close:hover {
    background: #E2E8F0;
}

.quote-modal-subtitle {
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}

.quote-form-label-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.quote-form-counter {
    font-size: .78rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.quote-form-file {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px dashed rgba(15, 23, 42, .18);
    border-radius: 10px;
    cursor: pointer;
    font-size: .85rem;
    color: var(--text-muted);
}

.quote-form-file strong {
    display: block;
    color: var(--dark);
    font-size: .9rem;
    margin-bottom: 2px;
}

.quote-form-file-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 8px;
    background: var(--light);
    color: var(--primary);
}

.quote-form-file-icon svg {
    width: 18px;
    height: 18px;
}

.quote-form-file-input {
    position: absolute;
    left: -9999px;
}

.quote-form-note {
    text-align: center;
    font-size: .8rem;
    color: var(--text-muted);
    margin: 14px 0 0;
}

@media (min-width: 900px) {
    .quote-modal-aside {
        display: block;
    }
}

@media (max-width: 899.98px) {
    .quote-modal-dialog {
        max-width: 560px;
    }
}

@media (max-width: 575.98px) {
    .quote-modal {
        padding: 0;
    }

    .quote-modal-dialog {
        max-height: 100vh;
        border-radius: 0;
    }

    .quote-modal-form-panel {
        padding: 32px 24px;
    }
}

/* ---------- About: hero visual ---------- */

.about-hero-visual {
    position: relative;
    max-width: 440px;
    margin: 0 auto;
    padding: 30px 30px 60px;
}

.about-cube {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-cube .cube-face {
    border-width: 2px;
}

.about-cube-logo {
    position: relative;
    width: 34%;
    filter: drop-shadow(0 0 24px rgba(56, 189, 248, .55));
}

.about-card {
    position: absolute;
    width: 130px;
    padding: 16px;
    border-radius: var(--radius);
    background: var(--dark-soft);
    border: 1px solid rgba(56, 189, 248, .25);
    box-shadow: var(--shadow-strong);
    color: var(--secondary);
}

.about-card svg {
    width: 20px;
    height: 20px;
    margin-bottom: 12px;
}

.about-card--code {
    top: 6px;
    left: -6px;
}

.about-card--chart {
    right: -6px;
    bottom: 34px;
    width: 150px;
}

/* ---------- About: process ---------- */

.approach-section {
    background: var(--light);
}

.about-process {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-process::before {
    content: "";
    position: absolute;
    top: 19px;
    left: 10%;
    right: 10%;
    height: 0;
    border-top: 2px dashed rgba(37, 99, 235, .25);
}

.about-process-step {
    position: relative;
    text-align: center;
}

.about-process-number {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--gradient-brand);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .3);
}

.about-process-step h6 {
    font-weight: 700;
    margin-bottom: 8px;
}

.about-process-step p {
    color: var(--text-muted);
    font-size: .88rem;
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .about-process {
        grid-template-columns: 1fr 1fr;
        row-gap: 40px;
    }

    .about-process::before {
        display: none;
    }
}

/* ---------- About: stats band ---------- */

.stats-band {
    position: relative;
    padding: 70px 0 60px;
    background: var(--dark);
    overflow: hidden;
}

.stats-band-curve {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 60px;
}

.stats-band-curve path {
    fill: var(--light);
}

.stats-band .container {
    position: relative;
    z-index: 1;
}

.stats-band-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stats-band-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 50%;
    border: 1px solid rgba(56, 189, 248, .35);
    color: var(--secondary);
}

.stats-band-icon svg {
    width: 22px;
    height: 22px;
}

.stats-band-value {
    font-size: 2.1rem;
    font-weight: 800;
    color: #fff;
}

.stats-band-item strong {
    color: #fff;
    font-size: .95rem;
    margin-top: 4px;
}

.stats-band-item span:last-child {
    color: rgba(255, 255, 255, .55);
    font-size: .8rem;
    margin-top: 4px;
}

/* ---------- Services: hero visual ---------- */

.services-hero-visual {
    position: relative;
    max-width: 540px;
    margin: 0 auto;
    padding: 44px 60px 60px 20px;
}

.services-hero-visual .hero-cube {
    top: -10px;
    right: 8%;
}

.services-code-card {
    top: -12px;
    left: -10px;
    z-index: 2;
}

.hero-laptop-screen--ui {
    background: #fff;
    padding: 14%;
}

.hero-laptop-screen--ui::before {
    display: none;
}

.ui-mock {
    width: 100%;
}

.ui-mock-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34%;
    aspect-ratio: 1 / 1;
    margin-bottom: 10%;
    border-radius: 8px;
    background: var(--light);
    color: var(--primary);
}

.ui-mock-image svg {
    width: 45%;
    height: 45%;
}

.ui-mock-lines {
    display: flex;
    flex-direction: column;
    gap: 8%;
    margin-bottom: 12%;
}

.ui-mock-lines span {
    display: block;
    height: 8%;
    min-height: 4px;
    border-radius: 4px;
    background: var(--light);
}

.ui-mock-lines span.short {
    width: 55%;
}

.ui-mock-chips {
    display: flex;
    gap: 8%;
}

.ui-mock-chips span {
    flex: 1;
    aspect-ratio: 2.4 / 1;
    border-radius: 6px;
    background: var(--gradient-brand);
    opacity: .85;
}

.ui-mock-chips span:last-child {
    background: var(--light);
    opacity: 1;
}

.mini-phone {
    position: absolute;
    right: -14px;
    bottom: -30px;
    width: 92px;
    padding: 10px;
    border-radius: 20px;
    background: var(--dark-soft);
    border: 1px solid rgba(56, 189, 248, .25);
    box-shadow: var(--shadow-strong);
}

.mini-phone-screen {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
}

.mini-phone-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gradient-brand);
    margin-bottom: 4px;
}

@media (max-width: 767.98px) {
    .services-hero-visual {
        max-width: 380px;
        padding: 40px 46px 50px 10px;
    }
}

/* ---------- Service cards: checklist + link ---------- */

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.service-card li {
    padding: 5px 0;
    font-size: .88rem;
    color: #374151;
}

.service-card li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 700;
    margin-right: 8px;
}

.service-card-link {
    display: inline-block;
    margin-top: 18px;
    font-weight: 600;
    font-size: .9rem;
    color: var(--primary);
    text-decoration: none;
}

.service-card-link:hover {
    text-decoration: underline;
}

/* ---------- Technologies: hero trust row ---------- */

.tech-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 28px;
}

.tech-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 220px;
}

.tech-trust-item span:last-child {
    display: flex;
    flex-direction: column;
    font-size: .82rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, .65);
}

.tech-trust-item strong {
    color: #fff;
    font-size: .9rem;
    margin-bottom: 2px;
}

.tech-trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(56, 189, 248, .12);
    border: 1px solid rgba(56, 189, 248, .3);
    color: var(--secondary);
}

.tech-trust-icon svg {
    width: 20px;
    height: 20px;
}

/* ---------- Technologies: hero visual ---------- */

.tech-hero-visual {
    position: relative;
    max-width: 460px;
    margin: 0 auto;
    padding: 50px;
}

.tech-stack-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 280px;
}

.tech-stack-layer {
    position: absolute;
    border-radius: var(--radius);
    border: 1px solid rgba(56, 189, 248, .2);
    background: rgba(15, 23, 42, .5);
}

.tech-stack-layer--back {
    width: 70%;
    height: 60%;
    transform: translate(18%, 6%);
}

.tech-stack-layer--mid {
    width: 78%;
    height: 66%;
    transform: translate(8%, -2%);
    background: rgba(15, 23, 42, .7);
}

.tech-stack-cube {
    position: relative;
    z-index: 1;
    width: 46%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-stack-cube .cube-face {
    border-width: 2px;
}

.tech-stack-cube-logo {
    position: relative;
    width: 40%;
    filter: drop-shadow(0 0 24px rgba(56, 189, 248, .6));
}

.tech-chip {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--dark-soft);
    border: 1px solid rgba(56, 189, 248, .3);
    color: var(--secondary);
    box-shadow: var(--shadow-strong);
}

.tech-chip svg {
    width: 20px;
    height: 20px;
}

.tech-chip--code { top: 8%; left: 0; }
.tech-chip--db { top: 8%; right: 0; }
.tech-chip--cloud { bottom: 10%; left: 4%; }
.tech-chip--gear { bottom: 10%; right: 4%; }

/* ---------- Technologies: stack cards ---------- */

.tech-card {
    height: 100%;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid rgba(15, 23, 42, .06);
    box-shadow: var(--shadow-soft);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.tech-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, .12);
}

.tech-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--tech-color-soft, var(--light));
    color: var(--tech-color, var(--primary));
}

.tech-card-icon svg {
    width: 24px;
    height: 24px;
}

.tech-card h6 {
    font-weight: 700;
    margin-bottom: 8px;
}

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

.tech-callout {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 28px;
    border-radius: var(--radius);
    background: var(--light);
    border: 1px solid rgba(15, 23, 42, .08);
}

.tech-callout-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--gradient-brand);
    color: #fff;
}

.tech-callout-icon svg {
    width: 22px;
    height: 22px;
}

.tech-callout strong {
    display: block;
    color: var(--dark);
    margin-bottom: 4px;
}

.tech-callout p {
    color: var(--text-muted);
    font-size: .9rem;
    margin: 0;
}

@media (max-width: 575.98px) {
    .tech-callout {
        flex-direction: column;
        text-align: center;
    }
}

/* ---------- Contact: hero visual ---------- */

.contact-hero-visual {
    position: relative;
    max-width: 420px;
    margin: 0 auto;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}

.contact-envelope {
    position: relative;
    width: 100%;
    max-width: 300px;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    background: var(--dark-soft);
    border: 1px solid rgba(56, 189, 248, .25);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
}

.contact-envelope-flap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 62%;
    background: linear-gradient(160deg, #14224A 0%, #1E3A8A 100%);
    clip-path: polygon(0 0, 100% 0, 50% 62%);
}

.contact-envelope-letter {
    position: absolute;
    left: 50%;
    bottom: 14%;
    transform: translateX(-50%);
    width: 62%;
    padding: 18px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(56, 189, 248, .3);
    text-align: center;
}

.contact-envelope-logo {
    width: 34px;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 16px rgba(56, 189, 248, .6));
}

.contact-chip--phone { top: 4%; left: 0; }
.contact-chip--mail { top: 4%; right: 0; }
.contact-chip--pin { bottom: 4%; right: 8%; }

/* ---------- Contact: coordonnées ---------- */

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--light);
    border: 1px solid rgba(15, 23, 42, .06);
    color: var(--primary);
}

.contact-info-icon svg {
    width: 20px;
    height: 20px;
}

.contact-info-item strong {
    display: block;
    color: var(--dark);
    font-size: .92rem;
    margin-bottom: 2px;
}

.contact-info-item span {
    color: var(--text-muted);
    font-size: .88rem;
    line-height: 1.5;
}

/* ---------- Logos officiels ---------- */

/*
 * Les fichiers du logo sont opaques et entourés de marges : on rogne à la
 * zone utile (1010x725 px sur 1448x1086) et, sur fond sombre, "lighten"
 * fait disparaître le fond bleu nuit du fichier.
 */

.brand-logo {
    --h: 60px;
    position: relative;
    display: block;
    flex-shrink: 0;
    overflow: hidden;
    height: var(--h);
    width: calc(var(--h) * 1010 / 725);
}

.brand-logo img {
    position: absolute;
    display: block;
    top: -22.07%;
    left: -21.78%;
    width: 143.37%;
    max-width: none;
    max-height: none;
    height: auto;
    mix-blend-mode: lighten;
}

.brand-logo--nav { --h: 60px; }
.brand-logo--footer { --h: 56px; }
.brand-logo--admin { --h: 40px; }
.brand-logo--hero { --h: 120px; z-index: 1; }

@media (max-width: 575.98px) {
    .brand-logo--nav { --h: 46px; }
    .brand-logo--footer { --h: 46px; }
}

/* Icône SK (fond blanc) posée sur les décors sombres : pastille arrondie */
.brand-icon {
    border-radius: 22%;
    filter: none;
    opacity: 1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

/* ---------- Blog hero & listing ---------- */

.blog-hero {
    background: var(--dark);
    background-image: radial-gradient(circle at 20% 20%, rgba(37, 99, 235, .25), transparent 55%);
}

.blog-hero h1,
.blog-hero .section-eyebrow {
    color: white;
}

.blog-hero .lead {
    color: rgba(255, 255, 255, .75) !important;
}

.blog-index-section {
    background: var(--light);
}

.blog-card {
    display: block;
    height: 100%;
    padding: 32px;
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid rgba(15, 23, 42, .06);
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    color: inherit;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, .12);
    border-color: rgba(37, 99, 235, .25);
    color: inherit;
}

.blog-card-category {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.blog-card h2,
.blog-card h3 {
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.blog-card p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: .85rem;
}

/* ---------- Blog article ---------- */

.blog-breadcrumb a {
    color: var(--text-muted);
    font-weight: 600;
    text-decoration: none;
    font-size: .9rem;
}

.blog-breadcrumb a:hover {
    color: var(--primary);
}

.blog-article-section h1 {
    margin-top: .5rem;
    margin-bottom: 1rem;
}

.blog-content h2 {
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.blog-content h3 {
    font-weight: 700;
    margin-top: 1.75rem;
    margin-bottom: .75rem;
    font-size: 1.2rem;
}

.blog-content p {
    color: #374151;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.blog-content ul {
    margin-bottom: 1.25rem;
    padding-left: 1.25rem;
}

.blog-content li {
    color: #374151;
    line-height: 1.75;
    margin-bottom: .5rem;
}

.blog-article-cta {
    padding: 48px;
    border-radius: var(--radius-lg);
    background: var(--light);
    border: 1px solid rgba(15, 23, 42, .06);
}

/* ---------- Projects feed & submission form ---------- */

.project-hero {
    background: var(--dark);
    background-image: radial-gradient(circle at 20% 20%, rgba(37, 99, 235, .25), transparent 55%);
}

.project-hero h1,
.project-hero .section-eyebrow {
    color: white;
}

.project-hero .lead {
    color: rgba(255, 255, 255, .75) !important;
}

.project-hero a:not(.btn) {
    color: white;
    text-decoration: underline;
}

.project-index-section,
.project-form-section {
    background: var(--light);
}

.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 32px;
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid rgba(15, 23, 42, .06);
    box-shadow: var(--shadow-soft);
}

.project-card-company {
    display: inline-block;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--primary, #2563eb);
    margin-bottom: 8px;
}

.project-card-description {
    white-space: pre-line;
    color: #475569;
    flex-grow: 1;
}

.project-card-budget {
    display: inline-block;
    font-size: .85rem;
    font-weight: 600;
    margin-top: 8px;
}

.project-card-meta {
    margin-top: 16px;
    font-size: .8rem;
    color: #94a3b8;
}

/* Piège à robots : masqué visuellement, mais présent dans le DOM. */
.field-honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

