html {
    height: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%; /* Prevent iOS font inflation */
    text-size-adjust: 100%;
    box-sizing: border-box;
}

/* ── Prevent drag & blue selection highlight on all media ── */
img, video {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

/* ── Loading screen overlay ── */
.loader-overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    pointer-events: all;
    opacity: 1;
    transition: opacity 1.2s cubic-bezier(.4,0,.2,1);
}

/* Phase 1: hide logo + counter inside the overlay */
.loader-overlay.hide-content .loader-logo,
.loader-overlay.hide-content .loader-count{
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 500ms ease, transform 500ms ease;
}

/* Phase 2: fade the black background away */
.loader-overlay.fade-out{
    opacity: 0;
    pointer-events: none;
}

.loader-logo{
    width: 80px;
    height: 80px;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.7);
    animation: loader-logo-in 600ms 100ms cubic-bezier(.2,.9,.3,1) forwards;
}

@keyframes loader-logo-in{
    to{ opacity: 1; transform: scale(1); }
}

.loader-count{
    font-family: "forma-djr-banner", sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.18em;
    color: rgba(244, 244, 244, 0.45);
    opacity: 0;
    animation: loader-count-in 400ms 300ms ease forwards;
}

@keyframes loader-count-in{
    to{ opacity: 1; }
}

*, *::before, *::after {
    font-family: "forma-djr-banner", sans-serif;
    box-sizing: inherit;
}

body {
    font-family: "forma-djr-banner", sans-serif;
    font-weight: 500;
    font-style: normal;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: rgb(0, 0, 0);
    color: #f4f4f4;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

header {
    background: #212121;
    color: #f4f4f4;
    padding: 0px 0;
    text-align: center;
}

h1 { margin: 0; }


.container { width: 90%; max-width: 1200px; margin: 0 auto; overflow: visible; }




#hero{
    margin-top: 0;
    height: 100vh; /* fill the full first screen */
    height: 100dvh; /* dynamic viewport height — accounts for mobile browser UI */
    max-height: none;
    position: relative;
    overflow: hidden;
    background: #212121;
}

#hero video{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: 1; /* sit behind hero content */
    pointer-events: none;
}

#hero .content{
    background: rgba(0, 0, 0, 0);
    height:100%;
    width:100%;
    z-index:20;
    position:absolute;
    top:0;
    left:0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-tall{
    max-height: 500px; /* adjust to taste */
    max-width: 90vw;  /* prevent horizontal overflow on small screens */
    width: auto;
    display: block;
    margin: 0 auto -100px auto;
}

#hero .content p{
    color: #f4f4f4;
    font-size: 18px;
}

/*top left icon*/
.site-favicon{
    position: absolute;
    top: 20px;
    left: 700px;
    z-index: 9999;
    display: none;
    width: 124px;
    height: 124px;
    padding: 4px;
    border-radius: 6px;
    background: transparent;
    text-decoration: none;
}
.site-favicon img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

/* top-left contact link: same style as menu */
.top-left-link{
    position: fixed;
    top: 12px;
    left: 12px;
    right: auto;
    z-index: 10001;
    color: #f4f4f4;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 6px 10px;
    background: transparent;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: opacity 320ms ease, color 400ms ease;
}

.top-left-link::after{
    content: "";
    position: absolute;
    left: 0;
    right: auto;
    bottom: 4px;
    height: 2px;
    width: 0%;
    background: currentColor;
    transition: width 280ms cubic-bezier(.2,.9,.3,1);
    transform-origin: left center;
}
.top-left-link:hover::after{
    width: 100%;
}

/* top-right menu link: no background/border, animated underline on hover */
.top-right-link{
    position: fixed;
    top: 12px;
    right: 12px;
    left: auto;
    z-index: 10001; /* above most content */
    color: #f4f4f4;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 6px 10px;
    background: transparent;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: opacity 320ms ease, color 400ms ease;
}

/* underline pseudo-element animates left->right */
.top-right-link::after{
    content: "";
    position: absolute;
    left: 0;
    right: auto;
    bottom: 4px;
    height: 2px;
    width: 0%;
    background: currentColor;
    transition: width 280ms cubic-bezier(.2,.9,.3,1);
    transform-origin: left center;
}
.top-right-link:hover::after{
    width: 100%;
}

.multi-word {
  letter-spacing: 0.06em;   /* spacing between letters */
  word-spacing: 0.12em;     /* optional extra spacing between words */
  transition: letter-spacing 160ms ease, word-spacing 160ms ease;
}
/* ensure single-word elements keep normal spacing (optional) */
.one-word { letter-spacing: normal; word-spacing: normal; }





/* (no ::before needed on aboutpanel) */

/* About panel: add a softened top edge that blends into the hero video */
.aboutpanel{
    position: relative;
    z-index: 11;
    background: #f4f4f4;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 60px 0;
    text-align: center;
    overflow: hidden;
    cursor: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Glowing ball cursor */
.about-glow-cursor{
    position: fixed;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.5) 35%, rgba(255,255,255,0.15) 60%, transparent 100%);
    box-shadow: 0 0 18px 6px rgba(255,255,255,0.35), 0 0 40px 14px rgba(255,255,255,0.12);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 200ms ease;
}

.about-glow-cursor.visible{
    opacity: 1;
}

.aboutpanel p{
    width: 1020px;
    max-width: 90vw;
    margin: 0 auto;
    padding: 0 5vw;
    font-size: 25px;
    line-height: 1.8;
    color: #212121;
    font-family: "forma-djr-banner", sans-serif;
    font-weight: 600;
    cursor: none;
    position: relative;
    z-index: 30;
    user-select: none;
    -webkit-user-select: none;
}

