/* ===============================
   Réglages généraux
================================ */

:root {
    --background: #030814;
    --background-soft: #07101f;
    --cream: #f4efe5;
    --muted: #9a978f;
    --gold: #dc963f;
    --line: rgba(244, 239, 229, 0.42);
}

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

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

body {
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--cream);
    background:
        radial-gradient(circle at 50% 45%, rgba(27, 42, 67, 0.16), transparent 38%),
        linear-gradient(145deg, var(--background-soft), var(--background) 62%);
    font-family: "Montserrat", sans-serif;
}

/* ===============================
   Barre de navigation
================================ */

.topbar {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 45px 4.2vw 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--cream);
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.25rem, 1.6vw, 1.8rem);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-decoration: none;
}

.logo span,
.nav-dot {
    color: var(--gold);
}

nav {
    display: flex;
    align-items: center;
    gap: clamp(32px, 4vw, 72px);
}

nav a {
    position: relative;
    padding-bottom: 17px;
    color: rgba(244, 239, 229, 0.82);
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1rem, 1.25vw, 1.35rem);
    text-decoration: none;
    transition: color 0.25s ease;
}

nav a:hover,
nav a.active {
    color: var(--gold);
}

nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--gold);
}

/* ===============================
   Zone principale
================================ */

.hero {
    position: relative;
    width: min(1250px, 90vw);
    min-height: calc(100vh - 110px);
    margin: 0 auto;
    font-family: "Cormorant Garamond", serif;
}

h1 {
    position: absolute;
    top: 28%;
    left: 12%;
    z-index: 3;
    font-size: clamp(7rem, 16vw, 15rem);
    font-weight: 400;
    line-height: 0.85;
    letter-spacing: -0.055em;
    white-space: nowrap;
}

h1 span {
    color: var(--gold);
}

.salut-line {
    position: absolute;
    top: 20%;
    left: 16%;
    display: flex;
    align-items: center;
    width: 48%;
    gap: 22px;
    color: var(--gold);
    font-size: clamp(1.5rem, 2.1vw, 2.4rem);
    letter-spacing: 0.45em;
}

.salut-line .line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--cream), rgba(244, 239, 229, 0.2));
}

.diamond {
    color: var(--cream);
    font-size: 1rem;
    transform: translateX(-7px);
}

.hello {
    position: absolute;
    top: 15%;
    right: 10%;
    color: var(--gold);
    font-family: "Montserrat", sans-serif;
    font-size: clamp(3.6rem, 7vw, 7.2rem);
    font-weight: 300;
    letter-spacing: -0.07em;
}

.hola {
    position: absolute;
    top: 52%;
    left: 9%;
    color: rgba(244, 239, 229, 0.58);
    font-size: clamp(4rem, 7vw, 7.5rem);
    font-weight: 300;
}

.ciao {
    position: absolute;
    top: 52%;
    right: 20%;
    color: var(--gold);
    font-size: clamp(4.5rem, 7vw, 7.7rem);
    font-style: italic;
}

.signature-line {
    position: absolute;
    left: 10%;
    top: 96%;
    width: 120%;
    height: 26px;
    border-top: 3px solid var(--gold);
    border-radius: 50%;
    transform: rotate(-4deg);
}

.russian {
    position: absolute;
    left: 13%;
    bottom: 17%;
    color: var(--gold);
    font-size: clamp(3.5rem, 6vw, 6.7rem);
}

.arabic {
    position: absolute;
    right: 26%;
    bottom: 16%;
    color: var(--cream);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 5vw, 5.5rem);
}

.japanese {
    position: absolute;
    top: 21%;
    left: 1%;
    color: var(--gold);
    font-family: serif;
    font-size: clamp(1.6rem, 2vw, 2.2rem);
    line-height: 1.55;
    writing-mode: vertical-rl;
}

.chinese {
    position: absolute;
    top: 47%;
    right: 1%;
    color: var(--gold);
    font-family: serif;
    font-size: clamp(2rem, 2.7vw, 3rem);
    line-height: 1.55;
    writing-mode: vertical-rl;
}

.vertical-line {
    position: absolute;
    width: 1px;
    height: 165px;
    background: var(--line);
}

.vertical-line::before,
.vertical-line::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cream);
    transform: translateX(-50%);
}

.vertical-line::before {
    top: 0;
}

.vertical-line::after {
    bottom: 0;
}

.left-line {
    left: 2%;
    top: 50%;
}

.right-line {
    right: 3%;
    top: 60%;
}

.hallo-row {
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    color: rgba(244, 239, 229, 0.72);
}

.hallo-row .line {
    width: min(20vw, 230px);
    height: 1px;
    background: var(--line);
}

.hallo {
    font-size: clamp(2.1rem, 3.4vw, 3.8rem);
    letter-spacing: 0.5em;
    white-space: nowrap;
}

.small-diamond {
    font-size: 0.65rem;
    opacity: 0.7;
}

/* ===============================
   Adaptation tablette
================================ */

@media (max-width: 900px) {
    .topbar {
        padding-top: 28px;
    }

    nav {
        gap: 24px;
    }

    .hero {
        min-height: 800px;
    }

    h1 {
        top: 31%;
        left: 8%;
        font-size: clamp(6.5rem, 19vw, 10rem);
    }

    .salut-line {
        top: 24%;
        left: 12%;
        width: 60%;
    }

    .hello {
        top: 17%;
        right: 4%;
    }

    .hola {
        left: 6%;
        top: 53%;
    }

    .ciao {
        right: 8%;
        top: 56%;
    }

    .arabic {
        right: 18%;
    }

    .russian {
        left: 8%;
    }
}

/* ===============================
   Adaptation mobile
================================ */

@media (max-width: 650px) {
    body {
        overflow-y: auto;
    }

    .topbar {
        align-items: flex-start;
        padding: 24px 20px 0;
    }

    nav {
        display: none;
    }

    .hero {
        width: 100%;
        min-height: 870px;
        padding: 0 20px;
    }

    h1 {
        top: 25%;
        left: 50%;
        max-width: 92vw;
        font-size: clamp(5.2rem, 24vw, 8rem);
        transform: translateX(-50%);
    }

    .salut-line {
        top: 18%;
        left: 18%;
        width: 68%;
        gap: 12px;
        font-size: 1.2rem;
        letter-spacing: 0.3em;
    }

    .hello {
        top: 8%;
        right: 7%;
        font-size: 3.2rem;
    }

    .hola {
        top: 42%;
        left: 12%;
        font-size: 4.5rem;
    }

    .ciao {
        top: 52%;
        right: 8%;
        font-size: 4.6rem;
    }

    .russian {
        left: 10%;
        bottom: 22%;
        font-size: 3.2rem;
    }

    .arabic {
        right: 10%;
        bottom: 14%;
        font-size: 3rem;
    }

    .japanese {
        top: 45%;
        left: 3%;
    }

    .chinese {
        top: 63%;
        right: 2%;
    }

    .left-line {
        display: none;
    }

    .right-line {
        right: 6%;
        top: 69%;
        height: 115px;
    }

    .hallo-row {
        left: 5%;
        right: 5%;
        bottom: 4%;
        gap: 12px;
    }

    .hallo-row .line {
        width: 18vw;
    }

    .hallo {
        font-size: 1.55rem;
        letter-spacing: 0.33em;
    }
}
