/*----------------------------------------------------
  Photos-JP
  Site principal
----------------------------------------------------*/


/*----------------------------------------------------
  GLOBAL
----------------------------------------------------*/

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #fff;
    color: #212529;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
}


/*----------------------------------------------------
  NAVBAR
----------------------------------------------------*/

#mainNavbar {
    padding-top: 22px;
    padding-bottom: 22px;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, .65),
            rgba(0, 0, 0, 0)
        );

    transition:
        background-color .3s ease,
        padding .3s ease;
}


.navbar-brand {
    letter-spacing: .16em;
}


.brand-name {
    font-size: 1.05rem;
    font-weight: 700;
}


#mainNavbar .nav-link {
    position: relative;

    margin-left: 1.6rem;

    padding-left: 0;
    padding-right: 0;

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

    font-size: .88rem;
    font-weight: 500;

    letter-spacing: .08em;
    text-transform: uppercase;

    transition: color .2s ease;
}


#mainNavbar .nav-link:hover {
    color: #fff;
}


#mainNavbar .nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 2px;

    width: 0;
    height: 1px;

    background: #fff;

    transition: width .25s ease;
}


#mainNavbar .nav-link:hover::after {
    width: 100%;
}


/*----------------------------------------------------
  HERO
----------------------------------------------------*/

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #111;
}


.hero-background {
    position: absolute;
    inset: 0;

    background-image:
        url("../img/hero.jpg");

    background-size: cover;
    background-position: center;

    transform: scale(1.01);
}


.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, .68) 0%,
            rgba(0, 0, 0, .38) 45%,
            rgba(0, 0, 0, .08) 100%
        );
}


.hero-content {
    position: relative;
    z-index: 2;

    padding-top: 100px;

    color: #fff;
}


.hero-eyebrow {
    margin-bottom: 20px;

    font-size: .8rem;
    font-weight: 600;

    letter-spacing: .35em;
}


.hero-title {
    margin: 0;

    font-size:
        clamp(
            4rem,
            9vw,
            8rem
        );

    font-weight: 300;

    line-height: .86;

    letter-spacing: -.04em;
}


.hero-title span {
    font-weight: 700;
}


.hero-line {
    width: 70px;
    height: 2px;

    margin-top: 35px;
    margin-bottom: 25px;

    background: #fff;
}


.hero-subtitle {
    margin-bottom: 38px;

    font-size: 1rem;

    letter-spacing: .06em;
}


.hero-subtitle span {
    margin-left: .65rem;
    margin-right: .65rem;

    opacity: .6;
}


/*----------------------------------------------------
  DÉCOUVRIR
----------------------------------------------------*/

.hero-discover {
    display: inline-block;

    padding-bottom: 7px;

    color: #fff;

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

    font-size: .9rem;
    font-weight: 500;

    letter-spacing: .12em;

    text-decoration: none;
    text-transform: uppercase;

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


.hero-discover:hover {
    color: #fff;

    border-color: #fff;
}


/*----------------------------------------------------
  RESPONSIVE
----------------------------------------------------*/

@media (max-width: 991.98px) {

    #mainNavbar {
        background:
            rgba(0, 0, 0, .88);
    }


    #mainNavbar .nav-link {
        margin-left: 0;

        padding-top: 10px;
        padding-bottom: 10px;
    }


    #mainMenu {
        padding-top: 15px;
        padding-bottom: 15px;
    }

}


@media (max-width: 575.98px) {

    .hero-title {
        font-size: 4rem;
    }


    .hero-subtitle span {
        margin-left: .3rem;
        margin-right: .3rem;
    }


    .hero-subtitle {
        line-height: 1.8;
    }

}
/*----------------------------------------------------
  À PROPOS
----------------------------------------------------*/

.about-section {
    padding: 120px 0;
    background: #fff;
}


/* IMAGE */

.about-image-wrapper {
    position: relative;
}

.about-image {
    display: block;

    width: 100%;
    height: 650px;

    object-fit: cover;
}

.about-image-caption {
    position: absolute;

    right: -25px;
    bottom: 30px;

    padding: 14px 22px;

    background: #fff;

    color: #212529;

    font-size: .72rem;
    font-weight: 600;

    letter-spacing: .16em;
    text-transform: uppercase;
}


/* PETIT TITRE */

.section-eyebrow {
    margin-bottom: 22px;

    color: #6c757d;

    font-size: .75rem;
    font-weight: 600;

    letter-spacing: .3em;
}


/* TITRE */

.section-title {
    margin-bottom: 0;

    color: #212529;

    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;

    line-height: 1.05;

    letter-spacing: -.035em;
}

.section-title span {
    font-weight: 650;
}


/* LIGNE */

.section-line {
    width: 65px;
    height: 2px;

    margin: 32px 0;

    background: #212529;
}


/* TEXTE */

.about-lead {
    margin-bottom: 25px;

    color: #343a40;

    font-size: 1.25rem;
    font-weight: 400;

    line-height: 1.7;
}

