:root {
    --primary: #6D28D9;
    --gold: #FFD700;

    --color-bg: #FFF8F0;
    --color-text: #333333;
    --color-border: #E5D6C8;
    --color-highlight: #D4B896;

    --color-accent-1: #6D28D9;
    --color-accent-2: #B48A5A;

    --violet: #9B7EBD;
    --violet-clair: #AF98CA;
    --vert: #B5C99A;
    --vert-fonce: #718355;

    --spontane: "Dancing Script", sans-serif;
    --font_gene: "Montserrat", sans-serif;

    /* Dimensions générales */
    --header-height: 80px;
    --footer-height: 70px;
    --container-width: 1400px;

    /* Espacements */
    --space-xs: 0.4rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
}


/* ==========================================
   RESET
========================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding-top: var(--header-height);
    padding-bottom: var(--footer-height);

    background: var(--color-bg);
    color: var(--color-text);

    font-family: var(--font_gene);
    line-height: 1.6;

    min-height: 100vh;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
}

h2 {
    font-size: 1rem;
}


/* ==========================================
   CONTENEUR
========================================== */

.container {
    width: min(95%, var(--container-width));
    margin-inline: auto;
    padding: 0;
    font-size: 1rem;
}


/* ==========================================
   ÉCRITURE MANUSCRITE
========================================== */

.spontane {
    margin-left: 4.5rem !important;
    width: min(50%, 700px);

    font-family: var(--spontane);
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: bold;

    color: var(--violet);
}

.vert {
    color: var(--vert-fonce);
}


/* ==========================================
   BOUTONS
========================================== */

