* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    min-height: 100%;
}

body {
    background-image:
        radial-gradient(circle at top right, rgba(86, 172, 255, 0.12), transparent 28%),
        radial-gradient(circle at bottom left, rgba(158, 99, 255, 0.16), transparent 30%),
        url('../images/fond-hypno6-transparent.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: #f8f8ff;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    padding: 0;
    min-height: 100vh;
    position: relative;
}

.site-nav {
    width: 100%;
    background: linear-gradient(180deg, rgba(70, 115, 200, 0.12), rgba(10, 14, 22, 0.36));
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(16px);
}

.nav-inner {
    max-width: clamp(320px, 70vw, 1200px);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 38px;
}

.nav-list {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 38px;
    list-style: none;
}

@media (max-width: 920px) {
    .nav-inner {
        gap: 24px;
    }

    .nav-list {
        gap: 20px;
    }

    .nav-list a {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
}

@media (min-width: 836px) {
    .menu-toggle {
        display: none !important;
    }

    .nav-list {
        display: flex !important;
        flex-wrap: nowrap;
    }

    .nav-inner {
        justify-content: center;
    }
}

.nav-list li {
    margin: 0;
}

.nav-list a {
    color: #f8f8ff;
    text-decoration: none;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 10px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.nav-list a:hover,
.nav-list a:focus-visible {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.52);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    border: none;
    width: 40px;
    height: 40px;
    padding: 0;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 14px;
    cursor: pointer;
    color: #fff;
    font-size: 1.1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle span,
.menu-toggle span + span {
    display: none;
}

.site-header {
    position: relative;
    margin: 24px auto 0;
    width: clamp(320px, 70vw, 1200px);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    justify-items: center;
    gap: 18px;
    padding: 24px 24px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(10, 14, 22, 0.28), rgba(10, 14, 22, 0.18));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 34px rgba(4, 7, 16, 0.2);
    backdrop-filter: blur(12px);
    min-height: 140px;
    box-sizing: border-box;
    text-align: left;
}

.header-zone {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.header-brand {
    justify-self: start;
    align-items: center;
    text-align: left;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.brand-text {
    min-width: 0;
}

.brand-logo {
    width: 74px;
    height: 74px;
    border-radius: 22px;
    object-fit: cover;
    background: transparent;
    border: none;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
    filter: hue-rotate(205deg) saturate(1.5) brightness(0.95);
}

@media (max-width: 835px) {
    .site-nav {
        background: transparent;
        border-bottom: none;
        backdrop-filter: none;
        padding: 0 16px;
    }

    .nav-inner {
        width: 100%;
        max-width: none;
        justify-content: flex-end;
        padding: 8px 0;
        position: relative;
    }

    .menu-toggle {
        display: inline-flex;
        width: 36px;
        height: 36px;
        padding: 0;
        background: rgba(235, 243, 255, 0.22);
        border: 1px solid rgba(255, 255, 255, 0.32);
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    }

    .nav-list {
        display: none;
        width: 100%;
    }

    .site-nav.nav-open .nav-list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        width: min(260px, calc(100% - 32px));
        padding: 14px 16px;
        background: rgba(250, 250, 255, 0.22);
        border: 1px solid rgba(235, 245, 255, 0.32);
        border-radius: 20px;
        backdrop-filter: blur(18px);
        box-shadow: 0 14px 28px rgba(30, 40, 70, 0.06);
        z-index: 40;
    }

    .site-nav.nav-open .nav-list a {
        background: transparent;
        border: none;
        border-radius: 0;
        padding: 10px 0;
        text-align: right;
        width: 100%;
        color: #f8f8ff;
    }

    .site-nav.nav-open .nav-list a:hover,
    .site-nav.nav-open .nav-list a:focus-visible {
        background: rgba(255, 255, 255, 0.16);
        transform: none;
    }

    .header-brand {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        max-width: 260px;
    }

    .brand-logo {
        margin-bottom: 10px;
    }

    .brand-text {
        text-align: left;
    }
}

.header-center {
    justify-self: center;
    width: min(100%, 520px);
    min-width: 0;
    padding: 0 10px;
    text-align: center;
}

@media (max-width: 760px) {
    .site-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 16px;
        position: static;
        margin: 16px auto;
        width: calc(100% - 32px);
        min-height: auto;
    }

    .header-brand {
        justify-self: center;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        gap: 10px;
    }

    .brand-logo {
        width: 64px;
        height: 64px;
    }

    .brand-text {
        text-align: center;
    }

    .header-center {
        width: 100%;
        justify-content: center;
        text-align: center;
        margin: 10px 0;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
    }

    .header-actions .contact-details {
        align-items: center;
    }
}

.header-actions {
    justify-self: end;
}

.header-center span {
    display: block;
    width: 100%;
    line-height: 1.4;
    white-space: normal;
}


.brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.site-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-subtitle {
    font-size: 0.78rem;
    color: rgba(248, 248, 255, 0.78);
    white-space: nowrap;
}

.header-actions {
    justify-self: end;
}

.contact-details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    max-width: 220px;
    font-size: 0.92rem;
    color: rgba(248, 248, 255, 0.88);
    text-align: right;
}

.contact-line {
    display: block;
    line-height: 1.4;
    white-space: normal;
}

.contact-line:first-child {
    font-weight: 600;
}
