/* =========================================================
   MA ZO COMMUNE V1
   STYLE.CSS
   =========================================================

   IDENTITÉ VISUELLE
   -----------------
   Bleu nuit : couleur principale
   Rouge SOS : couleur d'action
   Noir      : profondeur
   Blanc     : contraste
   Drapeau ivoirien uniquement pour les éléments patriotiques

   Compatible avec :
   - index.html fourni
   - script.js fourni
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --navy-950: #030914;
    --navy-900: #06111f;
    --navy-850: #081526;
    --navy-800: #0b1b2f;
    --navy-750: #0d223b;
    --navy-700: #102b48;

    --blue: #12385d;
    --blue-light: #1a4c78;

    --red: #ff0808;
    --red-dark: #d90000;
    --red-soft: #ff3030;

    --white: #ffffff;
    --white-soft: #eef3f8;
    --gray: #9aa8b7;
    --gray-light: #c8d1da;

    --black: #000000;

    --border: rgba(255,255,255,.10);
    --border-red: rgba(255,8,8,.35);

    --shadow:
        0 20px 60px rgba(0,0,0,.35);

    --shadow-red:
        0 12px 35px rgba(255,8,8,.22);

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;

    --transition:
        .25s ease;

}


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

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


html {
    scroll-behavior: smooth;
}


body {

    min-height: 100vh;

    font-family:
        Inter,
        Poppins,
        Arial,
        Helvetica,
        sans-serif;

    color: var(--white);

    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(18,56,93,.55),
            transparent 35%
        ),
        radial-gradient(
            circle at 85% 20%,
            rgba(255,8,8,.12),
            transparent 30%
        ),
        radial-gradient(
            circle at 50% 100%,
            rgba(18,56,93,.35),
            transparent 40%
        ),
        var(--navy-950);

    overflow-x: hidden;

}


button,
input,
select,
textarea {
    font: inherit;
}


button {
    border: none;
    cursor: pointer;
}


input,
select,
textarea {
    outline: none;
}


a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   EFFET 3D GLOBAL
========================================================= */

body::before {

    content: "";

    position: fixed;

    inset: 0;

    pointer-events: none;

    z-index: -2;

    background:

        linear-gradient(
            135deg,
            transparent 0 40%,
            rgba(255,255,255,.015) 40% 41%,
            transparent 41%
        ),

        radial-gradient(
            circle at 20% 70%,
            rgba(18,56,93,.25),
            transparent 25%
        ),

        radial-gradient(
            circle at 80% 80%,
            rgba(255,8,8,.07),
            transparent 25%
        );

}


body::after {

    content: "";

    position: fixed;

    width: 520px;
    height: 520px;

    top: -180px;
    right: -180px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(18,56,93,.35),
            transparent 70%
        );

    filter: blur(10px);

    pointer-events: none;

    z-index: -1;

}


/* =========================================================
   APP
========================================================= */

#app {

    min-height: 100vh;

    position: relative;

}


/* =========================================================
   PAGES
========================================================= */

.page {

    display: none;

    min-height: 100vh;

    width: 100%;

    animation:
        pageIn .35s ease both;

}


.page.active,
.page.active-page {
    display: block;
}


@keyframes pageIn {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   DRAPEAU IVOIRIEN
========================================================= */

.flag-strip {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    height: 4px;

    display: flex;

    z-index: 1000;

}


.flag-strip span {
    flex: 1;
}


.flag-orange,
.message-flag span:first-child,
.dashboard-flag span:first-child {
    background: #f77f00;
}


.flag-white,
.message-flag span:nth-child(2),
.dashboard-flag span:nth-child(2) {
    background: #ffffff;
}


.flag-green,
.message-flag span:nth-child(3),
.dashboard-flag span:nth-child(3) {
    background: #009e60;
}


/* =========================================================
   ACCUEIL
========================================================= */

#welcomePage {

    background:

        radial-gradient(
            circle at 50% 15%,
            rgba(25,74,120,.45),
            transparent 38%
        ),

        radial-gradient(
            circle at 80% 60%,
            rgba(255,8,8,.10),
            transparent 30%
        ),

        linear-gradient(
            145deg,
            #020711,
            #071526 50%,
            #030913
        );

}


.home-container {

    width: min(1180px, 100%);

    margin: auto;

    padding:
        55px 22px
        50px;

}


/* =========================================================
   HEADER ACCUEIL
========================================================= */

.home-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    margin-bottom: 65px;

}


.brand {

    display: flex;

    align-items: center;

    gap: 12px;

    background: transparent;

    color: white;

    text-align: left;

}


.brand-symbol {

    width: 52px;
    height: 52px;

    border-radius: 15px;

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            145deg,
            #142d48,
            #06101d
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 12px 30px rgba(0,0,0,.4);

}


.brand-symbol > span {

    position: absolute;

    top: 0;
    bottom: 0;

    width: 33.333%;

}


.brand-orange {
    left: 0;
    background: #f77f00;
}


.brand-white {
    left: 33.333%;
    background: white;
}


.brand-green {
    right: 0;
    background: #009e60;
}


