:root {
    --fp-ink: #172033;
    --fp-muted: #687587;
    --fp-blue: #1388bd;
    --fp-blue-dark: #0b2949;
    --fp-line: #e1e9f0;
    --fp-soft: #f2f7fb;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--fp-ink);
    line-height: 1.65;
    background: #fff;
}

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

button {
    font: inherit;
}

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

/* MENU */

.site-header {
    position: relative;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid var(--fp-line);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.logo,
.footer-logo {
    font-size: 1.75rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -1px;
    white-space: nowrap;
}

.logo span,
.footer-logo span {
    color: var(--fp-blue);
}

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

.nav-home,
.nav-contact,
.nav-group-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--fp-ink);
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.nav-home:hover,
.nav-group-toggle:hover,
.nav-group.is-open > .nav-group-toggle {
    background: #eef7fb;
    color: var(--fp-blue);
}

.nav-contact {
    padding-inline: 15px;
    color: #fff;
    background: var(--fp-blue-dark);
}

.nav-contact:hover {
    color: #fff;
    background: var(--fp-blue);
}

.nav-group {
    position: relative;
}

.nav-submenu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 225px;
    max-height: 70vh;
    overflow-y: auto;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--fp-line);
    border-radius: 12px;
    box-shadow: 0 16px 38px rgba(10, 35, 60, .14);
}

.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu,
.nav-group.is-open .nav-submenu {
    display: grid;
}

.nav-submenu a {
    display: block;
    padding: 9px 11px;
    border-radius: 7px;
    font-size: .9rem;
}

.nav-submenu a:hover,
.nav-submenu a[aria-current="page"] {
    background: #eef7fb;
    color: var(--fp-blue);
}

.menu-toggle {
    display: none;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border: 1px solid var(--fp-line);
    border-radius: 8px;
    background: #fff;
    font-weight: 700;
    cursor: pointer;
}

/* BANNIÈRE */

.sector-hero {
    position: relative;
    overflow: hidden;
    padding: 82px 0 86px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 10%, rgba(74,190,255,.25), transparent 32%),
        radial-gradient(circle at 10% 90%, rgba(0,220,175,.15), transparent 35%),
        linear-gradient(135deg, #061426 0%, #0b2948 55%, #104c73 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, .8fr);
    align-items: center;
    gap: 55px;
}

.eyebrow {
    margin: 0 0 15px;
    color: var(--fp-blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: .78rem;
    font-weight: 800;
}

.sector-hero .eyebrow,
.sector-cta .eyebrow {
    color: #58d9ff;
}

.sector-hero h1 {
    max-width: 850px;
    margin: 0 0 24px;
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    line-height: 1.06;
    letter-spacing: -2px;
}

.hero-intro {
    max-width: 750px;
    margin: 0 0 30px;
    color: rgba(255,255,255,.82);
    font-size: 1.15rem;
}

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

.button {
    display: inline-flex;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border-radius: 9px;
    font-weight: 800;
    transition: transform .2s ease, background .2s ease;
}

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

.button-primary {
    background: #fff;
    color: var(--fp-blue-dark);
}

.button-primary:hover {
    background: #eaf8ff;
}

.button-secondary {
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    background: rgba(255,255,255,.07);
}

.hero-card {
    padding: 30px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 20px;
    background: rgba(255,255,255,.08);
}

.hero-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 14px;
    background: rgba(88,217,255,.16);
    color: #58d9ff;
    font-size: 2rem;
}

.hero-card h2 {
    margin: 0 0 12px;
    font-size: 1.45rem;
    line-height: 1.25;
}

.hero-card p {
    margin: 0;
    color: rgba(255,255,255,.76);
}

/* SECTIONS */

.section {
    padding: 78px 0;
}

.section-soft {
    background: var(--fp-soft);
}

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

.section-heading h2,
.two-column h2,
.sector-cta h2 {
    margin: 0 0 17px;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.15;
    letter-spacing: -1px;
}

.section-heading > p:last-child {
    color: var(--fp-muted);
    font-size: 1.05rem;
}

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

.benefit-card {
    min-height: 190px;
    padding: 28px;
    border: 1px solid var(--fp-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15,40,70,.045);
}

.benefit-number {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 12px;
    background: #e7f7fd;
    color: #087eaf;
    font-weight: 900;
}

.benefit-card h3 {
    margin: 0;
    font-size: 1.12rem;
    line-height: 1.45;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 60px;
}

.two-column p {
    margin-top: 0;
    color: var(--fp-muted);
    font-size: 1.04rem;
}

.text-link {
    display: inline-flex;
    gap: 9px;
    margin-top: 8px;
    color: var(--fp-blue);
    font-weight: 800;
}

/* APPEL À L'ACTION */

.sector-cta {
    padding: 70px 0;
    background: linear-gradient(135deg, #061426, #0d3557);
    color: #fff;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.cta-inner > div {
    max-width: 760px;
}

.sector-cta p:not(.eyebrow) {
    color: rgba(255,255,255,.76);
}

.cta-inner .button {
    flex-shrink: 0;
}

/* PIED DE PAGE */

.site-footer {
    padding: 34px 0;
    background: #06111f;
    color: rgba(255,255,255,.68);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 28px;
}

.footer-logo {
    color: #fff;
}

.site-footer p {
    margin: 0;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: .9rem;
}

.site-footer a:hover {
    color: #58d9ff;
}

.site-footer small {
    width: 100%;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: .8rem;
}

/* TABLETTES ET MOBILES */

@media (max-width: 1080px) {
    .header-inner {
        flex-wrap: wrap;
        padding: 13px 0;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .nav {
        display: none;
        width: 100%;
        align-items: stretch;
        flex-direction: column;
        gap: 3px;
        padding: 8px 0 4px;
    }

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

    .nav-home,
    .nav-contact,
    .nav-group-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .nav-submenu {
        position: static;
        min-width: 0;
        max-height: none;
        margin: 0 0 7px 10px;
        box-shadow: none;
        border-radius: 8px;
    }

    .nav-group:hover .nav-submenu {
        display: none;
    }

    .nav-group:focus-within .nav-submenu,
    .nav-group.is-open .nav-submenu {
        display: grid;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-card {
        max-width: 650px;
    }
}

@media (max-width: 700px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .sector-hero {
        padding: 58px 0 62px;
    }

    .sector-hero h1 {
        letter-spacing: -1px;
    }

    .hero-intro {
        font-size: 1.03rem;
    }

    .section {
        padding: 58px 0;
    }

    .benefit-grid,
    .two-column {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .benefit-card {
        min-height: 0;
    }

    .sector-cta {
        padding: 58px 0;
    }

    .cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

.commercial-contact {
    text-align: center;
    padding: 35px 20px;
    margin-top: 40px;
    background: #f5f7fa;
    border-top: 1px solid #e2e8f0;
}

.commercial-contact p {
    margin: 8px 0;
}

.commercial-phone a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #087fdb;
    text-decoration: none;
}

.commercial-phone a:hover {
    text-decoration: underline;
}
