@import url(core.css);
@import url(politique-de-confidentialite.css);
@import url(devis.css);
@import url(forge.css);
@import url(portfolio.css);
@import url(toast.css);
@import url(grid.min.css);
@import url(light.css);
@import url(dys.css);
@import url(socials.css);
@import url(qui-suis-je.css);
@font-face {
    font-family: "Game Bubble";
    src: url("../fonts/Game Bubble.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

:root {
    /* Palette pastel Loa Mini-Boutique (clair uniquement) */
    --c-main: #e6cbcb;        /* Rose pastel */
    --c-second: #A6C8B0;      /* Vert sauge pastel */
    --c-footer: #dfab96;      /* Jaune crème pastel */
    --c-fourth: #D7B4D8;      /* Lavande pastel */
    --c-bg2: #87cbd1;
    /* Surfaces et fonds */
    --c-bg-box: #f8eccb;      /* Beige crème clair (fond des sections) */

    /* Texte (clair, lisible, élégant) */
    --c-txt: #6B5F5A;         /* Taupe doux */
    
    /* Scroll */
    scrollbar-width: thin !important;
    scrollbar-color: var(--c-second) transparent !important;
    scroll-behavior: smooth !important;
}


html, body {margin: 0;padding: 0;scroll-padding-top: 150px;font-family: 'Roboto', sans-serif; }
a, button, input {
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
}
.insecable{
    white-space: nowrap;
    overflow: hidden;      
    text-overflow: ellipsis;
}
section {
    display: flex;
    flex-direction: column;
    justify-content:space-between;
    opacity: 0;transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
section.visible {opacity: 1;transform: translateY(0);}
* {
    transition: all 0.5s ease-out;  
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}
/* General Styles */
body {
    margin: 0; color: var(--c-txt);
    background-color: var(--c-bg-box);
    overflow-x: hidden;
    font-size: 20px;
}
 /* Header */
header {
    display: flex; position: fixed; top: 0;
    width: 100%;                   /* fallback */
    width: -webkit-fill-available; /* Chrome, Safari */
    width: -moz-available;         /* Firefox */
    width: stretch;                /* Nouveau standard, encore peu supporté */
    justify-content: space-between;
    align-items: center;
    padding: 10px 25px;
    padding: 10px 25px;
    background-color: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 5;
}
header.scrolled {
    background-color: var(--c-bg-box);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}
#nav-links {
    display: flex;gap: 20px;
    background-color: var(--c-dark-2);
    padding: 10px;border-radius: 15px;
}
#hamburger {
    display: none;font-size: 24px;
    cursor: pointer;
    background-color: var(--c-dark-2);
    padding: 10px;border-radius: 15px;
}
.logo {
    font-size: 24px; font-weight: bold;
    color: var(--c-main); display: flex; gap: 5px;
    align-items: center; text-decoration: none;

    background-color: var(--c-dark-2);
    padding: 10px;
    border-radius: 15px;
}
.logo-nav{height: 35px; width: auto;display: flex;}
.logo span {font-weight: 300;color: var(--c-second);margin-left: 5px;}
nav {display: flex; gap: 20px; }
nav a {
    text-decoration: none;
    color: var(--c-second); font-weight: bold;
    transition: color 0.3s ease;
}
nav a:hover { color: var(--c-main);}
/* Footer */
footer {
    text-align: center;padding: 1rem;
    background-color: antiquewhite;
    box-shadow: 0 -4px 6px rgb(0 0 0 / 16%)
}
.footer-txt{color: var(--c-txt);font-size: small;}
.container-footer{
    padding-left: 5%;
    padding-right: 5%;
}
.container-w{
    margin: 0 15%;
    padding: 50px 0;
    text-align: center;
}
footer p {font-size: 14px;color: var(--c-txt); text-align: justify}
.row-b{
    display: flex;
    flex-wrap: wrap;
    align-items: anchor-center;
    align-items: center; 
    justify-content: space-between;
    gap: 1rem;
    margin: auto;
}
p {font-size: 18px;line-height: 1.6; margin-bottom: 1rem;}
h3 {
    font-size: 24px;line-height: 1.3;
    margin-top: 1.5rem;margin-bottom: 1rem;
    font-weight: 600;
}
.center{text-align: center;justify-content: center;}
.btn-social {
    display: flex;align-items: center;
    justify-content: center;border-radius: 50%;
    width: 100px; height: 100px; 
    background: linear-gradient(145deg, #121212, #1a1a1a);
    box-shadow: 
        12px 12px 24px #0e0e0e,
        -12px -12px 24px #181818,
        inset 4px 4px 8px rgba(0, 0, 0, 0.6),
        inset -4px -4px 8px rgba(255, 255, 255, 0.1);
    padding: 0; margin: auto;
    text-decoration: none;
    cursor: pointer
}
.btn-social img, .btn-social svg, .btn-social i, .btn-social object {
    width: 50%;height: auto;
    max-width: 90px;font-size: 50px;
    line-height: 1;text-decoration: none;
    margin: auto;
}
.btn-social:hover{background: var(--c-dark-2);color: var(--c-txt);cursor: pointer}
hr {
    border: none;
    height: 2px;
    width: 80%;
    margin: 1.5rem auto;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0), 
        var(--c-second), 
        rgba(0,0,0,0)
    );
    border-radius: 4px;
    opacity: .35;
}