.brand-symbol strong {

    position: relative;

    z-index: 2;

    font-size: 14px;

    color: #fff;

    text-shadow:
        0 2px 8px rgba(0,0,0,.8);

}


.brand-name {

    display: flex;

    flex-direction: column;

    line-height: 1;

}


.brand-name strong {

    font-size: 20px;

    letter-spacing: -.5px;

}


.brand-name span {

    margin-top: 5px;

    color: #aab7c5;

    font-size: 9px;

    letter-spacing: 3px;

}


.country-badge {

    padding: 10px 15px;

    border: 1px solid var(--border);

    border-radius: 100px;

    color: #dbe4ec;

    font-size: 12px;

    background:
        rgba(255,255,255,.04);

    backdrop-filter: blur(15px);

}


/* =========================================================
   HERO
========================================================= */

.home-hero {

    position: relative;

    max-width: 850px;

    margin: auto;

    text-align: center;

}


.hero-label {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 8px 13px;

    border: 1px solid rgba(255,8,8,.25);

    border-radius: 100px;

    background:
        rgba(255,8,8,.06);

    color: #ff4c4c;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.hero-dot {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--red);

    box-shadow:
        0 0 15px rgba(255,8,8,.9);

}


.home-hero h1 {

    margin-top: 25px;

    font-size:
        clamp(40px, 7vw, 76px);

    line-height: .98;

    letter-spacing: -3px;

    font-weight: 900;

}


.home-hero h1 span {

    display: block;

    color: var(--red);

}


.hero-description {

    max-width: 650px;

    margin: 25px auto 0;

    color: #aebdcb;

    line-height: 1.8;

    font-size: 15px;

}


/* =========================================================
   HERO 3D COMMUNITY
========================================================= */

.hero-community {

    position: relative;

    width: 260px;
    height: 160px;

    margin: 45px auto 35px;

    perspective: 800px;

}


.community-circle {

    position: absolute;

    width: 100px;
    height: 100px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 36px;

    border: 1px solid rgba(255,255,255,.15);

    box-shadow:
        0 25px 55px rgba(0,0,0,.45),
        inset 0 1px 10px rgba(255,255,255,.08);

    backdrop-filter: blur(15px);

}


.circle-orange {

    left: 10px;
    top: 20px;

    background:
        linear-gradient(
            145deg,
            #9e1a12,
            #300a0a
        );

    transform:
        rotateY(18deg)
        rotateZ(-8deg);

}


.circle-white {

    left: 80px;
    top: 0;

    background:
        linear-gradient(
            145deg,
            #24364b,
            #08111e
        );

    transform:
        translateZ(50px);

    z-index: 2;

}


.circle-green {

    right: 5px;
    top: 28px;

    background:
        linear-gradient(
            145deg,
            #123b5f,
            #061321
        );

    transform:
        rotateY(-18deg)
        rotateZ(8deg);

}


/* =========================================================
   ACTIONS ACCUEIL
========================================================= */

.home-actions {

    display: flex;

    flex-direction: column;

    gap: 12px;

    max-width: 430px;

    margin: auto;

}


.main-action {

    min-height: 58px;

    padding: 0 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            #ff1111,
            #d90000
        );

    color: white;

    font-weight: 800;

    box-shadow:
        0 14px 35px rgba(255,8,8,.22);

    transition: var(--transition);

}


.main-action:hover {

    transform: translateY(-3px);

    box-shadow:
        0 20px 45px rgba(255,8,8,.35);

}


.main-action strong {

    font-size: 22px;

}


.secondary-action {

    min-height: 52px;

    border-radius: 14px;

    background:
        rgba(255,255,255,.045);

    border:
        1px solid rgba(255,255,255,.10);

    color: #dce5ed;

    font-weight: 700;

    transition: var(--transition);

}


.secondary-action:hover {

    background:
        rgba(255,255,255,.08);

    border-color:
        rgba(255,255,255,.2);

}


/* =========================================================
   SERVICES ACCUEIL
========================================================= */

.home-services {

    margin-top: 100px;

}


.home-section-heading span,
.dashboard-heading span {

    color: var(--red);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 2px;

}


.home-section-heading h2,
.dashboard-heading h2 {

    margin-top: 8px;

    font-size: 27px;

    letter-spacing: -.7px;

}


.home-service-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 16px;

    margin-top: 25px;

}


.home-service-card {

    min-height: 270px;

    padding: 24px;

    border-radius: 24px;

    border:
        1px solid rgba(255,255,255,.08);

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(17,46,75,.9),
            rgba(4,12,23,.95)
        );

    box-shadow:
        0 25px 50px rgba(0,0,0,.25);

    transition: var(--transition);

}


.home-service-card:hover {

    transform:
        translateY(-6px)
        rotateX(2deg);

}


.orange-card {

    border-color:
        rgba(255,8,8,.25);

}


.green-card {

    border-color:
        rgba(18,74,120,.4);

}


.dark-card {

    background:
        linear-gradient(
            145deg,
            #10151c,
            #030609
        );

}


