/* =====================================================================
   PAGE DE PRÉSENTATION (index.php, visiteurs non connectés)
   Identité visuelle : fond vert-noir #0d1a0f, or #c8a84a,
   Bebas Neue (titres) + DM Sans (texte).
   Contrastes : les textes courants utilisent --texte-doux / --texte-moyen
   (au moins 4.5:1 sur le fond, norme WCAG AA).
   ===================================================================== */

/* Polices hébergées sur le site (licence SIL OFL, voir assets/fonts/OFL-*.txt) */
@font-face {
    font-family: 'Bebas Neue';
    src: url('/assets/fonts/bebas-neue.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DM Sans';
    src: url('/assets/fonts/dm-sans.woff2') format('woff2');
    font-weight: 100 1000;   /* police variable : toutes les graisses dans un seul fichier */
    font-style: normal;
    font-display: swap;
}

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

:root {
    --gold: #c8a84a;
    --gold-hover: #d8b85a;
    --gold-dim: rgba(200,168,74,0.12);
    --gold-border: rgba(200,168,74,0.22);
    --bg-deep: #080f09;
    --bg-main: #0d1a0f;
    --bg-alt: #0a150b;
    --text: #f0ece0;
    --texte-doux: #c5cdbc;   /* sous-titres, paragraphes (≈ 11:1) */
    --texte-moyen: #a3b09a;  /* petits textes, libellés (≈ 7:1) */
}

html { scroll-behavior: smooth; background: var(--bg-main); }

body {
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
    background: var(--bg-main);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
}

a { color: var(--gold); }
img { max-width: 100%; }

/* Focus clavier visible partout */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ===== EN-TÊTE ===== */
.lp-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 48px;
    background: rgba(8,15,9,0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 0.5px solid var(--gold-border);
}
.lp-nav-logo { display: flex; flex-shrink: 0; }
.lp-nav-logo img { height: 34px; width: auto; display: block; }
.lp-nav-btns { display: flex; gap: 10px; }

.btn-lp-login,
.btn-lp-cta {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: .87rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s, border-color .2s;
    font-family: inherit;
    white-space: nowrap;
}
.btn-lp-login {
    background: transparent;
    border: 1px solid rgba(200,168,74,0.45);
    color: var(--gold);
}
.btn-lp-login:hover { background: var(--gold-dim); }
.btn-lp-cta {
    background: var(--gold);
    border: 1px solid var(--gold);
    color: var(--bg-deep);
}
.btn-lp-cta:hover { background: var(--gold-hover); }

/* ===== BLOC D'ACCUEIL (HERO) ===== */
.lp-hero-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 62px;
    position: relative;
    overflow: hidden;
}
.hero-bg-fx {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 55% 70% at 75% 50%, rgba(160,120,30,0.08) 0%, transparent 65%),
        radial-gradient(ellipse 35% 50% at 15% 80%, rgba(20,60,20,0.15) 0%, transparent 55%);
}
.hero-grid-fx {
    position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(200,168,74,0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(200,168,74,0.03) 1px, transparent 1px);
    background-size: 52px 52px;
}
.lp-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 48px;
    width: 100%;
    position: relative;
    z-index: 2;
}
.lp-hero-content { display: flex; flex-direction: column; justify-content: center; }

.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .74rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(200,168,74,0.08);
    border: 1px solid rgba(200,168,74,0.3);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 26px;
    width: fit-content;
}
.eyebrow-dot {
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: clignote 2s infinite;
}
@keyframes clignote { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

.lp-hero-content h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    font-weight: 400;
    line-height: 0.93;
    color: var(--text);
    letter-spacing: 0.01em;
}
.lp-hero-content h1 em { font-style: normal; color: var(--gold); }

.lp-hero-sub {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--texte-doux);
    margin: 22px 0 12px;
    max-width: 460px;
}
.lp-hero-promesse {
    font-size: .95rem;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 30px;
    letter-spacing: 0.02em;
}