.about-text {
    margin-bottom: 20px;

    color: #6c757d;

    font-size: 1rem;

    line-height: 1.8;
}


/* SIGNATURE */

.about-signature {
    margin-top: 35px;
    margin-bottom: 35px;

    display: flex;
    flex-direction: column;

    font-size: .95rem;
}

.about-signature strong {
    color: #212529;
}

.about-signature span {
    margin-top: 3px;

    color: #868e96;

    font-size: .82rem;

    letter-spacing: .08em;
    text-transform: uppercase;
}


/* LIEN */

.about-link {
    display: inline-block;

    padding-bottom: 7px;

    color: #212529;

    border-bottom: 1px solid #adb5bd;

    font-size: .8rem;
    font-weight: 600;

    letter-spacing: .1em;

    text-decoration: none;
    text-transform: uppercase;

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

.about-link:hover {
    color: #000;
    border-color: #212529;
}


/* RESPONSIVE */

@media (max-width: 991.98px) {

    .about-section {
        padding: 80px 0;
    }

    .about-image {
        height: 550px;
    }

    .about-image-caption {
        right: 20px;
    }

}


@media (max-width: 575.98px) {

    .about-section {
        padding: 65px 0;
    }

    .about-image {
        height: 450px;
    }

    .about-image-caption {
        right: 12px;
        bottom: 12px;

        padding: 10px 14px;

        font-size: .62rem;
    }

    .about-lead {
        font-size: 1.1rem;
    }

}
/*----------------------------------------------------
  PHOTOGRAPHIES
----------------------------------------------------*/

.photos-section {
    padding: 120px 0 130px;

    background: #111;
    color: #fff;
}


/* TITRE */

.photos-title {
    margin-bottom: 25px;

    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 300;

    line-height: 1;

    letter-spacing: -.04em;
}

.photos-title span {
    font-weight: 650;
}


.photos-intro {
    max-width: 650px;

    margin: 0;

    color: rgba(255, 255, 255, .62);

    font-size: 1.08rem;

    line-height: 1.8;
}


/*----------------------------------------------------
  MOSAÏQUE
----------------------------------------------------*/

.photo-grid {
    display: grid;

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

    grid-auto-rows: 300px;

    gap: 12px;
}


/* PHOTO */

.photo-item {
    position: relative;

    margin: 0;

    overflow: hidden;

    background: #222;
}


.photo-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .7s cubic-bezier(.2, .6, .3, 1),
        filter .4s ease;
}


.photo-item:hover img {
    transform: scale(1.035);
}


/* GRANDE PHOTO */

.photo-large {
    grid-row: span 2;
}


/* PHOTO LARGE HORIZONTALE */

.photo-wide {
    grid-column: span 2;
}


/*----------------------------------------------------
  LÉGENDE
----------------------------------------------------*/

.photo-item::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, .60),
            rgba(0, 0, 0, 0) 45%
        );

    opacity: 0;

    transition: opacity .35s ease;
}


.photo-item:hover::after {
    opacity: 1;
}


.photo-item figcaption {
    position: absolute;

    z-index: 2;

    left: 25px;
    bottom: 20px;

    color: #fff;

    opacity: 0;

    transform: translateY(8px);

    transition:
        opacity .35s ease,
        transform .35s ease;
}


.photo-item:hover figcaption {
    opacity: 1;

    transform: translateY(0);
}


.photo-item figcaption span {
    font-size: .72rem;
    font-weight: 600;

    letter-spacing: .18em;

    text-transform: uppercase;
}


/*----------------------------------------------------
  RESPONSIVE
----------------------------------------------------*/

@media (max-width: 991.98px) {

    .photos-section {
        padding: 90px 0;
    }

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

        grid-auto-rows: 280px;
    }

}


@media (max-width: 575.98px) {

    .photos-section {
        padding: 70px 0;
    }

    .photo-grid {
        display: block;
    }

    .photo-item {
        height: 420px;

        margin-bottom: 12px;
    }

    .photo-item figcaption {
        opacity: 1;
        transform: none;
    }

    .photo-item::after {
        opacity: 1;
    }

}
/*----------------------------------------------------
  REPORTAGES
----------------------------------------------------*/

.reportages-section {
    padding: 130px 0;

    background: #f5f5f3;

    color: #212529;
}


/*----------------------------------------------------
  EN-TÊTE
----------------------------------------------------*/

.reportages-title {
    margin-bottom: 25px;

    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 300;

    line-height: 1;

    letter-spacing: -.04em;
}

.reportages-title span {
    font-weight: 650;
}


.reportages-intro {
    max-width: 650px;

    margin: 0;

    color: #6c757d;

    font-size: 1.08rem;

    line-height: 1.8;
}


/*----------------------------------------------------
  REPORTAGE
----------------------------------------------------*/