.service-number {

    position: absolute;

    right: 20px;
    top: 18px;

    color: #627387;

    font-size: 12px;

}


.service-big-icon {

    font-size: 38px;

    margin-bottom: 35px;

}


.home-service-card h3 {

    font-size: 21px;

}


.home-service-card p {

    margin-top: 10px;

    color: #9daab8;

    line-height: 1.6;

    font-size: 13px;

}


/* =========================================================
   MESSAGE ACCUEIL
========================================================= */

.home-message {

    margin-top: 25px;

    padding: 20px;

    display: flex;

    gap: 15px;

    align-items: center;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(18,56,93,.55),
            rgba(5,13,24,.85)
        );

    border:
        1px solid rgba(255,255,255,.07);

}


.message-flag {

    width: 42px;
    height: 42px;

    display: flex;

    flex-shrink: 0;

    border-radius: 12px;

    overflow: hidden;

}


.message-flag span {

    flex: 1;

}


.home-message strong {

    font-size: 14px;

}


.home-message p {

    margin-top: 4px;

    color: #9caab8;

    font-size: 12px;

    line-height: 1.5;

}


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

.home-footer {

    margin-top: 60px;

    padding-top: 20px;

    border-top:
        1px solid rgba(255,255,255,.07);

    display: flex;

    justify-content: space-between;

    align-items: center;

}


.home-footer div {

    display: flex;

    flex-direction: column;

    gap: 5px;

}


.home-footer strong {

    font-size: 13px;

}


.home-footer span,
.home-footer small {

    color: #738294;

    font-size: 10px;

}


/* =========================================================
   AUTH
========================================================= */

.auth-page {

    min-height: 100vh;

    background:

        radial-gradient(
            circle at 85% 10%,
            rgba(255,8,8,.12),
            transparent 25%
        ),

        radial-gradient(
            circle at 10% 80%,
            rgba(18,56,93,.4),
            transparent 35%
        ),

        linear-gradient(
            145deg,
            #020711,
            #091a2d,
            #02060c
        );

}


.auth-container {

    width: min(560px, 100%);

    min-height: 100vh;

    margin: auto;

    padding:
        65px 24px
        45px;

}


.back-button {

    width: 45px;
    height: 45px;

    border-radius: 13px;

    background:
        rgba(255,255,255,.055);

    border:
        1px solid rgba(255,255,255,.10);

    color: white;

    font-size: 21px;

    margin-bottom: 30px;

    transition: var(--transition);

}


.back-button:hover {

    background:
        rgba(255,8,8,.15);

    border-color:
        rgba(255,8,8,.4);

}


.auth-brand {

    display: flex;

    align-items: center;

    gap: 11px;

}


.small-symbol {

    width: 43px;
    height: 43px;

}


.dark-name strong {

    color: white;

}


.auth-title {

    margin:
        45px 0 30px;

}


.auth-step {

    display: inline-block;

    color: var(--red);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 2px;

}


.auth-title h1 {

    margin-top: 10px;

    font-size: 34px;

    line-height: 1.05;

    letter-spacing: -1.4px;

}


.auth-title p {

    margin-top: 12px;

    color: #9daab8;

    line-height: 1.6;

    font-size: 14px;

}


/* =========================================================
   FORMULAIRES
========================================================= */

.input-block {

    margin-bottom: 19px;

}


.input-block label {

    display: flex;

    justify-content: space-between;

    gap: 10px;

    margin-bottom: 8px;

    color: #e4eaf0;

    font-size: 12px;

    font-weight: 700;

}


.input-block label small {

    color: #738294;

    font-weight: 500;

}


.input-block input,
.input-block select,
.input-block textarea {

    width: 100%;

    border:
        1px solid rgba(255,255,255,.10);

    border-radius: 13px;

    background:
        rgba(255,255,255,.045);

    color: white;

    padding:
        14px 15px;

    transition: var(--transition);

}


.input-block input,
.input-block select {

    min-height: 51px;

}


.input-block textarea {

    resize: vertical;

    min-height: 110px;

}


.input-block input::placeholder,
.input-block textarea::placeholder {

    color: #647386;

}


.input-block input:focus,
.input-block select:focus,
.input-block textarea:focus {

    border-color:
        rgba(255,8,8,.7);

    background:
        rgba(255,8,8,.035);

    box-shadow:
        0 0 0 3px rgba(255,8,8,.08);

}


.input-block select option {

    background: #081526;

    color: white;

}


/* =========================================================
   PASSWORD
========================================================= */

.password-field {

    position: relative;

}


.password-field input {

    padding-right: 55px;

}


.password-field button {

    position: absolute;

    top: 50%;
    right: 8px;

    transform: translateY(-50%);

    width: 40px;
    height: 40px;

    border-radius: 10px;

    background:
        rgba(255,255,255,.06);

    color: white;

}


.terms {

    display: flex;

    gap: 10px;

    align-items: flex-start;

    color: #8998a8;

    font-size: 11px;

    line-height: 1.5;

    margin:
        20px 0;

}


.terms input {

    margin-top: 3px;

    accent-color: var(--red);

}