.bio-btn {
    appearance: none;
    -webkit-appearance: none;

    background: var(--violet);

    border: none;
    border-radius: 8px;

    color: white;

    font-size: 0.95rem;
    font-weight: 600;

    padding: 0.8rem 1.4rem;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.bio-btn:hover {
    color: var(--gold);
    background: var(--violet-clair);

    transform: translateY(-2px);

    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.bio-btn:active {
    transform: translateY(0);
}


/* ==========================================
   TABLETTE
   769px → 1200px
========================================== */

@media (max-width: 1200px) {

    body {
        padding-top: 120px;
    }

    .container {
        width: 92%;
    }

    .navbar {
        width: 94%;
        padding: 0.7rem 1rem;
        gap: 0.75rem;
    }

    .nav-links {
        gap: 0.4rem;
    }

    .nav-links a,
    .dropdown-btn {
        font-size: 0.85rem;
        padding: 0.45rem 0.7rem;
    }

    .spontane {
        margin-left: 2rem !important;
        width: 70%;
        font-size: clamp(2rem, 4vw, 2.5rem);
    }
}


/* ==========================================
   PETITE TABLETTE
   769px → 900px
========================================== */

@media (max-width: 900px) {

    body {
        padding-top: 150px;
    }

    .navbar {
        width: 96%;
    }

    .nav-links {
        gap: 0.25rem;
    }

    .nav-links a,
    .dropdown-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.55rem;
    }

    .spontane {
        margin-left: 1rem !important;
        width: 85%;
        font-family: var(--spontane);
    }
}

/* =========================================================
   KAROMA — RESPONSIVE MOBILE
   Rien ici ne modifie le desktop
========================================================= */

@media (max-width: 768px) {

	:root {
        --spontane: "Dancing-Script" !important;
    }

    /* =====================================================
       PAGE
    ===================================================== */

    body {
        padding-top: 100px;
        padding-bottom: 0;

        min-height: 100dvh;

        overflow-x: hidden;
    }


    /* =====================================================
       NAVBAR
    ===================================================== */

    .navbar {
        position: relative;

        width: 100%;
        min-height: 70px;

        padding: 0.5rem 0.75rem;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 0;
    }


    /* =====================================================
       LOGO
    ===================================================== */

    .navbar-brand {
        width: 100%;

        display: flex;
        align-items: center;
        justify-content: center;

        padding: 0.3rem;

        border: none;
        background: transparent;

        cursor: pointer;
    }

    .navbar-brand .logo-img {
        width: auto;
        max-width: 55px;
        height: auto;
    }


    /* =====================================================
       BOUTON HAMBURGER
    ===================================================== */

    .mobile-menu-btn {
        display: flex !important;
        position: absolute;
        top: 0.75rem;
        right: 0.75rem;
        width: 42px;
        height: 42px;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: none;
        border-radius: 7px;
        background: var(--violet);
        color: white;
        font-size: 1.4rem;
        line-height: 1;
        cursor: pointer;
        z-index: 1000;
    }


    /* =====================================================
       MENU PRINCIPAL
    ===================================================== */

    .nav-links {
        display: none !important;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
        padding: 0.5rem 0 0.75rem;
        max-height: calc(100dvh - 90px);
        overflow-y: auto;
        overflow-x: hidden;
    }

    /* MENU OUVERT */
    .navbar.mobile-menu-open .nav-links {
        display: flex !important;
    }


    /* =====================================================
       BOUTONS DU MENU
    ===================================================== */

    .nav-links > button,
    .nav-links > .dropdown > .dropdown-btn {

        position: relative;

        width: 100%;
        min-height: 42px;

        padding: 0.6rem 2.5rem 0.6rem 0.8rem;

        border: none;
        border-radius: 7px;

        background: transparent;
        color: var(--color-text);

        text-align: left;

        font-family: inherit;
        font-size: 0.9rem;
        line-height: 1.3;

        white-space: normal;

        cursor: pointer;
    }


    /* Effet au toucher */

    .nav-links > button:active,
    .nav-links > .dropdown > .dropdown-btn:active {
        background: var(--violet-clair);
        color: white;
    }


    /* =====================================================
       DROPDOWN
    ===================================================== */

    .dropdown {
        width: 100%;
    }


    /* Flèche */

    .dropdown-btn::after {
        content: "›";

        position: absolute;

        right: 1rem;
        top: 50%;

        transform: translateY(-50%) rotate(90deg);

        font-size: 1.2rem;

        transition: transform 0.2s ease;
    }


    /* Flèche lorsque le sous-menu est ouvert */

    .dropdown.mobile-open .dropdown-btn::after {
        transform: translateY(-50%) rotate(-90deg);
    }


    /* =====================================================
       SOUS-MENU
    ===================================================== */

    .dropdown-content {
        position: static !important;

        width: 100%;

        display: none;

        margin: 0;

        padding: 0.2rem 0 0.4rem 0.75rem;

        border: none !important;
        box-shadow: none !important;

        background: transparent;
    }


    /* IMPORTANT :
       le hover desktop ne doit pas ouvrir le menu
       sur téléphone */

    .dropdown:hover .dropdown-content {
        display: none;
    }


    /* Ouverture par clic */

    .dropdown.mobile-open .dropdown-content {
        display: block;
    }


    /* Boutons des sous-menus */

    .dropdown-content button {
        display: block;

        width: 100%;

        padding: 0.55rem 0.75rem;

        border: none;
        border-radius: 5px;

        background: transparent;
        color: var(--color-text);

        text-align: left;

        font-family: inherit;
        font-size: 0.82rem;
        line-height: 1.4;

        white-space: normal;

        cursor: pointer;
    }


    .dropdown-content button:active {
        background: var(--violet-clair);
        color: white;
    }
    
    /* =====================================================
       POUR CERTAINES DIV
    ===================================================== */
	.mobile-large {
        width: 98% !important;
        margin-left: 1% !important;
        margin-right: 1% !important;
        box-sizing: border-box !important;
    }
    /* =====================================================
       TITRE MANUSCRIT
    ===================================================== */

    .spontane {
        width: 100%;

        margin-left: 0 !important;

        text-align: center;

        font-size: 2rem;
        line-height: 1.2;
        font-family: var(--spontane) !important;
    }

    /* =====================================================
       FOOTER
    ===================================================== */

    footer {
        bottom: env(safe-area-inset-bottom);
        height: auto !important;
        min-height: 70px;
        padding: 8px 5px !important;
        padding-bottom: env(safe-area-inset-bottom);
        box-sizing: border-box;
    }
    footer p {
        margin: 0;
        padding: 0;
        line-height: 1.3;
    }

    footer .home-contact-mail {
        display: block;
        margin-top: 5px;
    }

    footer .home-contact-mail .bio-btn {
        margin-left: 0 !important;
        font-size: 0.75rem;
        padding: 0.45rem 0.8rem;
    }
    body {
		padding-bottom: 120px !important;
	}
	
	
	.bio-image-container, .conseillere-image-container {
        width: 100%;
        margin-top: 20px;
        clear: both;
    }
	.bio-image-container, .conseillere-image-container {
        margin-top: 20px !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }
    .bio-image, .conseillere-image {
        display: block;
        max-width: 100%;
        height: auto;
        margin: 0 auto;
    }
}


/* =========================================================
   PETIT MOBILE
   480px et moins
========================================================= */

@media (max-width: 480px) {

    body {
        padding-top: 95px;
        padding-bottom: 0;
    }

    .navbar {
        padding: 0.4rem 0.5rem;
    }


    /* Logo */

    .navbar-brand .logo-img {
        max-width: 48px;
    }


    /* Hamburger */

    .mobile-menu-btn {
        top: 0.6rem;
        right: 0.6rem;

        width: 40px;
        height: 40px;

        font-size: 1.3rem;
    }


    /* Menu */

    .nav-links {
        gap: 0.2rem;

        max-height: calc(100dvh - 85px);
    }


    /* Boutons principaux */

    .nav-links > button,
    .nav-links > .dropdown > .dropdown-btn {
        min-height: 40px;

        padding: 0.55rem 2.3rem 0.55rem 0.7rem;

        font-size: 0.85rem;
    }


    /* Sous-menu */

    .dropdown-content button {
        padding: 0.5rem 0.65rem;

        font-size: 0.78rem;
    }


    /* Titre */

    .spontane {
        font-size: 1.8rem;
    }


    /* Footer */

    footer {
        margin-top: 1.5rem;
    }
}


/* =========================================================
   TRÈS PETIT MOBILE
   360px et moins
========================================================= */

@media (max-width: 360px) {

    body {
        padding-top: 90px;
    }

    .navbar-brand .logo-img {
        max-width: 44px;
    }

    .mobile-menu-btn {
        width: 38px;
        height: 38px;
    }

    .nav-links > button,
    .nav-links > .dropdown > .dropdown-btn {
        font-size: 0.8rem;
    }

    .dropdown-content button {
        font-size: 0.75rem;
    }

    .spontane {
        font-size: 1.7rem;
    }
}


/* =========================================================
   DESKTOP
   Le bouton hamburger n'existe pas visuellement
========================================================= */

@media (min-width: 769px) {

    .mobile-menu-btn {
        display: none !important;
    }
}




/* ========================================== Pluie ========================================== */
#pluie-eau {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.goutte-eau {
    position: absolute;
    top: 0;

    background: linear-gradient(
        135deg,
        #fff36a 0%,
        #c8df3f 45%,
        #72ad3c 100%
    );

    clip-path: polygon(
        50% 0%,
        72% 25%,
        100% 60%,
        92% 80%,
        75% 94%,
        50% 100%,
        25% 94%,
        8% 80%,
        0% 60%,
        28% 25%
    );

    pointer-events: none;
}