.aboutpanel img{
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

/* Inner span: hover effects only trigger on actual text */
.aboutpanel .about-text{
    position: relative;
    display: inline;
    cursor: none;
    padding: 18px 24px;
    margin: -18px -24px;
    transition: transform 320ms ease;
    transform-origin: center center;
}

/* Underline sweeps left-to-right on hover — only after text is fully enlarged */
.aboutpanel .about-text::after{
    content: "";
    position: absolute;
    left: 24px;
    bottom: -106px;
    height: 2px;
    width: 0%;
    background: #212121;
    transition: width 400ms cubic-bezier(.2,.9,.3,1);
    transform-origin: left center;
}
.aboutpanel .about-text.text-enlarged::after{
    width: calc(100% - 48px);
}

/* Scale text up on hover */
.aboutpanel .about-text:hover{
    transform: scale(1.08);
}

.about-title{
    position: relative;
    z-index: 10;
    width: 1240px;
    max-width: 88vw;
    height: auto;
    margin-bottom: 40px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}





.poles{
    position: relative;
    z-index: 11;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    padding: 100px 0;
    text-align: center;
    background: #212121;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Gradient fade at top of poles – photo dissolves smoothly from dark bg */
.poles::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 350px;
    background: linear-gradient(to bottom, #212121 0%, transparent 100%);
    z-index: 3;
    pointer-events: none;
}

/* Gradient fade at bottom of poles – photo dissolves smoothly into dark bg */
.poles::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 350px;
    background: linear-gradient(to top, #212121 0%, transparent 100%);
    z-index: 3;
    pointer-events: none;
}

/* Background photo: crop 300px from the top and ensure it covers the panel */
.bgphoto{
    position: absolute;
    top: -300px; /* move image up to crop the top 300px */
    left: 0;
    width: 100%;
    height: calc(100% + 380px); /* increased so image still covers after shifting */
    object-fit: cover;
    filter: brightness(0.35) blur(2px) saturate(0.7);
}

.poles-title{
    position: relative;
    z-index: 10;
    width: 700px;
    max-width: min(700px, 90vw);
    height: auto;
    margin-top: 100px;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 2px 20px rgba(0,0,0,0.6));
}

/* ── Pixel-grid reveal canvas over bgphoto ── */
.pixel-grid-canvas{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* ── Starfield canvas ── */
.starfield-canvas{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.6;
}

/* ── Glass card grid on top of bgphoto ── */
.glass-grid{
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 24px;
    padding: 0 5%;
    width: 90%;
    max-width: 1200px;
    height: auto;
    margin: 60px auto 0 auto;
}

.glass-card{
    flex: 1 1 0;
    position: relative;
    padding: 26px 24px;
    background: rgba(10, 10, 30, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255,255,255,0.08),
        inset 0 0 20px rgba(255,255,255,0.02);
    color: #f4f4f4;
    text-align: left;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    overflow: hidden;
    transition:
        transform 380ms cubic-bezier(.2,.9,.3,1),
        background 320ms ease,
        box-shadow 380ms ease,
        border-color 320ms ease;
    will-change: transform;
}

/* Subtle shimmer gradient overlay */
.glass-card::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 40%, transparent 60%, rgba(255,255,255,0.03) 100%);
    opacity: 1;
    transition: opacity 380ms ease;
    pointer-events: none;
    z-index: 0;
}

/* Cosmic glow ring on hover */
.glass-card::after{
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 19px;
    background: linear-gradient(135deg, rgba(180,160,255,0.4), rgba(100,180,255,0.25), rgba(255,255,255,0.15), rgba(180,140,255,0.3));
    opacity: 0;
    transition: opacity 380ms ease;
    z-index: -1;
    filter: blur(1px);
}

.glass-card:hover{
    transform: translateY(-6px) scale(1.025);
    background: rgba(15, 12, 40, 0.65);
    border-color: rgba(180, 160, 255, 0.35);
    box-shadow:
        0 0 20px 6px rgba(140, 120, 255, 0.12),
        0 0 50px 12px rgba(100, 140, 255, 0.06),
        0 20px 60px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255,255,255,0.15),
        inset 0 0 30px rgba(140, 120, 255, 0.04);
}

.glass-card:hover::before{
    animation: card-shimmer 1.2s ease forwards;
}

.glass-card:hover::after{
    opacity: 1;
}
.glass-card-header{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.glass-card-icon{
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.5;
    transition: opacity 320ms ease, filter 320ms ease, transform 320ms ease;
    filter: drop-shadow(0 0 0px transparent);
}

.glass-card:hover .glass-card-icon{
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(180, 160, 255, 0.6));
    transform: scale(1.1);
}

.glass-card h3{
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.06em;
    transition: text-shadow 320ms ease;
}

.glass-card:hover h3{
    text-shadow: 0 0 18px rgba(180, 160, 255, 0.3);
}

.glass-card p{
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    opacity: 0.6;
    font-weight: 400;
    position: relative;
    z-index: 1;
    transition: opacity 320ms ease;
}

.glass-card:hover p{
    opacity: 0.9;
}

/* responsive: stack on smaller screens */
@media (max-width: 768px) {
    .glass-grid {
        flex-wrap: wrap;
        gap: 16px;
    }
    .glass-card {
        flex: 1 1 calc(50% - 16px);
        min-width: 200px;
    }
}
@media (max-width: 480px) {
    .glass-card {
        flex: 1 1 100%;
    }
}





.contact{
    position: relative;
    background: #f4f4f4;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0px;
    padding-bottom: 0px;
    box-sizing: border-box;
    font-family: "forma-djr-banner", sans-serif;
    overflow: hidden;
}

.contact .trust{
    width: 620px;
    max-width: 90vw;
    height: auto;
    margin: 12px 0;
    margin-top: 0px;
}
.contact .trust[alt="Ils nous font"]{
    margin-top: 80px;
    margin-left: 0;
    width: 840px;
    max-width: 90vw;
    z-index: 199;
}
    
.contact .trust[alt="confiance"]{
    margin-top: -60px;
    width: 1000px;
    max-width: 90vw;
    z-index: 200;
}
    

/* ── Partners marquee ── */
.partners-marquee{
    width: 96%;
    max-width: 1500px;
    padding: 18px 0;
    background: #212121;
    border: 1px solid rgba(6, 6, 6, 0.12);
    border-radius: 60px;
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.06);
    overflow: hidden;
    position: relative;
}

/* Pause marquee on hover so users can interact with logos */
.partners-marquee:hover .marquee-track{
    animation-play-state: paused;
}