/* =========================================================
   FORM SUBMIT
========================================================= */

.form-submit {

    width: 100%;

    min-height: 55px;

    border-radius: 14px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        0 18px;

    background:
        linear-gradient(
            135deg,
            #ff1010,
            #d90000
        );

    color: white;

    font-weight: 900;

    box-shadow:
        var(--shadow-red);

    transition: var(--transition);

}


.form-submit:hover {

    transform: translateY(-2px);

}


.form-submit span {

    font-size: 21px;

}


.auth-footer {

    margin-top: 28px;

    text-align: center;

    color: #78889a;

    font-size: 12px;

}


.auth-footer button {

    margin-left: 5px;

    background: transparent;

    color: var(--red);

    font-weight: 800;

}


/* =========================================================
   CHOIX PROFIL
========================================================= */

.profile-choice-page,
.commune-choice-page {

    background:

        radial-gradient(
            circle at 50% 0,
            rgba(18,56,93,.5),
            transparent 40%
        ),

        linear-gradient(
            145deg,
            #020711,
            #081a2c,
            #02060c
        );

}


.choice-container,
.commune-container {

    width: min(900px, 100%);

    margin: auto;

    padding:
        55px 24px;

}


.choice-top,
.commune-top {

    margin-bottom: 55px;

}


.choice-intro,
.commune-intro {

    max-width: 650px;

    margin-bottom: 30px;

}


.choice-intro h1,
.commune-intro h1 {

    margin-top: 10px;

    font-size: 40px;

    line-height: 1;

    letter-spacing: -1.8px;

}


.choice-intro p,
.commune-intro p {

    margin-top: 14px;

    color: #9aa8b7;

    line-height: 1.6;

}


/* =========================================================
   PROFILS
========================================================= */

.profile-options {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;

}


.profile-option {

    min-height: 390px;

    padding: 25px;

    text-align: left;

    border-radius: 25px;

    color: white;

    position: relative;

    overflow: hidden;

    border:
        1px solid rgba(255,255,255,.09);

    background:
        linear-gradient(
            145deg,
            #102b48,
            #050d18
        );

    box-shadow:
        0 30px 60px rgba(0,0,0,.35);

    transition: .3s ease;

}


.profile-option:hover {

    transform:
        translateY(-7px);

}


.particulier-option:hover {

    border-color:
        rgba(255,8,8,.45);

}


.professionnel-option {

    background:
        linear-gradient(
            145deg,
            #151b24,
            #04070b
        );

}


.professionnel-option:hover {

    border-color:
        rgba(255,255,255,.25);

}


.option-top {

    display: flex;

    justify-content: space-between;

}


.option-icon {

    width: 60px;
    height: 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 17px;

    background:
        rgba(255,255,255,.07);

    font-size: 29px;

}


.option-arrow {

    font-size: 24px;

    color: var(--red);

}


.option-label {

    display: block;

    margin-top: 70px;

    color: #768799;

    font-size: 9px;

    letter-spacing: 2px;

    font-weight: 900;

}


.profile-option h2 {

    margin-top: 6px;

    font-size: 30px;

}


.profile-option p {

    margin-top: 10px;

    color: #99a8b7;

    line-height: 1.6;

    font-size: 13px;

}


.option-features {

    position: absolute;

    bottom: 25px;
    left: 25px;
    right: 25px;

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

}


.option-features span {

    padding: 7px 10px;

    border-radius: 100px;

    color: #bbc6d0;

    background:
        rgba(255,255,255,.055);

    font-size: 10px;

}


/* =========================================================
   COMMUNES
========================================================= */

.commune-search {

    width: 100%;

    min-height: 55px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 0 16px;

    border-radius: 15px;

    background:
        rgba(255,255,255,.045);

    border:
        1px solid rgba(255,255,255,.09);

    margin-bottom: 20px;

}


.commune-search span {

    font-size: 17px;

}


.commune-search input {

    width: 100%;

    border: none;

    background: transparent;

    color: white;

}


.commune-search input::placeholder {

    color: #68788a;

}


.commune-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 10px;

}


.commune-option {

    min-height: 62px;

    display: grid;

    grid-template-columns:
        28px 1fr 25px;

    align-items: center;

    gap: 10px;

    padding: 0 14px;

    border-radius: 14px;

    text-align: left;

    color: white;

    background:
        linear-gradient(
            145deg,
            rgba(18,56,93,.65),
            rgba(5,13,24,.9)
        );

    border:
        1px solid rgba(255,255,255,.07);

    transition: var(--transition);

}


.commune-option:hover {

    transform: translateY(-2px);

    border-color:
        rgba(255,8,8,.45);

}


.commune-option b {

    color: var(--red);

}


.commune-note {

    margin-top: 25px;

    padding: 15px;

    display: flex;

    gap: 12px;

    align-items: center;

    border-radius: 14px;

    background:
        rgba(255,255,255,.035);

    color: #8191a1;

    font-size: 11px;

    line-height: 1.5;

}


/* =========================================================
   APPLICATION
========================================================= */

