/* =========================================================
   PORTFOLIO - STYLE PRINCIPAL
   Bleu foncé + Jaune + Blanc/Ivoire
   Responsive PC / Tablette / Android
========================================================= */


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

:root{
    --navy:#092744;
    --navy2:#123b60;
    --yellow:#ffd329;
    --yellow-dark:#e7b900;

    --cream:#fffdf5;
    --white:#ffffff;

    --text:#27333d;
    --muted:#6d747b;

    --border:#e8e5d9;

    --shadow:0 8px 24px rgba(9,39,68,.14);

    --header-h:72px;
}


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

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

html{
    scroll-behavior:smooth;
}

@font-face{
    font-family:font1;
    src:url("../font/Poppins-Bold.ttf");
}

body{
    min-width:320px;
    overflow-x:hidden;

    font-family:"Segoe UI",Arial,Helvetica,sans-serif;

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

    line-height:1.55;
}

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

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

button,
input,
textarea{
    font:inherit;
}


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

.site-header{
    position:fixed;

    top:0;
    left:0;
    right:0;

    height:var(--header-h);

    z-index:10000;

    background:var(--navy);

    box-shadow:0 3px 15px rgba(0,0,0,.18);
}

.header-inner{
    width:100%;
    max-width:1500px;

    height:100%;

    margin:auto;
    padding:0 30px;

    display:flex;
    align-items:center;
    justify-content:space-between;
}


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

.logo{
    order:1;

    color:var(--yellow);

    font-weight:900;
    font-size:21px;

    letter-spacing:.5px;

    flex-shrink:0;
    margin-left: -570px;
}


/* =========================================================
   NAVIGATION DESKTOP
========================================================= */

.nav{
    order:2;

    display:flex;

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

    gap:30px;
}

.nav a{
    position:relative;

    color:#ffffff;

    font-size:17px;
    font-weight:700;

    padding:26px 0 22px;

    white-space:nowrap;
}

.nav a::after{
    content:"";

    position:absolute;

    left:0;
    right:0;

    bottom:13px;

    height:3px;

    border-radius:3px;

    background:var(--yellow);

    transform:scaleX(0);

    transition:.2s ease;
}

.nav a:hover::after
/*.nav a.active::after*/{
    transform:scaleX(1);
}


/* =========================================================
   BOUTON MENU MOBILE
========================================================= */

.menu-toggle{
    order:3;

    display:none;

    width:42px;
    height:42px;

    padding:0;

    border:0;
    border-radius:8px;

    background:transparent;

    /*color:var(--yellow);*/
    color: var(--navy);

    cursor:pointer;

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

    font-size:23px;

    z-index:10002;

    flex-shrink:0;
}

.menu-toggle i{
    pointer-events:none;
}


/* =========================================================
   BOUTON MODE SOMBRE
========================================================= */

.theme-toggle{
    width:42px;
    height:42px;

    border:1px solid rgba(255,211,41,.35);

    border-radius:50%;

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

    color:var(--yellow);

    display:flex;

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

    cursor:pointer;

    font-size:17px;

    transition:.25s ease;

    padding:0;

    flex-shrink:0;
}

.theme-toggle:hover{
    background:var(--yellow);

    color:var(--navy);

    transform:rotate(15deg) scale(1.05);

    box-shadow:0 4px 12px rgba(255,211,41,.25);
}


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

.page{
    min-height:100vh;

    padding-top:var(--header-h);

    position:relative;

    overflow:hidden;

    background:
        radial-gradient(
            500px 190px at 5% 24%,
            rgba(255,211,41,.65),
            transparent 72%
        ),

        radial-gradient(
            520px 210px at 96% 86%,
            rgba(255,225,72,.42),
            transparent 72%
        ),

        linear-gradient(
            180deg,
            #fff 0%,
            #fffdf5 58%,
            #fff5a6 100%
        );
}

.page::before{
    content:"";

    position:absolute;

    width:120%;
    height:170px;

    left:-10%;
    top:75px;

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

    border-radius:0 0 50% 50%;

    transform:rotate(-2deg);

    z-index:0;
}

