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

.noire-navbar {
    position: relative;
    min-height: 4.5rem;
    background-color: var(--noire-black);
}


/* ==========================================================================
   DESKTOP / MOBILE HELPERS
   ========================================================================== */

.mobile {
    display: none;
}

.desktop {
    display: block;
}


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

.noire-navbar-brand {
    display: inline-block;
    margin: 0 0 0 1.5rem;
    color: var(--noire-white);
    font-family: var(--noire-font-heading);
    font-size: 2rem;
    font-weight: lighter;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.noire-navbar-brand:hover {
    color: var(--noire-white);
    opacity: 0.7;
}


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

.noire-navbar .navbar-collapse {
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.noire-navbar-left {
    display: flex;
    align-items: center;
}

.noire-main-nav {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    margin: 0;
}

.noire-navbar .nav-link {
    padding: 0;
    color: var(--noire-white);
    font-family: var(--noire-font-body);
    font-size: 0.8rem;
    font-weight: var(--noire-ui-weight);
    line-height: 1.4;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.noire-navbar .nav-link:hover,
.noire-navbar .nav-link.active {
    color: rgba(255, 255, 255, 0.55);
}


/* ==========================================================================
   ACTIONS DROITE
   ========================================================================== */

.noire-navbar-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}


/* ==========================================================================
   RESEAUX SOCIAUX
   ========================================================================== */

.noire-socials {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.noire-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color: var(--noire-white);
    font-size: 1rem;
    transition: opacity var(--noire-transition);
}

.noire-social:hover {
    color: var(--noire-white);
    opacity: 0.55;
}


/* ==========================================================================
   BOUTON DEVIS
   ========================================================================== */

.noire-navbar-quote {
    margin-left: 0.5rem;
    color: var(--noire-white);
    background-color: transparent;
    border-color: var(--noire-white);
}

.noire-navbar-quote:hover,
.noire-navbar-quote:focus {
    color: var(--noire-black);
    background-color: var(--noire-white);
    border-color: var(--noire-white);
}


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

.noire-navbar .navbar-toggler {
    z-index: 10;
    padding: 0.25rem;
}

.noire-hamburger {
    display: flex;
    width: 1.5rem;
    height: 1.15rem;
    flex-direction: column;
    justify-content: space-between;
}

.noire-hamburger span {
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--noire-white);
}

/* ==========================================================================
   IMAGES BACKGROUND
   ========================================================================== */

/* ==========================================================================
   NOIRE PAGE HERO
   ========================================================================== */

section {
    margin-bottom: 1.5rem;
}

#portfolioContainer {
    position: fixed;
    inset: 0;
    /*overflow: hidden;*/
}

.noire-page-hero {
    --noire-hero-bg-color: #acaa9b;
    --noire-hero-image: none;

    position: relative;
    z-index: 0;
    width: 100%;
    min-height: 65vh;

    isolation: isolate;

    overflow: hidden;

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

    background-color: var(--noire-hero-bg-color);
}


/* --------------------------------------------------------------------------
   IMAGE DE FOND
   -------------------------------------------------------------------------- */

.noire-page-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -2;

    background-image: var(--noire-hero-image);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    opacity: 0.75;
    pointer-events: none;
}


/* --------------------------------------------------------------------------
   GRAND MOT DECORATIF
   -------------------------------------------------------------------------- */

.noire-page-hero::after {
    content: attr(data-title);
    position: absolute;
    top: 10px;
    z-index: -1;
    display: flex;
    align-items: center;
    justify-content: center;


    color: var(--noire-beige-light);
    font-family: var(--noire-font-heading);
    font-size: 21vw;
    font-weight: 400;
    line-height: 0.75;
    letter-spacing: -0.05em;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}


/* --------------------------------------------------------------------------
   CONTENU PREMIER PLAN
   -------------------------------------------------------------------------- */

.noire-page-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}


.noire-page-hero-inner {
    width: min(100% - 3rem, 1100px);
    margin-right: auto;
    margin-left: auto;
}


.noire-page-hero h1 {
    margin: 0;
    color: var(--noire-black);
    font-family: var(--noire-font-heading);
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -0.04em;
}

.listPrestations li {
    list-style-type: none;
    margin: 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--noire-yellow);
    transition: color var(--noire-transition);
}

.listPrestations li:hover {
    color: var(--noire-beige-light);
}


/* --------------------------------------------------------------------------
   EVENTUELLE IMAGE AU PREMIER PLAN
   -------------------------------------------------------------------------- */

.noire-page-hero-image {
    width: min(100%, 450px);
    height: min(100%, 450px);
    box-shadow: 10px 10px 10px #2b2f32;
    /*margin-top: 1rem;*/
}

.noire-page-hero-image img {
    display: block;
    width: 100%;
    height: auto;

}

.halfradius {
    border-radius: 20px 0 20px 0;
}


.testimony .carousel-item {
    min-height: 250px;
}

.testimony .carousel-caption {
    position: static;

    padding: 4rem 15%;

    color: var(--noire-white);
}

.testimony .carousel-caption p {
    font-size: 1rem;
}