.app-page {

    background:

        radial-gradient(
            circle at 15% 0,
            rgba(18,56,93,.38),
            transparent 32%
        ),

        radial-gradient(
            circle at 90% 40%,
            rgba(255,8,8,.07),
            transparent 28%
        ),

        #030913;

    padding-bottom: 85px;

}


.app-header {

    position: sticky;

    top: 4px;

    z-index: 100;

    height: 70px;

    padding:
        0 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background:
        rgba(3,9,20,.88);

    border-bottom:
        1px solid rgba(255,255,255,.07);

    backdrop-filter:
        blur(20px);

}


.app-brand {

    display: flex;

    align-items: center;

    gap: 10px;

}


.app-brand-symbol {

    width: 42px;
    height: 42px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    border-radius: 12px;

    background: #0d2137;

}


.app-brand-symbol span {

    position: absolute;

    width: 33.333%;

    top: 0;
    bottom: 0;

}


.app-brand-symbol span:nth-child(1) {
    left: 0;
    background: #f77f00;
}


.app-brand-symbol span:nth-child(2) {
    left: 33.333%;
    background: #fff;
}


.app-brand-symbol span:nth-child(3) {
    right: 0;
    background: #009e60;
}


.app-brand-symbol strong {

    position: relative;

    z-index: 2;

    font-size: 11px;

}


.app-brand > div:last-child {

    display: flex;

    flex-direction: column;

}


.app-brand > div:last-child strong {

    font-size: 15px;

}


.app-brand > div:last-child small {

    color: #738396;

    font-size: 7px;

    letter-spacing: 2px;

    margin-top: 3px;

}


.app-avatar {

    width: 42px;
    height: 42px;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #ff1717,
            #970000
        );

    color: white;

    font-weight: 900;

    box-shadow:
        0 8px 25px rgba(255,8,8,.22);

}


/* =========================================================
   APP MAIN
========================================================= */

.app-main {

    width: min(1050px, 100%);

    margin: auto;

    padding:
        30px 18px;

}


.app-section {

    display: none;

    animation:
        sectionIn .3s ease both;

}


.app-section.active {
    display: block;
}


@keyframes sectionIn {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   DASHBOARD
========================================================= */

.dashboard-top {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 20px;

}


.dashboard-kicker {

    color: var(--red);

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 2px;

}


.dashboard-top h1 {

    margin-top: 8px;

    font-size:
        clamp(29px, 6vw, 46px);

    line-height: 1;

    letter-spacing: -1.5px;

}


.dashboard-top h1 span {

    color: var(--red);

}


.dashboard-top p {

    margin-top: 10px;

    color: #8c9bab;

    font-size: 13px;

}


.dashboard-flag {

    width: 45px;
    height: 45px;

    display: flex;

    overflow: hidden;

    border-radius: 13px;

}


.dashboard-flag span {

    flex: 1;

}


/* =========================================================
   COMMUNE CARD
========================================================= */

.my-commune-card {

    margin-top: 25px;

    padding: 17px;

    display: flex;

    align-items: center;

    gap: 13px;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #102d4c,
            #06111f
        );

    border:
        1px solid rgba(255,255,255,.08);

    box-shadow:
        0 20px 45px rgba(0,0,0,.25);

}


.commune-card-icon {

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    background:
        rgba(255,8,8,.09);

    font-size: 24px;

}


.my-commune-content {

    display: flex;

    flex-direction: column;

    flex: 1;

}


.my-commune-content small {

    color: #718295;

    font-size: 8px;

    letter-spacing: 1.5px;

}


.my-commune-content strong {

    margin-top: 4px;

    font-size: 15px;

}


.my-commune-card button {

    padding: 9px 12px;

    border-radius: 10px;

    color: var(--red);

    background:
        rgba(255,8,8,.07);

    font-size: 10px;

    font-weight: 800;

}


/* =========================================================
   DASHBOARD CARDS
========================================================= */

.dashboard-heading {

    margin-top: 38px;

}


.dashboard-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 14px;

    margin-top: 18px;

}


.dashboard-card {

    min-height: 220px;

    padding: 20px;

    text-align: left;

    color: white;

    border-radius: 22px;

    border:
        1px solid rgba(255,255,255,.08);

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #0f2944,
            #050d18
        );

    transition: .3s ease;

}


.dashboard-card:hover {

    transform:
        translateY(-5px);

}


.dashboard-card::after {

    content: "";

    position: absolute;

    width: 140px;
    height: 140px;

    right: -55px;
    bottom: -60px;

    border-radius: 50%;

    background:
        rgba(255,8,8,.06);

}


.signal-card {

    border-color:
        rgba(255,8,8,.22);

}


.job-card {

    background:
        linear-gradient(
            145deg,
            #151d28,
            #05080c
        );

}


.pro-card {

    background:
        linear-gradient(
            145deg,
            #132238,
            #050b14
        );

}


.dashboard-card-top {

    display: flex;

    justify-content: space-between;

}


.dashboard-card-top span {

    font-size: 28px;

}


.dashboard-card-top b {

    color: #566a7e;

    font-size: 10px;

}


.dashboard-card h3 {

    margin-top: 30px;

    font-size: 20px;

}