.reportage-item {
    padding: 80px 0;

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


/*----------------------------------------------------
  IMAGE
----------------------------------------------------*/

.reportage-image {
    position: relative;

    display: block;

    height: 560px;

    overflow: hidden;

    background: #ddd;
}


.reportage-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .8s cubic-bezier(.2, .6, .3, 1);
}


.reportage-image:hover img {
    transform: scale(1.025);
}


/* Variante deuxième reportage */

.reportage-image-vertical {
    height: 650px;
}


/* NUMÉRO */

.reportage-image-number {
    position: absolute;

    left: 25px;
    bottom: 20px;

    color: #fff;

    font-size: .8rem;
    font-weight: 600;

    letter-spacing: .2em;

    text-shadow:
        0 1px 8px rgba(0, 0, 0, .4);
}


/*----------------------------------------------------
  CONTENU
----------------------------------------------------*/

.reportage-content {
    padding-left: 15px;
}


.reportage-content-left {
    padding-left: 0;
    padding-right: 35px;
}


.reportage-meta {
    margin-bottom: 20px;

    color: #868e96;

    font-size: .72rem;
    font-weight: 600;

    letter-spacing: .18em;

    text-transform: uppercase;
}


.reportage-content h3 {
    margin-bottom: 28px;

    font-size: clamp(2.4rem, 4vw, 4rem);
    font-weight: 300;

    line-height: 1;

    letter-spacing: -.035em;
}


.reportage-content p {
    margin-bottom: 32px;

    color: #6c757d;

    font-size: .98rem;

    line-height: 1.8;
}


/*----------------------------------------------------
  LIEN REPORTAGE
----------------------------------------------------*/

