/* ==========================================================================
   Styl'Home — feuille de style globale (cadre du site)
   Les sections de contenu (« embeds ») embarquent leur propre CSS ;
   ce fichier gère l'ossature : en-tête, navigation, héros, boutons, pied.
   ========================================================================== */

:root {
    --sh-or: #b8956a;          /* doré de la marque   */
    --sh-or-fonce: #a07f56;
    --sh-nuit: #06182b;        /* bleu nuit profond   */
    --sh-creme: #fbf8f3;
    --sh-texte: #1d1e20;
    --sh-max: 1268px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    color: var(--sh-texte);
    background: #ffffff;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* --------------------------------------------------------------- En-tête -- */
.sh-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid #ececec;
}
.sh-header-inner {
    max-width: var(--sh-max);
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.sh-logo { display: inline-flex; align-items: center; }
.sh-logo img { height: 52px; width: auto; }

.sh-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}
.sh-nav a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--sh-texte);
    transition: color 0.2s ease;
}
.sh-nav a:hover { color: var(--sh-or); }
.sh-nav a.actif { color: var(--sh-or); }
.sh-nav .sh-nav-cta {
    background: var(--sh-or);
    color: #fff;
    padding: 10px 18px;
    border-radius: 3px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12.5px;
    letter-spacing: 0.04em;
}
.sh-nav .sh-nav-cta:hover { background: var(--sh-nuit); color: #fff; }

/* Bouton hamburger (mobile) */
.sh-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
}
.sh-burger span {
    display: block;
    height: 2px;
    width: 24px;
    margin: 0 auto;
    background: var(--sh-texte);
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.sh-burger.ouvert span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sh-burger.ouvert span:nth-child(2) { opacity: 0; }
.sh-burger.ouvert span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------- Contenu -- */
.sh-main { display: block; }

/* Section « héros » : image de fond + voile sombre + contenu superposé */
.sh-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    min-height: 60vh;
    overflow: hidden;
}
.sh-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6,24,43,0.45) 0%, rgba(6,24,43,0.62) 100%);
    z-index: 0;
}
.sh-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 48px 0;
}

/* Section « classique » : l'embed peint son propre fond */
.sh-plain { position: relative; }

/* Rangée de boutons */
.sh-btnrow {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
}
.sh-plain .sh-btnrow {
    justify-content: center;
    padding: 0 24px 56px;
}
/* Dans un héros, les boutons s'alignent sous le texte (même gabarit) */
.sh-hero .sh-btnrow {
    max-width: var(--sh-max);
    margin: -6px auto 0;
    padding: 0 76px;
    justify-content: flex-start;
}

.sh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    background: var(--sh-or);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 3px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.22s ease, color 0.22s ease;
}
.sh-btn:hover { background: var(--sh-nuit); color: #fff; }
.sh-btn-secondary {
    background: transparent;
    border-color: #fff;
    color: #fff;
}
.sh-btn-secondary:hover { background: #fff; color: var(--sh-nuit); }

/* --------------------------------------------------------------- Pied ----- */
/* Le contenu du pied provient d'un « embed » avec son propre style ;
   on ajuste seulement quelques détails d'intégration. */
.sh-footer-wrap { background: var(--sh-nuit); }

/* -------------------------------------------------------- Responsive ------ */
@media (max-width: 900px) {
    .sh-burger { display: flex; }
    .sh-nav {
        position: fixed;
        top: 73px;
        right: 0;
        left: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid #ececec;
        padding: 8px 24px 20px;
        transform: translateY(-140%);
        transition: transform 0.3s ease;
        box-shadow: 0 14px 24px rgba(0,0,0,0.08);
    }
    .sh-nav.ouvert { transform: translateY(0); }
    .sh-nav a { width: 100%; padding: 13px 0; border-bottom: 1px solid #f1f1f1; }
    .sh-nav .sh-nav-cta {
        margin-top: 12px;
        width: 100%;
        text-align: center;
        border-bottom: none;
    }
    .sh-hero .sh-btnrow { padding: 0 24px; }
}

@media (max-width: 560px) {
    .sh-btnrow { flex-direction: column; }
    .sh-btn { width: 100%; }
    .sh-hero { min-height: 52vh; }
}
