/* ========================================
   CRN7 — Base
   ======================================== */

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

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    color: #0b2942;
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

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


/* ========================================
   Header
   ======================================== */

.site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
}

.site-header__inner {
    width: min(1200px, calc(100% - 40px));
    min-height: 82px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    gap: 40px;
}

.site-header__brand {
    flex: 0 0 auto;
}

.site-header__brand .custom-logo-link {
    display: block;
}

.site-header__brand .custom-logo {
    width: 92px;
    height: 72px;
    object-fit: contain;
}

.site-header__nav {
    flex: 1;
}

.main-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 32px;

    margin: 0;
    padding: 0;
    list-style: none;
}

.main-menu a {
    display: block;
    padding: 30px 0 27px;

    color: #0b2942;
    font-size: 14px;
    font-weight: 600;
}

.main-menu a:hover,
.main-menu .current-menu-item > a {
    color: #ff174f;
}

.main-menu .current-menu-item > a {
    border-bottom: 3px solid #ff174f;
}


/* ========================================
   Contenu provisoire
   ======================================== */

.site-main {
    min-height: 400px;
}

.home-test {
    width: min(1200px, calc(100% - 40px));
    margin: 60px auto;
}


/* ========================================
   Footer provisoire
   ======================================== */

.site-footer {
    padding: 30px 0;
    background: #0b2942;
    color: #ffffff;
}

.site-footer__inner {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.site-footer .custom-logo {
    width: 70px;
    height: auto;
}
/* ========================================
   Accueil — Hero
   ======================================== */

.home-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: #ffffff;
}

.home-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(5, 27, 46, 0.82) 0%,
            rgba(5, 27, 46, 0.60) 38%,
            rgba(5, 27, 46, 0.10) 72%,
            rgba(5, 27, 46, 0.00) 100%
        );
}

.home-hero__inner {
    position: relative;
    z-index: 1;

    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: 55px 0;
}

.home-hero__title {
    max-width: none;
    white-space: nowrap;
    margin: 0 0 6px;

    color: #ffffff;
    font-size: clamp(42px, 5vw, 56px);
    line-height: 1;
    font-family: Georgia, "Times New Roman", serif;
    text-transform: uppercase;
}

.home-hero__tagline {
    margin: 0 0 28px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-style: italic;
}

.home-hero__location {
    margin: 0 0 28px;
    font-size: 15px;
    font-weight: 600;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;
    padding: 0 22px;
    border: 2px solid #ffffff;
    border-radius: 24px;

    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.2s ease;
}

.button--primary {
    border-color: #ff174f;
    background: #ff174f;
    color: #ffffff;
}

.button--primary:hover {
    border-color: #d9003b;
    background: #d9003b;
}

.button--secondary {
    background: rgba(5, 27, 46, 0.55);
    color: #ffffff;
}

.button--secondary:hover {
    background: #ffffff;
    color: #0b2942;
}