.lp-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-hero-main {
    padding: 13px 28px;
    background: var(--gold);
    border: none;
    color: var(--bg-deep);
    border-radius: 6px;
    font-size: .95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s;
    font-family: inherit;
}
.btn-hero-main:hover { background: var(--gold-hover); }

.btn-hero-ghost {
    padding: 13px 22px;
    background: transparent;
    border: 1px solid rgba(240,236,224,0.3);
    color: var(--texte-doux);
    border-radius: 6px;
    font-size: .95rem;
    cursor: pointer;
    transition: border-color .2s, color .2s;
    font-family: inherit;
}
.btn-hero-ghost:hover { border-color: rgba(240,236,224,0.55); color: var(--text); }

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 26px;
    border-top: 1px solid rgba(200,168,74,0.14);
    list-style: none;
}
.hstat-val {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    color: var(--gold);
    line-height: 1;
}
.hstat-lbl {
    font-size: .72rem;
    color: var(--texte-moyen);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 3px;
}

/* ===== MAQUETTES (fausses captures d'écran) ===== */
.lp-hero-visual { display: flex; align-items: center; justify-content: center; }
.screen-perspective {
    width: 100%;
    max-width: 500px;
    transform: perspective(900px) rotateY(-8deg) rotateX(3deg);
}
.screen-perspective.gauche { transform: perspective(900px) rotateY(8deg) rotateX(3deg); }

.lp-screen-wrap {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--gold-border);
    box-shadow: 0 32px 80px rgba(0,0,0,0.6);
    background: #0f1e10;
}
.screen-bar {
    background: #091209;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(200,168,74,0.1);
}
.sdot { width: 8px; height: 8px; border-radius: 50%; }
.sdot-r { background: #5a2020; } .sdot-y { background: #5a4a18; } .sdot-g { background: #1d4a1d; }
.screen-url {
    flex: 1;
    background: rgba(200,168,74,0.06);
    border-radius: 4px;
    padding: 3px 8px;
    font-size: .62rem;
    color: var(--texte-moyen);
    text-align: center;
}
.screen-body { display: flex; min-height: 290px; }
.screen-sidebar {
    width: 104px;
    background: #091209;
    border-right: 1px solid rgba(200,168,74,0.08);
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
}
.sb-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: #1a2a1a;
    margin: 0 auto 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    border: 1px solid rgba(200,168,74,0.25);
}
.sb-item {
    padding: 5px 10px;
    font-size: .58rem;
    color: var(--texte-moyen);
    display: flex; align-items: center; gap: 5px;
    white-space: nowrap;
}
.sb-item.active { background: rgba(200,168,74,0.12); color: var(--gold); }
.screen-content { flex: 1; min-width: 0; background: #0f1e10; }

.content-banner {
    height: 74px;
    background: linear-gradient(135deg, #1f3320 0%, #3a2a10 60%, #1a1008 100%);
    display: flex; align-items: flex-end;
    padding: 8px 10px;
}
.banner-lbl   { font-size: .66rem; color: var(--text); font-weight: 500; }
.banner-count { font-size: .6rem; color: var(--gold); margin-left: auto; }

.fav-search {
    margin: 8px 8px 0;
    padding: 5px 8px;
    border-radius: 5px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(200,168,74,0.18);
    font-size: .58rem;
    color: var(--texte-doux);
}
.fav-tabs-mini { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px 8px 4px; }
.fav-tab-mini {
    padding: 2px 7px; border-radius: 4px;
    font-size: .54rem; color: var(--texte-moyen);
    background: rgba(200,168,74,0.05);
    border: 1px solid rgba(200,168,74,0.1);
    white-space: nowrap;
}
.fav-tab-mini.active { background: rgba(200,168,74,0.14); color: var(--gold); border-color: rgba(200,168,74,0.32); }
.fav-grid-mini {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px; padding: 6px 8px 10px;
}
.fgm-item {
    background: rgba(200,168,74,0.05);
    border: 1px solid rgba(200,168,74,0.1);
    border-radius: 5px; padding: 7px 2px; text-align: center;
}
.fgm-item.hi { background: rgba(200,168,74,0.14); border-color: rgba(200,168,74,0.35); }
.fgm-icon { font-size: .9rem; line-height: 1.2; }
.fgm-lbl  { font-size: .5rem; color: var(--texte-doux); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 2px; }
.fgm-item.hi .fgm-lbl { color: var(--gold); }

/* ===== SÉPARATEUR ===== */
.lp-sep {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200,168,74,0.16), transparent);
}