.dashboard-card p {

    margin-top: 8px;

    color: #8999aa;

    line-height: 1.5;

    font-size: 12px;

}


.dashboard-card > strong {

    position: absolute;

    left: 20px;
    bottom: 19px;

    color: var(--red);

    font-size: 11px;

}


/* =========================================================
   COMMUNITY BANNER
========================================================= */

.community-banner {

    margin-top: 16px;

    padding: 18px;

    display: flex;

    gap: 13px;

    align-items: center;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(18,56,93,.55),
            rgba(5,12,22,.9)
        );

    border:
        1px solid rgba(255,255,255,.07);

}


.community-banner-symbol {

    font-size: 30px;

}


.community-banner strong {

    font-size: 13px;

}


.community-banner p {

    margin-top: 4px;

    color: #7f8f9f;

    font-size: 11px;

    line-height: 1.5;

}


/* =========================================================
   SECTION HEAD
========================================================= */

.section-top {

    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 25px;

}


.section-back {

    width: 43px;
    height: 43px;

    border-radius: 13px;

    color: white;

    background:
        rgba(255,255,255,.05);

    border:
        1px solid rgba(255,255,255,.08);

    font-size: 20px;

}


.section-top > div span {

    color: var(--red);

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 2px;

}


.section-top h2 {

    margin-top: 4px;

    font-size: 27px;

    letter-spacing: -.8px;

}


.content-description {

    color: #8d9baa;

    font-size: 13px;

    line-height: 1.6;

    margin-bottom: 20px;

}


.content-title {

    margin:
        30px 0 15px;

    font-size: 17px;

}


/* =========================================================
   FEATURE BANNER
========================================================= */

.feature-banner {

    padding: 20px;

    display: flex;

    align-items: center;

    gap: 15px;

    border-radius: 20px;

    margin-bottom: 16px;

}


.signal-banner {

    background:
        linear-gradient(
            135deg,
            rgba(255,8,8,.13),
            rgba(18,56,93,.25)
        );

    border:
        1px solid rgba(255,8,8,.18);

}


.feature-symbol {

    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border-radius: 16px;

    background:
        rgba(255,8,8,.12);

    font-size: 27px;

}


.feature-banner strong {

    font-size: 14px;

}


.feature-banner p {

    margin-top: 5px;

    color: #8d9baa;

    font-size: 11px;

    line-height: 1.5;

}


/* =========================================================
   LARGE ACTION
========================================================= */

.large-action {

    width: 100%;

    min-height: 55px;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 9px;

    border-radius: 14px;

    color: white;

    font-weight: 900;

    transition: var(--transition);

}


.large-action span {

    font-size: 21px;

}


.orange-action {

    background:
        linear-gradient(
            135deg,
            #ff1111,
            #d90000
        );

    box-shadow:
        0 12px 30px rgba(255,8,8,.18);

}


.green-action {

    background:
        linear-gradient(
            135deg,
            #ff1111,
            #c90000
        );

}


.large-action:hover {

    transform:
        translateY(-2px);

}


/* =========================================================
   SERVICES
========================================================= */

.service-list {

    display: grid;

    gap: 13px;

}


.service-list-card {

    display: flex;

    overflow: hidden;

    min-height: 145px;

    border-radius: 20px;

    border:
        1px solid rgba(255,255,255,.07);

    background:
        linear-gradient(
            145deg,
            #102943,
            #050d17
        );

}


.service-list-image {

    width: 105px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            145deg,
            #173c62,
            #081321
        );

}


.service-photo-placeholder {

    padding: 8px;

    color: #b7c4d1;

    font-size: 10px;

    text-align: center;

    transform:
        rotate(-8deg);

}


.service-list-content {

    flex: 1;

    padding: 17px;

}


.service-list-content small {

    color: var(--red);

    font-size: 8px;

    letter-spacing: 1px;

}


.service-list-content h3 {

    margin-top: 5px;

    font-size: 17px;

}


.service-list-content p {

    margin-top: 5px;

    color: #8c9aa9;

    font-size: 11px;

    line-height: 1.4;

}


.service-request-button {

    margin-top: 10px;

    padding: 7px 10px;

    border-radius: 9px;

    color: white;

    background:
        rgba(255,8,8,.10);

    font-size: 10px;

    font-weight: 800;

}


/* =========================================================
   JOBS
========================================================= */

.filter-bar {

    display: flex;

    gap: 7px;

    overflow-x: auto;

    padding:
        4px 0 14px;

}


.filter-btn {

    flex-shrink: 0;

    padding: 9px 12px;

    border-radius: 100px;

    color: #8c9baa;

    background:
        rgba(255,255,255,.045);

    border:
        1px solid rgba(255,255,255,.07);

    font-size: 10px;

}


.filter-btn.active {

    color: white;

    background:
        var(--red);

    border-color:
        var(--red);

}


.jobs-list {

    display: grid;

    gap: 11px;

}


.job-card {

    padding: 17px;

    display: flex;

    justify-content: space-between;

    gap: 15px;

    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            #101f31,
            #050b13
        );

    border:
        1px solid rgba(255,255,255,.07);

}