.reportage-link {
    display: inline-block;

    padding-bottom: 7px;

    color: #212529;

    border-bottom:
        1px solid #adb5bd;

    font-size: .76rem;
    font-weight: 600;

    letter-spacing: .1em;

    text-decoration: none;
    text-transform: uppercase;

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


.reportage-link:hover {
    color: #000;

    border-color: #212529;
}


/*----------------------------------------------------
  PIED REPORTAGES
----------------------------------------------------*/

.reportages-footer {
    display: flex;

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

    gap: 30px;

    padding-top: 50px;
}


.reportages-footer span {
    color: #868e96;

    font-size: .9rem;
}


.reportages-all {
    color: #212529;

    font-size: .78rem;
    font-weight: 600;

    letter-spacing: .1em;

    text-decoration: none;
    text-transform: uppercase;
}


.reportages-all:hover {
    color: #000;
}


/*----------------------------------------------------
  RESPONSIVE REPORTAGES
----------------------------------------------------*/

@media (max-width: 991.98px) {

    .reportages-section {
        padding: 90px 0;
    }

    .reportage-item {
        padding: 60px 0;
    }

    .reportage-image,
    .reportage-image-vertical {
        height: 520px;
    }

    .reportage-content,
    .reportage-content-left {
        padding-left: 0;
        padding-right: 0;
    }

}


@media (max-width: 575.98px) {

    .reportages-section {
        padding: 70px 0;
    }

    .reportage-item {
        padding: 45px 0;
    }

    .reportage-image,
    .reportage-image-vertical {
        height: 420px;
    }

    .reportages-footer {
        flex-direction: column;

        align-items: flex-start;
    }

}
/*----------------------------------------------------
  CONTACT
----------------------------------------------------*/

.contact-section {
    padding: 130px 0;

    background: #171717;

    color: #fff;
}


/*----------------------------------------------------
  TITRE
----------------------------------------------------*/

.contact-eyebrow {
    color: rgba(255, 255, 255, .45);
}


.contact-title {
    margin: 0;

    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 300;

    line-height: 1;

    letter-spacing: -.04em;
}


.contact-title span {
    font-weight: 650;
}


.contact-line {
    width: 65px;
    height: 2px;

    margin: 35px 0;

    background: #fff;
}


.contact-intro {
    max-width: 470px;

    margin-bottom: 22px;

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

    font-size: 1.15rem;

    line-height: 1.75;
}


.contact-text {
    max-width: 470px;

    color: rgba(255, 255, 255, .50);

    line-height: 1.8;
}


/*----------------------------------------------------
  COORDONNÉES
----------------------------------------------------*/

.contact-details {
    margin-top: 50px;
}


.contact-detail {
    display: flex;
    align-items: center;

    gap: 18px;

    margin-bottom: 25px;
}


.contact-icon {
    display: flex;

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

    width: 48px;
    height: 48px;

    flex: 0 0 48px;

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

    border-radius: 50%;

    color: rgba(255, 255, 255, .8);
}


.contact-detail div:last-child {
    display: flex;
    flex-direction: column;
}


.contact-detail span {
    margin-bottom: 3px;

    color: rgba(255, 255, 255, .38);

    font-size: .68rem;
    font-weight: 600;

    letter-spacing: .16em;

    text-transform: uppercase;
}


.contact-detail a,
.contact-detail strong {
    color: #fff;

    font-size: .95rem;
    font-weight: 400;

    text-decoration: none;
}


.contact-detail a:hover {
    text-decoration: underline;
}


/*----------------------------------------------------
  FORMULAIRE
----------------------------------------------------*/

.contact-form-wrapper {
    padding: 50px;

    background: #fff;

    color: #212529;
}


.contact-field {
    margin-bottom: 32px;
}


.contact-field label {
    display: block;

    margin-bottom: 10px;

    color: #6c757d;

    font-size: .68rem;
    font-weight: 650;

    letter-spacing: .15em;

    text-transform: uppercase;
}


/*----------------------------------------------------
  CHAMPS
----------------------------------------------------*/

.contact-input {
    width: 100%;

    padding: 10px 0 13px;

    background: transparent;

    border: 0;
    border-bottom: 1px solid #ced4da;

    border-radius: 0;

    color: #212529;

    font-family: inherit;
    font-size: 1rem;

    outline: none;

    transition:
        border-color .2s ease;
}


.contact-input:focus {
    border-bottom-color: #212529;
}


.contact-select {
    cursor: pointer;
}


.contact-textarea {
    min-height: 125px;

    resize: vertical;
}


/*----------------------------------------------------
  BOUTON
----------------------------------------------------*/

.contact-submit {
    margin-top: 40px;
}


.contact-button {
    display: inline-flex;

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

    gap: 45px;

    min-width: 260px;

    padding: 17px 22px;

    background: #171717;

    border: 1px solid #171717;

    color: #fff;

    font-size: .76rem;
    font-weight: 600;

    letter-spacing: .1em;

    text-transform: uppercase;

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


.contact-button:hover {
    background: #fff;

    color: #171717;
}


.contact-button i {
    transition:
        transform .25s ease;
}


.contact-button:hover i {
    transform: translateX(5px);
}


/*----------------------------------------------------
  RESPONSIVE CONTACT
----------------------------------------------------*/

@media (max-width: 991.98px) {

    .contact-section {
        padding: 90px 0;
    }


    .contact-form-wrapper {
        margin-top: 20px;

        padding: 40px;
    }

}


@media (max-width: 575.98px) {

    .contact-section {
        padding: 70px 0;
    }


    .contact-form-wrapper {
        padding: 30px 22px;
    }


    .contact-button {
        width: 100%;

        min-width: 0;
    }

}
/*----------------------------------------------------
  HONEYPOT ANTISPAM
----------------------------------------------------*/

.contact-hp {
    position: absolute !important;

    left: -9999px !important;
    top: -9999px !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;
}
/*----------------------------------------------------
  TURNSTILE
----------------------------------------------------*/

.contact-turnstile {
    margin-top: 10px;
    margin-bottom: 30px;
}
/*----------------------------------------------------
  RETOUR FORMULAIRE CONTACT
----------------------------------------------------*/

.contact-feedback {
    display: flex;
    align-items: flex-start;

    gap: 16px;

    margin-bottom: 38px;
    padding: 20px 22px;

    border-left: 3px solid #212529;

    background: #f5f5f3;
}


.contact-feedback-icon {
    display: flex;

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

    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    font-size: 1.15rem;
}


.contact-feedback strong {
    display: block;

    margin-bottom: 5px;

    color: #212529;

    font-size: .92rem;
    font-weight: 650;
}


.contact-feedback p {
    margin: 0;

    color: #6c757d;

    font-size: .88rem;

    line-height: 1.6;
}


/* SUCCÈS */

.contact-feedback-success {
    border-left-color: #198754;
}

.contact-feedback-success
.contact-feedback-icon {
    color: #198754;
}


/* AVERTISSEMENT */

.contact-feedback-warning {
    border-left-color: #d39e00;
}

.contact-feedback-warning
.contact-feedback-icon {
    color: #b88700;
}


/* ERREUR */

.contact-feedback-error {
    border-left-color: #dc3545;
}

.contact-feedback-error
.contact-feedback-icon {
    color: #dc3545;
}
/*----------------------------------------------------
  FOOTER
----------------------------------------------------*/

.site-footer {
    padding: 75px 0 30px;

    background: #0d0d0d;

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

    color: rgba(255, 255, 255, .55);
}


/*----------------------------------------------------
  IDENTITÉ
----------------------------------------------------*/

.footer-brand {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 12px;

    color: #fff;

    font-size: 1.55rem;
    font-weight: 650;

    letter-spacing: -.03em;

    text-decoration: none;
}


.footer-brand:hover {
    color: #fff;
}


.footer-brand i {
    font-size: 1.15rem;
}


.footer-signature {
    margin-bottom: 20px;

    color: rgba(255, 255, 255, .75);

    font-size: .88rem;
}


.footer-description {
    max-width: 360px;

    margin: 0;

    color: rgba(255, 255, 255, .40);

    font-size: .9rem;

    line-height: 1.8;
}


/*----------------------------------------------------
  TITRES
----------------------------------------------------*/

.footer-title {
    margin-bottom: 22px;

    color: rgba(255, 255, 255, .38);

    font-size: .68rem;
    font-weight: 650;

    letter-spacing: .18em;

    text-transform: uppercase;
}


/*----------------------------------------------------
  NAVIGATION
----------------------------------------------------*/

.footer-nav {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 11px;
}


.footer-nav a {
    position: relative;

    color: rgba(255, 255, 255, .65);

    font-size: .9rem;

    text-decoration: none;

    transition:
        color .2s ease,
        transform .2s ease;
}


.footer-nav a:hover {
    color: #fff;

    transform: translateX(4px);
}


/*----------------------------------------------------
  RÉSEAUX SOCIAUX
----------------------------------------------------*/

.footer-social {
    display: flex;

    gap: 10px;

    margin-top: 30px;
}


.footer-social a {
    display: flex;

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

    width: 38px;
    height: 38px;

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

    border-radius: 50%;

    color: rgba(255, 255, 255, .65);

    text-decoration: none;

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


.footer-social a:hover {
    border-color:
        rgba(255, 255, 255, .55);

    color: #fff;

    transform: translateY(-3px);
}


/*----------------------------------------------------
  BAS DU FOOTER
----------------------------------------------------*/

.footer-bottom {
    display: flex;

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

    gap: 20px;

    margin-top: 65px;
    padding-top: 25px;

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

    color: rgba(255, 255, 255, .28);

    font-size: .75rem;
}


.footer-made {
    text-align: right;
}


/*----------------------------------------------------
  RESPONSIVE FOOTER
----------------------------------------------------*/

@media (max-width: 767.98px) {

    .site-footer {
        padding-top: 60px;
    }


    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        margin-top: 45px;
    }


    .footer-made {
        text-align: left;
    }

}/*----------------------------------------------------
  PAGES LÉGALES
----------------------------------------------------*/

.legal-page {
    background: #f5f5f3;
    color: #212529;
}


/* HEADER */

.legal-header {
    padding: 28px 0;

    background: #111;

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


.legal-brand {
    display: inline-flex;

    align-items: center;

    gap: 11px;

    color: #fff;

    font-size: 1.25rem;
    font-weight: 650;

    text-decoration: none;
}


.legal-brand:hover {
    color: #fff;
}


.legal-back {
    color: rgba(255, 255, 255, .65);

    font-size: .78rem;
    font-weight: 600;

    letter-spacing: .08em;

    text-decoration: none;

    text-transform: uppercase;
}


.legal-back:hover {
    color: #fff;
}


/* CONTENU */

.legal-content {
    padding: 100px 0 120px;
}


.legal-title {
    margin: 0;

    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 300;

    line-height: .95;

    letter-spacing: -.05em;
}


.legal-title span {
    font-weight: 650;
}


.legal-intro {
    max-width: 620px;

    margin-top: 30px;

    color: #6c757d;

    font-size: 1.1rem;

    line-height: 1.8;
}


/* BLOCS */

.legal-block {
    position: relative;

    padding: 45px 0;

    border-top:
        1px solid rgba(0, 0, 0, .12);
}


.legal-number {
    display: block;

    margin-bottom: 15px;

    color: #adb5bd;

    font-size: .7rem;
    font-weight: 650;

    letter-spacing: .18em;
}


.legal-block h2 {
    margin-bottom: 25px;

    font-size: 1.7rem;
    font-weight: 500;

    letter-spacing: -.02em;
}


.legal-block p {
    max-width: 680px;

    margin-bottom: 15px;

    color: #6c757d;

    line-height: 1.8;
}


.legal-block strong {
    color: #343a40;
}


.legal-block a {
    color: #212529;

    text-decoration: underline;

    text-underline-offset: 4px;
}


/* FOOTER */

.legal-footer {
    padding: 28px 0;

    background: #0d0d0d;

    color: rgba(255, 255, 255, .35);
}


.legal-footer-inner {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    font-size: .75rem;
}


.legal-footer a {
    color: rgba(255, 255, 255, .55);

    text-decoration: none;
}


.legal-footer a:hover {
    color: #fff;
}


/* RESPONSIVE */

@media (max-width: 575.98px) {

    .legal-content {
        padding: 70px 0 80px;
    }


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


    .legal-back {
        font-size: .65rem;
    }


    .legal-footer-inner {
        flex-direction: column;
    }

}
/*----------------------------------------------------
  LISTES - PAGES LÉGALES
----------------------------------------------------*/

.legal-list {
    margin: 20px 0 25px;
    padding-left: 0;

    list-style: none;
}


.legal-list li {
    position: relative;

    margin-bottom: 10px;
    padding-left: 22px;

    color: #6c757d;

    line-height: 1.7;
}


.legal-list li::before {
    position: absolute;

    top: 0;
    left: 0;

    content: "—";

    color: #212529;
}
/* ==================================================
   LOGO NAVIGATION
================================================== */

.navbar-logo {
    display: block;
    width: auto;
    height: 56px;
    max-width: 280px;
    object-fit: contain;
}
@media (max-width: 991.98px) {

    .navbar-logo {
        height: 44px;
    }

}
/* ==================================================
   PAGE GALERIES
================================================== */

.gallery-page-header {
    padding: 150px 0 70px;
    background: #111;
    color: #fff;
}

.gallery-page-heading {
    max-width: 760px;
}

.gallery-page-kicker,
.gallery-category-label {
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .75rem;
    font-weight: 600;
    opacity: .65;
}

.gallery-page-heading h1 {
    margin-top: 12px;
    margin-bottom: 18px;
    font-size: clamp(2.3rem, 5vw, 4rem);
    font-weight: 500;
}

.gallery-page-heading p {
    max-width: 650px;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, .72);
}


/* Page */

.gallery-page {
    padding: 80px 0;
}


/* Catégorie */

.gallery-category {
    margin-bottom: 80px;
}

.gallery-category:last-child {
    margin-bottom: 0;
}

.gallery-category-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, .12);
}

