body {
    background-color: #000000;
}

/*    FONTS - TITRAGE   */

@font-face {
    font-family: "Cassannet Plus";
    src: url("fonts/CassannetPlus.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/*    FONTS - CORPS   */

@font-face {
    font-family: "Sfizia";
    src: url("fonts/Sfizia-Regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Sfizia";
    src: url("fonts/Sfizia-Bold.woff2") format("woff2");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Sfizia";
    src: url("fonts/Sfizia-RegularItalic.woff2") format("woff2");
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Sfizia";
    src: url("fonts/Sfizia-RegularItalic2.woff2") format("woff2");
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

/*.   STYLE DE TITRE.  */

h1,
.titre {
    font-family: "Cassannet Plus", serif;
    font-feature-settings: "salt" 1, "ss01" 1, "swsh" 1;
    font-size: 4rem;
    line-height: 72px;
    color: #ab8c52;
}

h2,
.titre {
    font-family: "Cassannet Plus", serif;
    font-feature-settings: "salt" 1, "ss01" 1, "swsh" 1;
    font-size: 3.5rem;
    line-height: 64px;
    color: #ab8c52;
}

h3,
.titre {
    font-family: "Cassannet Plus", serif;
    font-size: 3rem;
    line-height: 56px;
    color: #ab8c52;
}

h4,
.titre {
    font-family: "Cassannet Plus", serif;
    font-size: 2.5rem;
    line-height: 44px;
    color: #ab8c52;
}

h5,
.titre {
    font-family: "Cassannet Plus", serif;
    font-size: 2rem;
    line-height: 36px;
    color: #ab8c52;
}

h6,
.titre {
    font-family: "Cassannet Plus", serif;
    font-size: 1.5rem;
    line-height: 28px;
    color: #ab8c52;
}

/*   STYLE DE CORPS.  */

body,
p,
.texte-LG {
    font-family: "Sfizia", sans-serif;
    font-size: 1.125rem;
    line-height: 36px;
    color: #fff;
}

.texte-MD {
    font-family: "Sfizia", sans-serif;
    font-size: 1rem;
    line-height: 24px;
    color: #fff;
}

.texte-SM {
    font-family: "Sfizia", sans-serif;
    font-size: 0.875rem;
    line-height: 22px;
    color: #fff;
}

.texte-XS {
    font-family: "Sfizia", sans-serif;
    font-size: 0.75rem;
    line-height: 18px;
    color: #fff;
}

/*   GRAS ET ITALIC.  */

strong,
b {
    font-weight: bold;
}
em,
i {
    font-style: italic;
}

/*   NAVIGATION MENU.  */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    padding: 20px 50px;
    position: sticky;
}

.nav-links {
    display: flex;
    gap: 45px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links a {
    color: #ffffff;
    font-family: "Cassannet Plus", serif;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.5s;
    letter-spacing: 1px;
}

.nav-links a.active {
    color: #ab8c52;
    border-bottom: 1px solid #ab8c52;
}

.nav-links a:hover {
    color: #ab8c52;
}

.logo-wrapper img {
    height: 50px;
    cursor: pointer;
}

.navbar ul,
.navbar ul li {
    list-style-type: none !important;
}

.menu-toggle {
    display: none;
}

@media (max-width: 1024px) {
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        margin-top: 20px;
        position: absolute;
        top: 100px;
        left: 0;
        background-color: #000;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        background: transparent;
        border: none;
        cursor: pointer;
    }

    .hamburger-icon {
        display: block;
        width: 30px;
        height: 3px;
        background: #ab8c52;
        position: relative;
    }

    .hamburger-icon::before,
    .hamburger-icon::after {
        content: "";
        display: block;
        width: 30px;
        height: 3px;
        background: #ab8c52;
        position: absolute;
        transition: transform 0.3s ease;
    }

    .hamburger-icon::before {
        top: -8px;
    }

    .hamburger-icon::after {
        top: 8px;
    }

    /*.   ANIMATION DE LA CROIX EN VERSION MOBILE.  */

    .menu-toggle.active .hamburger-icon {
        background: transparent;
    }

    .menu-toggle.active .hamburger-icon::before {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .hamburger-icon::after {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/*   HERO HEADER ...*/

.hero-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url("/img/home-page-background.png") no-repeat center center/cover;
    position: relative;
}

.hero-header-content {
    text-align: center;
}

.hero-content h1 {
    font-family: "Cassannet Plus", serif;
    font-feature-settings: "salt" 1, "ss01" 1, "swsh" 1;
    color: #ab8c52;
    font-size: 4rem;
    line-height: 72px;
}

.hero-header-content p {
    color: #fff;
    font-family: "Sfizia", sans-serif;
    font-size: 1.25rem;
    line-height: 24px;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 span {
    display: block;
}

.arrow-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    z-index: 2;
    margin: auto;
    align-self: flex-end;
}

/*.  SECTION PROJETS ACCUEIL...*/

.home-projets-section {
    position: relative;
    min-height: 75vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* OVERLAY NOIR */

.home-projets-section .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.home-projets-section-content {
    color: #ab8c52;
    text-align: center;
    z-index: 2;
}

.home-projets-section-content h2 {
    font-family: "Cassannet Plus", serif;
}

.decouvrir-link {
    display: inline-block;
    color: #fff;
    font-family: "Sfizia", sans-serif;
    text-align: center;
}

.decouvrir-link:hover {
    color: #ab8c52;
    text-decoration: underline;
}

/*   FOOTER   */

.footer {
    background: #000;
    text-align: center;
    color: #ab8c52;
    font-family: "Sfizia", sans-serif;
    padding: 40px 20px 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo img {
    height: 88px;
    margin-bottom: 20px;
}

.footer-social,
.footer-legal {
    font-size: 0.75rem;
    color: #ab8c52;
}

.footer-social a,
.footer-legal a {
    color: #ab8c52;
    text-decoration: none;
    margin: 0 2px;
    transition: color 0.2s;
}

.footer-social a:hover,
.footer-legal a:hover {
    color: #fff;
    text-decoration: underline;
}

/*.  PAGE EXPERTISE   */

.expertise-section {
    margin: 0px;
}

.expertise-image-background {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
}

.expertise-image-background img {
    display: block;
    width: 100%;
    height: auto;
    transition: filter 0.3s;
}

/*  OVERLAY NOIR  */

.overlay-black {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

/*  OVERLAY DORÉ + TEXTE  */

.overlay-gold {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -80px;
    height: 80px;
    background: #ab8c52;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: bottom 0.34s ease, opacity 0.3s;
}

.overlay-gold span {
    font-family: "Cassannet Plus", serif;
    font-feature-settings: "salt" 1, "ss01" 1, "swsh" 1;
    font-size: 3rem;
    line-height: 56px;
    color: #332113;
}

/*   HOVER.  */

.expertise-image-background:hover .overlay-black {
    opacity: 1;
}

.expertise-image-background:hover .overlay-gold {
    opacity: 1;
    bottom: 0;
}

/*.  SECTION PROJET NAV   */

.project-section.two-columns {
    display: flex;
    gap: Opx;
    margin: 0;
}

.project-section.two-columns .project-image-background {
    flex: 1 1 50%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.project-image-background {
    display: block;
    position: relative;
    flex: 1 1 50%;
    overflow: hidden;
    cursor: pointer;
}

.project-image-background img {
    width: 100%;
    height: auto;
    display: block;
    transition: filter 0.3s;
}

/*  OVERLAY NOIR  */

.overlay-black {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

/*  OVERLAY DORÉ + TEXTE  */

.overlay-gold {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -80px;
    height: 80px;
    background: #ab8c52;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: bottom 0.34s ease, opacity 0.3s;
}

.overlay-gold span {
    font-family: "Cassannet Plus", serif;
    font-feature-settings: "salt" 1, "ss01" 1, "swsh" 1;
    font-size: 3rem;
    line-height: 56px;
    color: #332113;
}

/*   HOVER.  */

.project-image-background:hover .overlay-black {
    opacity: 1;
}

.project-image-background:hover .overlay-gold {
    opacity: 1;
    bottom: 0;
}

/*.  FORMULAIRE DE CONTACT.  */

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 12px;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form label {
    color: #fff;
    font-family: "Cassannet Plus", serif;
    font-size: 1.5rem;
    line-height: 28px;
    display: block;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: transparent;
    color: #fff;
    border: 2px solid #ab8c52;
    font-family: "Sfizia", sans-serif;
    font-size: 1.125rem;
    border-radius: 0;
    padding: 12px 12px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #ab8c52;
}

.contact-form textarea {
    resize: vertical;
    min-height: 90px;
    max-height: 260px;
}

.contact-form button[type="submit"] {
    background: transparent;
    color: #fff;
    border: 2px solid #ab8c52;
    padding: 12px 30px;
    font-family: "Cassannet Plus", serif;
    font-feature-settings: "salt" 1, "ss01" 1, "swsh" 1;
    font-size: 1.5rem;
    line-height: 28px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    margin-top: 18px;
}

.contact-form button[type="submit"]:hover {
    background: #ab8c52;
    color: #000000;
}

/*.   MESSAGE SUCCÈS.   */

.form-success-message {
    background-color: #006466;
    color: white;
    padding: 15px;
    text-align: center;
    font-family: "Cassannet Plus", serif;
    font-feature-settings: "salt" 1, "ss01" 1, "swsh" 1;
    font-size: 1.5rem;
    line-height: 28px;
    margin-top: 20px;
    animation: fadeIn 0.5s ease-in-out;
}

/*.   MESSAGE ERREUR.   */

.form-error-message {
    background-color: #660000;
    color: white;
    padding: 15px;
    text-align: center;
    border-radius: 8px;
    font-family: "Cassannet Plus", serif;
    font-feature-settings: "salt" 1, "ss01" 1, "swsh" 1;
    font-size: 1.5rem;
    line-height: 28px;
    margin-top: 20px;
    animation: fadeIn 0.5s ease-in-out;
}

/*.  ANIMATION FADE IN.  */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*. TEXTE EN DESSOUS DU FORMULAIRE.  */

.contact-direct-mail {
    text-align: center;
    margin-top: 80px;
}

.contact-title {
    color: #fff;
    font-family: "Cassannet Plus", serif;
    font-feature-settings: "salt" 1, "ss01" 1, "swsh" 1;
    font-size: 2rem;
    line-height: 36px;
}

.contact-mail {
    color: #ab8c52;
    font-family: "Sfizia", sans-serif;
    font-size: 1.5rem;
    line-height: 28px;
    text-decoration: underline;
    transition: color 0.2s;
}

.contact-mail:hover {
    color: #c8ad70;
}

/*.   MESSAGE DE SUCCÈS - FORMULAIRE DE CONTACT.  */

.form-success-message {
    margin-top: 42px;
    background: #006466;
    color: #fff;
    font-family: "Sfizia", sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    text-align: center;
    padding: 26px 0;
    border-radius: 0;
    box-shadow: none;
}

/*.   PAGE PROJETS.   */

.project-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(280px, auto);
    gap: 28px;
    max-width: 1400px;
    margin: 100px auto 60px auto;
    color: #fff;
    font-family: "Sfizia", sans-serif;
    font-size: 1.125rem;
    line-height: 36px;
}

.project-text h2 {
    font-family: "Cassannet Plus", serif;
    font-feature-settings: "salt" 1, "ss01" 1, "swsh" 1;
    font-size: 3.5rem;
    line-height: 64px;
    color: #ab8c52;
}

.project-text p {
    font-family: "Sfizia", sans-serif;
    font-size: 1rem;
    line-height: 24px;
    color: #fff;
    margin-bottom: 12px;
}

.project-text ul {
    margin-top: 8px;
    margin-bottom: 14px;
    padding-left: 1.2em;
}

.project-text b {
    font-weight: bold;
}

.skills-and-time p b {
    font-family: "Sfizia", sans-serif;
    font-size: 1rem;
    line-height: 24px;
    color: #ab8c52;
    font-weight: bold;
}

.skills-and-time p {
    margin-bottom: 4px;
    margin-top: 18px;
}

.skills-and-time ul {
    font-family: "Sfizia", sans-serif;
    font-size: 1rem;
    line-height: 24px;
    margin-bottom: 0;
}

.project-text h2,
.project-text h6 {
    margin-bottom: 12px;
}

.project-image {
    border-radius: 0;
    overflow: hidden;
    background: #000000;
}

.project-image.img1 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}
.project-image.img2 {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
}
.project-image.img3 {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
}
.project-image.img4 {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
}
.project-image.img7 {
    grid-column: 1 / -1;
    width: 100%;
}
.project-image.img12 {
    grid-column: 1 / -1;
    width: 100%;
}
.project-image.img17 {
    grid-column: 1 / -1;
    width: 100%;
}
.project-image.img22 {
    grid-column: 1 / -1;
    width: 100%;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-container-youtube {
    grid-column: 1 / -1;
    width: 100%;
}

/*.                 VERSION MOBILE.                 */

@media (max-width: 1024px) {
    body,
    p,
    .texte-LG,
    .texte-MD,
    .texte-SM,
    .texte-XS {
        font-size: 0.9rem !important;
        line-height: 1.3 !important;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .titre {
        font-size: calc(1.8rem + 1vw) !important;
        line-height: 1.2 !important;
    }

    .hero-content h1 {
        font-size: 2.4rem !important;
        line-height: 1.2 !important;
    }
    .hero-header-content p {
        font-size: 1rem;
        line-height: 1.4;
        max-width: 100%;
        padding: 0 12px;
    }

    .arrow-down {
        width: 28px !important;
        height: 28px !important;
        bottom: 14px !important;
    }

    /*.   EXPERTISE RESPONSIVE.  */

    .overlay-gold {
        position: absolute;
        left: 0;
        right: 0;
        bottom: -40px;
        height: 40px;
        background: #ab8c52;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: bottom 0.34s ease, opacity 0.3s;
    }

    .overlay-gold span {
        font-family: "Cassannet Plus", serif;
        font-feature-settings: "salt" 1, "ss01" 1, "swsh" 1;
        font-size: 1rem;
        line-height: 28px;
        color: #332113;
    }

    /*.   PROJECT RESPONSIVE.  */

    .project-container {
        display: block !important;
        max-width: 100% !important;
        margin: 40px auto !important;
        padding: 0 10px;
    }
    .project-text {
        max-width: 100% !important;
        margin-bottom: 20px;
    }
    .project-text h2 {
        font-size: 2.3rem !important;
        line-height: 1.3 !important;
    }
    .project-image {
        width: 100% !important;
        min-height: 180px !important;
        margin-bottom: 24px;
        background-size: cover !important;
    }
    .project-image img {
        height: auto !important;
    }

    /*.   FOOTER RESPONSIVE.   */

    .footer {
        padding: 20px 10px;
    }
    .footer-logo img {
        height: 60px;
        margin-bottom: 10px;
    }
    .footer-social,
    .footer-legal {
        font-size: 0.65rem;
    }

    /*.   FORMULAIRE DE CONTACT RESPONSIVE.  */

    .contact-form {
        max-width: 100% !important;
        padding: 0 10px;
    }
    .contact-form label {
        font-size: 1.25rem;
    }
    .contact-form input,
    .contact-form textarea {
        font-size: 1rem;
        padding: 10px 10px;
    }
    .contact-form button[type="submit"] {
        font-size: 1.25rem;
        padding: 10px 22px;
        margin-top: 12px;
    }
}
