/* =========================================================
   GOOGLE FONT
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


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

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

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f5f7;
    color: #070707;
    line-height: 1.6;
}


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

.topnav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    background: rgba(168, 168, 168, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    z-index: 999;

    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.topnav ul {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 45px;

    list-style: none;
    padding: 18px 20px;
}

.topnav a {
    color: #000000;
    text-decoration: none;

    font-size: 14px;
    font-weight: 500;

    transition: 0.3s ease;
}

.topnav a:hover {
    color: #858282;
}


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

.intro-header {
    height: 100vh;
    min-height: 700px;

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

    position: relative;
}


/* Overlay */

.bg-overlay {
    position: absolute;
    inset: 0;
}


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

.intro-message {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1000px;

    padding: 40px 20px;

    margin: 0 auto;

    text-align: center;
}

.intro-message h1 {
    padding-top: 125px;
    font-size: 72px;
    font-weight: 700;

    letter-spacing: -2px;

    color: #000000;

    margin: 0 auto 15px;
}

.intro-message h3 {
    font-size: 22px;
    font-weight: 300;

    color: #030303;

    margin: 0 auto 30px;
}

.intro-message hr {
    width: 120px;

    border: none;
    border-top: 1px solid rgba(3, 3, 3, 0.7);

    margin: 25px auto;
}

.intro-message .lead {
    text-align: center;
    margin: 0 auto;
}


/* =========================================================
   TITRES DE SECTIONS
========================================================= */

/*
   Cette classe permet d'avoir exactement
   le même alignement pour tous les titres.
*/

.section-header {
    width: 100%;
    max-width: 1000px;

    margin: 0 auto 60px;

    text-align: center;
}

.section-header h2,
.section-heading {
    width: 100%;

    margin: 0 auto 15px;

    text-align: center;

    font-size: 42px;
    font-weight: 600;

    line-height: 1.2;

    color: #000000;
}

.section-header h3,
.section-subheading {
    width: 100%;

    margin: 0 auto;

    text-align: center;

    font-size: 18px;
    font-weight: 300;

    color: #000000;
}

.section-header hr {
    width: 100px;

    border: none;
    border-top: 2px solid #1d1d1f;

    margin: 20px auto;
}


/* =========================================================
   SECTIONS
========================================================= */

.content-section-a,
.content-section-b,
#portfolio {
    width: 100%;

    padding: 120px 40px;
}


/* =========================================================
   CONTENEUR DES SECTIONS
========================================================= */

.section-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
}


/* =========================================================
   BULLE / CARTE DE DESCRIPTION
========================================================= */

.description-bubble {
    width: 100%;
    max-width: 1000px;

    margin: 40px auto;

    padding: 45px;

    background: #ffffff;

    border-radius: 30px;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);

    text-align: center;

    transition: all 0.4s ease;
}

.description-bubble:hover {
    transform: translateY(-8px);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.12);
}

.description-bubble p {
    font-size: 17px;

    color: #6e6e73;

    line-height: 1.8;

    margin: 0 auto;
}


/* =========================================================
   PORTFOLIO
========================================================= */

#portfolio {
    background: #ffffff;
}


/* =========================================================
   CARTES PORTFOLIO
========================================================= */

.portfolio-item {
    background: #f5f5f7;

    border-radius: 30px;

    overflow: hidden;

    min-height: 260px;

    margin-bottom: 30px;

    cursor: pointer;

    transition: all 0.4s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.12);
}


/* Zone des projets */

.portfolio-hover {
    height: 260px;

    display: flex;

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

    background:
        linear-gradient(
            135deg,
            #f5f5f7,
            #ffffff
        );

    transition: 0.4s ease;
}


/* Icônes */

.portfolio-hover i {
    font-size: 55px;

    color: #1d1d1f;

    transition: 0.4s ease;
}

.portfolio-item:hover .portfolio-hover i {
    transform: scale(1.15);
}


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

.buttons {
    text-align: center;

    margin-top: 30px;
}

.btn {
    display: block;

    width: fit-content;

    margin: 15px auto;

    padding: 14px 30px;

    border-radius: 30px;

    background: #ffffff;
    color: #1d1d1f;

    text-decoration: none;

    font-size: 15px;
    font-weight: 500;

    transition: all 0.3s ease;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.15);
}

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

    background: #1d1d1f;

    color: #ffffff;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.25);
}


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

footer {
    padding: 60px 40px;

    background: #f5f5f7;

    text-align: center;

    border-top: 1px solid #e5e5e7;
}

footer a {
    color: #1d1d1f;

    text-decoration: none;

    margin: 0 10px;

    font-size: 14px;

    transition: 0.3s ease;
}

footer a:hover {
    color: #777;
}


/* =========================================================
   LISTES SOCIALES
========================================================= */

.intro-social-buttons,
.banner-social-buttons,
footer ul {
    list-style: none;

    padding: 0;
    margin: 0;
}


/* =========================================================
   RESPONSIVE / TABLETTE
========================================================= */

@media (max-width: 768px) {

    /* Navigation */

    .topnav ul {
        flex-direction: column;

        gap: 12px;

        padding: 15px;
    }


    /* Header */

    .intro-message {
        padding: 30px 20px;
    }

    .intro-message h1 {
        font-size: 45px;

        letter-spacing: -1px;
    }

    .intro-message h3 {
        font-size: 18px;
    }


    /* Sections */

    .content-section-a,
    .content-section-b,
    #portfolio {
        padding: 80px 20px;
    }


    /* Titres */

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2,
    .section-heading {
        font-size: 32px;
    }

    .section-header h3,
    .section-subheading {
        font-size: 16px;
    }


    /* Bulle */

    .description-bubble {
        padding: 30px 25px;

        border-radius: 25px;
    }

    .description-bubble p {
        font-size: 15px;
    }


    /* Boutons */

    .btn {
        padding: 12px 25px;

        font-size: 14px;
    }
}


/* =========================================================
   PETITS ÉCRANS
========================================================= */

@media (max-width: 480px) {

    .intro-message h1 {
        font-size: 36px;
    }

    .intro-message h3 {
        font-size: 16px;
    }

    .section-header h2,
    .section-heading {
        font-size: 28px;
    }

    .description-bubble {
        padding: 25px 20px;
    }
}