/* ===== SECTIONS COMMUNES ===== */
.lp-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 84px 48px;
}
.fond-alt  { background: var(--bg-alt); }
.fond-deep { background: var(--bg-deep); }

.sect-eyebrow {
    font-size: .74rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}
.lp-section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 10px;
    letter-spacing: 0.01em;
    line-height: 1;
}
.lp-section-sub {
    color: var(--texte-doux);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 44px;
}
.centre { text-align: center; }
.centre .lp-section-sub { max-width: 620px; margin-left: auto; margin-right: auto; }

/* Ligne en deux colonnes : texte + maquette */
.lp-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.lp-duo-texte .lp-section-sub { margin-bottom: 24px; max-width: 480px; }

.mod-pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.pill {
    background: rgba(200,168,74,0.07);
    border: 1px solid rgba(200,168,74,0.25);
    border-radius: 20px;
    padding: 5px 13px;
    font-size: .8rem;
    color: var(--texte-doux);
}

/* ===== PERSONNALISATION ===== */
.perso-maquette .screen-body { display: block; min-height: 0; padding: 12px; }
.perso-entete {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 10px;
}
.perso-titre { font-size: .66rem; color: var(--texte-doux); letter-spacing: .08em; text-transform: uppercase; }
.perso-bouton {
    font-size: .58rem; color: var(--gold);
    border: 1px solid rgba(200,168,74,0.4);
    border-radius: 5px; padding: 3px 8px;
}
.perso-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.perso-tuile {
    position: relative;
    background: rgba(255,255,255,0.05);
    border: 1px dashed rgba(200,168,74,0.35);
    border-radius: 7px;
    padding: 10px 4px 8px;
    text-align: center;
    font-size: .55rem;
    color: var(--texte-doux);
    transition: background .4s, border-color .4s;
}
.perso-tuile span { display: block; font-size: 1rem; margin-bottom: 3px; }
.perso-tuile::after {
    content: '⠿';
    position: absolute; top: 2px; right: 4px;
    font-size: .6rem; color: var(--texte-moyen);
}
.perso-tuile.deplacee {
    transform: rotate(-4deg) translateY(-3px);
    border-style: solid;
    border-color: var(--gold);
    box-shadow: 0 8px 18px rgba(0,0,0,0.45);
}
.perso-tuile.cachee { opacity: .35; }