.gallery-category-header h2 {
    margin: 5px 0 0;
    font-size: 1.8rem;
}

.gallery-category-count {
    color: #777;
    font-size: .9rem;
}


/* Carte */

.public-gallery-card {
    height: 100%;
}

.public-gallery-image {
    position: relative;
    display: block;
    height: 320px;
    overflow: hidden;
    background: #eee;
    text-decoration: none;
}

.public-gallery-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .5s ease;
}

.public-gallery-card:hover
.public-gallery-image img {
    transform: scale(1.035);
}


/* Nombre de photos */

.public-gallery-count {
    position: absolute;
    right: 15px;
    bottom: 15px;

    padding: 7px 11px;

    border-radius: 20px;

    background: rgba(0, 0, 0, .7);
    color: #fff;

    font-size: .8rem;
}


/* Pas d'image */

.public-gallery-no-image {
    width: 100%;
    height: 100%;

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

    color: #aaa;
    font-size: 3rem;
}


/* Texte */

.public-gallery-content {
    padding-top: 20px;
}

.public-gallery-content h3 {
    margin-bottom: 5px;
    font-size: 1.35rem;
}

.public-gallery-content h3 a {
    color: inherit;
    text-decoration: none;
}

.public-gallery-subtitle {
    margin-bottom: 12px;
    color: #777;
    font-size: .92rem;
}