.testimony .carousel-caption h6 {
    color: var(--noire-white);
}

/*credits: https://codepen.io/r-i-c-h/pen/VoMqOr */
.linkInquiry {
    color: var(--noire-yellow);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1rem;
    padding: 10px;
    display: inline-block;
    overflow: hidden;
    float: left;
    height: 44px;
    margin: 30px 0;
    line-height: 24px;
    text-align: center;
    font-weight: normal;
    position: relative;
}

.linkInquiry:hover {
    color: var(--noire-yellow);
}

.linkInquiry:before, .linkInquiry:after {
    content: '';
    position: absolute;
    transition: transform .5s ease;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--noire-yellow);
}
.linkInquiry:before {
    bottom: 0;
    transform: translateX(-100%);
}
.linkInquiry:after {
    top: 0;
    transform: translateX(100%);
}
.linkInquiry:hover:before, .linkInquiry:hover:after {
    transform: translateX(0);
}

/* FAQ */
.noire-faq {
    padding-block: 6rem;
}

.noire-faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;

    background-color: var(--noire-faq-bg);
}

.noire-faq-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: var(--noire-faq-bg);
}

.noire-faq-item {
    background-color: var(--noire-faq-bg);
    border: 1px solid var(--noire-faq-border);
}

.noire-faq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    padding: 1.5rem 1.75rem;

    border: 0;
    background-color: var(--noire-faq-bg);
    color: var(--noire-faq-text) !important;

    font-family: var(--noire-font-heading);
    font-size: clamp(1.4rem, 2.2vw, 2.2rem);
    font-weight: 400;
    line-height: 1.1;
    text-align: left;

    cursor: pointer;
}

.noire-faq-header:hover {
    background-color: var(--noire-faq-bg);
    color: var(--noire-faq-text) !important;
}

.noire-faq-icon {
    position: relative;

    flex: 0 0 1rem;
    width: 1rem;
    height: 1rem;

    margin-left: 2rem;
}

.noire-faq-icon::before,
.noire-faq-icon::after {
    content: "";

    position: absolute;
    top: 50%;
    left: 50%;

    width: 100%;
    height: 1px;

    background: currentColor;

    transition: transform 250ms ease;
}

.noire-faq-icon::before {
    transform: translate(-50%, -50%);
}

.noire-faq-icon::after {
    transform:
        translate(-50%, -50%)
        rotate(90deg);
}

.noire-faq-header:not(.collapsed) .noire-faq-icon::after {
    transform:
        translate(-50%, -50%)
        rotate(0deg);
}

.noire-faq-title {
    color: var(--noire-faq-text) !important;
}

.noire-faq-content-inner {
    max-width: 850px;

    padding:
        0 1.75rem
        2rem;
    background-color: var(--noire-faq-bg);
    color: #fff !important;
    font-family: var(--noire-font-body);
    font-size: 1rem;
    line-height: 1.65;
}

.noire-faq-header,
.noire-faq-header:focus,
.noire-faq-header:hover {
    color: var(--noire-white);
    background: transparent;
}

@media (max-width: 767.98px) {

    .noire-faq {
        padding-block: 4rem;
    }

    .noire-faq-header {
        padding: 1.25rem;
        font-size: 1.4rem;
    }

    .noire-faq-content-inner {
        padding:
            0 1.25rem
            1.5rem;
    }

    .noire-faq-icon {
        margin-left: 1rem;
    }
}
@media (max-width: 991.98px) {

    .noire-faq-list {
        grid-template-columns: 1fr;
    }

}

.noire-faq-header,
.noire-faq-header:focus,
.noire-faq-header:hover {
    color: #fff !important;
    background: transparent;
}

.noire-faq-header .noire-faq-title {
    color: #fff !important;
}

.noire-faq-content,
.noire-faq-content-inner {
    color: var(--noire-faq-text) !important;
    background-color: var(--noire-faq-bg);
}

.noire-faq-content-inner p,
.noire-faq-content-inner li,
.noire-faq-content-inner span,
.noire-faq-content-inner strong,
.noire-faq-content-inner em {
    color: #fff !important;
}

.noire-faq-content-inner a {
    color: #fff !important;
}


/* --------------------------------------------------------------------------
   MOBILE
   -------------------------------------------------------------------------- */

@media (max-width: 767.98px) {

    .noire-page-hero {
        min-height: 55vh;
    }

    .noire-page-hero::after {
        font-size: 22vw;
    }

    .noire-page-hero-inner {
        width: calc(100% - 2rem);
    }

    .noire-page-hero-image {
        margin-top: 2rem;
    }
}


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

