@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ===== Base ===== */

:root {
    font-family: 'DM Sans', sans-serif;
    color: #102339;
    background: #f5f7f7;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
}

button,
a {
    font: inherit;
}

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

button {
    cursor: pointer;
}

.container {
    width: min(1220px, calc(100% - 64px));
    margin: auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 10px;
    z-index: 100;
    background: white;
    padding: 12px;
}

.skip-link:focus {
    left: 10px;
}

/* ===== En-tête et navigation ===== */

.site-header {
    position: absolute;
    z-index: 20;
    inset: 0 0 auto;
    color: white;
}

.nav-wrap {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ffffff35;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    font-family: Manrope, sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.brand strong {
    font-weight: 800;
}

.brand-mark {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.12em;
    line-height: 1;
}

.brand-mark span,
.footer-name span {
    color: #d6ac69;
}

.site-nav {
    display: flex;
    gap: 34px;
    font-size: 0.85rem;
    font-weight: 600;
}

.site-nav a {
    opacity: 0.86;
    transition: opacity 0.2s;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    opacity: 1;
    color: #eecb95;
}

.menu-toggle {
    display: none;
}

/* ===== Bannière et carrousel ===== */

.hero {
    position: relative;
    min-height: 720px;
    height: min(860px, 100svh);
    color: white;
    background: #102339;
    overflow: hidden;
}

.slides,
.slide,
.hero-shade {
    position: absolute;
    inset: 0;
}

.slide {
    opacity: 0;
    background-image:
        linear-gradient(90deg, #07152555, #07152510),
        var(--photo);
    background-position: center;
    background-size: cover;
    transition: opacity 0.8s ease;
    transform: scale(1.025);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.8s ease, transform 5s ease;
}

.slide-label {
    position: absolute;
    right: 5%;
    top: 130px;
    color: #ffffffb0;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
}

.hero-shade {
    background:
        linear-gradient(
            90deg,
            #061321e8 0%,
            #061321a8 43%,
            #06132128 100%
        ),
        linear-gradient(0deg, #061321b5, transparent 30%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: clamp(205px, 27vh, 270px);
}

.eyebrow,
.kicker,
.section-index {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    font-weight: 800;
    text-transform: uppercase;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #f3cb91;
}

.eyebrow-line {
    height: 1px;
    width: 32px;
    background: currentColor;
}

.hero h1,
h2 {
    font-family: Manrope, sans-serif;
    letter-spacing: -0.055em;
    line-height: 1.12;
}

.hero h1 {
    font-size: clamp(3.2rem, 6.4vw, 6.3rem);
    max-width: 950px;
    margin: 30px 0 24px;
    font-weight: 800;
}

.hero h1 em {
    font-style: normal;
    color: #e6bc7f;
}

.hero-content > p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 620px;
    color: #e1e7eb;
    margin-bottom: 30px;
}

.primary-link {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    background: #d9ad72;
    color: #112536;
    padding: 17px 20px;
    font-weight: 800;
    font-size: 0.9rem;
    transition: background 0.2s, transform 0.2s;
}

.primary-link:hover {
    background: #f2cc95;
    transform: translateY(-2px);
}

.primary-link span {
    font-size: 1.35rem;
}

.hero-bottom {
    position: absolute;
    z-index: 3;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.scroll-cue {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: #e4e9eb;
}

.scroll-cue span {
    margin-left: 12px;
    font-size: 1.2rem;
}

.slider-controls {
    display: flex;
    align-items: center;
    gap: 18px;
}

.slide-arrow {
    border: 1px solid #ffffff8a;
    background: #ffffff13;
    color: white;
    width: 41px;
    height: 41px;
    border-radius: 50%;
    font-size: 1.2rem;
}

.slide-arrow:hover {
    background: #fff;
    color: #102339;
}

.slide-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border: 0;
    background: #ffffff80;
    border-radius: 10px;
    padding: 0;
}

.dot.active {
    width: 25px;
    background: #d9ad72;
}

/* ===== Sections communes ===== */

.section {
    padding: 110px 0;
}

.section-index {
    color: #7c8991;
    padding-bottom: 22px;
    border-bottom: 1px solid #d5dcde;
    margin-bottom: 65px;
}

.kicker {
    color: #a97738;
    margin: 0 0 20px;
}

h2 {
    font-size: clamp(2.8rem, 4.7vw, 4.8rem);
    margin: 0;
    font-weight: 800;
}

h2 span {
    color: #81949c;
}

/* ===== Connaître Wilgens ===== */

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.intro-copy {
    padding-top: 5px;
}

.intro-copy p,
.family-copy p,
.section-heading > p,
.journey-card p,
.goal p {
    color: #51616c;
    font-size: 1.04rem;
    line-height: 1.85;
}

.intro-copy p:first-child {
    font-size: 1.2rem;
    color: #23394b;
    margin-top: 0;
}

.fact-row {
    display: flex;
    gap: 35px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 27px;
    border-top: 1px solid #d5dcde;
}

.fact-row div {
    display: grid;
    gap: 9px;
}

.fact-row small {
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    color: #8c9a9f;
    font-weight: 700;
}

.fact-row strong {
    font-size: 0.92rem;
}

.intro-more-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 32px;
    padding: 16px 22px;
    background: #112b3d;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
}

.intro-more-link:hover {
    background: #24475a;
    transform: translateY(-2px);
}

.intro-more-link span {
    color: #e2b77d;
    font-size: 1.25rem;
}

/* ===== Mon parcours ===== */

.journey-section {
    background: #0d2435;
    color: #fff;
}

.journey-section .section-index {
    border-color: #ffffff30;
    color: #9eb0b8;
}

.journey-section h2 span {
    color: #d5ad75;
}

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

.section-heading > p {
    max-width: 380px;
    color: #b6c4c9;
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 55px;
}

.journey-card {
    min-height: 340px;
    background: #173246;
    padding: 31px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, background 0.2s;
}

.journey-card:hover {
    transform: translateY(-5px);
    background: #1c3b50;
}

.card-number {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: #d6b683;
    font-weight: 800;
}

.card-symbol {
    font-size: 3.4rem;
    color: #dbb57f;
    flex: 1;
    padding-top: 35px;
}

.journey-card h3 {
    font-family: Manrope, sans-serif;
    font-size: 1.35rem;
    margin: 0 0 6px;
}

.journey-card p {
    color: #bed0d5;
    font-size: 0.96rem;
    margin: 0;
}

/* ===== Famille ===== */

.family-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.family-art {
    height: 460px;
    background: linear-gradient(
        135deg,
        #14354b,
        #254d61 54%,
        #bd9261
    );
    padding: 24px;
}

.family-art-inner {
    height: 100%;
    border: 1px solid #ffffff65;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    color: #fff;
}

.family-art-inner span {
    font-size: 0.8rem;
    line-height: 1.7;
    letter-spacing: 0.2em;
    font-weight: 700;
}

.family-art-inner b {
    font-family: Georgia, serif;
    font-size: 9rem;
    line-height: 0.8;
    color: #edca95;
    font-weight: normal;
    align-self: center;
}

.family-copy p {
    max-width: 530px;
}

.family-note {
    display: block;
    color: #819096;
    font-size: 0.82rem;
    margin-top: 26px;
}

/* ===== Mes objectifs ===== */

.goals-section {
    background: #e8eeef;
}

.goals-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
}