/* Couleurs de la maquette selon le thème choisi (sélecteur juste en dessous) */
.perso-maquette { --theme-fond: #0f1e10; --theme-barre: #091209; }
.perso-maquette .screen-bar,
.perso-maquette .screen-body { transition: background .4s; }
.perso-maquette .screen-bar  { background: var(--theme-barre); }
.perso-maquette .screen-body { background: var(--theme-fond); }
.perso-maquette[data-theme="rouge"]  { --theme-fond: #2a0a0a; --theme-barre: #3a0808; }
.perso-maquette[data-theme="orage"]  { --theme-fond: #0a1020; --theme-barre: #08101a; }
.perso-maquette[data-theme="foret"]  { --theme-fond: #0c1f0c; --theme-barre: #0a1a0a; }
.perso-maquette[data-theme="ambre"]  { --theme-fond: #22170a; --theme-barre: #1a1208; }
.perso-maquette[data-theme="violet"] { --theme-fond: #1a0c2c; --theme-barre: #180a2a; }
.perso-maquette[data-theme="glace"]  { --theme-fond: #0a1c26; --theme-barre: #081820; }

/* Sélecteur de thèmes */
.ambiances-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-top: 44px;
}
.amb-card {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(200,168,74,0.14);
    transition: border-color .2s, transform .2s;
    cursor: pointer;
    background: none;
    padding: 0;
    font: inherit;
    color: inherit;
    text-align: left;
}
.amb-card:hover { border-color: rgba(200,168,74,0.4); transform: translateY(-3px); }
.amb-card[aria-pressed="true"] { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }

.amb-preview { height: 70px; display: flex; flex-direction: column; overflow: hidden; }
.amb-topbar { height: 16px; display: flex; align-items: center; padding: 0 6px; gap: 4px; flex-shrink: 0; }
.amb-dot2 { width: 5px; height: 5px; border-radius: 50%; }
.amb-body { flex: 1; display: flex; overflow: hidden; }
.amb-sb { width: 18px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; padding-top: 5px; gap: 4px; }
.amb-line { width: 10px; height: 2px; border-radius: 1px; background: rgba(255,255,255,0.14); }
.amb-cnt { flex: 1; padding: 6px; display: flex; flex-direction: column; gap: 5px; }
.amb-row  { height: 7px; border-radius: 2px; background: rgba(255,255,255,0.08); }
.amb-row2 { height: 7px; border-radius: 2px; background: rgba(255,255,255,0.05); width: 65%; }

.amb-rouge  .amb-topbar { background: #3a0808; } .amb-rouge  .amb-sb { background: rgba(70,8,8,0.5); }  .amb-rouge  .amb-cnt { background: #180404; } .amb-rouge  .amb-dot2 { background: #7a2020; }
.amb-orage  .amb-topbar { background: #08101a; } .amb-orage  .amb-sb { background: rgba(8,12,28,0.6); } .amb-orage  .amb-cnt { background: #050810; } .amb-orage  .amb-dot2 { background: #283a60; }
.amb-foret  .amb-topbar { background: #0a1a0a; } .amb-foret  .amb-sb { background: rgba(8,28,8,0.5); }  .amb-foret  .amb-cnt { background: #050e05; } .amb-foret  .amb-dot2 { background: #285a28; }
.amb-ambre  .amb-topbar { background: #1a1208; } .amb-ambre  .amb-sb { background: rgba(28,18,8,0.5); } .amb-ambre  .amb-cnt { background: #0e0a04; } .amb-ambre  .amb-dot2 { background: #6a4a18; }
.amb-violet .amb-topbar { background: #180a2a; } .amb-violet .amb-sb { background: rgba(22,8,38,0.5); } .amb-violet .amb-cnt { background: #0e0518; } .amb-violet .amb-dot2 { background: #5a2090; }
.amb-glace  .amb-topbar { background: #081820; } .amb-glace  .amb-sb { background: rgba(8,24,30,0.5); } .amb-glace  .amb-cnt { background: #050f15; } .amb-glace  .amb-dot2 { background: #206080; }

.amb-footer { display: block; padding: 10px 12px; background: var(--bg-deep); }
.amb-name { display: block; font-size: .82rem; font-weight: 500; color: var(--text); margin-bottom: 2px; }
.amb-desc { display: block; font-size: .74rem; color: var(--texte-moyen); }

/* ===== TOUS LES MODULES ===== */
/* Cartes en lignes centrées : la dernière ligne incomplète reste au milieu */
.lp-modules-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    list-style: none;
}
.lp-mod-card {
    flex: 0 0 calc((100% - 48px) / 4);
    background: var(--bg-deep);
    border: 1px solid rgba(200,168,74,0.14);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    transition: border-color .22s, transform .22s;
}
.lp-mod-card:hover { border-color: rgba(200,168,74,0.5); transform: translateY(-3px); }
.lp-mod-icon {
    width: 46px; height: 46px;
    background: var(--gold-dim);
    border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.4rem;
}
.lp-mod-card h3 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 1.35rem; color: var(--text); margin-bottom: 6px; letter-spacing: 0.02em; }
.lp-mod-card p  { font-size: .88rem; color: var(--texte-doux); line-height: 1.55; }

/* ===== L'ESPRIT REBEL DONKY ===== */
.lp-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    list-style: none;
}
.lp-feat-card {
    background: var(--bg-deep);
    border: 1px solid rgba(200,168,74,0.14);
    border-radius: 12px;
    padding: 28px 24px;
    text-align: left;
}
.lp-feat-emoji { font-size: 1.7rem; margin-bottom: 14px; }
.lp-feat-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.45rem;
    font-weight: 400;
    color: var(--gold);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}
.lp-feat-card p { font-size: .92rem; line-height: 1.65; color: var(--texte-doux); }
.esprit-phrase {
    max-width: 640px;
    margin: 36px auto 0;
    font-size: .98rem;
    line-height: 1.7;
    color: var(--texte-doux);
}

/* ===== QUI EST DERRIÈRE ===== */
.qui-bloc {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}
.qui-banana {
    width: 260px; height: 260px;
    object-fit: contain;
    filter: drop-shadow(0 18px 40px rgba(0,0,0,0.55));
}
.qui-texte p { font-size: 1rem; line-height: 1.75; color: var(--texte-doux); margin-bottom: 18px; }
.qui-texte .lp-section-sub { margin-bottom: 18px; }
.qui-lien {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px;
    border: 1px solid rgba(200,168,74,0.45);
    border-radius: 6px;
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    font-size: .92rem;
    transition: background .2s;
}
.qui-lien:hover { background: var(--gold-dim); }
.qui-slogan { margin-top: 18px; font-style: italic; color: var(--texte-moyen); font-size: .9rem; }

/* ===== FAQ (accordéon natif <details>) ===== */
.faq-liste { max-width: 760px; margin: 0 auto; text-align: left; }
.faq-item {
    border: 1px solid rgba(200,168,74,0.16);
    border-radius: 10px;
    background: var(--bg-deep);
    margin-bottom: 10px;
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 48px 16px 20px;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text);
    position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute; right: 20px; top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 1.3rem;
    transition: transform .2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item[open] summary { color: var(--gold); }
.faq-item p { padding: 0 20px 18px; color: var(--texte-doux); line-height: 1.7; font-size: .95rem; }

/* ===== APPEL FINAL ===== */
.lp-cta-final {
    text-align: center;
    padding: 90px 48px;
    background: var(--bg-main);
    position: relative;
    overflow: hidden;
}
.cta-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 520px; height: 260px;
    max-width: 100%;
    background: radial-gradient(ellipse, rgba(200,168,74,0.07) 0%, transparent 70%);
    pointer-events: none;
}
.lp-cta-final h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    font-weight: 400;
    line-height: 0.95;
    margin-bottom: 14px;
    letter-spacing: 0.01em;
    position: relative;
}
.lp-cta-final h2 span { color: var(--gold); }
.lp-cta-final p { color: var(--texte-doux); margin-bottom: 32px; font-size: 1rem; position: relative; }
.lp-cta-final .btn-hero-main { font-size: 1rem; padding: 14px 38px; position: relative; }
.cta-login-link { margin: 16px 0 0 !important; font-size: .88rem !important; color: var(--texte-moyen) !important; }
.lien-bouton {
    background: none; border: none; padding: 0;
    color: var(--gold); font: inherit; cursor: pointer;
    text-decoration: underline; text-underline-offset: 3px;
}

/* ===== FOOTER (includes/pied_de_page.php, le même que l'espace membre) =====
   L'espace membre le stylise dans assets/css/style.css, que cette page ne charge pas :
   on reprend les mêmes réglages, sans le « collé en bas de l'écran ». */
.site-footer {
    background: rgba(8,15,9,0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(200,168,74,0.14);
    padding: 14px 30px;
    /* Toujours visible en bas de l'écran (comme dans l'espace membre) : le contenu défile derrière.
       « sticky » et non « fixed » : le pied de page reste dans le flux, il ne cache jamais la fin de la page. */
    position: sticky;
    bottom: 0;
    z-index: 90;   /* sous l'en-tête (200) et les fenêtres (999) */
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-copy { color: var(--texte-moyen); font-size: .82rem; }
.footer-links { display: flex; gap: 6px 20px; flex-wrap: wrap; }
.footer-links a { color: var(--texte-moyen); text-decoration: none; font-size: .82rem; transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
/* Pages légales chargées dans la fenêtre du footer */
.legal-modal-body { max-width: 860px; margin: 40px auto 0; color: var(--text); line-height: 1.65; }
.legal-modal-body h1, .legal-modal-body h2, .legal-modal-body h3 { color: var(--gold); margin: 22px 0 10px; }
.legal-modal-body p, .legal-modal-body li { margin-bottom: 8px; }

/* ===== FENÊTRES CONNEXION / INSCRIPTION ===== */
.lp-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.72);
    z-index: 999;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.lp-modal {
    display: none;
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    z-index: 1000;
    background: rgba(6,10,7,0.99);
    border: 1px solid rgba(200,168,74,0.25);
    border-radius: 14px;
    padding: 36px 40px;
    width: 420px;
    max-width: 95vw;
    box-shadow: 0 36px 90px rgba(0,0,0,0.8);
}
.lp-modal-close {
    position: absolute; top: 14px; right: 16px;
    background: none; border: none;
    color: rgba(255,255,255,0.55);
    font-size: 1rem; cursor: pointer;
    padding: 4px;
    transition: color .15s;
}
.lp-modal-close:hover { color: #fff; }
.lp-modal-logo { text-align: center; margin-bottom: 22px; }
.lp-modal-logo img { height: 36px; width: auto; }
.lp-modal h3 {
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 22px;
    letter-spacing: 0.02em;
}
.lp-field { position: relative; margin-bottom: 12px; }
.lp-field input {
    width: 100%;
    padding: 11px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 6px;
    color: rgba(255,255,255,0.92);
    font-size: .92rem;
    outline: none;
    transition: border-color .2s;
    font-family: inherit;
}
.lp-field input:focus { border-color: rgba(200,168,74,0.6); }
.lp-field input::placeholder { color: rgba(255,255,255,0.5); }
.lp-eye-btn {
    position: absolute; right: 10px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none;
    cursor: pointer; font-size: .9rem;
    padding: 4px;
}
.btn-modal-ok {
    width: 100%; padding: 12px;
    background: var(--gold);
    border: none;
    color: var(--bg-deep);
    border-radius: 6px;
    font-size: .92rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 6px;
    transition: background .2s;
    font-family: inherit;
}
.btn-modal-ok:hover    { background: var(--gold-hover); }
.btn-modal-ok:disabled { opacity: .5; cursor: default; }
.lp-modal-err {
    background: rgba(200,50,50,0.12);
    border: 1px solid rgba(200,50,50,0.3);
    color: #ff9f9f;
    padding: 9px 13px;
    border-radius: 6px;
    font-size: .84rem;
    margin-bottom: 12px;
    display: none;
}
.lp-modal-switch {
    text-align: center;
    margin-top: 18px;
    font-size: .84rem;
    color: var(--texte-moyen);
}
.lp-modal-switch a { color: var(--gold); cursor: pointer; }
.lp-modal-switch a:hover { text-decoration: underline; }
.lp-remember { margin-bottom: 8px; font-size: .84rem; color: var(--texte-doux); }
.lp-remember label { display: flex; align-items: center; gap: 7px; cursor: pointer; }
.lp-remember input[type="checkbox"] { accent-color: var(--gold); width: 15px; height: 15px; cursor: pointer; }
.lp-forgot { text-align: right; margin-top: -4px; margin-bottom: 14px; font-size: .82rem; }
.lp-forgot a { color: var(--gold); text-decoration: none; }
.lp-forgot a:hover { text-decoration: underline; }

/* ===== APPARITION DOUCE AU DÉFILEMENT =====
   La classe .apparait n'est posée que si le JS tourne et que le visiteur
   n'a pas demandé à réduire les animations : sans JS, tout reste visible. */
.anime .apparait { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.anime .apparait.visible { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
    .ambiances-grid { grid-template-columns: repeat(3, 1fr); }
    .lp-mod-card { flex-basis: calc((100% - 32px) / 3); }
}
@media (max-width: 760px) {
    .lp-mod-card { flex-basis: calc((100% - 16px) / 2); }
}
@media (max-width: 960px) {
    .lp-nav { padding: 12px 20px; }
    .lp-hero { grid-template-columns: 1fr; padding: 60px 24px 50px; text-align: center; gap: 44px; }
    .lp-hero-content { align-items: center; }
    .lp-hero-sub { max-width: 560px; }
    .lp-hero-btns { justify-content: center; }
    .hero-stats { justify-content: center; }
    .screen-perspective,
    .screen-perspective.gauche { transform: none; max-width: 500px; margin: 0 auto; }
    .lp-section { padding: 60px 24px; }
    .lp-duo { grid-template-columns: 1fr; gap: 36px; }
    .lp-duo-texte { text-align: center; }
    .lp-duo-texte .lp-section-sub { margin-left: auto; margin-right: auto; }
    .lp-duo-texte .mod-pills { justify-content: center; }
    .lp-duo.inverse .lp-duo-visuel { order: 2; }
    .lp-features-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .qui-bloc { grid-template-columns: 1fr; gap: 20px; text-align: center; }
    .qui-banana { width: 200px; height: 200px; margin: 0 auto; display: block; }
    .lp-cta-final { padding: 64px 24px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
}
@media (max-width: 600px) {
    .lp-nav { padding: 10px 12px; gap: 8px; }
    .lp-nav-logo img { height: 24px; }
    .lp-nav-btns { gap: 6px; }
    .btn-lp-login, .btn-lp-cta { padding: 7px 10px; font-size: .78rem; }
    .lp-hero-wrap { min-height: 0; }
    .lp-hero { padding: 44px 16px 40px; }
    .lp-hero-content h1 { font-size: 3.4rem; }
    .lp-hero-sub { font-size: 1rem; }
    .lp-hero-btns { flex-direction: column; width: 100%; }
    .lp-hero-btns button { width: 100%; }
    .hero-stats { gap: 22px; }
    .lp-section { padding: 52px 16px; }
    .lp-section-title { font-size: 2.3rem; }
    .lp-cta-final h2 { font-size: 3rem; }
    .lp-cta-final { padding: 56px 16px; }
    .ambiances-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-mod-card { flex-basis: 100%; }
    .screen-sidebar { width: 78px; }
    .sb-item { font-size: .52rem; padding: 4px 7px; }
    .fav-grid-mini { grid-template-columns: repeat(4, 1fr); }
    /* Pied de page bloqué en bas : le plus fin possible (phrase « © 2026… » masquée, liens centrés sur 2 lignes) */
    .site-footer { padding: 6px 10px; }
    .footer-copy { display: none; }
    .footer-links { justify-content: center; gap: 2px 14px; width: 100%; }
    .footer-links a { font-size: .74rem; line-height: 1.5; }
    .lp-modal { top: auto; bottom: 0; left: 0; right: 0; transform: none; width: 100%; max-width: 100%; border-radius: 16px 16px 0 0; border-bottom: none; padding: 30px 22px; }
    .lp-modal::before { content: ''; display: block; width: 36px; height: 3px; background: rgba(255,255,255,0.18); border-radius: 2px; margin: 0 auto 20px; }
}
@media (max-width: 360px) {
    .btn-lp-cta { font-size: .74rem; padding: 7px 8px; }
    .lp-nav-logo img { height: 22px; }
}

/* ===== MOINS D'ANIMATIONS si le visiteur l'a demandé ===== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .amb-card:hover, .lp-mod-card:hover { transform: none; }
}

/* Badge Product Hunt (accueil public, sous le bouton final) */
.lp-badge-ph { margin: 26px 0 0 !important; text-align: center; opacity: .8; transition: opacity .2s; }
.lp-badge-ph:hover { opacity: 1; }
.lp-badge-ph a { display: inline-block; }
.lp-badge-ph img { display: block; max-width: 100%; height: auto; }
