@font-face {
    font-family: "Julius Sans One";
    src: url("../assets/fonts/JuliusSansOne-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: "Montserrat";
    src: url("../assets/fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Propriétés css pour créer le reveal / Voir script.js */

.reveal-item {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 1.6s ease, transform 1.6s ease;
    will-change: opacity, transform;
}

.reveal.is-visible .reveal-item {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-item {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}




/* --------------------------------------------------------------
   RESET & BASE
-------------------------------------------------------------- */

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

html {
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    color: #222;
    scroll-behavior: smooth;
    overflow-y: scroll;
}

h1 {
    font-family: "Julius Sans One", Helvetica, Arial, sans-serif;
    color: #ffffff;
}

h2 {
    font-family: "Julius Sans One", Helvetica, Arial, sans-serif;
    color: #333;
}

h3 {
    font-family: "Julius Sans One", Helvetica, Arial, sans-serif;
}

body {
    background: #fff;
    line-height: 1.6;
}

li {
    list-style: none;
    color: #fff;
}


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

header {
    width: 100% !important;
    position: fixed;
    top: 0 !important;
    left: 0 !important;
    background: rgba(255, 255, 255, 0.3);
    padding: 0px 0 0px 0 !important;
    z-index: 300;
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hide-header {
    transform: translateY(-100%);
    transition: transform 0.4s ease;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left-part {
    width: 30% !important;
    display: flex;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    height: 60px;
    text-decoration: none;
}


.logo img {
    display: block;
    height: 46px;
    width: auto;
    object-fit: contain;
}

.right-part {
    width: 70% !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

nav a {
    text-decoration: none;
    font-size: 70%;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    transition: 0.3s ease;
}

nav a:hover {
    opacity: 0.8;
}

/* --------------------------------------------------------------
   BURGER MENU – VERSION CORRIGÉE
-------------------------------------------------------------- */

.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    cursor: pointer;
    position: relative;
    z-index: 400;
}

.burger span {
    height: 2px;
    width: 100%;
    background: white;
    transition: 0.4s ease;
}

.burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --------------------------------------------------------------
   MENU MOBILE FULLSCREEN + STAGGER
-------------------------------------------------------------- */

@media (max-width: 900px) {

    nav {
        padding: 0 16px;
        position: relative;
        z-index: 1000;
    }

    /* Burger : zone cliquable large, style minimal */
    .burger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;

        width: 44px;
        /* zone tactile */
        height: 44px;
        padding: 0;
        margin: 0;

        background: transparent;
        border: 0;
        border-radius: 999px;
        /* ok même si invisible */
        cursor: pointer;

        position: relative;
        z-index: 2001;
        -webkit-tap-highlight-color: transparent;
    }

    /* Les barres */
    .burger span {
        width: 22px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        margin-left: auto;
        /* pousse les barres à droite */
        margin-right: 6px;
        /* un petit padding visuel à droite */

        transition: transform 0.35s ease, opacity 0.25s ease;
        box-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
        /* lisible sur photo */
    }

    /* Animation croix quand active (tu as déjà la classe .active en JS) */
    .burger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
    }

    .burger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* MENU : overlay full screen discret */
    .right-part {
        position: fixed;
        inset: 0;
        width: 100% !important;
        height: 100vh;

        background: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(12px);

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

        opacity: 0;
        pointer-events: none;
        transition: opacity 0.35s ease;

        z-index: 2000;
    }

    .right-part.open {
        opacity: 1;
        pointer-events: auto;
    }

    /* Liste */
    .right-part ul {
        display: flex;
        flex-direction: column;
        gap: 14px;

        width: min(86vw, 380px);
        padding: 18px;
        margin: 0;

        list-style: none;
        align-items: stretch;
        text-align: left;
    }

    .right-part a {
        display: block;
        width: 100%;

        padding: 14px 16px;
        border-radius: 14px;
        /* background: rgba(255, 255, 255, 0.08); */

        font-size: 16px;
        letter-spacing: 2px;
        text-transform: uppercase;
        text-decoration: none;
        color: #fff;
    }

}


/* --------------------------------------------------------------
   HERO SECTION (grande image)
-------------------------------------------------------------- */

.hero {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text {
    position: absolute;
    left: 50%;
    bottom: 15%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
}

.hero-text h1 {
    font-size: 48px;
    letter-spacing: 2px;
    font-weight: 300;
    margin-bottom: 20px;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

/* --------------------------------------------------------------
   BOUTONS
-------------------------------------------------------------- */

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: white;
    color: black;
    border-radius: 2px;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.3s ease;
}

.btn:hover {
    background: #000;
    color: #fff;
}

/* --------------------------------------------------------------
   INTRO - STYLE ÉDITORIAL
-------------------------------------------------------------- */

.introtitre {
    width: 100%;
    margin: 120px auto 60px;
    text-align: center;
}

.introtitre h2 {
    font-size: 36px;
    letter-spacing: 4px;
    font-weight: 300;
    text-transform: uppercase;
}

.intro-global,
.intro-global2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 40px;
    gap: 60px;
}

.intro,
.intro2 {
    font-size: 18px;
    line-height: 1.9;
    font-weight: 300;
    letter-spacing: 1px;
    text-align: justify;
    color: #333;
    width: 60%;
}

.intro p,
.intro2 p {
    margin-bottom: 18px;
    font-size: 20px;
}

.intro-right,
.intro-right2 {
    width: 40%;
    display: flex;
    justify-content: center;
}

.intro-right img,
.intro-right2 img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}

.intro-global2 {
    flex-direction: row-reverse;
}

@media (max-width: 1300px) {
    header {
        padding: 0 16px !important;
    }

    .left-part {
        width: auto !important;
    }

    .logo img {
        height: 40px;
    }
}

@media (max-width: 900px) {

    .left-part {
        width: auto !important;
    }

    .logo img {
        height: 40px;
    }

    .intro-global,
    .intro-global2 {
        flex-direction: column;
        text-align: center;
    }

    .intro,
    .intro2 {
        width: 100%;
        text-align: center;
    }

    .intro-right,
    .intro-right2 {
        width: 100%;
    }

    .intro-right img,
    .intro-right2 img {
        width: 80%;
        margin: 0 auto;
    }
}

/* --------------------------------------------------------------
   CARROUSEL PORTFOLIO - STYLE PREMIUM
-------------------------------------------------------------- */

.portfolio-carousel {
    margin: 0 auto;
    position: relative;
    text-align: center;
}

.portfolio-carousel h2 {
    color: #333;
}

.carousel-title {
    font-size: 48px;
    font-weight: 300;
    letter-spacing: 6px;
    margin-top: 120px;
    margin-bottom: 60px;
    color: #eee;
}

.carousel-track {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    flex: 0 0 auto;
    display: block;
}

.carousel-item img {
    width: 320px;
    height: 480px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.carousel-item img:hover {
    transform: scale(1.04);
    opacity: 0.95;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 42px;
    font-weight: 300;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    z-index: 10;
    opacity: 0.5;
    transition: opacity 0.3s;
    user-select: none;
}

.carousel-arrow:hover {
    opacity: 1;
}

.carousel-arrow.left {
    left: 20px;
}

.carousel-arrow.right {
    right: 20px;
}

.photo-zoom-out {
    transform: scale(0.92);
    opacity: 0.8;
}

/* --------------------------------------------------------------
   PARALLAX SECTION — VERSION STABLE
-------------------------------------------------------------- */

.parallax-section {
    min-height: 100vh;
    /* IMPORTANT */
    width: 100%;
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    display: block;
    position: relative;
    padding: 120px 20px;
}

/* Voile sombre */
.parallax-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

/* Contenu */
.parallax-overlay {
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center;
}


/* Mobile */
@media (max-width: 768px) {
    .parallax-section {
        min-height: 100vh;
        padding: 70px 20px;
        background-attachment: scroll;
        background-size: cover;
        background-position: center 45%;
    }

    .parallax-overlay {
        padding: 20px 10px;
    }

    /* Carousel mobile */
    .portfolio-carousel {
        overflow: hidden;
    }

    .carousel-title {
        font-size: 34px;
        letter-spacing: 4px;
        margin: 50px auto 25px;
    }

    .carousel-track {
        gap: 18px;
        padding: 20px 24px 35px;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: auto;
    }

    .carousel-item {
        scroll-snap-align: center;
    }

    .carousel-item img {
        width: min(78vw, 320px);
        height: 430px;
        object-fit: cover;
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
    }

    .carousel-item:active img {
        transform: scale(0.97);
    }

    .carousel-arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        margin-bottom: 20px;
    }

    .introtitre {
        margin-top: 40px;
    }

    .intro-global {
        margin: 40px auto;
        gap: 0;
    }

    .intro-global2 {
        margin: 40px auto 60px auto;
        gap: 0;
    }

    .carousel-title {
        margin: 40px auto 0 auto;
    }

    .testimonial-section {
        padding: 0px !important;
    }

    .cta-footer {
        margin-top: 40px;
    }

    .testimonial-slides {
        height: auto !important;
        min-height: 0 !important;
        display: block;
    }

    .testimonial-slide {
        position: static !important;
        display: none;
        width: 100%;
        opacity: 0;
    }

    .testimonial-slide.active {
        display: block;
        opacity: 1;
    }

    .testimonial-box {
        height: auto !important;
        padding: 50px 36px !important;
        overflow: visible;
    }

    .testimonial-text {
        font-size: 18px;
        line-height: 1.55;
        padding: 0 12px;
    }

    .arrow.left {
        left: 18px;
    }

    .arrow.right {
        right: 18px;
    }

}

/* --------------------------------------------------------------
   GALLERIES PREVIEW
-------------------------------------------------------------- */

.galleries-preview .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.galleries-preview a {
    text-decoration: none;
    color: black;
}

.galleries-preview img {
    width: 100%;
    height: 450px;
    object-fit: none;
    transition: 0.4s ease;
}

.galleries-preview img:hover {
    transform: scale(1.05);
}

.galleries-preview h3 {
    text-align: center;
    font-weight: 300;
    margin-top: 8px;
    letter-spacing: 1px;
}

/* --------------------------------------------------------------
   SERVICES
-------------------------------------------------------------- */

.services {
    max-width: 1100px;
    margin: 100px auto;
    padding: 0 20px;
}

.services h2 {
    text-align: center;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
}

.service-item {
    text-align: center;
    padding: 20px;
}

.service-item h3 {
    font-weight: 400;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 15px;
    opacity: 0.8;
}

/* --------------------------------------------------------------
   TESTIMONIALS
-------------------------------------------------------------- */

.testimonial-section {
    text-align: center;
    padding: 140px 0;
    position: relative;
}

.testimonial-section h2 {
    font-size: 46px;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 80px;
    color: #333;
}

.testimonial-box {
    max-width: 820px;
    margin: 0 auto;
    padding: 70px 50px 110px;
    background: #00000007;
    backdrop-filter: blur(12px);
    border-radius: 40px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.25);
    overflow: hidden;
}

.testimonial-slides {
    position: relative;
    height: auto;
    min-height: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide.active {
    opacity: 1;
}

.testimonial-name {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.testimonial-job {
    font-size: 16px;
    margin-bottom: 25px;
}

.testimonial-text {
    font-size: 20px;
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto;
    padding: 0 20px;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 42px;
    cursor: pointer;
    color: #333;
    z-index: 20;
}

.arrow.left {
    left: 25px;
}

.arrow.right {
    right: 25px;
}

/* --------------------------------------------------------------
   ABOUT PREVIEW
-------------------------------------------------------------- */

.about-preview {
    max-width: 1100px;
    margin: 100px auto;
    padding: 0 20px;
}

.about-preview h2 {
    text-align: center;
    margin-bottom: 40px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-content img {
    width: 400px;
    height: 450px;
    object-fit: cover;
}

.about-content p {
    font-size: 18px;
    line-height: 1.7;
}

/* --------------------------------------------------------------
   CTA FINAL
-------------------------------------------------------------- */

.cta-footer {
    background: #000;
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta-footer h2 {
    font-size: 32px;
    font-weight: 300;
    color: #fff;
    padding-bottom: 2%;
}

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

.site-footer {
    display: flex;
    flex-direction: column;
    padding: 80px 20px 60px;
    text-align: center;
    font-size: 13px;
    letter-spacing: 1px;
    color: #888;
    background: #fff;
}

.footer-nav {
    margin-bottom: 24px;
}

.footer-nav a {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
    text-decoration: none;
    transition: opacity .3s ease;
}

.footer-nav a:hover {
    opacity: .6;
}

.footer-meta p {
    margin: 6px 0;
    line-height: 1.6;
}

.footer-meta a {
    color: #666;
    text-decoration: none;
    transition: opacity .3s ease, border-color .3s ease;
}

.footer-meta a:hover {
    opacity: .7;
    border-color: rgba(0, 0, 0, .2);
}

.footer-credit {
    margin-top: 6px;
    font-size: 13px;
    letter-spacing: 1px;
    color: #888;
}

.footer-credit .heart {
    display: inline-block;
    margin: 0 4px;
    color: #c4a6a6;
    /* beige rosé doux */
    font-size: 12px;
    transform: translateY(-1px);
}

.footer-credit a {
    color: #666;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: opacity .3s ease, border-color .3s ease;
}

.footer-credit a:hover {
    opacity: .7;
    border-color: rgba(0, 0, 0, .2);
}