.job-card small {

    color: var(--red);

    font-size: 8px;

    font-weight: 900;

}


.job-card h3 {

    margin-top: 5px;

    font-size: 15px;

}


.job-card p {

    margin-top: 6px;

    color: #7e8e9e;

    font-size: 11px;

}


.job-card > strong {

    white-space: nowrap;

    align-self: center;

    color: white;

    font-size: 12px;

}


/* =========================================================
   PROFESSIONNELS
========================================================= */

.professionals-list {

    display: grid;

    gap: 11px;

}


.professional-card {

    padding: 15px;

    display: flex;

    align-items: center;

    gap: 13px;

    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            #111f30,
            #050b12
        );

    border:
        1px solid rgba(255,255,255,.07);

}


.professional-avatar {

    width: 50px;
    height: 50px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 15px;

    color: white;

    background:
        linear-gradient(
            145deg,
            #ff1515,
            #790000
        );

    font-weight: 900;

}


.professional-card small {

    color: var(--red);

    font-size: 8px;

}


.professional-card h3 {

    margin-top: 4px;

    font-size: 14px;

}


.professional-card p {

    margin-top: 4px;

    color: #7d8d9d;

    font-size: 10px;

}


/* =========================================================
   PROFIL
========================================================= */

.profile-header-card {

    padding: 30px 20px;

    text-align: center;

    border-radius: 25px;

    background:
        linear-gradient(
            145deg,
            #132e4b,
            #050d18
        );

    border:
        1px solid rgba(255,255,255,.08);

    box-shadow:
        0 25px 50px rgba(0,0,0,.3);

}


.profile-avatar {

    width: 78px;
    height: 78px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #ff1717,
            #8e0000
        );

    font-size: 28px;

    font-weight: 900;

    box-shadow:
        0 15px 35px rgba(255,8,8,.2);

}


.profile-header-card h2 {

    margin-top: 15px;

    font-size: 21px;

}


.profile-header-card p {

    margin-top: 5px;

    color: #8594a4;

    font-size: 12px;

}


.profile-type {

    display: inline-block;

    margin-top: 12px;

    padding: 7px 12px;

    border-radius: 100px;

    color: white;

    background:
        rgba(255,8,8,.12);

    border:
        1px solid rgba(255,8,8,.2);

    font-size: 9px;

    font-weight: 800;

}


.profile-details {

    margin-top: 15px;

    display: grid;

    gap: 10px;

}


.profile-detail {

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 15px;

    border-radius: 15px;

    background:
        rgba(255,255,255,.035);

    border:
        1px solid rgba(255,255,255,.06);

}


.profile-detail > span {

    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 11px;

    background:
        rgba(18,56,93,.6);

}


.profile-detail div {

    display: flex;

    flex-direction: column;

    gap: 4px;

}


.profile-detail small {

    color: #6e7f91;

    font-size: 9px;

}


.profile-detail strong {

    font-size: 12px;

}


.logout-button {

    width: 100%;

    min-height: 52px;

    margin-top: 20px;

    border-radius: 14px;

    background:
        rgba(255,8,8,.07);

    border:
        1px solid rgba(255,8,8,.25);

    color: #ff3838;

    font-weight: 800;

}


/* =========================================================
   NAVIGATION BASSE
========================================================= */

.bottom-nav {

    position: fixed;

    z-index: 200;

    left: 50%;

    bottom: 10px;

    transform:
        translateX(-50%);

    width:
        min(650px, calc(100% - 20px));

    height: 68px;

    padding: 7px;

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 4px;

    border-radius: 22px;

    background:
        rgba(4,10,18,.92);

    border:
        1px solid rgba(255,255,255,.09);

    box-shadow:
        0 20px 50px rgba(0,0,0,.55);

    backdrop-filter:
        blur(22px);

}


.nav-item {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 3px;

    border-radius: 16px;

    background: transparent;

    color: #68798b;

    transition: var(--transition);

}


.nav-item span {

    font-size: 18px;

}


.nav-item small {

    font-size: 8px;

    font-weight: 700;

}


.nav-item.active {

    color: white;

    background:
        rgba(255,8,8,.13);

}


.nav-item.active span {

    filter:
        drop-shadow(
            0 0 8px rgba(255,8,8,.4)
        );

}


/* =========================================================
   MODALES
========================================================= */

.modal {

    position: fixed;

    z-index: 1000;

    inset: 0;

    display: flex;

    align-items: flex-end;

    justify-content: center;

    padding: 15px;

    background:
        rgba(0,0,0,.72);

    backdrop-filter:
        blur(8px);

}


.modal.hidden {
    display: none;
}


.modal.active {

    animation:
        modalFade .25s ease both;

}


@keyframes modalFade {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}


.modal-box {

    width:
        min(560px, 100%);

    max-height:
        90vh;

    overflow-y: auto;

    position: relative;

    padding: 27px;

    border-radius:
        27px 27px 20px 20px;

    background:
        linear-gradient(
            145deg,
            #102943,
            #040a12
        );

    border:
        1px solid rgba(255,255,255,.10);

    box-shadow:
        0 -10px 60px rgba(0,0,0,.55);

}


