:root {
    --navy: #071a38;
    --navy-light: #102b52;
    --blue: #1769ff;
    --cyan: #19c7e8;
    --white: #ffffff;
    --light: #f4f8ff;
    --text: #182b46;
    --muted: #65758b;
    --border: #e4ebf5;
    --shadow: 0 15px 45px rgba(7, 26, 56, .10);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
}

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

button {
    font: inherit;
}

.container {
    width: min(1160px, 92%);
    margin: auto;
}

.topbar {
    background: var(--navy);
    color: #dbe8ff;
    padding: 8px 0;
    font-size: 12px;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -.7px;
    color: var(--navy);
    white-space: nowrap;
}

.brand-mark {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: white;
    font-size: 21px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 7px 18px rgba(23, 105, 255, .25);
}

.brand span:last-child {
    color: var(--blue);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 13px;
    font-weight: 700;
    color: #465872;
}

.nav-links a:hover {
    color: var(--blue);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 19px;
    border-radius: 9px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 700;
    transition: .2s ease;
    cursor: pointer;
}

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

.btn-primary {
    color: white;
    background: linear-gradient(135deg, var(--blue), #0754df);
    box-shadow: 0 7px 20px rgba(23, 105, 255, .19);
}

.btn-outline {
    background: white;
    border-color: #d8e3f2;
    color: var(--navy);
}

.hero {
    position: relative;
    overflow: hidden;
    color: white;
    background:
        radial-gradient(circle at 80% 25%, rgba(25, 199, 232, .20), transparent 27%),
        radial-gradient(circle at 5% 90%, rgba(23, 105, 255, .22), transparent 32%),
        linear-gradient(120deg, #06162f, #0b2850 62%, #0b3761);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .14;
    background-image:
        linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to right, black, transparent);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 55px;
    min-height: 560px;
    padding-top: 65px;
    padding-bottom: 65px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 12px;
    border: 1px solid rgba(113, 202, 255, .28);
    background: rgba(255,255,255,.06);
    border-radius: 30px;
    color: #9beaff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--cyan);
}

.hero h1 {
    margin: 24px 0 20px;
    max-width: 680px;
    font-size: clamp(37px, 5vw, 61px);
    line-height: 1.12;
    letter-spacing: -2px;
}

.hero h1 span {
    color: #45d6f1;
}

.hero-copy {
    max-width: 570px;
    margin-bottom: 28px;
    color: #c3d2e7;
    font-size: 16px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero .btn-outline {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.24);
    color: white;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 19px;
    margin-top: 28px;
    color: #d5e5f8;
    font-size: 12px;
}

.hero-points span::before {
    content: "✓";
    color: #45d6f1;
    font-weight: 900;
    margin-right: 7px;
}

.visual {
    position: relative;
    min-height: 360px;
    display: grid;
    place-items: center;
}

.visual-glow {
    position: absolute;
    width: 290px;
    height: 290px;
    border-radius: 50%;
    background: rgba(25, 199, 232, .14);
    filter: blur(35px);
}

.screen {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 410px;
    padding: 12px;
    background: linear-gradient(140deg, #e9f4ff, #a7c8ec);
    border-radius: 19px;
    box-shadow: 0 30px 70px rgba(0,0,0,.35);
    transform: rotate(-2deg);
}

.screen-inner {
    min-height: 270px;
    padding: 20px;
    overflow: hidden;
    border-radius: 11px;
    color: var(--navy);
    background: #fff;
}

.screen-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.screen-logo {
    font-size: 14px;
    font-weight: 900;
}

.screen-logo span {
    color: var(--blue);
}

.screen-status {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #24c58b;
}

.screen-heading {
    margin: 20px 0 15px;
    font-size: 19px;
    font-weight: 800;
}

.screen-heading small {
    display: block;
    color: var(--muted);
    font-size: 10px;
    font-weight: 400;
}

.screen-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}

.screen-card {
    min-height: 90px;
    padding: 12px 9px;
    border: 1px solid #e8eef8;
    border-radius: 9px;
    background: #f8faff;
}

.screen-icon {
    font-size: 20px;
}

.screen-card strong {
    display: block;
    margin-top: 7px;
    font-size: 10px;
}

.screen-card small {
    display: block;
    color: var(--muted);
    font-size: 9px;
}

.screen-bar {
    height: 7px;
    margin-top: 20px;
    border-radius: 9px;
    background: #e8eef8;
}

.screen-bar span {
    display: block;
    width: 74%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.floating-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 13px;
    background: white;
    color: var(--navy);
    box-shadow: 0 15px 35px rgba(0,0,0,.2);
}

.floating-card strong {
    display: block;
    font-size: 12px;
}

.floating-card small {
    display: block;
    color: var(--muted);
    font-size: 10px;
}

.floating-icon {
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    border-radius: 10px;
    background: #eaf3ff;
    font-size: 20px;
}

.floating-one {
    top: 28px;
    right: -5px;
}

.floating-two {
    bottom: 20px;
    left: -20px;
}

.trust-strip {
    border-bottom: 1px solid var(--border);
    background: white;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 24px;
    padding-bottom: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
}

.trust-item span {
    font-size: 22px;
}

.section {
    padding: 85px 0;
}

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

.section-heading {
    max-width: 680px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-label {
    color: var(--blue);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 11px 0 14px;
    color: var(--navy);
    font-size: clamp(28px, 4vw, 39px);
    line-height: 1.25;
    letter-spacing: -1px;
}

.section-heading p {
    color: var(--muted);
    font-size: 14px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    padding: 27px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: white;
    transition: .25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: #c7dcff;
}

.service-icon {
    display: grid;
    place-items: center;
    width: 55px;
    height: 55px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: #edf4ff;
    font-size: 26px;
}

.service-card h3 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 17px;
}

.service-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.service-card a {
    display: inline-block;
    margin-top: 17px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
}

.training-box {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 30px;
    padding: 38px;
    border-radius: 20px;
    color: white;
    background:
        radial-gradient(circle at 100% 0%, rgba(25,199,232,.22), transparent 35%),
        linear-gradient(120deg, var(--navy), #103b70);
    box-shadow: var(--shadow);
}

.training-box h2 {
    margin: 10px 0;
    font-size: clamp(25px, 3vw, 35px);
    line-height: 1.3;
}

.training-box p {
    max-width: 650px;
    color: #c8d8ec;
    font-size: 14px;
}

.training-box .section-label {
    color: #63e0f4;
}

.training-box .btn {
    white-space: nowrap;
}

.about-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.about-visual {
    display: grid;
    place-items: center;
    min-height: 290px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 30% 20%, rgba(25,199,232,.24), transparent 30%),
        linear-gradient(135deg, #e6f0ff, #f4f8ff);
}

.about-symbol {
    display: grid;
    place-items: center;
    width: 145px;
    height: 145px;
    border-radius: 35px;
    color: white;
    font-size: 52px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 25px 50px rgba(23,105,255,.22);
}

.about-copy h2 {
    margin: 12px 0 17px;
    color: var(--navy);
    font-size: 34px;
    line-height: 1.3;
}

.about-copy p {
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 14px;
}

.about-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.about-list div {
    font-size: 12px;
    font-weight: 700;
}

.about-list div::before {
    content: "✓";
    margin-right: 8px;
    color: var(--blue);
}

.cta {
    padding: 65px 0;
    text-align: center;
    background: #edf4ff;
}

.cta h2 {
    margin: 10px 0;
    color: var(--navy);
    font-size: clamp(27px, 4vw, 38px);
}

.cta p {
    max-width: 650px;
    margin: 0 auto 24px;
    color: var(--muted);
    font-size: 14px;
}

.footer {
    padding: 55px 0 20px;
    color: #d3dfef;
    background: #06152c;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 35px;
}

.footer .brand {
    color: white;
}

.footer-description {
    max-width: 340px;
    margin-top: 17px;
    color: #a9bad1;
    font-size: 13px;
}

.footer h3 {
    margin-bottom: 15px;
    color: white;
    font-size: 14px;
}

.footer-links {
    display: grid;
    gap: 9px;
    color: #b7c7dc;
    font-size: 12px;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.13);
    color: #91a5bf;
    font-size: 11px;
}

.mobile-menu-button {
    display: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 9px 12px;
    background: white;
    color: var(--navy);
    cursor: pointer;
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 80px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 20px;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 27px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: white;
    transition: .25s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: #c7dcff;
}

.product-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
}

