*,
*::before,
*::after { box-sizing: border-box; }

body.page-home {
    margin: 0;
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
    background: #0b1628;
    color: #fff;
    min-height: 100vh;
}

body.page-home a { text-decoration: none; }

.home-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem clamp(1.25rem, 4vw, 2.5rem);
}

.home-logo {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: 0.02em;
    color: #fff;
}

.home-logo span { color: #f5c518; }

.home-nav {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.home-nav a {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.home-nav-cta {
    background: #f5c518;
    color: #1a1a1a !important;
    padding: 0.48rem 0.95rem;
    border-radius: 8px;
}

.home-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

/* Fond 100 % CSS — pas d’image */
.home-hero-media {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 85% 15%, rgba(245, 197, 24, 0.28), transparent 55%),
        radial-gradient(ellipse 50% 45% at 8% 85%, rgba(37, 99, 186, 0.55), transparent 58%),
        radial-gradient(ellipse 35% 30% at 60% 70%, rgba(21, 68, 140, 0.4), transparent 50%),
        linear-gradient(128deg, transparent 40%, rgba(245, 197, 24, 0.09) 40.4%, rgba(245, 197, 24, 0.09) 41.2%, transparent 41.6%),
        linear-gradient(128deg, transparent 58%, rgba(255, 255, 255, 0.05) 58.3%, rgba(255, 255, 255, 0.05) 59%, transparent 59.3%),
        repeating-linear-gradient(
            90deg,
            transparent 0 71px,
            rgba(255, 255, 255, 0.04) 71px 72px
        ),
        repeating-linear-gradient(
            0deg,
            transparent 0 71px,
            rgba(255, 255, 255, 0.035) 71px 72px
        ),
        linear-gradient(165deg, #153156 0%, #0b1628 42%, #0a2038 100%);
    animation: home-glow 16s ease-in-out infinite alternate;
}

.home-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(7, 14, 26, 0.72) 0%, rgba(7, 14, 26, 0.35) 45%, transparent 72%),
        linear-gradient(0deg, rgba(7, 14, 26, 0.55) 0%, transparent 40%);
    pointer-events: none;
}

.home-hero-shade::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: min(42%, 320px);
    height: 5px;
    background: #f5c518;
}

.home-hero-copy {
    position: relative;
    z-index: 2;
    width: min(680px, calc(100% - 2.5rem));
    padding: 6rem clamp(1.25rem, 4vw, 2.5rem) 4.25rem;
    animation: home-rise 0.85s ease forwards;
}

.home-eyebrow {
    margin: 0 0 0.7rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #f5c518;
}

.home-title {
    margin: 0 0 0.9rem;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-size: clamp(3.6rem, 11vw, 6.5rem);
    line-height: 0.9;
    letter-spacing: 0.01em;
    color: #fff;
}

.home-title span { color: #f5c518; }

.home-sub {
    margin: 0 0 1.7rem;
    max-width: 26rem;
    font-size: 1.15rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
}

.home-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-home-primary,
.btn-home-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0.72rem 1.3rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
}

.btn-home-primary {
    background: #f5c518;
    color: #1a1a1a;
}

.btn-home-primary:hover { filter: brightness(0.96); }

.btn-home-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-home-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.home-roles {
    background: #f3f6fb;
    color: #1a1a1a;
    padding: 3.6rem clamp(1.25rem, 4vw, 2.5rem);
}

.home-roles h2 {
    width: min(920px, 100%);
    margin: 0 auto 1.8rem;
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(1.85rem, 4vw, 2.45rem);
    font-weight: 700;
    color: #15448c;
}

.home-roles-row {
    width: min(920px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.home-roles-row--solo {
    grid-template-columns: 1fr;
}

.home-roles h3 {
    margin: 0 0 0.45rem;
    font-size: 1.15rem;
    color: #15448c;
}

.home-roles p {
    margin: 0;
    color: #5b677a;
    max-width: 28rem;
    line-height: 1.5;
}

.home-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: #0b1628;
    color: rgba(255, 255, 255, 0.65);
    padding: 1.1rem clamp(1.25rem, 4vw, 2.5rem);
    font-size: 0.9rem;
}

.home-footer a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.home-footer a:hover { color: #f5c518; }

@keyframes home-rise {
    from { transform: translateY(14px); }
    to { transform: translateY(0); }
}

@keyframes home-glow {
    from { filter: brightness(1) saturate(1); }
    to { filter: brightness(1.08) saturate(1.15); }
}

@media (max-width: 720px) {
    .home-hero { align-items: flex-end; }
    .home-hero-copy { padding-bottom: 3.2rem; }
    .home-roles-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