/* fade edges */
.partners-marquee::before,
.partners-marquee::after{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.partners-marquee::before{
    left: 0;
    background: linear-gradient(to right, #212121, transparent);
}
.partners-marquee::after{
    right: 0;
    background: linear-gradient(to left, #212121, transparent);
}

.marquee-track{
    display: flex;
    align-items: center;
    gap: 48px;
    width: max-content;
    animation: marquee-scroll 28s linear infinite;
    will-change: transform;
}

.marquee-track img{
    height: 44px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 320ms ease, transform 320ms ease;
    cursor: default;
}

.marquee-track img:hover{
    opacity: 1;
    transform: scale(1.12);
}

/* larger logos for specific partners */
.marquee-track img[alt="Hexis"],
.marquee-track img[alt="Café Jules"],
.marquee-track img[alt="Pousse Clanet"],
.marquee-track img[alt="Vendargues"],
.marquee-track img[alt="Carrefour"],
.marquee-track img[alt="Pathé"]{
    height: 64px;
    max-width: 160px;
}

.marquee-track img[alt="Hexis"]{
    height: 100px;
    max-width: 100px;
    object-fit: cover;
    object-position: center;
    clip-path: inset(35% 3%);
}

@keyframes marquee-scroll{
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Vertical line above PORTFOLIO title */
.portfolio-line{
    width: 1px;
    height: 120px;
    margin: 80px auto 0 auto;
    background: #212121;
}

.contact .portfolio-title{
    width: 1280px;
    max-width: 92vw;
    height: auto;
    margin-top: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}








/* ── Contact section (below portfolio) ── */

/* Vertical line above contact form */
.contact-line{
    width: 1px;
    height: 520px;
    margin: 0 auto 0 auto;
    background: linear-gradient(to bottom, transparent 0%, rgba(244, 244, 244, 0.4) 30%, #f4f4f4 70%, #f4f4f4 100%);
}

/* ── Scroll-reveal photo gallery ── */
.scroll-gallery{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 94%;
    max-width: 1400px;
    margin-top: 100px;
    overflow: hidden;
}

.scroll-photo-wrap{
    margin-top: -40px;
}

.scroll-photo-wrap:first-child{
    margin-top: 0;
}

.scroll-photo-wrap:nth-child(3){
    margin-top: -80px;
}

.scroll-photo-wrap:nth-child(5){
    margin-top: -60px;
}

.scroll-photo-wrap:nth-child(7){
    margin-top: -90px;
}

/* Per-photo horizontal offsets for natural zigzag (9 photos) */
.scroll-photo-wrap:nth-child(1){ margin-left: -30%; margin-top: 0; }   /* dj */
.scroll-photo-wrap:nth-child(2){ margin-left: 22%; }   /* vendargues */
.scroll-photo-wrap:nth-child(3){ margin-left: -18%; }  /* festiv */
.scroll-photo-wrap:nth-child(4){ margin-left: 28%; }   /* solar */
.scroll-photo-wrap:nth-child(5){ margin-left: -8%; }   /* bottles */
.scroll-photo-wrap:nth-child(6){ margin-left: 24%; }   /* celeb */
.scroll-photo-wrap:nth-child(7){ margin-left: -22%; }  /* umbrella */
.scroll-photo-wrap:nth-child(8){ margin-left: 18%; }   /* fun */
.scroll-photo-wrap:nth-child(9){ margin-left: -4%; }   /* djnight */

.scroll-photo{
    margin-left: 0;
    width: 400px;
    height: 280px;
    border-radius: 2px;
    object-fit: cover;
    display: block;
    opacity: 0;
    transform: translateY(60px) scale(1);
    transition: opacity 800ms cubic-bezier(.2,.9,.3,1),
                transform 800ms cubic-bezier(.2,.9,.3,1),
                border-color 500ms ease,
                filter 500ms ease;
    border: 1px solid rgba(255, 255, 255, 0.06);
    filter: brightness(1);
}

.scroll-photo.visible{
    opacity: 1;
    transform: translateY(0) scale(1);
}

.scroll-photo.visible:hover{
    transform: translateY(0) scale(1.02);
    border-color: rgba(255, 255, 255, 0.18);
    filter: brightness(1.06);
}

.contact-section{
    position: relative;
    min-height: auto;
    background: linear-gradient(to bottom, #212121 0%, #2e2e2e 8%, #3a3a3a 18%, #5a5a5a 35%, #8a8a8a 55%, #b0b0b0 72%, #d8d8d8 88%, #f4f4f4 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 80px;
    box-sizing: border-box;
    font-family: "forma-djr-banner", sans-serif;
    overflow: hidden;
}

/* Subtle noise texture overlay on contact section */
.contact-section::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.045;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 180px 180px;
}

/* Ensure all direct children sit above the texture */
.contact-section > *{
    position: relative;
    z-index: 1;
}

/* ── Contact form area: titles + form side by side ── */
.contact-form-area{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 94%;
    max-width: 1100px;
    margin-top: 60px;
    gap: 40px;
    z-index: 10;
}

/* ── Contact heading (replaces image titles) ── */
.contact-heading{
    max-width: 90vw;
    width: 100%;
    height: auto;
    color: #f4f4f4;
    text-transform: uppercase;
    margin: 0 auto 16px auto;
    text-align: center;
    position: relative;
    display: block;
}
.contact-heading::after{
    content: "";
    display: block;
    width: 60px;
    height: 1px;
    background: rgba(244, 244, 244, 0.35);
    margin: 24px auto 0 auto;
}

/* ── Contact body: form + info column ── */
.contact-body{
    display: flex;
    align-items: flex-start;
    gap: 60px;
    width: 100%;
    margin-left: 0;
    justify-content: center;
}

/* ── Contact form ── */
.contact-form{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 580px;
    position: relative;
    z-index: 5;
    margin-left: 0;
    margin-top: 0;
}

.contact-form .form-row{
    display: flex;
    gap: 24px;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form textarea{
    width: 100%;
    padding: 18px 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    background: transparent;
    color: #f4f4f4;
    font-family: "forma-djr-banner", sans-serif;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.08em;
    outline: none;
    transition: border-color 400ms ease;
    box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder{
    color: rgba(244, 244, 244, 0.30);
    font-family: "forma-djr-banner", sans-serif;
    letter-spacing: 0.08em;
    font-weight: 400;
}

.contact-form input:focus,
.contact-form textarea:focus{
    border-bottom-color: #f4f4f4;
}

.contact-form textarea{
    resize: none;
    min-height: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.form-consent{
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    word-spacing: 0.02em;
    color: rgba(244, 244, 244, 0.55);
    font-family: "forma-djr-banner", sans-serif;
}

.form-consent input[type="checkbox"]{
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #f4f4f4;
    cursor: pointer;
}

.form-submit{
    align-self: flex-start;
    padding: 14px 56px;
    border: 1px solid #f4f4f4;
    border-radius: 0;
    background: #f4f4f4;
    color: #212121;
    font-family: "forma-djr-banner", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 360ms ease, color 360ms ease, letter-spacing 360ms ease, border-color 360ms ease;
    margin-top: 10px;
    -webkit-appearance: none;
    appearance: none;
    touch-action: manipulation;
}

.form-submit:hover{
    background: transparent;
    color: #f4f4f4;
    letter-spacing: 0.28em;
    border-color: rgba(244, 244, 244, 0.5);
}

.mail{
    letter-spacing: 0.10em;
    font-family: "forma-djr-banner", sans-serif;
    font-weight: 500;
    font-style: normal;
    line-height: 1.6;
    color: #f4f4f4;
    font-size: 15px;
    position: relative;
    cursor: pointer;
    display: block;
    width: fit-content;
    z-index: 2;
    pointer-events: auto;
}

.mail::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    height: 2px;
    width: 0%;
    background: currentColor;
    transition: width 280ms cubic-bezier(.2,.9,.3,1);
    transform-origin: left center;
}
.mail:hover::after{
    width: 100%;
}

/* ── Contact info column (right of form) ── */
.contact-info-col{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 14px;
    min-width: 200px;
}

.contact-phone{
    letter-spacing: 0.08em;
    font-family: "forma-djr-banner", sans-serif;
    font-weight: 500;
    line-height: 1.6;
    color: #f4f4f4;
    font-size: 15px;
    position: relative;
    cursor: pointer;
    display: block;
    width: fit-content;
    text-decoration: none;
    transition: opacity 280ms ease;
}
.contact-phone:hover{
    opacity: 0.7;
}
.contact-phone::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    height: 2px;
    width: 0%;
    background: currentColor;
    transition: width 280ms cubic-bezier(.2,.9,.3,1);
    transform-origin: left center;
}
.contact-phone:hover::after{
    width: 100%;
}

.contact-socials{
    display: flex;
    gap: 14px;
    margin-top: 8px;
}

.contact-social-icon{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #f4f4f4;
    opacity: 0.6;
    transition: opacity 280ms ease, transform 280ms ease;
}

.contact-social-icon:hover{
    opacity: 1;
    transform: scale(1.12);
}

.contact-social-icon svg{
    width: 20px;
    height: 20px;
}

/* copied toast */
.mail-copied{
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    padding: 12px 32px;
    color: #f4f4f4;
    font-family: "forma-djr-banner", sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    opacity: 0;
    pointer-events: none;
    transition: opacity 320ms ease, transform 320ms cubic-bezier(.2,.9,.3,1);
    z-index: 99999;
}
.mail-copied.show{
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ── Portfolio section ── */
.portfolio{
    position: relative;
    width: 100%;
    height: clamp(500px, 90vh, 1080px);
    background: #212121;
    overflow: hidden;
}

.portfolio-bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 600ms ease;
    z-index: 1;
    pointer-events: none;
}

.portfolio-bg.active{
    opacity: 1;
}

.portfolio-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2;
    pointer-events: none;
    transition: background 400ms ease;
}

.portfolio.has-active .portfolio-overlay{
    background: rgba(0, 0, 0, 0.4);
}

.portfolio-list{
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.portfolio-item{
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 6%;
    gap: 24px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 300ms ease;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.portfolio-item:last-child{
    border-bottom: none;
}

.portfolio-item:hover{
    background: rgba(255, 255, 255, 0.04);
}

.portfolio-arrow{
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #f4f4f4;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 320ms ease, transform 320ms ease;
    margin-left: 12px;
}

.portfolio-item:hover .portfolio-arrow{
    opacity: 0.6;
    transform: translateX(0);
}

.portfolio-index{
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.08em;
    opacity: 0.35;
    color: #f4f4f4;
    font-family: "forma-djr-banner", sans-serif;
    min-width: 32px;
}

.portfolio-item h2{
    font-size: 42px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #f4f4f4;
    margin: 0;
    font-family: "forma-djr-banner", sans-serif;
    transition: transform 300ms cubic-bezier(.2,.9,.3,1), opacity 300ms ease;
    opacity: 0.7;
}

.portfolio-item:hover h2{
    transform: translateX(16px);
    opacity: 1;
}

.portfolio-tag{
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: #f4f4f4;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 300ms ease, transform 300ms ease;
    font-family: "forma-djr-banner", sans-serif;
    margin-left: auto;
}

.portfolio-item:hover .portfolio-tag{
    opacity: 0.5;
    transform: translateX(0);
}







/* ── Pre-footer logo ── */
.pre-footer-logo{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0 20px 0;
    background: #f4f4f4;
    overflow: visible;
    position: relative;
    z-index: 2;
}

.footer-logo-svg{
    width: 200px;
    height: auto;
    display: block;
    filter: brightness(0) drop-shadow(0px 0px 6px rgba(22, 22, 22, 0.95)) drop-shadow(0px 0px 20px rgba(20, 20, 20, 0.6));
    opacity: 0;
    transform: translateY(40px);
    transition: filter 120ms ease, opacity 900ms cubic-bezier(.2,.9,.3,1), transform 900ms cubic-bezier(.2,.9,.3,1);
    position: relative;
    z-index: 2;
}

.footer-logo-svg.visible{
    opacity: 0.85;
    transform: translateY(0);
}

.footer{
    position: relative;
    z-index: 1;
    height: auto;
    background: #f4f4f4;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 5% 24px 5%;
    box-sizing: border-box;
}

/* glassy card filling most of the footer */
.footer-glass{
    flex: 1;
    width: 90%;
    max-width: 1100px;
    margin: 24px auto;
    padding: 24px 36px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #1a1a1a;
}

.footer-glass .footer-brand{
    margin: 0 0 8px 0;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #111;
    font-family: "forma-djr-banner", sans-serif;
}

.footer-glass .footer-tagline{
    margin: 0 0 18px 0;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    opacity: 0.6;
    font-family: "forma-djr-banner", sans-serif;
}

/* ── Footer navigation links ── */
.footer-nav{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    margin: 0 0 18px 0;
    padding: 0;
}

.footer-nav-link{
    position: relative;
    color: #1a1a1a;
    text-decoration: none;
    font-family: "forma-djr-banner", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    opacity: 0.55;
    padding: 4px 0;
    transition: opacity 280ms ease;
}

.footer-nav-link::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    height: 1.5px;
    width: 0%;
    background: currentColor;
    transition: width 280ms cubic-bezier(.2,.9,.3,1);
    transform-origin: left center;
}

.footer-nav-link:hover{
    opacity: 1;
}

.footer-nav-link:hover::after{
    width: 100%;
}

.footer-glass .footer-copy{
    margin-top: 0px;
    font-size: 12px;
    font-weight: 400;
    opacity: 0.4;
    font-family: "forma-djr-banner", sans-serif;
}

.footer-glass .footer-credit{
    margin: 10px 0 0 0;
    font-size: 13px;
    font-weight: 400;
    opacity: 0.45;
    font-family: "forma-djr-banner", sans-serif;
    letter-spacing: 0.04em;
}

.footer-glass .footer-credit a{
    color: inherit;
    text-decoration: none;
    font-weight: 700;
    transition: opacity 280ms ease;
}

.footer-glass .footer-credit a:hover{
    opacity: 1;
}

/* ── Slide-out menu panel ── */
.menu-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 10010;
    opacity: 0;
    pointer-events: none;
    transition: opacity 420ms ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.menu-overlay.open{
    opacity: 1;
    pointer-events: auto;
}

.menu-panel{
    position: fixed;
    top: 0;
    right: 0;
    width: 34%;
    max-width: 100vw;
    height: 100%;
    height: 100dvh;
    background: #111;
    z-index: 10020;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 clamp(32px, 8%, 80px);
    box-sizing: border-box;
    transform: translateX(100%);
    transition: transform 480ms cubic-bezier(.25,.9,.3,1);
    overflow: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.menu-panel::-webkit-scrollbar{ display: none; }
.menu-panel.open{
    transform: translateX(0);
}

/* Lock body scroll when menu is open */
body.menu-open{
    overflow: hidden;
    touch-action: none;
}

/* ── Menu close button ── */
.menu-close-btn{
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: none;
    border: 1px solid rgba(244, 244, 244, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 10;
    transition: border-color 320ms ease, transform 320ms ease, background 320ms ease;
    -webkit-appearance: none;
    appearance: none;
}
.menu-close-btn:hover{
    border-color: rgba(244, 244, 244, 0.35);
    background: rgba(244, 244, 244, 0.04);
    transform: rotate(90deg);
}
.menu-close-btn svg{
    width: 14px;
    height: 14px;
    color: #f4f4f4;
    opacity: 0.6;
    transition: opacity 320ms ease;
}
.menu-close-btn:hover svg{
    opacity: 1;
}

.menu-panel-links{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-width: 100%;
    overflow: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.menu-panel-links::-webkit-scrollbar{ display: none; }

.menu-panel-link{
    color: #f4f4f4;
    text-decoration: none;
    font-family: "forma-djr-banner", sans-serif;
    font-size: 21px;
    font-weight: 500;
    letter-spacing: 0.06em;
    padding: 9px 0;
    position: relative;
    display: inline-block;
    transition: opacity 280ms ease, color 350ms ease, transform 280ms ease;
    transform-origin: left center;
}

.menu-panel-link::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 6px;
    height: 1.5px;
    width: 0%;
    background: #f4f4f4;
    transition: width 300ms cubic-bezier(.2,.9,.3,1);
    transform-origin: left center;
}
.menu-panel-link:hover::after{
    width: 100%;
}

.menu-panel-link:hover{
    opacity: 0.85;
    transform: translateX(4px);
}

/* ── Nos pôles submenu group ── */
.menu-poles-group{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.menu-poles-sub{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding-left: 16px;
    transition: max-height 380ms cubic-bezier(.25,.9,.3,1),
                opacity 320ms ease,
                padding 320ms ease;
    padding-top: 0;
    padding-bottom: 0;
}

.menu-poles-group.active .menu-poles-sub{
    max-height: 180px;
    opacity: 1;
    padding-top: 2px;
    padding-bottom: 4px;
}

.menu-sub-link{
    color: #f4f4f4;
    text-decoration: none;
    font-family: "forma-djr-banner", sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.08em;
    padding: 4px 0;
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 300ms ease, transform 300ms ease, color 300ms ease;
}

.menu-poles-group.active .menu-sub-link{
    opacity: 0.6;
    transform: translateY(0);
}

.menu-poles-group.active .menu-sub-link:nth-child(1){ transition-delay: 60ms; }
.menu-poles-group.active .menu-sub-link:nth-child(2){ transition-delay: 120ms; }
.menu-poles-group.active .menu-sub-link:nth-child(3){ transition-delay: 180ms; }
.menu-poles-group.active .menu-sub-link:nth-child(4){ transition-delay: 240ms; }

.menu-sub-link:hover{
    opacity: 1 !important;
}

.menu-sub-link::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 4px;
    height: 1.5px;
    width: 0%;
    background: #f4f4f4;
    transition: width 280ms cubic-bezier(.2,.9,.3,1);
    transform-origin: left center;
}
.menu-sub-link:hover::after{
    width: 100%;
}

/* Dim other menu links when poles submenu is active */
.menu-panel-links.poles-hover .menu-panel-link:not(.menu-poles-trigger){
    color: rgba(244, 244, 244, 0.3);
}

/* ── Touch device: disable cursor:none and reduce heavy hover effects ── */
@media (hover: none) {
    .aboutpanel {
        cursor: auto;
    }
    .aboutpanel .about-text {
        cursor: auto;
    }
    .about-glow-cursor {
        display: none !important;
    }
    .glass-card:hover {
        transform: none;
    }
    .portfolio-item:hover h2 {
        transform: none;
    }
}

/* ── Menu social icons ── */
.menu-panel-socials{
    display: flex;
    gap: 18px;
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid rgba(244, 244, 244, 0.08);
}

.menu-social-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #f4f4f4;
    opacity: 0.45;
    transition: opacity 280ms ease, transform 280ms ease;
}

.menu-social-icon:hover{
    opacity: 1;
    transform: scale(1.12);
}

.menu-social-icon svg{
    width: 100%;
    height: 100%;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE – Tablet (≤ 1024px)
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .logo-tall{ max-height: 340px; max-width: 85vw; margin-bottom: -60px; }
    .site-favicon{ left: 50%; transform: translateX(-50%); width: 90px; height: 90px; }

    .aboutpanel{ min-height: 100vh; min-height: 100dvh; cursor: auto; }
    .about-title{ width: 90vw; max-width: 900px; }
    .aboutpanel p{ width: 90vw; max-width: 800px; padding: 0 5vw; font-size: 22px; cursor: auto; }
    .aboutpanel .about-text{ cursor: auto; }
    .aboutpanel .about-text:hover{ transform: scale(1.04); }

    .contact .trust[alt="Ils nous font"]{ width: 500px; margin-top: 80px; }
    .contact .trust[alt="confiance"]{ width: 720px; }
    .contact .portfolio-title{ width: 90vw; max-width: 900px; }
    .contact-form-area{ max-width: 90%; }
    .contact-body{ flex-direction: column; gap: 32px; }
    .contact-heading{ font-size: 64px; margin-left: 0; }
    .contact-form{ max-width: 100%; margin-left: 0; }
    .contact-info-col{ flex-direction: row; flex-wrap: wrap; gap: 16px; align-items: center; min-width: 0; }
    .mail{ margin-left: 0; }
    .scroll-gallery{ margin-top: 80px; }
    .scroll-photo{ width: 300px; height: 210px; }
    .scroll-photo-wrap:nth-child(1){ margin-left: -20%; }
    .scroll-photo-wrap:nth-child(2){ margin-left: 20%; }
    .scroll-photo-wrap:nth-child(3){ margin-left: -12%; }
    .scroll-photo-wrap:nth-child(4){ margin-left: 24%; }
    .scroll-photo-wrap:nth-child(5){ margin-left: -6%; }
    .scroll-photo-wrap:nth-child(6){ margin-left: 22%; }
    .scroll-photo-wrap:nth-child(7){ margin-left: -16%; }
    .scroll-photo-wrap:nth-child(8){ margin-left: 18%; }
    .scroll-photo-wrap:nth-child(9){ margin-left: -2%; }
    .photo-blur-circle{ width: 80px; height: 80px; }
    .portfolio-item h2{ font-size: 32px; }
    .menu-panel{ width: 44%; max-width: 100vw; overflow: hidden; }
    .trust-line, .portfolio-line, .contact-line{ height: 80px; }
    .poles{ min-height: 100vh; min-height: 100dvh; }
    .poles-title{ width: 80vw; max-width: 500px; margin-left: auto; margin-right: auto; margin-top: 0; }
    .glass-grid{ margin-top: 24px; }
    .scroll-photo-wrap{ margin-top: -10px; }
    .scroll-photo-wrap:nth-child(3){ margin-top: -30px; }
    .scroll-photo-wrap:nth-child(5){ margin-top: -20px; }
    .scroll-photo-wrap:nth-child(7){ margin-top: -30px; }
    .about-glow-cursor{ display: none; }
    .aboutpanel{ min-height: 100vh; min-height: 100dvh; }
    .about-trail-photo{ width: 180px; height: 120px; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE – Mobile (≤ 768px)
   ═══════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Hero */
    .logo-tall{ max-height: 240px; max-width: 88vw; margin-bottom: -40px; filter: drop-shadow(20px 20px 10px rgba(0,0,0,0.4)); }
    #hero .content p{ font-size: 14px; }
    .site-favicon{ width: 64px; height: 64px; top: 14px; }

    /* Nav links */
    .top-left-link, .top-right-link{ font-size: 13px; padding: 4px 8px; }

    /* Menu panel full width on mobile */
    .menu-panel{ width: 100%; min-width: 0; max-width: 100vw; padding: 0 clamp(24px, 8%, 48px); overflow: hidden; }
    .menu-panel-link{ font-size: 20px; padding: 8px 0; white-space: nowrap; }
    .menu-sub-link{ font-size: 12px; white-space: nowrap; }

    /* About panel */
    .aboutpanel{ min-height: 100vh; min-height: 100dvh; cursor: auto; padding: 40px 0; }
    .about-title{ width: 85vw; max-width: 600px; }
    .aboutpanel p{ width: 88vw; max-width: 600px; padding: 0 6vw; font-size: 18px; line-height: 1.7; cursor: auto; }
    .aboutpanel .about-text{ cursor: auto; padding: 10px 14px; margin: -10px -14px; }
    .aboutpanel .about-text:hover{ transform: scale(1.04); }
    .aboutpanel .about-text::after{ bottom: -40px; }
    .about-trail-photo{ width: 160px; height: 106px; }

    /* Poles / glass cards */
    .poles{ min-height: 100vh; }
    .poles-title{ margin-top: 0; }
    .glass-grid{ margin-top: 20px; transform: none; height: auto; padding: 0 4%; width: 92%; gap: 12px; }
    .bgphoto{ top: -150px; height: calc(100% + 200px); }
    .glass-card{ padding: 24px 18px; }
    .glass-card h3{ font-size: 18px; }
    .glass-card p{ font-size: 12px; }

    /* Partners / trust */
    .trust-line{ height: 80px; margin: 40px auto 20px auto; }
    .contact .trust[alt="Ils nous font"]{ width: 420px; margin-left: 0; margin-top: 80px; }
    .contact .trust[alt="confiance"]{ width: 480px; margin-top: -30px; }
    .partners-marquee{ border-radius: 30px; padding: 12px 0; }
    .marquee-track{ gap: 28px; }
    .marquee-track img{ height: 30px; max-width: 80px; }
    .marquee-track img[alt="Hexis"],
    .marquee-track img[alt="Café Jules"],
    .marquee-track img[alt="Pousse Clanet"],
    .marquee-track img[alt="Vendargues"],
    .marquee-track img[alt="Carrefour"],
    .marquee-track img[alt="Pathé"]{ height: 42px; max-width: 110px; }
    .marquee-track img[alt="Hexis"]{ height: 64px; max-width: 64px; }

    /* Portfolio title + line */
    .portfolio-line{ height: 80px; margin-top: 40px; }
    .contact .portfolio-title{ width: 92vw; }

    /* Portfolio section */
    .portfolio{ height: auto; min-height: 600px; }
    .portfolio-item{ padding: 0 4%; gap: 12px; }
    .portfolio-item h2{ font-size: 24px; }
    .portfolio-index{ font-size: 11px; min-width: 24px; }
    .portfolio-tag{ font-size: 10px; }

    /* Contact section */
    .contact-line{ height: 80px; }
    .contact-section{ min-height: auto; }
    .contact-form-area{ max-width: 92%; gap: 32px; }
    .contact-heading{ font-size: 42px; margin-left: 0; letter-spacing: 0.08em; max-width: 460px; margin-top: -10px; }
    .contact-body{ flex-direction: column; gap: 24px; }
    .contact-form{ max-width: 100%; margin-left: 0; }
    .contact-info-col{ flex-direction: row; flex-wrap: wrap; gap: 14px; align-items: center; min-width: 0; padding-top: 0; }
    .contact-bg{ display: none; }
    .mail{ font-size: 14px; }
    .contact-phone{ font-size: 14px; }

    /* Scroll photos */
    .scroll-photo{ width: 280px; height: 196px; }
    .scroll-gallery{ margin-top: 80px; }
    .scroll-photo-wrap{ margin-top: 10px; }
    .scroll-photo-wrap:nth-child(3){ margin-top: -10px; }
    .scroll-photo-wrap:nth-child(5){ margin-top: -5px; }
    .scroll-photo-wrap:nth-child(7){ margin-top: -10px; }
    .scroll-photo-wrap:nth-child(1){ margin-left: -16%; }
    .scroll-photo-wrap:nth-child(2){ margin-left: 18%; }
    .scroll-photo-wrap:nth-child(3){ margin-left: -8%; }
    .scroll-photo-wrap:nth-child(4){ margin-left: 22%; }
    .scroll-photo-wrap:nth-child(5){ margin-left: -2%; }
    .scroll-photo-wrap:nth-child(6){ margin-left: 20%; }
    .scroll-photo-wrap:nth-child(7){ margin-left: -12%; }
    .scroll-photo-wrap:nth-child(8){ margin-left: 16%; }
    .scroll-photo-wrap:nth-child(9){ margin-left: 0%; }
    .photo-blur-circle{ width: 70px; height: 70px; }

    /* Footer */
    .pre-footer-logo{ padding: 40px 0 16px 0; }
    .footer-logo-svg{ width: 140px; }
    .footer-glass{ padding: 18px 20px; }
    .footer-glass .footer-brand{ font-size: 20px; }
    .footer-glass .footer-tagline{ font-size: 12px; }
    .footer-nav{ gap: 6px 16px; }
    .footer-nav-link{ font-size: 12px; }
    .poles-title{ width: 70vw; margin-left: auto; margin-right: auto; margin-top: 0; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE – Small Mobile (≤ 480px)
   ═══════════════════════════════════════════════ */
@media (max-width: 480px) {
    .logo-tall{ max-height: 180px; max-width: 86vw; margin-bottom: -30px; }
    #hero .content p{ font-size: 12px; }
    .site-favicon{ width: 48px; height: 48px; }
    .menu-panel-link{ font-size: clamp(16px, 4.5vw, 20px); padding: 7px 0; }
    .menu-sub-link{ font-size: clamp(11px, 3vw, 13px); padding: 3px 0; }
    .menu-poles-sub{ padding-left: 12px; }
    .aboutpanel{ min-height: 100vh; min-height: 100dvh; padding: 30px 0; }
    .about-title{ width: 80vw; max-width: 400px; }
    .aboutpanel p{ width: 90vw; padding: 0 5vw; font-size: 15px; line-height: 1.65; }
    .aboutpanel .about-text::after{ bottom: -24px; }
    .about-trail-photo{ width: 130px; height: 86px; }
    .poles{ min-height: 100vh; }
    .poles-title{ margin-top: 0; }
    .glass-grid{ margin-top: 16px; transform: none; }
    .bgphoto{ top: -100px; height: calc(100% + 140px); }
    .glass-card{ padding: 18px 14px; border-radius: 12px; }
    .glass-card h3{ font-size: 16px; }
    .contact .trust[alt="Ils nous font"]{ width: 340px; margin-top: 60px; }
    .contact .trust[alt="confiance"]{ width: 400px; margin-top: -20px; }
    .scroll-photo{ width: 220px; height: 154px; }
    .scroll-gallery{ margin-top: 60px; }
    .scroll-photo-wrap{ margin-top: 16px; }
    .scroll-photo-wrap:nth-child(3){ margin-top: 0; }
    .scroll-photo-wrap:nth-child(5){ margin-top: 0; }
    .scroll-photo-wrap:nth-child(7){ margin-top: 0; }
    .scroll-photo-wrap:nth-child(1){ margin-left: -10%; }
    .scroll-photo-wrap:nth-child(2){ margin-left: 14%; }
    .scroll-photo-wrap:nth-child(3){ margin-left: -6%; }
    .scroll-photo-wrap:nth-child(4){ margin-left: 16%; }
    .scroll-photo-wrap:nth-child(5){ margin-left: 0%; }
    .scroll-photo-wrap:nth-child(6){ margin-left: 14%; }
    .scroll-photo-wrap:nth-child(7){ margin-left: -8%; }
    .scroll-photo-wrap:nth-child(8){ margin-left: 12%; }
    .scroll-photo-wrap:nth-child(9){ margin-left: -2%; }
    .photo-blur-circle{ width: 50px; height: 50px; }
    .contact-section{ min-height: auto; }
    .contact-heading{ font-size: 28px; letter-spacing: 0.06em; max-width: 360px; margin-top: -10px; }
    .contact-form{ margin-left: 0; }
    .contact-form .form-row{ flex-direction: column; gap: 0; }
    .portfolio-item h2{ font-size: clamp(14px, 4.5vw, 18px); }
    .mail{ font-size: 12px; }
    .contact-phone{ font-size: 12px; }
    .poles-title{ width: 65vw; margin-left: auto; margin-right: auto; margin-top: 0; }
    .footer-nav{ gap: 4px 12px; }
    .footer-nav-link{ font-size: 11px; }
    .contact .trust[alt="Ils nous font"]{ width: min(340px, 92vw); }
    .contact .trust[alt="confiance"]{ width: min(400px, 92vw); }
    .portfolio-tag{ display: none; } /* hide tag on very small screens */
    .portfolio-arrow{ display: none; }
    .pre-footer-logo{ padding: 30px 0 12px 0; }
    .footer-logo-svg{ width: 100px; }
    .footer-glass .footer-credit{ font-size: 11px; }
}

/* ═══════════════════════════════════════════════
   Scroll-photo hover: cursor blur spot
   ═══════════════════════════════════════════════ */
.scroll-photo-wrap{
    position: relative;
    display: inline-block;
    overflow: visible;
    border-radius: 2px;
}

.scroll-photo{
    cursor: pointer;
    transition: opacity 800ms cubic-bezier(.2,.9,.3,1),
                transform 800ms cubic-bezier(.2,.9,.3,1),
                border-color 500ms ease,
                filter 500ms ease;
}

/* The blur circle elements spawned by JS – each fades out over 3s */
.photo-blur-circle{
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    pointer-events: none;
    backdrop-filter: blur(10px) brightness(1.18);
    -webkit-backdrop-filter: blur(10px) brightness(1.18);
    background: radial-gradient(circle, rgba(255,255,255,0.10) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 1;
    z-index: 10;
    animation: blur-streak-fade 3s ease-out forwards;
}

@keyframes blur-streak-fade{
    0%   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    70%  { opacity: 0.4; transform: translate(-50%, -50%) scale(1.1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.2); }
}

/* ── About panel: cursor photo trail ── */
.about-trail-photo{
    position: absolute;
    width: 240px;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
    pointer-events: none;
    z-index: 15;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.7) rotate(0deg);
    animation: about-trail-in 1.8s cubic-bezier(.2,.9,.3,1) forwards;
    filter: drop-shadow(0 6px 20px rgba(0,0,0,0.5));
    transition: filter 500ms ease;
}

@keyframes about-trail-in{
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.7) rotate(var(--rot, 0deg)); }
    15%  { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(var(--rot, 0deg)); }
    70%  { opacity: 0.8; transform: translate(-50%, -50%) scale(1) rotate(var(--rot, 0deg)); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.92) rotate(var(--rot, 0deg)); }
}


/* ═══════════════════════════════════════════════
   Premium white light effects
   ═══════════════════════════════════════════════ */

/* Subtle ambient glow on the portfolio line */
.portfolio-line{
    background: linear-gradient(to bottom, transparent 0%, rgba(33,33,33,0.3) 20%, #212121 50%, rgba(33,33,33,0.3) 80%, transparent 100%);
    box-shadow: 0 0 8px rgba(255,255,255,0.03);
}

/* Glass card: subtle white shimmer sweep on hover */
@keyframes card-shimmer{
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.glass-card::before{
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.06) 48%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.06) 52%, transparent 70%);
    background-size: 200% 100%;
    background-position: -200% 0;
}

/* Portfolio items: soft white line glow on hover */
.portfolio-item::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 6%;
    right: 6%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: opacity 400ms ease;
}
.portfolio-item:hover::after{
    opacity: 1;
}

/* Form inputs: subtle glow on focus */
.contact-form input:focus,
.contact-form textarea:focus{
    border-bottom-color: #f4f4f4;
    box-shadow: 0 1px 12px -2px rgba(255,255,255,0.08);
}

/* Submit button: ambient glow on hover */
.form-submit:hover{
    box-shadow: 0 0 20px rgba(255,255,255,0.06), 0 0 40px rgba(255,255,255,0.03);
}

/* Footer glass card: soft ambient pulse */
@keyframes footer-glow{
    0%, 100% { box-shadow: 0 4px 24px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.6), 0 0 0 rgba(0,0,0,0); }
    50%      { box-shadow: 0 4px 24px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.6), 0 0 30px rgba(0,0,0,0.03); }
}

.footer-glass.visible{
    animation: footer-glow 6s ease-in-out infinite;
}

/* Partners marquee: soft white edge glow */
.partners-marquee{
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.06),
        0 0 40px rgba(255,255,255,0.02);
}

/* Pause marquee on hover (responsive override) */
@media (hover: none) {
    .partners-marquee:hover .marquee-track{
        animation-play-state: running;
    }
}

/* Menu panel: subtle left edge light */
.menu-panel::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent 10%, rgba(255,255,255,0.06) 30%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.06) 70%, transparent 90%);
    pointer-events: none;
    z-index: 1;
}