.public-gallery-content p {
    margin-bottom: 15px;

    color: #666;

    line-height: 1.65;

    display: -webkit-box;

    -webkit-line-clamp: 3;
    line-clamp: 3;

    -webkit-box-orient: vertical;

    overflow: hidden;
}

/* Lien */

.public-gallery-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: #111;
    text-decoration: none;
    font-weight: 600;
}

.public-gallery-link i {
    transition: transform .2s ease;
}

.public-gallery-link:hover i {
    transform: translateX(4px);
}


/* Galerie vide */

.gallery-empty {
    padding: 80px 20px;
    text-align: center;
}

.gallery-empty-icon {
    margin-bottom: 20px;
    color: #aaa;
    font-size: 3rem;
}

.gallery-empty p {
    color: #777;
}


/* Responsive */

@media (max-width: 767.98px) {

    .gallery-page-header {
        padding: 120px 0 55px;
    }

    .gallery-page {
        padding: 55px 0;
    }

    .gallery-category {
        margin-bottom: 55px;
    }

    .gallery-category-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .public-gallery-image {
        height: 270px;
    }
}
/* ==================================================
   VUE D'UNE GALERIE
================================================== */

.gallery-view-header {
    padding: 145px 0 60px;
    background: #111;
    color: #fff;
}

.gallery-view-back {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 35px;

    color: rgba(255, 255, 255, .65);
    text-decoration: none;

    font-size: .9rem;

    transition: color .2s ease;
}

.gallery-view-back:hover {
    color: #fff;
}

.gallery-view-category {
    margin-bottom: 10px;

    text-transform: uppercase;
    letter-spacing: .18em;

    font-size: .75rem;
    font-weight: 600;

    color: rgba(255, 255, 255, .55);
}

.gallery-view-header h1 {
    margin: 0 0 10px;

    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 500;
}

.gallery-view-subtitle {
    margin-bottom: 20px;

    font-size: 1.2rem;

    color: rgba(255, 255, 255, .72);
}

.gallery-view-description {
    max-width: 750px;

    margin-top: 20px;

    line-height: 1.8;

    color: rgba(255, 255, 255, .7);
}

.gallery-view-total {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-top: 28px;

    color: rgba(255, 255, 255, .55);

    font-size: .9rem;
}


/* ==================================================
   GRILLE PHOTOS
================================================== */

.gallery-view-page {
    padding: 70px 0 90px;
}

.public-photo-grid {
    columns: 3;
    column-gap: 20px;
}

.public-photo-item {
    display: inline-block;

    width: 100%;

    margin: 0 0 20px;

    break-inside: avoid;
}