.btn-text{ color: var(--c-txt); text-decoration: none; font-weight: bold; }
.btnfooter {
    width: fit-content; 
    border: 1px solid transparent;
    transition-duration: 0.3s;
    color: var(--c-txt);
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: bolder;
    font-size: medium;
}
.btnfooter:hover{
    width: fit-content;
    border: 1px solid var(--c-fourth);
    transition-duration: 0.3s;
    background-color: var(--c-second);
    transform: scale(1.02);
}
.button-container {
    display: flex;justify-content: center;
    align-items: center;height: 100px;
}
.btn-soft {
    transition: background-color 0.3s, color 0.3s;
    display: flex; align-items: center;
    color: var(--c-txt); justify-content: center;
    width: auto; cursor: pointer;
}
.btn-soft i {font-size: 20px;transition: none;}
.btn-soft:hover {color: var(--c-footer);}
/* Menu contenant les boutons */
.settings-menu {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 12px;
    background-color: var(--c-bg, var(--c-dark-2)); /* optionnel */
    padding: 10px;
    border-radius: 12px;
    z-index: 999;
    backdrop-filter: blur(8px);
}

/* Adapter le bouton pour avoir taille fixe carrée (facultatif) */
.settings-menu .btn-soft {
    width: 42px;
    height: 42px;
    background-color: var(--c-card, var(--c-dark-2));
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.settings-menu .btn-soft:hover {
    background-color: var(--c-footer); 
    color: var(--c-dark-2)
}

/* Icône centrée */
.settings-menu .btn-soft i {
    font-size: 20px;
    line-height: 1;
}

/* Label du bouton dyslexie = full bouton cliquable */
.toggle-dys-btn {
    all: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.toggle-dys-btn i {transition: transform 0.3s ease, opacity 0.3s ease;}

.toggle-dys-btn:active i {
    transform: rotate(20deg);
    opacity: 0.8;
}

a {color: var(--c-second);}
.debug{
    position: fixed;
    bottom: 10px; left: 10px;
    background: #e53935;
    color: white; padding: 8px 14px;
    font-size: 13px; font-family: monospace;
    border-radius: 6px; z-index: 9999;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

#discord-btn {
    background-color: #5865F2;
    color: white;
    cursor: pointer;
}
#discord-btn:hover {background-color: #4752c4;}

#discord-widget {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 999;
    border-radius: 10px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Quand visible (ajoutée dynamiquement via JS) */
#discord-widget.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .settings-menu {
        bottom: 10px;
        right: 10px;
        gap: 8px;
        padding: 8px;
    }

    .settings-menu .btn-soft {
        width: 38px;
        height: 38px;
    }
    #nav-links {
        display: none;
        flex-direction: column;
        background-color: var(--c-dark-2);
        position: absolute;
        top: 70px; right: 20px;
        padding: 20px; border-radius: 10px;
    }
    #nav-links.show { display: flex; }
    #hamburger { display: block; }
    .no-see{display: none;}
}

body {font-family: "Inter", sans-serif;}
h1, h2, h3, h4, h5, h6 {
    font-family: "Game Bubble", sans-serif !important;
}

#sw-update-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 20px;
    background: #111;
    color: #fff;
    border-radius: 12px;
    display: flex;
    gap: 12px;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: .3s ease;
}

.sw-update-visible #sw-update-banner {
    opacity: 1;
    pointer-events: auto;
}
#sw-update-banner button {
    background: var(--c-second);
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--c-txt);
    cursor: pointer;
    font-weight: bold;
}