.product-icon {
    display: grid;
    place-items: center;
    width: 55px;
    height: 55px;
    border-radius: 14px;
    background: #edf4ff;
    font-size: 26px;
}

.badge {
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.badge-ok {
    color: #0b7a46;
    background: #e6f8ef;
}

.badge-soon {
    color: #9a6200;
    background: #fff4dc;
}

.product-card h3 {
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 18px;
}

.product-tagline {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.product-features {
    display: grid;
    gap: 9px;
    margin: 18px 0 24px;
    list-style: none;
}

.product-features li {
    position: relative;
    padding-left: 22px;
    color: var(--text);
    font-size: 13px;
    line-height: 1.5;
}

.product-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 900;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.plan-card.featured {
    border-color: var(--blue);
    box-shadow: var(--shadow);
}

.plan-ribbon {
    position: absolute;
    top: -12px;
    left: 24px;
    padding: 5px 13px;
    border-radius: 999px;
    color: white;
    background: linear-gradient(135deg, var(--blue), #0754df);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.plan-price {
    margin: 14px 0 0;
    color: var(--navy);
    font-size: 25px;
    font-weight: 900;
}

.plan-price small {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.book-meta {
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 12px;
}

.book-price {
    margin: 14px 0 20px;
    color: var(--navy);
    font-size: 20px;
    font-weight: 900;
}

.empty-state {
    max-width: 560px;
    margin: 0 auto;
    padding: 38px 28px;
    border: 1px dashed #c7dcff;
    border-radius: 15px;
    background: white;
    text-align: center;
}

.empty-state span {
    font-size: 38px;
}

.empty-state h3 {
    margin: 10px 0 8px;
    color: var(--navy);
    font-size: 18px;
}

.empty-state p {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 13px;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.btn-whatsapp {
    color: white;
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 7px 20px rgba(18, 140, 126, .2);
}

.contact-city {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 1000px) {
    .nav-links {
        gap: 14px;
        font-size: 12px;
    }

    .navbar {
        gap: 15px;
    }

    .brand {
        font-size: 20px;
    }

    .hero-grid {
        gap: 30px;
    }

    .floating-one {
        right: 0;
    }

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

@media (max-width: 780px) {
    .topbar-content {
        justify-content: center;
        text-align: center;
    }

    .navbar {
        min-height: 70px;
        flex-wrap: wrap;
    }

    .mobile-menu-button {
        display: block;
        margin-left: auto;
    }

    .nav-links {
        display: none;
        order: 3;
        width: 100%;
        padding: 15px 0;
        border-top: 1px solid var(--border);
        flex-direction: column;
        align-items: flex-start;
        gap: 13px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-actions {
        gap: 6px;
    }

    .nav-actions .btn {
        padding: 9px 11px;
        font-size: 11px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding-top: 60px;
        padding-bottom: 55px;
    }

    .hero-copy {
        font-size: 14px;
    }

    .visual {
        min-height: 330px;
        margin-top: 5px;
    }

    .screen {
        max-width: 390px;
    }

    .floating-two {
        left: 0;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .section {
        padding: 65px 0;
    }

    .training-box {
        grid-template-columns: 1fr;
        padding: 27px;
    }

    .training-box .btn {
        justify-self: start;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-visual {
        min-height: 220px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .footer-brand-column {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .brand {
        font-size: 18px;
        gap: 7px;
    }

    .brand-mark {
        width: 37px;
        height: 37px;
    }

    .nav-actions .btn-outline {
        display: none;
    }

    .hero h1 {
        letter-spacing: -1.2px;
    }

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

    .hero-points {
        gap: 10px;
        flex-direction: column;
    }

    .visual {
        min-height: 280px;
    }

    .screen {
        padding: 8px;
    }

    .screen-inner {
        min-height: 230px;
        padding: 13px;
    }

    .screen-cards {
        gap: 5px;
    }

    .screen-card {
        padding: 8px 5px;
        min-height: 80px;
    }

    .floating-card {
        padding: 9px 11px;
    }

    .floating-one {
        top: 0;
    }

    .floating-two {
        bottom: 0;
    }

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

    .about-copy h2 {
        font-size: 28px;
    }

    .about-list {
        grid-template-columns: 1fr;
    }

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

    .footer-brand-column {
        grid-column: auto;
    }
}

/* ==========================================================================
   PAGES PUBLIQUES : logiciels, licences, documents, qui sommes-nous
   ========================================================================== */

.nav-links a.active {
    color: var(--blue);
}

.page-hero {
    padding: 58px 0 52px;
    color: white;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
}

.page-hero .section-label {
    color: #9bf1ff;
}

.page-hero h1 {
    margin: 12px 0 12px;
    font-size: clamp(28px, 5vw, 44px);
    line-height: 1.15;
    letter-spacing: -1px;
}

.page-hero p {
    max-width: 680px;
    color: #c9d8ee;
    font-size: 15px;
    line-height: 1.8;
}

.page-hero .badge {
    display: inline-block;
}

.page-hero .btn-outline {
    color: white;
    border-color: rgba(255, 255, 255, .4);
    background: transparent;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    color: #9fb4d3;
    font-size: 12px;
}

.breadcrumb a {
    color: #cfe0ff;
}

.page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.notice {
    margin-bottom: 30px;
    padding: 16px 18px;
    border: 1px solid #ffe2a8;
    border-radius: 12px;
    color: #7a5200;
    background: #fff8e6;
    font-size: 13.5px;
    line-height: 1.7;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    align-items: start;
}

.detail-main section {
    margin-bottom: 40px;
}

.detail-main h2 {
    margin-bottom: 16px;
    color: var(--navy);
    font-size: 22px;
    letter-spacing: -.5px;
}

.detail-main p {
    margin-bottom: 12px;
    color: var(--text);
    font-size: 14.5px;
    line-height: 1.9;
}

.detail-side {
    position: sticky;
    top: 90px;
    display: grid;
    gap: 18px;
}

.side-card {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: white;
}

.side-card h3 {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 15px;
}

.side-text {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.side-text a {
    color: var(--blue);
    font-weight: 700;
}

.side-list {
    display: grid;
    gap: 9px;
    margin-bottom: 18px;
    list-style: none;
    color: var(--text);
    font-size: 13px;
}

.side-list a {
    color: var(--blue);
    font-weight: 700;
}

.meta-list {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
    list-style: none;
    font-size: 13px;
}

.meta-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

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

.meta-list strong {
    color: var(--navy);
    text-align: right;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.module-card {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: white;
}

.module-card h3 {
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 15px;
}

.detail-main .module-card p,
.module-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.value-icon {
    margin-bottom: 10px;
    font-size: 26px;
}

.check-list {
    display: grid;
    gap: 10px;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 26px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 900;
}

.faq details {
    margin-bottom: 10px;
    padding: 0 18px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: white;
}

.faq summary {
    padding: 16px 0;
    color: var(--navy);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.faq details[open] summary {
    color: var(--blue);
}

.faq details p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.8;
}

.faq-center {
    max-width: 760px;
    margin: 0 auto;
}

.compare-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: white;
}

.compare-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 13.5px;
}

.compare-table th,
.compare-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.compare-table th:first-child,
.compare-table td:first-child {
    text-align: left;
}

.compare-table th {
    color: var(--navy);
    background: var(--light);
    font-size: 13px;
}

.compare-table tr:last-child td {
    border-bottom: 0;
}

.compare-table .yes {
    color: #0b7a46;
    font-weight: 900;
}

.compare-table .no {
    color: #b7c2d3;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    counter-reset: step;
}

.step {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: white;
}

.step::before {
    content: counter(step);
    counter-increment: step;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    border-radius: 50%;
    color: white;
    background: var(--blue);
    font-weight: 900;
}

.step h3 {
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 15px;
}

.step p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.product-grid.duo {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.doc-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 28px;
}

.search-form {
    display: flex;
    flex: 1;
    gap: 8px;
    min-width: 240px;
    max-width: 440px;
}

.search-form input {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #d8e3f2;
    border-radius: 9px;
    font-family: inherit;
    font-size: 14px;
}

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

.chip {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--navy);
    background: white;
    font-size: 12px;
    font-weight: 700;
}

.chip.active {
    color: white;
    border-color: var(--blue);
    background: var(--blue);
}

.doc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin: 10px 0 18px;
    color: var(--muted);
    font-size: 12px;
}

.pdf-viewer {
    display: none;
    width: 100%;
    height: 78vh;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: white;
}

.viewer-fallback {
    color: var(--muted);
    font-size: 13px;
}

.team-card {
    align-items: center;
    text-align: center;
}

.team-avatar {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin-bottom: 14px;
    border-radius: 50%;
    color: white;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    font-size: 22px;
    font-weight: 900;
}

.team-role {
    margin-bottom: 8px;
    color: var(--blue);
    font-size: 12.5px;
    font-weight: 800;
}

.figures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.figure {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: white;
    text-align: center;
}

.figure strong {
    display: block;
    margin-bottom: 4px;
    color: var(--blue);
    font-size: 32px;
}

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

.library-teaser {
    margin-top: 28px;
    text-align: center;
}

@media (min-width: 900px) {
    .pdf-viewer {
        display: block;
    }

    .viewer-fallback {
        display: none;
    }
}

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

    .detail-side {
        position: static;
    }
}

/* Formulaire de demande de licence et espace licence */
.request-form {
    margin-top: 16px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: white;
}

.request-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px 16px;
    margin-bottom: 18px;
}

.request-field label {
    display: block;
    margin-bottom: 5px;
    color: var(--navy);
    font-size: 12px;
    font-weight: 700;
}

.request-field input,
.request-field select,
.request-field textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #ccd9ea;
    border-radius: 9px;
    color: var(--text);
    background: white;
    font-family: inherit;
    font-size: 14px;
}

.request-field.full {
    grid-column: 1 / -1;
}

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

.key-input {
    font-family: Consolas, Menlo, monospace;
    font-size: 17px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.license-card {
    margin-bottom: 22px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: white;
}

.license-card h2 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 19px;
}

.download-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.download-row:last-child {
    border-bottom: 0;
}

.download-info small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}


/* BengwaTech V3 : présentation commerciale plus sobre */
@media (min-width: 900px) {
  .section .container { max-width: 1200px; }
}
#applications img, #logiciels img, .software-card img, .application-card img {
  max-height: 190px; object-fit: contain;
}
.about-symbol {
  display: grid; place-items: center; width: 112px; height: 112px;
  border-radius: 26px; background: linear-gradient(135deg,#062b52,#0878b8);
  color: #fff; font-size: 58px; font-weight: 900;
  box-shadow: 0 18px 42px rgba(4,39,77,.18);
}