.public-photo-open {
    display: block;

    width: 100%;

    padding: 0;

    border: 0;

    background: transparent;

    cursor: zoom-in;

    overflow: hidden;
}

.public-photo-open img {
    display: block;

    width: 100%;
    height: auto;

    transition:
        transform .4s ease,
        opacity .3s ease;
}

.public-photo-open:hover img {
    transform: scale(1.02);
    opacity: .94;
}


/* Légendes */

.public-photo-item figcaption {
    display: flex;
    flex-direction: column;
    gap: 4px;

    padding: 10px 2px 4px;

    font-size: .88rem;
}

.public-photo-item figcaption strong {
    font-weight: 600;
}

.public-photo-item figcaption span {
    color: #777;
}


/* ==================================================
   LIGHTBOX
================================================== */

body.lightbox-open {
    overflow: hidden;
}

.photo-lightbox {
    position: fixed;
    inset: 0;

    z-index: 9999;

    display: none;

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

    padding: 40px 80px;

    background: rgba(0, 0, 0, .96);
}

.photo-lightbox.is-open {
    display: flex;
}

.photo-lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;

    max-width: 100%;
    max-height: 100%;
}

.photo-lightbox-content img {
    display: block;

    max-width: min(1500px, 100%);
    max-height: calc(100vh - 140px);

    object-fit: contain;
}


/* Légende lightbox */

.photo-lightbox-caption {
    display: flex;
    flex-direction: column;

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

    padding-top: 12px;

    color: #fff;

    text-align: center;
}

.photo-lightbox-caption span {
    margin-top: 3px;

    color: rgba(255, 255, 255, .65);

    font-size: .9rem;
}


/* Fermer */

.photo-lightbox-close {
    position: absolute;

    top: 22px;
    right: 25px;

    width: 44px;
    height: 44px;

    border: 0;

    background: transparent;
    color: #fff;

    font-size: 1.6rem;

    cursor: pointer;
}


/* Navigation */

.photo-lightbox-nav {
    position: absolute;
    top: 50%;

    transform: translateY(-50%);

    width: 50px;
    height: 60px;

    border: 0;

    background: transparent;

    color: rgba(255, 255, 255, .75);

    font-size: 1.6rem;

    cursor: pointer;
}

.photo-lightbox-nav:hover {
    color: #fff;
}

.photo-lightbox-prev {
    left: 15px;
}

.photo-lightbox-next {
    right: 15px;
}


/* Compteur */

.photo-lightbox-counter {
    position: absolute;

    left: 50%;
    bottom: 18px;

    transform: translateX(-50%);

    color: rgba(255, 255, 255, .65);

    font-size: .85rem;
}


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

@media (max-width: 991.98px) {

    .public-photo-grid {
        columns: 2;
    }
}

@media (max-width: 767.98px) {

    .gallery-view-header {
        padding: 120px 0 45px;
    }

    .gallery-view-page {
        padding: 40px 0 60px;
    }

    .public-photo-grid {
        columns: 1;
    }

    .photo-lightbox {
        padding: 55px 15px;
    }

    .photo-lightbox-content img {
        max-height: calc(100vh - 130px);
    }

    .photo-lightbox-nav {
        width: 42px;
        height: 50px;

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

        font-size: 1.25rem;
    }

    .photo-lightbox-prev {
        left: 3px;
    }

    .photo-lightbox-next {
        right: 3px;
    }
}
/* ==================================================
   NAVIGATION — MASQUAGE AU SCROLL
================================================== */

#mainNavbar {
    transition:
        transform .35s ease,
        background-color .35s ease,
        box-shadow .35s ease;

    will-change: transform;
}

/* On descend : le menu sort par le haut */
#mainNavbar.navbar-hidden {
    transform: translateY(-100%);
}

