:root {
    /* 🎨 Couleurs principales */
    --color-primary: #D96C1F;       /* orange principal */
    --color-primary-dark: #A94E14;  /* orange profond (hover) */

    /* 🌿 Fonds */
    --color-background: #F4E8DC;    /* beige sable */
    --color-background-dark: #1A1412; /* noir chaud */

    /* ✍️ Texte */
    --color-text: #2E1F1A;          /* brun chocolat */
    --color-text-light: #FFFFFF;    /* texte clair */

    /* ✨ Accents */
    --color-accent: #C8A96A;        /* or doux */

    /* 🧘 États UI */
    --color-border: rgba(46, 31, 26, 0.1);
    --color-shadow: rgba(0, 0, 0, 0.2);

    /* 🌅 Overlays (utile pour hero) */
    --overlay-dark: rgba(0, 0, 0, 0.5);
    --overlay-warm: rgba(217, 108, 31, 0.2);
}

html, body {
    width: 100vw;
    height: 100vh;
    background: var(--color-background);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

    color: var(--color-text);
    font-family: Nunito, Helvetica, Arial, sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

header, section, footer {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.anchor {
    width: 0;
    height: 0;
    position: relative;
    scroll-margin-top:10em;
}

header {
    position: fixed;
    z-index: 2;
    width: 100vw;
    background: var(--color-background);
    padding: 1em 0 .5em 0;
}

.title-block {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

header h1.title {
    color: var(--color-primary);
    font-size: 4em;
    text-align: center;
    font-family: Charm, cursive;
    font-weight: 400;
    font-style: normal;
    line-height: 1em;
}

header h2.subtitle {
    color: var(--color-text);
    font-size: 2em;
    text-align: center;
    font-family: Tangerine, cursive;
    font-weight: 700;
    font-style: normal;
    padding-bottom: 1em;
}

header nav {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

header nav a, header nav .lang-switch {
    text-wrap: nowrap;
    margin: .5em 1em;
    text-decoration: none;
    color: var(--color-text)
}

.lang-switch {
    position: relative;
    display: inline-block;
}

.lang-switch select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-color: var(--color-background-dark);
    color: var(--color-text-light);

    padding: .3em 2em .3em 1em;
    border-radius: 2em;
    font-size: .8em;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

/* Flèche custom */
.lang-switch::after {
    content: "▾";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);

    color: var(--color-accent);
    pointer-events: none;
    font-size: 12px;
}

.lang-switch option {
    background: var(--color-background-dark);
    color: var(--color-text-light);
}

.hero {
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('/assets/img/hero-bg.webp');
    background-size: cover;
    background-position: center;
}

.hero * {
    color: var(--color-text-light);
}

.hero .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2em 0;
    width: 100%;
    backdrop-filter: brightness(70%) blur(5px);
}

section {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    padding: 2em 1em;
}

section .section-title {
    font-size: 2em;
    margin-bottom: .5em;
}

section .section-subtitle {
    font-style: italic;
    margin-bottom: 2em;
    font-size: 1em;
}

section .section-text {
    font-size: 1em;
    margin-bottom: 1em;
    max-width: 100ch;
    line-height: 2em;
}

section .call-to-action {
    display: block;
    padding: .8em 1.5em;
    background: var(--color-primary);
    color: var(--color-text-light);
    text-decoration: none;
    border-radius: .5em;
}

.illustration {
    width: 100vw;
    max-height: 50vh;
    object-fit: cover;
}

#map {
    min-height: 600px;
    max-width: 100vw;
    overflow: hidden;
    z-index: 0;
}

footer {
    text-align: center;
    padding: 5em 1em;
}
