body {
    color: #24364b;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background: #fff;
}

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

.home-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
        background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.58) 0%,
            rgba(0, 0, 0, 0.36) 48%,
            rgba(0, 0, 0, 0.05) 78%
        ),
        url("../images/fond-ecran.png") center / cover no-repeat;
        background-attachment: scroll, fixed;

}

.home-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(to bottom, transparent 65%, rgba(5, 22, 48, 0.22));
}

.home-hero__inner {
    min-height: 520px;
    padding: clamp(55px, 6vw, 80px) 0;
    display: grid;
    grid-template-columns: minmax(0, 880px);
    gap: 60px;
    align-items: center;
}

.home-hero__content { position: relative; z-index: 2; }

.home-eyebrow,
.home-label {
    margin: 0 0 14px;
    color: #78e3a0;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-label { color: #a9843e; }
.home-label--light { color: #78e3a0; }

.home-hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(2.8rem, 5.2vw, 4.8rem);
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.home-hero__lead {
    max-width: 760px;
    margin: 30px 0 0;
    color: #ffffff;
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    line-height: 1.75;
}

.home-actions {
    display: flex;
    margin-top: 38px;
    flex-wrap: wrap;
    gap: 13px;
}

.home-button {
    display: inline-flex;
    min-height: 52px;
    padding: 0 22px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid transparent;
    transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.home-button--primary { color: #0f2c59; background: #fff; border-color: #fff; }
.home-button--primary:hover,
.home-button--primary:focus-visible { color: #fff; background: transparent; }
.home-button--secondary { color: #fff; background: transparent; border-color: rgba(255,255,255,.5); }
.home-button--secondary:hover,
.home-button--secondary:focus-visible { color: #0f2c59; background: #fff; border-color: #fff; }

.home-intro,
.home-equipment,
.home-contact { padding: clamp(76px, 9vw, 116px) 0; }

.home-intro__grid {
    display: grid;
    grid-template-columns: minmax(300px, .86fr) minmax(0, 1.14fr);
    gap: clamp(52px, 8vw, 110px);
}

.home-section-heading h2,
.home-portal h2,
.home-contact h2 {
    margin: 0;
    color: #0f2c59;
    font-size: clamp(2rem, 4vw, 3.3rem);
    letter-spacing: -0.038em;
    line-height: 1.13;
}

.home-intro__copy > p {
    margin: 0 0 18px;
    color: #52677c;
    font-size: 1.02rem;
    line-height: 1.82;
}

.home-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0f2c59;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}

.home-text-link:hover,
.home-text-link:focus-visible { text-decoration: underline; }

.home-intro__copy .home-text-link { margin-top: 15px; }

.home-domains {
    padding: clamp(76px, 9vw, 110px) 0;
    background: #f3f6f9;
}

.home-section-heading--centered {
    max-width: 820px;
    margin: 0 auto 54px;
    text-align: center;
}

.domain-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.domain-card {
    min-height: 240px;
    padding: 30px;
    background: #fff;
    border: 1px solid #dce4ec;
    border-top: 3px solid transparent;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.domain-card:hover {
    transform: translateY(-4px);
    border-top-color: #bfa15f;
    box-shadow: 0 16px 32px rgba(15,44,89,.09);
}

.domain-card > span {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 26px;
    place-items: center;
    color: #0f2c59;
    background: #eaf0f6;
    border-radius: 50%;
}

.domain-card h3 { margin: 0; color: #0f2c59; font-size: 1.05rem; }
.domain-card p { margin: 12px 0 0; color: #637589; font-size: .9rem; line-height: 1.65; }

.home-section-heading--split {
    display: flex;
    margin-bottom: 46px;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
}

.home-section-heading--split > div { max-width: 780px; }

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

.equipment-preview {
    position: relative;
    min-height: 410px;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    text-decoration: none;
    background: #0f2c59;
}

.equipment-preview::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(to top, rgba(5,22,48,.94) 0%, rgba(5,22,48,.12) 62%, transparent 100%);
}

.equipment-preview img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
}

.equipment-preview:hover img,
.equipment-preview:focus-visible img { transform: scale(1.035); }
.equipment-preview span,
.equipment-preview h3 { position: relative; z-index: 1; margin-inline: 26px; }
.equipment-preview span { margin-bottom: 9px; color: #78e3a0; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.equipment-preview h3 { margin-top: 0; margin-bottom: 28px; font-size: 1.45rem; }

.home-portal {
    padding: clamp(64px, 8vw, 92px) 0;
    color: #dce7f2;
    background: #0f2c59;
}

.home-portal__inner {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 34px;
    align-items: center;
}

.home-portal__icon {
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    color: #78e3a0;
    font-size: 1.5rem;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
}

.home-portal h2 { color: #fff; }
.home-portal p:last-child { max-width: 740px; margin: 18px 0 0; line-height: 1.75; }
.home-button--light { color: #0f2c59; background: #fff; border-color: #fff; white-space: nowrap; }
.home-button--light:hover,
.home-button--light:focus-visible { color: #fff; background: transparent; }

.home-contact__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 70px;
    align-items: center;
}

.home-contact h2 { max-width: 740px; font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.home-contact p:last-child { margin: 20px 0 0; color: #637589; line-height: 1.7; }
.home-contact__links { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.home-contact__links > a:not(.home-text-link) { color: #40566d; font-size: .88rem; text-decoration: none; }
.home-contact__links > a:not(.home-text-link):hover { color: #0f2c59; text-decoration: underline; }
.home-contact__links i { width: 22px; color: #a9843e; }
.home-contact__links .home-text-link { margin-top: 8px; }

@media (max-width: 980px) {
    .home-hero__inner { grid-template-columns: 1fr; min-height: auto; }
    .domain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .equipment-preview-grid { grid-template-columns: 1fr 1fr; }
    .equipment-preview:last-child { grid-column: 1 / -1; min-height: 340px; }
    .home-portal__inner { grid-template-columns: 64px 1fr; }
    .home-portal .home-button { grid-column: 2; justify-self: start; }
}

@media (max-width: 760px) {
    .home-container { width: min(100% - 32px, 1180px); }
    .home-intro__grid,
    .home-contact__inner { grid-template-columns: 1fr; gap: 40px; }
    .domain-grid,
    .equipment-preview-grid { grid-template-columns: 1fr; }
    .equipment-preview,
    .equipment-preview:last-child { grid-column: auto; min-height: 350px; }
    .home-section-heading--split { display: block; }
    .home-section-heading--split .home-text-link { margin-top: 24px; }
    .home-portal__inner { grid-template-columns: 1fr; }
    .home-portal .home-button { grid-column: auto; }
    .home-portal__icon { width: 58px; height: 58px; }
}

@media (prefers-reduced-motion: reduce) {
    .domain-card,
    .equipment-preview img { transition: none; }
}

.home-research {
    padding: 70px 0;
    background: #f3f6f9;
}

.home-research__inner {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
    min-height: 390px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 44, 89, 0.09);
}

.home-research__image {
    position: relative;
    min-height: 390px;
    overflow: hidden;
}

.home-research__image::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(
        90deg,
        transparent 65%,
        rgba(15, 44, 89, 0.1)
    );
    pointer-events: none;
}

.home-research__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.home-research__inner:hover .home-research__image img {
    transform: scale(1.035);
}

.home-research__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(36px, 5vw, 70px);
}

.home-research__label {
    margin: 0 0 16px;
    color: #b08d48;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-research__content h2 {
    margin: 0;
    color: #0f2c59;
    font-size: clamp(1.75rem, 3vw, 2.55rem);
    line-height: 1.2;
}

.home-research__content > p:not(.home-research__label) {
    margin: 22px 0 28px;
    color: #5b6e81;
    line-height: 1.75;
}

.home-research__link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 12px;
    padding-bottom: 7px;
    color: #0f2c59;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid #bfa15f;
}

.home-research__link i {
    transition: transform 180ms ease;
}

.home-research__link:hover i,
.home-research__link:focus-visible i {
    transform: translateX(5px);
}

@media (max-width: 800px) {
    .home-research {
        padding: 50px 0;
    }

    .home-research__inner {
        grid-template-columns: 1fr;
    }

    .home-research__image {
        min-height: 280px;
    }

    .home-research__content {
        padding: 34px 26px 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-research__image img,
    .home-research__link i {
        transition: none;
    }
}

/* =========================================================
   MOT DU DIRECTEUR — SECTION ÉDITORIALE
   ========================================================= */

.director-preview {
    position: relative;
    margin: 0;
    padding: 90px 0 100px;
    overflow: hidden;

    background: #f8f3e8;
    border: 0;
    border-top: 1px solid #e4eaf0;
    border-bottom: 1px solid #e4eaf0;

    scroll-margin-top: 20px;
}

/* Grand tracé routier */
.director-preview::after {
    content: "";
    position: absolute;

    right: -80px;
    bottom: -55px;

    width: 760px;
    height: 390px;

    background:
        url("../images/pattern-road.svg")
        center / contain no-repeat;

    opacity: .20;
    pointer-events: none;
}

/* Mise en page */
.director-preview__inner {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns:
        minmax(460px, .95fr)
        minmax(420px, 1.05fr);

    gap: clamp(55px, 6vw, 95px);
    align-items: center;

    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

/* Bloc titre */
.director-preview__heading {
    position: relative;
    padding-left: 26px;
}

.director-preview__heading::before {
    content: "";
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 0;

    width: 4px;
    background: #bfa15f;
}

.director-preview__label {
    display: block;
    margin-bottom: 16px;

    color: #a9843e;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.director-preview__heading h2 {
    max-width: 580px;
    margin: 0;

    color: #0f2c59;
    font-size: clamp(2rem, 2.7vw, 2.8rem);
    font-weight: 750;
    line-height: 1.16;
    letter-spacing: -.035em;
}

/* Extrait */
.director-preview__content {
    position: relative;
    z-index: 2;
}

.director-preview__content p {
    max-width: 650px;
    margin: 0 0 26px;

    color: #526478;
    font-size: 1.02rem;
    line-height: 1.85;
}

.director-preview__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: #0f2c59;
    font-size: .9rem;
    font-weight: 800;
    text-decoration: none;

    transition: gap 180ms ease, color 180ms ease;
}

.director-preview__link:hover {
    gap: 16px;
    color: #a9843e;
}
@media (min-width: 901px) and (max-width: 1580px) {
    .director-preview__inner {
        width: min(1180px, calc(100% - 64px));
        margin-inline: auto;

        grid-template-columns: minmax(0, 0.83fr) minmax(0, 1fr);
        gap: clamp(20px, 4vw, 65px);

    }
}

/* ==========================================
   MOT DU DIRECTEUR — TABLETTE & MOBILE
   ========================================== */

@media (max-width: 900px) {

    .director-preview {
        padding: 65px 0;
    }

    .director-preview__inner {
        width: calc(100% - 48px);
        margin-inline: auto;

        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .director-preview__heading {
        min-width: 0;
        padding-left: 20px;
    }

    .director-preview__heading h2 {
        max-width: 100%;
        font-size: clamp(1.7rem, 5vw, 2.3rem);
        line-height: 1.2;
        overflow-wrap: break-word;
    }

    .director-preview__content {
        min-width: 0;
    }

    .director-preview__content p {
        font-size: 1rem;
        line-height: 1.75;
        margin-bottom: 22px;
    }

    .director-preview::after {
        width: 500px;
        height: 260px;
        right: -140px;
        bottom: -30px;
        opacity: .12;
    }
}

/* Petits smartphones */
@media (max-width: 480px) {

    .director-preview {
        padding: 48px 0 55px;
    }

    .director-preview__inner {
        width: calc(100% - 36px);
        gap: 26px;
    }

    .director-preview__heading {
        padding-left: 17px;
    }

    .director-preview__heading h2 {
        font-size: clamp(1.55rem, 6vw, 1.9rem);
        line-height: 1.22;
        letter-spacing: -.025em;
    }

    .director-preview__label {
        font-size: .7rem;
        letter-spacing: .15em;
        margin-bottom: 12px;
    }

    .director-preview__content p {
        font-size: .95rem;
        line-height: 1.7;
    }

    .director-preview__link {
        font-size: .85rem;
    }
}