/* Scroll photos: soft white border glow on visible */
.scroll-photo.visible{
    box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.04);
}

.scroll-photo.visible:hover{
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px rgba(255,255,255,0.06);
}

/* ═══════════════════════════════════════════════
   Scroll blur-reveal satisfaction effect
   (applied to individual elements, never whole sections)
   ═══════════════════════════════════════════════ */
.blur-reveal{
    filter: blur(6px);
    opacity: 0;
    transform: translateY(28px) scale(0.985);
    transition: filter 900ms cubic-bezier(.2,.9,.3,1),
                opacity 800ms cubic-bezier(.2,.9,.3,1),
                transform 800ms cubic-bezier(.2,.9,.3,1);
    will-change: filter, opacity, transform;
}

.blur-reveal.revealed{
    filter: blur(0);
    opacity: 1;
    transform: translateY(0) scale(1);
    will-change: auto; /* release GPU layer after reveal */
}

/* ═══════════════════════════════════════════════
   Premium ambient light rays
   ═══════════════════════════════════════════════ */

/* Hero: soft radial light bloom from centre */
#hero::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 60% 50% at 50% 55%, rgba(255,255,255,0.06) 0%, transparent 70%);
    z-index: 2;
    pointer-events: none;
}

/* About panel: diagonal light ray sweep */
.aboutpanel::after{
    content: "";
    position: absolute;
    top: -30%;
    left: -20%;
    width: 140%;
    height: 160%;
    background: linear-gradient(
        125deg,
        transparent 30%,
        rgba(255,255,255,0.018) 42%,
        rgba(255,255,255,0.04) 44%,
        rgba(255,255,255,0.018) 46%,
        transparent 58%
    );
    pointer-events: none;
    z-index: 1;
    animation: about-light-sweep 12s ease-in-out infinite;
}