/* On remonte : le menu revient */
#mainNavbar.navbar-visible {
    transform: translateY(0);
}
/* ==================================================
   LIGHTBOX — DIAPORAMA
================================================== */
.photo-lightbox-slideshow {
    position: absolute;

    top: 24px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 8px;

    padding: 9px 18px;

    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 30px;

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

    color: #fff;

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

    cursor: pointer;

    z-index: 20;

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

.photo-lightbox-slideshow:hover {
    background: rgba(255, 255, 255, .15);

    border-color: rgba(255, 255, 255, .7);
}
@media (max-width: 576px) {

    .photo-lightbox-slideshow {
        top: 18px;

        padding: 8px 14px;

        font-size: 13px;
    }
}
/* =========================================================
   HOME PHOTO SLIDER
========================================================= */

.home-photo-slider-section {
    overflow: hidden;
}


/* ---------------------------------------------------------
   CONTENEUR
--------------------------------------------------------- */

.home-photo-slider {
    position: relative;
    width: 100%;
}


/* ---------------------------------------------------------
   NAVIGATION
--------------------------------------------------------- */

.home-photo-slider-nav {
    display: flex;
    justify-content: flex-end;
    gap: 10px;

    margin-bottom: 20px;
}

.home-photo-slider-arrow {
    width: 46px;
    height: 46px;

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

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;

    background: transparent;
    color: #fff;

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

.home-photo-slider-arrow:hover {
    background: #fff;
    color: #111;
    border-color: #fff;

    transform: scale(1.05);
}


/* ---------------------------------------------------------
   PISTE
--------------------------------------------------------- */

.home-photo-slider-track {
    display: flex;
    gap: 22px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;

    scrollbar-width: none;

    -webkit-overflow-scrolling: touch;
}

.home-photo-slider-track::-webkit-scrollbar {
    display: none;
}


/* ---------------------------------------------------------
   PHOTO
--------------------------------------------------------- */

.home-photo-slide {
    position: relative;

    flex: 0 0 calc((100% - 44px) / 3);

    min-width: 0;

    scroll-snap-align: start;
}


/* ---------------------------------------------------------
   LIEN
--------------------------------------------------------- */

.home-photo-slide-link {
    display: block;

    color: inherit;
    text-decoration: none;
}


/* ---------------------------------------------------------
   IMAGE
--------------------------------------------------------- */

.home-photo-slide-image {
    position: relative;

    width: 100%;
    height: 480px;

    overflow: hidden;

    background: #161616;
}

.home-photo-slide-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.8s cubic-bezier(.2, .7, .2, 1),
        opacity 0.4s ease;
}


/* ---------------------------------------------------------
   HOVER PHOTO
--------------------------------------------------------- */

.home-photo-slide-link:hover img {
    transform: scale(1.035);
}


/* ---------------------------------------------------------
   DÉGRADÉ
--------------------------------------------------------- */

.home-photo-slide-image::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.78) 0%,
            rgba(0, 0, 0, 0.30) 35%,
            rgba(0, 0, 0, 0) 65%
        );
}


/* ---------------------------------------------------------
   TEXTE SUR PHOTO
--------------------------------------------------------- */

.home-photo-slide-overlay {
    position: absolute;

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

    z-index: 2;

    color: #fff;
}


/* Catégorie */

.home-photo-slide-category {
    margin-bottom: 8px;

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.18em;
    text-transform: uppercase;

    opacity: 0.75;
}


/* Titre */

.home-photo-slide-title {
    font-size: 1.35rem;
    font-weight: 600;

    line-height: 1.2;
}


/* Voir galerie */

.home-photo-slide-gallery {
    margin-top: 13px;

    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 0.82rem;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.08em;

    opacity: 0;

    transform: translateY(8px);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.home-photo-slide-link:hover
.home-photo-slide-gallery {
    opacity: 1;
    transform: translateY(0);
}


/* ---------------------------------------------------------
   TABLETTE
--------------------------------------------------------- */

@media (max-width: 991.98px) {

    .home-photo-slide {
        flex-basis: calc((100% - 22px) / 2);
    }

    .home-photo-slide-image {
        height: 420px;
    }
}


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

@media (max-width: 575.98px) {

    .home-photo-slider-nav {
        margin-bottom: 15px;
    }

    .home-photo-slider-arrow {
        width: 42px;
        height: 42px;
    }

    .home-photo-slider-track {
        gap: 14px;
    }

    .home-photo-slide {
        flex-basis: 88%;
    }

    .home-photo-slide-image {
        height: 440px;
    }

    .home-photo-slide-overlay {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .home-photo-slide-gallery {
        opacity: 1;
        transform: none;
    }
}
/* ==================================================
   NAVIGATION COLLECTIONS
================================================== */

.gallery-collections-nav {
    padding: 28px 0;

    background: #fff;

    border-bottom: 1px solid #e5e5e5;
}

.gallery-collections-nav-inner {
    display: flex;

    align-items: center;

    gap: 32px;
}

.gallery-collections-nav-label {
    flex: 0 0 auto;

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.18em;

    text-transform: uppercase;

    color: #888;
}

.gallery-collections-nav-links {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px 26px;
}

.gallery-collections-nav-links a {
    position: relative;

    color: #222;

    font-size: 0.95rem;
    font-weight: 500;

    text-decoration: none;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.gallery-collections-nav-links a:hover {
    opacity: 0.55;
}


/* ==================================================
   ANCRAGES COLLECTIONS
================================================== */

.gallery-category {
    scroll-margin-top: 100px;
    padding-top: 35px;
}


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

@media (max-width: 767.98px) {

    .gallery-collections-nav {
        padding: 22px 0;
    }

    .gallery-collections-nav-inner {
        display: block;
    }

    .gallery-collections-nav-label {
        display: block;

        margin-bottom: 14px;
    }

    .gallery-collections-nav-links {
        flex-wrap: nowrap;

        overflow-x: auto;

        padding-bottom: 5px;

        scrollbar-width: thin;
    }

    .gallery-collections-nav-links a {
        flex: 0 0 auto;
    }
}