.page::after{
    content:"";

    position:absolute;

    width:120%;
    height:190px;

    left:-10%;
    bottom:-100px;

    background:rgba(255,211,41,.45);

    border-radius:50% 50% 0 0;

    z-index:0;
}


/* =========================================================
   CONTENT
========================================================= */

.content{
    position:relative;

    z-index:1;

    width:min(1220px,92%);

    margin:auto;

    padding:45px 0 75px;
}


/* =========================================================
   TITRES
========================================================= */

.section-title{
    text-align:center;

    margin-bottom:42px;
}

.section-title .eyebrow{
    display:block;

    font-size:17px;

    color:#41484f;

    margin-bottom:0;
}

.section-title h1{
    color:var(--navy);

    font-size:34px;

    line-height:1.2;

    display:inline-flex;

    align-items:center;

    gap:14px;
}

.section-title h1::before,
.section-title h1::after{
    content:"";

    width:35px;
    height:3px;

    background:var(--yellow);

    border-radius:4px;
}


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

.hero{
    min-height:calc(100vh - var(--header-h));

    display:grid;

    grid-template-columns:1fr 1.15fr;

    align-items:center;

    gap:55px;
}


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

.hero-photo-area{
    display:flex;

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

    position:relative;
}

.hero-photo-area::before{
    content:"";

    position:absolute;

    width:317px;
    height:317px;

    border:7px solid var(--yellow);

    border-radius:50%;

    transform:rotate(-16deg);
}