@media (max-width: 991.98px) {

    .noire-navbar {
        min-height: 4.5rem;
    }


    /* --------------------------------------------------------------
       Logo mobile
       -------------------------------------------------------------- */

    .mobile {
        display: flex;
        align-items: center;
    }

    .desktop {
        display: none;
    }

    .noire-mobile-header .noire-navbar-brand {
        margin: 0;
        font-size: 1.5rem;
    }


    /* --------------------------------------------------------------
       Hamburger
       -------------------------------------------------------------- */

    .noire-navbar .navbar-toggler {
        margin-left: auto;
    }


    /* --------------------------------------------------------------
       Collapse

       IMPORTANT :
       on ne définit PAS display ici.
       Bootstrap doit gérer .collapse / .show.
       -------------------------------------------------------------- */

    .noire-navbar .navbar-collapse {
        width: 100%;
        padding-top: 2rem;
        padding-bottom: 1.5rem;
    }


    /* --------------------------------------------------------------
       Menu
       -------------------------------------------------------------- */

    .noire-navbar-left {
        display: block;
        width: 100%;
    }

    .noire-main-nav {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .noire-main-nav .nav-item {
        width: 100%;
        text-align: center;
    }

    .noire-main-nav .nav-link {
        display: block;
        padding: 0.65rem 0;
    }


    /* --------------------------------------------------------------
       Actions
       -------------------------------------------------------------- */

    .noire-navbar-actions {
        display: flex;
        width: 100%;
        margin-top: 1.5rem;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .noire-socials {
        justify-content: center;
    }

    .noire-navbar-quote {
        margin-left: 0;
    }
}

.photo-masonry {
    columns: 3;
    column-gap: 1rem;
    margin-bottom: 1rem;
}

.photo-masonry-item {
    display: block;
    margin-bottom: 1rem;
    break-inside: avoid;
    max-width: min(100%, 400px);
    opacity: 0;
    transform: translateY(15px);
    animation: photo-masonry-in .6s ease forwards;
    box-shadow: 10px 10px 10px #2b2f32;
}

.photo-masonry-item:nth-child(2) {
    animation-delay: .05s;
}

.photo-masonry-item:nth-child(3) {
    animation-delay: .1s;
}

.photo-masonry-item:nth-child(4) {
    animation-delay: .15s;
}

@keyframes photo-masonry-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.photo-masonry-item img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 991.98px) {
    .photo-masonry {
        columns: 2;
    }
}

@media (max-width: 575.98px) {
    .photo-masonry {
        columns: 2;
        column-gap: .5rem;
    }

    .photo-masonry-item {
        margin-bottom: .5rem;
    }
}

.portfolio-intro {
    max-width: 1200px;
    margin-bottom: 3rem;

    font-family: var(--noire-font-heading);
    font-size: 2rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.cmsMedia {
    width: min(100%, 300px)!important;
    height: auto!important;
}

.cms h1 {
    margin-bottom: 1rem;
    font-size: 4rem;
    font-weight: 500;
}

.prestationHeader {
    margin: 1rem;
}

.prestationHeader h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 400;
}

.prestationHeader  h3 {
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 200;
    font-style: italic;
}
/* ==========================================================================
   INQUIRY FORM
   ========================================================================== */

.inquiry-form {
    width: 100%;
}

.inquiry-form label {
    display: block;
    margin-bottom: .6rem;

    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.inquiry-input {
    display: block;
    width: 100%;
    min-height: 4rem;

    padding: .9rem 1rem;

    color: var(--noire-text);
    background: var(--noire-beige);

    border: 1px solid var(--noire-border);
    border-radius: 0;

    font: inherit;

    outline: none;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.inquiry-input:hover,
.inquiry-input:focus {
    background: var(--noire-beige-light);
}

.inquiry-input:focus {
    border-color: var(--noire-black);

    box-shadow:
        0 0 0 2px var(--noire-beige),
        0 0 0 3px var(--noire-black);
}

.inquiry-textarea {
    min-height: 10rem;
    resize: vertical;
}


/* Services */

.inquiry-services-list {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.inquiry-service {
    position: relative;
    margin: 0 !important;
    cursor: pointer;
}

.inquiry-service input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.inquiry-service span {
    display: block;

    padding: .8rem 1.15rem;

    color: var(--noire-text);
    background: var(--noire-beige);

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

    transition:
        background-color .2s ease,
        color .2s ease;
}

.inquiry-service:hover span {
    background: var(--noire-beige-light);
}

.inquiry-service input:checked + span {
    color: var(--noire-white);
    background: var(--noire-black);
}

.inquiry-service input:checked + span:hover {
    background: var(--noire-primary-hover);
}


/* Submit */

.inquiry-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 3.5rem;
    padding: .85rem 1.75rem;

    color: var(--noire-white);
    background: var(--noire-black);

    border: 1px solid var(--noire-black);
    border-radius: 0;

    font-family: var(--noire-font-body);
    font-size: .7rem;
    font-weight: var(--noire-ui-weight);
    letter-spacing: .11em;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background-color .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.inquiry-submit:hover {
    background: var(--noire-primary-hover);
    border-color: var(--noire-primary-hover);

    transform: translateY(-2px);
}

@font-face {
    font-family: 'Blacker Sans Pro';
    src: url('./fonts/BlackerSansProThin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Blacker Sans Pro';
    src: url('./fonts/BlackerSansProBook.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Blacker Sans Pro';
    src: url('./fonts/BlackerSansProBold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Blacker Sans Pro';
    src: url('./fonts/BlackerSansProBlack.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

.septembre {
    font-family: 'Blacker Sans Pro', sans-serif;
    font-weight: 100;
  }