@keyframes about-light-sweep{
    0%, 100% { transform: translateX(-15%) rotate(0deg); opacity: 0.5; }
    50%      { transform: translateX(15%) rotate(1deg); opacity: 1; }
}

/* Contact section: soft top light rays */
.contact-section::after{
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 300px;
    background: radial-gradient(ellipse 100% 100% at 50% 0%, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Pre-footer logo: radial light behind */
.pre-footer-logo{
    position: relative;
}

.pre-footer-logo::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,0,0,0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Footer glass: ambient light reflection on top edge */
.footer-glass::before{
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    border-radius: 1px;
    pointer-events: none;
}

/* Portfolio section: soft vertical light pillars */
.portfolio::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, transparent 18%, rgba(255,255,255,0.012) 20%, transparent 22%),
        linear-gradient(90deg, transparent 48%, rgba(255,255,255,0.015) 50%, transparent 52%),
        linear-gradient(90deg, transparent 78%, rgba(255,255,255,0.012) 80%, transparent 82%);
    pointer-events: none;
    z-index: 2;
    animation: light-pillars-drift 20s ease-in-out infinite alternate;
}

@keyframes light-pillars-drift{
    0%   { opacity: 0.4; }
    50%  { opacity: 1; }
    100% { opacity: 0.4; }
}