.hero-photo{
    position:relative;

    z-index:1;

    width:315px;
    height:315px;

    object-fit:cover;

    border-radius:50%;

    border:8px solid #fff;

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


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

.hero-text .intro{
    font-size:22px;

    margin-bottom:0;
}

.hero-text h2{
    color:var(--navy);

    font-size:35px;

    line-height:1.18;

    margin-bottom:13px;
}

.role{
    display:inline-block;

    background:var(--yellow);

    color:var(--navy);

    font-weight:800;

    font-size:25px;

    line-height:1.25;

    padding:4px 13px;

    border-radius:7px;

    margin-bottom:18px;
}


/* =========================================================
   BIO
========================================================= */

.bio-box{
    max-width:680px;

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

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

    border-radius:14px;

    padding:18px 20px;

    box-shadow:var(--shadow);

    font-size:15px;

    font-family:'Poppins', sans-serif;
}


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

.hero-actions{
    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    margin-top:18px;
}


/* =========================================================
   SOCIAL
========================================================= */

.socials{
    display:flex;

    gap:10px;
}

.social{
    width:42px;
    height:42px;

    display:grid;

    place-items:center;

    border-radius:50%;

    background:var(--navy);

    color:#fff;

    transition:.2s ease;
}

.social:hover{
    background:var(--yellow);

    color:var(--navy);

    transform:translateY(-2px);
}


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

.buttons{
    display:flex;

    gap:11px;

    flex-wrap:wrap;
}

.btn{
    display:inline-flex;

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

    gap:8px;

    min-height:47px;

    padding:0 19px;

    border-radius:8px;

    border:2px solid transparent;

    font-weight:750;

    cursor:pointer;

    transition:.2s ease;
}

.btn:hover{
    transform:translateY(-2px);

    box-shadow:0 7px 16px rgba(9,39,68,.16);
}

.btn-yellow{
    background:var(--yellow);

    color:var(--navy);
}

.btn-navy{
    background:var(--navy);

    color:#fff;
}


/* =========================================================
   À PROPOS
========================================================= */

.about-grid{
    display:grid;

    grid-template-columns:350px 1fr;

    align-items:center;

    gap:60px;
}

.about-photo{
    width:100%;
    height:350px;

    object-fit:cover;

    border-radius:12px;

    background:#eee;

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

.about-name{
    text-align:center;

    margin-top:13px;

    color:var(--navy);

    font-family:font1;

    font-weight:700;

    font-size:20px;
}

.info-grid{
    display:grid;

    grid-template-columns:1fr 1fr;

    gap:18px 40px;

    margin-bottom:20px;
}

.info-item{
    display:grid;

    grid-template-columns:30px 1fr;

    gap:8px;
}

.info-item i{
    color:var(--yellow-dark);

    margin-top:4px;
}

.info-item strong{
    display:block;

    color:var(--navy);

    font-size:13px;
}

.info-item span{
    color:#4e5963;

    font-size:14px;
}

.about-desc{
    background:#fff;

    border-radius:12px;

    padding:17px;

    font-family:'Poppins', sans-serif;

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

    box-shadow:0 5px 16px rgba(9,39,68,.07);

    font-size:16px;
}


/* =========================================================
   COMPÉTENCES
========================================================= */

.skills-grid{
    display:grid;

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

    gap:15px;
}

.skill-card{
    background:#fff;

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

    border-radius:13px;

    padding:17px;

    box-shadow:0 6px 17px rgba(9,39,68,.08);
}

.skill{
    margin-bottom:17px;
}

.skill:last-child{
    margin-bottom:0;
}

.skill-name{
    display:flex;

    align-items:center;

    gap:8px;

    font-weight:700;

    font-size:15px;

    margin-bottom:6px;
}

.skill-name i{
    width:23px;

    color:var(--navy);

    text-align:center;

    font-size:19px;
}

/* =========================================================
   BARRES DE COMPÉTENCES
========================================================= */

.progress-line{
    width:100%;
    height:9px;
    background:#e5e8eb;
    border-radius:50px;
    overflow:hidden;
    display:block;
}

.progress-line span{
    display:block;
    width:0;
    height:100%;
    background:var(--yellow);
    border-radius:50px;
    transition:width 1s ease;
}

.percent{
    display:block;
    text-align:right;
    font-size:14px;
    font-weight:600;
    color:var(--muted);
    margin-top:4px;
}



/* =========================================================
   PROJETS
========================================================= */

.projects-grid{
    display:grid;

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

    gap:28px;
}

.project-card{
    overflow:hidden;

    background:#fff;

    border:1px solid #eadfbb;

    border-radius:15px;

    box-shadow:var(--shadow);

    transition:.2s ease;
}

.project-card:hover{
    transform:translateY(-4px);
}

.project-image{
    width:100%;

    height:310px;

    object-fit:cover;

    background:#f5f5f5;
}

.project-body{
    padding:17px 20px 22px;
}

.project-body h2{
    color:var(--navy);

    font-size:26px;

    margin-bottom:7px;
}

.tags{
    display:flex;

    flex-wrap:wrap;

    gap:8px;

    margin-bottom:8px;
}

.tag{
    background:#fff8d8;

    border:1px solid #eadfba;

    border-radius:18px;

    padding:3px 11px;

    font-size:13px;
}

.project-actions{
    display:flex;

    gap:9px;

    flex-wrap:wrap;

    margin-top:14px;
}


/* =========================================================
   MODAL PROJET
========================================================= */

.project-modal{
    position:fixed;

    inset:0;

    z-index:99999;

    display:flex;

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

    padding:25px;

    box-sizing:border-box;

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

    opacity:0;

    visibility:hidden;

    pointer-events:none;

    transition:
        opacity .25s ease,
        visibility .25s ease;
    margin-left: 30px;
}

.project-modal.active{
    opacity:1;

    visibility:visible;

    pointer-events:auto;
}

.project-modal-box{
    position:relative;

    width:min(850px,100%);

    max-height:90vh;

    overflow-y:auto;

    box-sizing:border-box;

    background:#fff;

    color:#27333d;

    border-radius:18px;

    padding:38px;

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

    transform:translateY(25px) scale(.96);

    transition:transform .25s ease;
    margin-top: 80px;
}

.project-modal.active .project-modal-box{
    transform:translateY(0) scale(1);
}

.project-modal-close{
    position:absolute !important;

    top:15px !important;
    right:15px !important;

    width:40px !important;
    height:40px !important;

    padding:0 !important;
    margin:0 !important;

    display:flex !important;

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

    border:none !important;

    border-radius:50% !important;

    background:var(--navy) !important;

    color:#fff !important;

    font-size:18px !important;

    line-height:1 !important;

    cursor:pointer !important;

    z-index:100000 !important;

    pointer-events:auto !important;
}

.project-modal-close i{
    display:block;

    pointer-events:none;

    line-height:1;
}

.project-modal-close:hover{
    background:var(--yellow) !important;

    color:var(--navy) !important;

    transform:rotate(90deg);
}

.project-modal-box h2{
    color:var(--navy);

    font-size:30px;

    margin-bottom:15px;

    padding-right:50px;
}

.project-modal-box h3{
    color:var(--navy);

    font-size:20px;

    margin-top:22px;

    margin-bottom:8px;
}

.project-modal-box p{
    margin-bottom:10px;

    line-height:1.7;
}

.project-modal-box ul{
    padding-left:22px;

    margin-top:8px;
}

.project-modal-box li{
    margin-bottom:6px;
}

.modal-technologies{
    display:flex;

    flex-wrap:wrap;

    gap:8px;

    margin-top:10px;
}

.modal-actions{
    display:flex;

    gap:10px;

    margin-top:40px;
}

body.modal-open{
    overflow:hidden;
}


/* =========================================================
   EXPÉRIENCE
========================================================= */

.experience-card{
    max-width:900px;

    margin:0 auto 30px;

    background:#fff;

    border-left:6px solid var(--yellow);

    border-radius:14px;

    padding:30px 32px;

    box-shadow:var(--shadow);

    position:relative;

    overflow:hidden;
}

.experience-card::before{
    content:"";

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:4px;

    background:var(--yellow);
}

.experience-card h2{
    color:var(--navy);

    font-size:25px;

    margin:0 0 18px;

    font-weight:700;

    display:flex;

    align-items:center;

    gap:10px;
}

.experience-card h2 i{
    color:var(--yellow);

    font-size:21px;
}

.experience-card p{
    color:#555;

    line-height:1.7;

    margin:8px 0;
}

.experience-card > p strong{
    color:var(--navy);
}

.experience-item{
    position:relative;

    margin-top:28px;

    padding:0 0 5px 25px;

    border-left:2px solid #e5e5e5;
}

.experience-item::before{
    content:"";

    position:absolute;

    left:-7px;

    top:4px;

    width:12px;
    height:12px;

    background:var(--yellow);

    border-radius:50%;

    border:3px solid #fff;

    box-shadow:0 0 0 2px var(--yellow);
}

.experience-date{
    display:inline-block;

    background:var(--yellow);

    color:var(--navy);

    font-size:13px;

    font-weight:700;

    padding:6px 12px;

    border-radius:20px;

    margin-bottom:9px;
}

.experience-item h3{
    color:var(--navy);

    font-size:18px;

    line-height:1.4;

    margin:4px 0 8px;

    font-weight:700;
}

.experience-card ul{
    margin:15px 0 0;

    padding-left:22px;
}

.experience-card li{
    color:#555;

    line-height:1.7;

    margin-bottom:8px;
}

.experience-card li::marker{
    color:var(--yellow);
}


/* =========================================================
   CONTACT
========================================================= */

.contact-grid{
    display:grid;

    grid-template-columns:1fr 1fr;

    gap:55px;
}

.contact-title{
    color:var(--navy);

    font-size:27px;

    margin-bottom:14px;
}

.contact-list{
    display:grid;

    gap:11px;
}

.contact-row{
    min-height:54px;

    display:grid;

    grid-template-columns:50px 1fr;

    align-items:center;

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

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

    border-radius:8px;
}

.contact-row i{
    color:var(--yellow-dark);

    text-align:center;

    font-size:20px;
}

.contact-row strong{
    display:block;

    color:var(--navy);

    font-size:13px;
}

.contact-row div{
    font-size:14px;
}

.form{
    display:grid;

    gap:9px;
}

.form label{
    color:var(--navy);

    font-size:14px;

    font-weight:700;
}

.form-row{
    display:grid;

    grid-template-columns:1fr 1fr;

    gap:12px;
}

.form input,
.form textarea{
    width:100%;

    padding:11px 13px;

    border:1px solid #dfe4e8;

    border-radius:6px;

    background:#fff;

    outline:none;
}

.form textarea{
    min-height:130px;

    resize:vertical;
}

.form input:focus,
.form textarea:focus{
    border-color:var(--yellow-dark);

    box-shadow:0 0 0 3px rgba(255,201,40,.18);
}

.form-message{
    font-size:13px;

    min-height:20px;
}

.form-message.success{
    color:#16803c;
}

.form-message.error{
    color:#c62828;
}


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

.footer{
    position:relative;

    z-index:2;

    background:var(--navy);

    color:#fff;

    text-align:center;

    padding:17px;

    font-size:13px;
}


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

@media screen and (max-width:1000px){

    .header-inner{
        padding:0 22px;
    }

    .nav{
        gap:18px;
    }

    .nav a{
        font-size:13px;
    }

    .hero{
        grid-template-columns:1fr 1fr;

        gap:30px;
    }

    .hero-text h2{
        font-size:29px;
    }

    .about-grid{
        grid-template-columns:300px 1fr;

        gap:35px;
    }

    .skills-grid{
        grid-template-columns:repeat(2,1fr);
    }
}


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

@media screen and (max-width:768px){

    :root{
        --header-h:64px;
    }


    /* HEADER MOBILE */

    .site-header{
        height:var(--header-h);

        background:var(--navy);

        z-index:10000;
        background-color: whitesmoke;
    }

    .header-inner{
        height:100%;

        padding:0 15px;

        display:flex;

        align-items:center;

        justify-content:space-between;
    }


    /* BOUTON 3 BARRES */

    .menu-toggle{
        display:flex !important;

        order:1;

        width:42px;
        height:42px;

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

        /*color:var(--yellow);*/
        color: var(--navy);

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

        border-radius:8px;

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

        font-size:22px;
    }
 
    
/* THEME */

    .theme-toggle{
        order:2;

        width:40px;
        height:40px;

        margin-left:8px;
        color: var(--navy);
    }


    /* LOGO */

    .logo{
        order:3;

        margin-left:auto;

        font-size:20px;
    }


    /* NAV MOBILE */

    .nav{
        position:absolute;

        top:var(--header-h);

        left:0;
        right:0;

        width:100%;

        display:flex !important;

        flex-direction:column;

        align-items:stretch;

        gap:0;

        padding:8px 16px 15px;

        background:var(--navy);

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

        opacity:0;

        visibility:hidden;

        pointer-events:none;

        transform:translateY(-15px);

        transition:
            opacity .25s ease,
            visibility .25s ease,
            transform .25s ease;

        z-index:9999;
    }


    /* NAV OUVERT */

    .nav.active{
        opacity:1;

        visibility:visible;

        pointer-events:auto;

        transform:translateY(0);
    }


    .nav a{
        width:100%;

        padding:13px 8px;

        color:#fff;

        font-size:15px;

        text-align:left;

        white-space:normal;
    }

    .nav a::after{
        left:8px;

        right:auto;

        bottom:5px;

        width:35px;

        height:3px;
    }


    /* PAGE */

    .page{
        padding-top:var(--header-h);
    }

    .content{
        width:92%;

        padding:32px 0 55px;
    }


    /* HERO */

    .hero{
        min-height:auto;

        grid-template-columns:1fr;

        gap:33px;

        padding-top:25px;

        text-align:center;
    }

    .hero-photo{
        width:220px;
        height:220px;
    }

    .hero-photo-area::before{
        width:250px;
        height:250px;
    }

    .hero-text .intro{
        font-size:19px;
    }

    .hero-text h2{
        font-size:26px;
    }

    .role{
        font-size:20px;

        margin-bottom:14px;
    }

    .bio-box{
        text-align:left;

        font-size:14px;

        line-height:1.7;
    }

    .hero-actions{
        flex-direction:column;
    }

    .buttons{
        justify-content:center;

        width:100%;
    }


    /* TITRES */

    .section-title{
        margin-bottom:28px;
    }

    .section-title h1{
        font-size:25px;
    }

    .section-title h1::before,
    .section-title h1::after{
        width:23px;
    }


    /* ABOUT */

    .about-grid{
        grid-template-columns:1fr;

        gap:27px;
    }

    .about-photo{
        width:min(300px,100%);

        height:300px;

        margin:auto;
    }

    .info-grid{
        grid-template-columns:1fr;

        gap:13px;
    }


    /* SKILLS */

    .skills-grid{
        grid-template-columns:1fr;
    }


    /* PROJECTS */

    .projects-grid{
        grid-template-columns:1fr;
    }

    .project-image{
        height:230px;
    }


    /* EXPERIENCE */

    .experience-card{
        width:calc(100% - 20px);

        margin:0 auto 22px;

        padding:24px 20px;

        border-left-width:5px;

        border-radius:12px;
    }

    .experience-card h2{
        font-size:21px;
    }

    .experience-card p{
        font-size:14px;

        line-height:1.6;
    }

    .experience-item{
        margin-top:24px;

        padding-left:20px;
    }

    .experience-item h3{
        font-size:16px;
    }

    .experience-date{
        font-size:12px;

        padding:5px 10px;
    }

    .experience-card li{
        font-size:14px;

        line-height:1.6;
    }


    /* CONTACT */

    .contact-grid{
        grid-template-columns:1fr;

        gap:35px;
    }

    .form-row{
        grid-template-columns:1fr;
    }


    /* MODAL */

    .project-modal{
        padding:12px;
    }

    .project-modal-box{
        width:100%;

        max-height:92vh;

        padding:28px 20px;

        border-radius:15px;
    }

    .project-modal-close{
        top:12px !important;

        right:12px !important;

        width:36px !important;

        height:36px !important;

        font-size:16px !important;
    }

    .project-modal-box h2{
        font-size:24px;

        padding-right:45px;
    }

}


/* =========================================================
   PETITS TÉLÉPHONES
========================================================= */

@media screen and (max-width:420px){

    .header-inner{
        padding:0 12px;
    }

    .menu-toggle{
        width:40px;
        height:40px;
        color: var(--navy);
    }

    .theme-toggle{
        width:38px;
        height:38px;
        color: var(--navy);
    }

    .logo{
        font-size:19px;
    }

    .hero-photo{
        width:195px;
        height:195px;
    }

    .hero-photo-area::before{
        width:220px;
        height:220px;
    }

    .hero-text h2{
        font-size:23px;
    }

    .role{
        font-size:18px;
    }

    .buttons{
        flex-direction:column;
    }

    .buttons .btn,
    .project-actions .btn{
        width:100%;
    }

    .section-title h1{
        font-size:22px;
    }

    .section-title h1::before,
    .section-title h1::after{
        display:none;
    }

    .project-modal{
        padding:8px;
    }

    .project-modal-box{
        padding:25px 17px;

        border-radius:13px;
    }

    .project-modal-box h2{
        font-size:21px;
    }
}


/* =========================================================
   DARK MODE
========================================================= */

body.dark-mode{

    --navy:#041525;
    --navy2:#0d2945;

    --yellow:#ffd329;

    --cream:#06182b;
    --white:#0d2945;

    --text:#f1f5f9;
    --muted:#b7c2cc;

    --border:#1d4566;

    --shadow:
        0 8px 24px rgba(0,0,0,.35);

    background:#06182b !important;

    color:#f1f5f9 !important;
}


/* BODY */

body.dark-mode .page{

    background:
        radial-gradient(
            500px 190px at 5% 24%,
            rgba(255,211,41,.12),
            transparent 72%
        ),
        radial-gradient(
            520px 210px at 96% 86%,
            rgba(255,211,41,.08),
            transparent 72%
        ),
        linear-gradient(
            180deg,
            #06182b 0%,
            #071d34 60%,
            #092744 100%
        );
}

body.dark-mode .page::before{
    background:rgba(13,41,69,.7);
}

body.dark-mode .page::after{
    background:rgba(255,211,41,.08);
}


/* HEADER */

body.dark-mode .site-header{
    background:#041525 !important;
}

body.dark-mode .nav{
    background:#041525;
}

body.dark-mode .nav a{
    color:#dfe7ef;
}

body.dark-mode .menu-toggle{
    color:#e8edf2 !important;

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

    border-color:rgba(255,255,255,.18);
}

body.dark-mode .theme-toggle{
    color:#e8edf2 !important;

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

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

body.dark-mode .theme-toggle:hover{
    background:rgba(255,255,255,.12);

    color:#fff !important;
}


/* TEXTES */

body.dark-mode .section-title .eyebrow{
    color:#b7c2cc;
}

body.dark-mode .section-title h1,
body.dark-mode .hero-text h2,
body.dark-mode .about-name,
body.dark-mode .contact-title{
    color:#ffffff;
}


/* BIO */

body.dark-mode .bio-box{
    background:#0d2945;

    border-color:#1d4566;

    color:#d2dae3;

    box-shadow:
        0 8px 24px rgba(0,0,0,.3);
}
/* ABOUT */

body.dark-mode .about-desc{
    background:#0d2945;

    border-color:#1d4566;

    color:#d2dae3;
}

body.dark-mode .info-item strong{
    color:#ffffff;
}

body.dark-mode .info-item span{
    color:#c3ced8;
}


/* SKILLS */

body.dark-mode .skill-card{
    background:#0d2945;

    border-color:#1d4566;

    color:#d2dae3;
}

body.dark-mode .skill-name{
    color:#ffffff;
}

body.dark-mode .skill-name i{
    color:#ffd329;
}

body.dark-mode .progress-line{
    background:#183b58;
}

body.dark-mode .percent{
    color:#b7c2cc;
}


/* PROJECTS */

body.dark-mode .project-card{
    background:#0d2945;

    border-color:#1d4566;
}

body.dark-mode .project-body h2{
    color:#ffffff;
}

body.dark-mode .project-body p{
    color:#d2dae3;
}

body.dark-mode .tag{
    background:#173b59;

    border-color:#285372;

    color:#e7edf3;
}


/* EXPERIENCE */

body.dark-mode .experience-card{
    background:#0d2945;

    border-color:#ffd329;

    color:#d2dae3;
}

body.dark-mode .experience-card h2,
body.dark-mode .experience-item h3{
    color:#ffffff;
}

body.dark-mode .experience-card p,
body.dark-mode .experience-card li{
    color:#d2dae3;
}

body.dark-mode .experience-card > p strong{
    color:#ffd329 !important;
}

body.dark-mode .experience-item{
    border-left-color:#285372;
}

body.dark-mode .experience-item::before{
    border-color:#0d2945;
}


/* CONTACT */

body.dark-mode .contact-row{
    background:#0d2945;

    border-color:#1d4566;

    color:#d2dae3;
}

body.dark-mode .contact-row strong{
    color:#ffffff;
}

body.dark-mode .contact-row i{
    color:#ffd329;
}

body.dark-mode .form label{
    color:#ffffff;
}

body.dark-mode .form input,
body.dark-mode .form textarea{
    background:#0d2945;

    color:#ffffff;

    border-color:#285372;
}

body.dark-mode .form input::placeholder,
body.dark-mode .form textarea::placeholder{
    color:#8fa0af;
}


/* MODAL */

body.dark-mode .project-modal-box{
    background:#0d2945;

    color:#d2dae3;
}

body.dark-mode .project-modal-box h2,
body.dark-mode .project-modal-box h3{
    color:#ffffff;
}

body.dark-mode .project-modal-box p,
body.dark-mode .project-modal-box li{
    color:#d2dae3;
}

body.dark-mode .project-modal-close{
    background:var(--yellow) !important;

    color:#041525 !important;
}

body.dark-mode .project-modal-close:hover{
    background:#ffffff !important;

    color:#041525 !important;
}


/* FOOTER */

body.dark-mode .footer{
    background:#041525;

    color:#d2dae3;
}


/* =========================================================
   FIN
===============