.modal-close {

    position: absolute;

    top: 15px;
    right: 15px;

    width: 38px;
    height: 38px;

    border-radius: 11px;

    color: white;

    background:
        rgba(255,255,255,.06);

    font-size: 24px;

}


.modal-title-icon {

    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 16px;

    background:
        rgba(255,8,8,.10);

    font-size: 27px;

}


.green-modal-icon {

    background:
        rgba(255,8,8,.10);

}


.modal-heading {

    margin:
        20px 0 25px;

}


.modal-heading > span {

    color: var(--red);

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 2px;

}


.modal-heading h2 {

    margin-top: 7px;

    font-size: 25px;

    letter-spacing: -.7px;

}


.modal-heading p {

    margin-top: 7px;

    color: #8493a3;

    font-size: 12px;

}


/* =========================================================
   TOAST
========================================================= */

.toast {

    position: fixed;

    z-index: 2000;

    left: 50%;

    bottom: 92px;

    transform:
        translate(-50%, 20px);

    width:
        min(90%, 420px);

    padding: 14px 17px;

    border-radius: 13px;

    background:
        #0d1b2b;

    border:
        1px solid rgba(255,255,255,.10);

    color: white;

    box-shadow:
        0 15px 40px rgba(0,0,0,.4);

    font-size: 12px;

    text-align: center;

    opacity: 0;

    pointer-events: none;

    transition:
        .3s ease;

}


.toast.show {

    opacity: 1;

    transform:
        translate(-50%, 0);

}


.toast.success {

    border-color:
        rgba(255,8,8,.35);

}


.toast.error {

    background:
        #250808;

    border-color:
        rgba(255,8,8,.55);

}


/* =========================================================
   EMPTY STATE
========================================================= */

.empty-state {

    padding: 30px 15px;

    text-align: center;

    color: #68788a;

    border-radius: 15px;

    border:
        1px dashed rgba(255,255,255,.10);

    background:
        rgba(255,255,255,.02);

    font-size: 12px;

}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {

    width: 7px;
    height: 7px;

}


::-webkit-scrollbar-track {

    background:
        #030913;

}


::-webkit-scrollbar-thumb {

    background:
        #1c3854;

    border-radius: 20px;

}


::-webkit-scrollbar-thumb:hover {

    background:
        var(--red);

}


/* =========================================================
   RESPONSIVE TABLET
========================================================= */

@media (max-width: 800px) {

    .home-service-grid {

        grid-template-columns:
            1fr;

    }


    .home-service-card {

        min-height: 220px;

    }


    .profile-options {

        grid-template-columns:
            1fr;

    }


    .profile-option {

        min-height: 320px;

    }

}


/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media (max-width: 600px) {

    .home-container {

        padding:
            45px 17px
            35px;

    }


    .home-header {

        margin-bottom: 45px;

    }


    .country-badge {

        font-size: 10px;

        padding:
            8px 10px;

    }


    .home-hero h1 {

        font-size: 42px;

        letter-spacing: -2px;

    }


    .hero-description {

        font-size: 13px;

    }


    .hero-community {

        transform:
            scale(.85);

        margin:
            25px auto 20px;

    }


    .home-services {

        margin-top: 65px;

    }


    .home-section-heading h2,
    .dashboard-heading h2 {

        font-size: 23px;

    }


    .auth-container,
    .choice-container,
    .commune-container {

        padding:
            50px 18px
            35px;

    }


    .auth-title h1,
    .choice-intro h1,
    .commune-intro h1 {

        font-size: 31px;

    }


    .commune-grid {

        grid-template-columns:
            1fr;

    }


    .dashboard-grid {

        grid-template-columns:
            1fr 1fr;

        gap: 9px;

    }


    .dashboard-card {

        min-height: 205px;

        padding: 16px;

    }


    .dashboard-card h3 {

        font-size: 17px;

    }


    .dashboard-card p {

        font-size: 10px;

    }


    .dashboard-card > strong {

        left: 16px;

    }


    .service-list-card {

        min-height: 135px;

    }


    .service-list-image {

        width: 90px;

    }


    .modal {

        padding:
            8px;

    }


    .modal-box {

        padding: 22px;

    }

}


/* =========================================================
   TRÈS PETITS ÉCRANS
========================================================= */

@media (max-width: 380px) {

    .home-hero h1 {

        font-size: 36px;

    }


    .dashboard-grid {

        grid-template-columns:
            1fr;

    }


    .dashboard-card {

        min-height: 180px;

    }


    .country-badge {

        display: none;

    }


    .app-main {

        padding-left: 13px;
        padding-right: 13px;

    }

}


/* =========================================================
   ACCESSIBILITÉ
========================================================= */

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {

    outline:
        2px solid var(--red);

    outline-offset:
        2px;

}


/* =========================================================
   RÉDUCTION DES ANIMATIONS
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        scroll-behavior:
            auto !important;

        transition-duration:
            .01ms !important;

    }

}