/* ==========================================================
   1. RESET & COULEURS
   ========================================================== */
:root { --gold: #c9a24d; --burgundy: #3a1012; }

/* Liens par défaut */
html body a { color: #3a1012; text-decoration: none; }
html body a:hover { color: #c9a24d; }

/* CORPS DE TEXTE */
body, p, li {
    font-family: "Inter", sans-serif;
    color: #7A7A7A;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Titres en Serif (Playfair Display) */
h1, h2, h3 { font-family: "Playfair Display", serif; color: #7A7A7A; }
h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); }

/* ==========================================================
   2. HEADER BUREAU (> 841px)
   ========================================================== */
@media (min-width: 841px) {
    #header {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        position: fixed; top: 0; width: 100%; z-index: 1000;
    }

    /* MENU BUREAU */
    html body #header .navbar a,
    html body #header .navbar a:visited {
        color: #3a3a3a !important;
        font-family: "Inter", sans-serif !important;
        font-weight: 200 !important;
        font-size: 0.75rem;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        line-height: 1.5 !important;
        display: inline-block;
    }

    html body #header .navbar a.active,
    html body #header .navbar a:hover { color: #c9a24d !important; }

    /* LANGUES BUREAU */
    html body .langswitcher {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        margin-left: 20px !important;
        list-style: none !important;
        padding: 0 !important;
        transform: translateY(-13px) !important;
        margin-top: 0 !important;
    }

    html body .langswitcher li {
        display: inline-flex !important;
        align-items: center !important;
        margin: 0 !important;
    }

    html body .langswitcher a {
        color: #555 !important;
        font-family: "Inter", sans-serif !important;
        font-size: 0.7rem !important;
        letter-spacing: 0.15em;
        display: inline-block !important;
        padding: 0 5px;
        font-weight: 400 !important;
        line-height: 1 !important;
        text-decoration: none !important;
        border: none !important;
    }

    html body .langswitcher a:hover { color: #c9a24d !important; }

    html body .langswitcher li:not(:last-child)::after {
        content: "/" !important;
        margin-left: 2px !important;
        margin-right: 2px !important;
        color: #aaa !important;
        display: inline-block !important;
        font-size: 0.7rem !important;
        line-height: 1 !important;
    }
}

/* ==========================================================
   3. MENU MOBILE (< 840px)
   ========================================================== */
@media (max-width: 840px) {
    /* FOND NOIR */
    html body #overlay {
        background: rgba(15, 15, 15, 0.99) !important;
        position: fixed !important;
        top: 0 !important; left: 0 !important;
        width: 100vw !important; height: 100vh !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        padding-top: 100px !important;
        align-items: center !important;
        z-index: 10000 !important;
    }

    .mobile-logo { margin-bottom: 30px !important; flex: 0 0 auto; }
    .overlay-menu { width: 100%; text-align: center; flex: 0 0 auto; position: relative; z-index: 10002; }

    html body #overlay .overlay-menu a,
    html body #overlay .overlay-menu a:visited {
        font-family: "Inter", sans-serif !important;
        font-weight: 200 !important;
        font-size: 1.6rem !important;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        color: #ffffff !important;
        text-decoration: none !important;
        display: block;
        padding: 15px 0;
        border: none !important;
    }

    html body #overlay .overlay-menu a.active,
    html body #overlay .overlay-menu a:hover { color: #c9a24d !important; }

    /* LANGUES MOBILE */
    html body .mobile-container .mobile-langswitcher {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: absolute !important;
        bottom: 30% !important;
        left: 0 !important;
        width: 100% !important;
        justify-content: center !important;
        align-items: center !important;
        z-index: 20000 !important;
        height: auto !important;
        background: transparent !important;
        pointer-events: auto !important;
    }

    html body .mobile-container .mobile-langswitcher .langswitcher,
    html body .mobile-container .mobile-langswitcher ul {
        display: flex !important;
        flex-direction: row !important;
        gap: 20px !important;
        padding: 0 !important; margin: 0 !important;
        list-style: none !important;
    }

    html body .mobile-container .mobile-langswitcher li { display: block !important; visibility: visible !important; }

    html body .mobile-container .mobile-langswitcher a {
        display: block !important;
        visibility: visible !important;
        font-family: "Inter", sans-serif !important;
        font-weight: 200 !important;
        font-size: 13px !important;
        letter-spacing: 0.1em;
        color: #ffffff !important;
        text-transform: uppercase;
        border: 1px solid rgba(255,255,255,0.4) !important;
        padding: 10px 30px !important;
        border-radius: 50px;
        text-decoration: none !important;
    }

    html body .mobile-container .mobile-langswitcher a.active {
        color: #c9a24d !important;
        border-color: #c9a24d !important;
        background: rgba(201, 162, 77, 0.15);
    }

    html body .mobile-container .langswitcher li::after { display: none !important; }
    .mobile-menu .button_container span { background: #c9a24d !important; }
}

/* ==========================================================
   4. HERO & DIVERS (AVEC CORRECTIF DÉGRADÉ)
   ========================================================== */
.hero-editorial {
  width: 100%;
  min-height: 65vh !important;
  background-size: cover;
  background-position: center 35% !important;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4rem;

  /* --- CORRECTIF CRUCIAL --- */
  position: relative !important; /* Le parent doit être relatif... */
  overflow: hidden !important;   /* ...pour couper le dégradé qui dépasse */
}

/* ADAPTATION ÉCRANS LARGES (WIDE) */
@media (min-width: 1600px) {
    .hero-editorial {
        min-height: 85vh !important;
        background-position: center 30% !important;
    }
}

.hero-content h1 { color: #7A7A7A; margin-bottom: 0.5rem; }
.hero-subtitle { color: #7A7A7A; text-transform: uppercase; letter-spacing: 0.3em; }
#body-wrapper { padding-top: 0; }

/* ==========================================================
   5. FINITIONS HYPER LUXE
   ========================================================== */
/* Transition douce */
a, .navbar a, .langswitcher a { transition: color 0.4s ease-out !important; }

/* Espace sous le héros */
#start { padding-top: 80px !important; }

/* DÉGRADÉ BLANC EN BAS DE L'IMAGE UNIQUEMENT */
.hero-editorial::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    /* Dégradé blanc vers transparent pour fondre l'image */
    background: linear-gradient(to top, rgba(255,255,255,1), transparent);
    z-index: 1;
    pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }

/* ==========================================================
   DEBUT CSS construction page
   ========================================================== */
.section {
  padding: 8rem 0;
}

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
}

h1, h2 {
  letter-spacing: 0.04em;
}

p {
  max-width: 520px;
  line-height: 1.7;
}

.portrait-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}