.goal {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 16px;
    padding: 0 0 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #c8d2d5;
}

.goal > span {
    color: #ac7f48;
    font-family: Manrope, sans-serif;
    font-weight: 800;
}

.goal h3 {
    font-size: 1.16rem;
    margin: 0 0 8px;
}

.goal p {
    margin: 0;
    font-size: 0.96rem;
}

/* ===== Pied de page ===== */

.site-footer {
    background: #081b29;
    color: #fff;
    padding: 55px 0;
}

.footer-inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.footer-name {
    font-family: Manrope, sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
}

.site-footer p {
    color: #9fb0ba;
    margin: 8px 0 0;
}

.site-footer a {
    font-size: 0.9rem;
    color: #e1ba82;
}

.site-footer small {
    color: #9fb0ba;
}

/* ===== Accessibilité ===== */

.menu-toggle:focus-visible,
.slide-arrow:focus-visible,
.dot:focus-visible,
a:focus-visible {
    outline: 2px solid #f2c68c;
    outline-offset: 4px;
}

/* ===== Tablettes et téléphones ===== */

@media (max-width: 800px) {
    .container {
        width: min(100% - 36px, 640px);
    }

    .nav-wrap {
        height: 76px;
    }

    .menu-toggle {
        display: grid;
        gap: 5px;
        border: 0;
        background: transparent;
        padding: 10px;
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        background: white;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: #0b2030;
        padding: 24px 18px;
        flex-direction: column;
        gap: 24px;
        box-shadow: 0 20px 30px #06132155;
    }

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

    .hero {
        min-height: 690px;
        height: 90svh;
    }

    .hero-content {
        padding-top: 200px;
    }

    .hero h1 {
        font-size: clamp(3rem, 10vw, 5rem);
    }

    .hero-content > p {
        font-size: 1rem;
        line-height: 1.65;
    }

    .slide-label {
        display: none;
    }

    .section {
        padding: 75px 0;
    }

    .section-index {
        margin-bottom: 40px;
    }

    .intro-grid,
    .family-grid,
    .goals-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .section-heading {
        display: block;
    }

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

    .journey-card {
        min-height: 260px;
    }

    .card-symbol {
        padding-top: 20px;
    }

    .family-art {
        height: 330px;
    }

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

    .scroll-cue {
        display: none;
    }
}

@media (max-width: 420px) {
    .brand {
        font-size: 0.62rem;
    }

    .hero h1 {
        font-size: 2.85rem;
    }

    .hero-content {
        padding-top: 185px;
    }

    .hero-bottom {
        bottom: 25px;
        justify-content: flex-end;
    }

    .fact-row {
        gap: 25px;
    }

    .family-art-inner b {
        font-size: 7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}