/* Poles section: overhead white light cone */
.poles .glass-grid::before{
    content: "";
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 120px;
    background: radial-gradient(ellipse 100% 100% at 50% 0%, rgba(255,255,255,0.04) 0%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

/* ═══════════════════════════════════════════════
   Touch / Mobile performance overrides
   filter:blur is very expensive on mobile GPUs
   ═══════════════════════════════════════════════ */
@media (hover: none) {
    .blur-reveal{
        filter: none;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 600ms cubic-bezier(.2,.9,.3,1),
                    transform 600ms cubic-bezier(.2,.9,.3,1);
        will-change: opacity, transform;
    }
    .blur-reveal.revealed{
        filter: none;
        opacity: 1;
        transform: translateY(0);
        will-change: auto;
    }

    /* Disable heavy light ray animations on touch devices */
    .aboutpanel::after{
        animation: none;
        opacity: 0.7;
    }
    .portfolio::after{
        animation: none;
        opacity: 0.6;
    }

    /* Lighter photo blur circles */
    .photo-blur-circle{
        backdrop-filter: blur(6px) brightness(1.1);
        -webkit-backdrop-filter: blur(6px) brightness(1.1);
    }
}

/* Smooth page-level transition helper */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .blur-reveal{
        filter: none;
        opacity: 1;
        transform: none;
    }
    .contact-message {
    display: none;
    width: 100%;
    margin-top: 16px;
    padding: 14px 16px;
    box-sizing: border-box;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;

}
.contact-message.success {
    display: block;
    color: #bce8cc;
    background: rgba(41, 150, 90, 0.15);
    border: 1px solid rgba(91, 210, 140, 0.4);

}
.contact-message.error {
    display: block;
    color: #ffc2c2;
    background: rgba(190, 50, 50, 0.15);
    border: 1px solid rgba(220, 80, 80, 0.4);
}
.form-submit:disabled {
    opacity: 0.6;
    cursor: wait;

}
}