.services-note{
    margin-top:40px;
    text-align:center;
    color:var(--text);
    font-size:1.05rem;
    line-height:1.6;
    max-width:700px;
    margin-left:auto;
    margin-right:auto;
}

.services-note::before{
    content:"";
    display:block;
    width:120px;
    height:2px;
    margin:0 auto 20px;
    background:linear-gradient(
        90deg,
        transparent,
        var(--primary),
        transparent
    );
}
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


:root{
    --bg:#020814;
    --card:#061426;
    --line:#facc15;
    --white:#ffffff;
    --text:#d7dbe6;

    --primary:#ffc400;
    --secondary:#ff9f00;
    --accent:#0ea5ff;
}
html{
    scroll-behavior:smooth;
    scrollbar-width:thin;
    scrollbar-color:#0ea5ff #020814;
}

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-track{
    background:#02081488;
}

::-webkit-scrollbar-thumb{
    min-height:55px;
    border:2px solid #020814;
    border-radius:999px;
    background:linear-gradient(180deg,#0ea5ff,#075fa8);
    box-shadow:0 0 10px #0ea5ffaa;
}

::-webkit-scrollbar-thumb:hover{
    background:linear-gradient(180deg,var(--primary),var(--secondary));
    box-shadow:0 0 12px #ffc400cc;
}

body{
    font-family:'Inter',sans-serif;
    background:
        radial-gradient(circle at top right,#006eff55,transparent 32%),
        radial-gradient(circle at bottom left,#ffc40022,transparent 28%),
        linear-gradient(135deg,#020814 0%,#061426 45%,#020814 100%);
    color:white;
    overflow-x:hidden;
}

.container{
    width:min(1200px,92%);
    margin:auto;
}
.image-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -20;
  animation: kenburns 18s ease-in-out infinite alternate;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: -19;
  background: rgba(2, 8, 20, .78);
  pointer-events: none;
}

.scroll-progress{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:3px;
    z-index:1100;
    pointer-events:none;
    transform:scaleX(0);
    transform-origin:left;
    background:linear-gradient(90deg,var(--primary),var(--secondary),var(--accent));
    box-shadow:0 0 14px #ffc400aa;
}

@media (pointer:fine) and (prefers-reduced-motion:no-preference){
    .js-enabled *,
    .js-enabled *::before,
    .js-enabled *::after{
        cursor:none!important;
    }

    .tech-cursor{
        position:fixed;
        top:0;
        left:0;
        width:34px;
        height:34px;
        z-index:12000;
        pointer-events:none;
        opacity:0;
        translate:-50% -50%;
        transition:opacity .2s ease;
        will-change:transform;
    }

    .tech-cursor.is-visible{
        opacity:1;
    }

    .tech-cursor__core{
        position:absolute;
        top:50%;
        left:50%;
        width:7px;
        height:7px;
        border-radius:2px;
        translate:-50% -50%;
        rotate:45deg;
        background:var(--primary);
        box-shadow:0 0 8px var(--primary),0 0 18px #ff9f00aa;
    }

    .tech-cursor__orbit{
        position:absolute;
        inset:2px;
        border:1px solid #0ea5ffcc;
        border-radius:50%;
        box-shadow:inset 0 0 8px #0ea5ff44,0 0 10px #0ea5ff55;
        transition:scale .2s ease,border-color .2s ease;
        animation:cursor-spin 3.2s linear infinite;
    }

    .tech-cursor__orbit::before,
    .tech-cursor__orbit::after{
        content:"";
        position:absolute;
        width:5px;
        height:5px;
        border-radius:1px;
        background:var(--accent);
        box-shadow:0 0 7px var(--accent);
    }

    .tech-cursor__orbit::before{top:-3px;left:50%;translate:-50% 0;}
    .tech-cursor__orbit::after{bottom:-3px;left:50%;translate:-50% 0;}

    .tech-cursor.is-hovering .tech-cursor__orbit{
        scale:1.35;
        border-color:var(--primary);
    }

    .tech-cursor.is-clicking .tech-cursor__orbit{
        scale:.75;
    }
}

@keyframes cursor-spin{
    to{rotate:360deg;}
}

@keyframes kenburns {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.08) translate(-18px, -12px);
  }
}



/* HERO */

.hero{
    min-height:100vh;
    display:grid;
    grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);
    align-items:center;
    gap:60px;
    padding-top:120px;
    position:relative;
    isolation:isolate;
}

.hero::after{
    content:"";
    position:absolute;
    inset:90px 0 0;
    z-index:-1;
    pointer-events:none;
    opacity:.5;
    background:radial-gradient(circle at var(--hero-x,70%) var(--hero-y,35%),#0ea5ff22,transparent 28%);
    transition:opacity .3s ease;
}

.hero > *{
    min-width:0;
}

.badge{
    display:inline-flex;
    padding:12px 20px;
    border:1px solid #ffc40066;
    border-radius:999px;
    background:#ffc40012;
    color:var(--primary);
    font-weight:800;
    margin-bottom:30px;
    backdrop-filter:blur(12px);
    box-shadow:0 0 25px #ffc40022;
}

.hero h1{
    font-size:clamp(52px,5.6vw,86px);
    line-height:.92;
    font-weight:900;
    letter-spacing:-5px;
    margin-bottom:25px;
    text-transform:uppercase;
}

.hero h1 .highlight{
    display:block;
    background:linear-gradient(90deg,var(--primary),var(--secondary));
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    text-shadow:0 0 35px #ffc40055;
}

.hero h1 .home-line{
    display:block;
    margin-top:.09em;
    color:var(--white);
}

.hero p{
    color:var(--text);
    font-size:1.15rem;
    line-height:1.9;
    max-width:600px;
    margin-bottom:35px;
}

.buttons{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
}

.btn{
    padding:18px 28px;
    border-radius:18px;
    font-weight:800;
    text-decoration:none;
    transition:.35s;
    position:relative;
    overflow:hidden;
}

.btn::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,#ffffff15,transparent);
    transform:translateX(-100%);
    transition:.5s;
}

.btn:hover::before{
    transform:translateX(100%);
}

.btn-yellow{
    background:linear-gradient(135deg,var(--primary),var(--secondary));
    color:black;
    box-shadow:
        0 0 20px #ffc40055,
        0 0 50px #ff9f0033;
}

.btn-dark{
    border:1px solid #ffffff18;
    background:#ffffff08;
    color:white;
}

.btn:hover{
    transform:translateY(-6px) scale(1.03);
}

/* HERO IMAGE */

.hero-visual{
    position:relative;
}

.hero-visual::before{
    content:"";
    position:absolute;
    inset:8%;
    background:
        radial-gradient(circle,#0ea5ff55,transparent 60%);
    filter:blur(70px);
    animation:pulse 5s infinite;
}

.hero-visual img{
    display:block;
    width:100%;
    max-width:650px;
    position:relative;
    animation:float 5s ease-in-out infinite;
    filter:
        drop-shadow(0 0 35px #0ea5ff22)
        drop-shadow(0 0 40px #ffc40022);
}

/* SECTIONS */

section{
    padding:120px 0;
}

.section-title{
    text-align:center;
    margin-bottom:70px;
}

.section-title span{
    color:var(--primary);
    font-weight:800;
    letter-spacing:2px;
    text-transform:uppercase;
}

.section-title h3{
    margin-top:15px;
    font-size:clamp(35px,5vw,60px);
    font-weight:900;
    text-transform:uppercase;
}

/* SERVICES */

.services {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.service {
    min-height: 240px;
    padding: 36px 28px 30px;
    text-align: center;

    background: linear-gradient(180deg, #172231, #0c1828);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 24px;

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

    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
    position:relative;
    overflow:hidden;
    transform-style:preserve-3d;
    transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease;
}

.service::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    opacity:0;
    background:radial-gradient(circle at var(--pointer-x,50%) var(--pointer-y,50%),rgba(255,196,0,.17),transparent 42%);
    transition:opacity .25s ease;
}

.service.is-interacting{
    transform:perspective(900px) rotateX(var(--rotate-x,0deg)) rotateY(var(--rotate-y,0deg)) translateY(-5px);
    border-color:rgba(255,196,0,.55);
    box-shadow:0 22px 45px rgba(0,0,0,.38),0 0 28px rgba(255,196,0,.12);
}

.service.is-interacting::after{
    opacity:1;
}

.service:hover {
    transform: translateY(-8px);
    border-color: rgba(255,196,0,.55);
    box-shadow:
        0 0 25px rgba(255,196,0,.18),
        0 20px 45px rgba(0,0,0,.35);
}

.service .icon {
    font-size: 44px;
    margin-bottom: 24px;

    color: #fff;
    filter:
        drop-shadow(0 0 8px rgba(255,196,0,.9))
        drop-shadow(0 0 18px rgba(255,196,0,.45));
}

.service h4 {
    color: #ffc400;
    font-size: 1.15rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.service p {
    color: #d7dbe6;
    font-size: 1rem;
    line-height: 1.45;
    max-width: 170px;
}

/* pour éviter que l'ancien .card modifie trop les services */
.service::before {
    display: none;
}

/* RESPONSIVE SERVICES */

@media(max-width: 1100px) {
    .services {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width: 760px) {
    .services {
        grid-template-columns: repeat(2, 1fr);
    }

    .service {
        min-height: 220px;
        padding: 30px 20px;
    }
}

@media(max-width: 480px) {
    .services {
        grid-template-columns: 1fr;
    }
}


/* TARIFS */

.tarifs-box{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.price p{
    font-size:4rem;
    font-weight:900;
    background:linear-gradient(90deg,var(--primary),var(--secondary));
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

/* CONTACT */

.contact-grid{
    display:grid;
    grid-template-columns:.8fr 1.2fr;
    gap:35px;
}

.contact-links{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.contact-link{
    padding:22px;
    border-radius:22px;
    background:#07101d;
    border:1px solid #ffffff10;
    color:white;
    text-decoration:none;
    display:flex;
    align-items:center;
    gap:14px;
    transition:.35s;
}

.contact-link:hover{
    transform:translateX(10px);
    border-color:#ffc40055;
    background:#0a1a30;
    box-shadow:0 0 25px #ffc40015;
}

.contact-link span{
    transition:transform .25s ease;
}

.contact-link:hover span{
    transform:scale(1.18) rotate(-6deg);
}

.js-enabled .reveal{
    opacity:0;
    translate:0 28px;
    transition:opacity .65s ease var(--reveal-delay,0ms),translate .65s cubic-bezier(.2,.7,.2,1) var(--reveal-delay,0ms);
}

.js-enabled .reveal.is-visible{
    opacity:1;
    translate:0 0;
}

form{
    display:grid;
    gap:18px;
}

@media(min-width:951px){
    .hero-visual img{
        width:112%;
    }
}

.field{
    display:grid;
    gap:8px;
}

.field label{
    color:var(--white);
    font-weight:700;
}

.field small,
.form-help{
    color:var(--text);
    font-size:.9rem;
    line-height:1.5;
}

.form-help{
    margin-top:-6px;
    text-align:center;
}

.two{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

input,
select,
textarea{
    width:100%;
    padding:18px;
    border-radius:18px;
    border:1px solid #ffffff10;
    background:#07101d;
    color:white;
    font-family:inherit;
    outline:none;
    transition:.3s;
}

input:focus,
select:focus,
textarea:focus{
    border-color:var(--primary);
    box-shadow:
        0 0 20px #ffc40022,
        0 0 40px #0ea5ff11;
}

textarea{
    min-height:160px;
    resize:none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
    outline:3px solid var(--accent);
    outline-offset:4px;
}


/* POPUP */

.custom-popup{
    position:fixed;
    inset:0;
    display:grid;
    place-items:center;
    background:#00000090;
    backdrop-filter:blur(10px);
    z-index:9999;
}

.popup-content{
    width:min(400px,90%);
    background:#07101d;
    border:1px solid #ffffff10;
    border-radius:30px;
    padding:40px;
    text-align:center;
    animation:popup .4s ease;
    box-shadow:
        0 0 35px #ffc40015,
        0 0 70px #0ea5ff10;
}

.popup-icon{
    font-size:60px;
    margin-bottom:20px;
}

.popup-content button{
    margin-top:25px;
    padding:14px 24px;
    border:none;
    border-radius:14px;
    background:linear-gradient(90deg,var(--primary),var(--secondary));
    color:black;
    font-weight:800;
    cursor:pointer;
}

/* ANIMATIONS */

@keyframes float{
    0%,100%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-20px);
    }
}

@keyframes pulse{
    0%,100%{
        transform:scale(1);
    }
    50%{
        transform:scale(1.1);
    }
}

@keyframes popup{
    from{
        opacity:0;
        transform:scale(.8);
    }
    to{
        opacity:1;
        transform:scale(1);
    }
}

/* RESPONSIVE */

@media(max-width:950px){

    .hero,
    .contact-grid{
        grid-template-columns:1fr;
    }

    .hero{
        text-align:center;
    }

    .hero p{
        margin:auto auto 35px;
    }

    .buttons{
        justify-content:center;
    }

    .hero-visual{
        max-width:550px;
        margin:auto;
    }
}

@media(max-width:760px){

    .burger{
        display:block;
    }

    .menu{
        position:absolute;
        top:90px;
        left:5%;
        right:5%;
        background:#07101d;
        border:1px solid #ffffff10;
        border-radius:25px;
        padding:30px;
        display:none;
        flex-direction:column;
        box-shadow:
            0 0 25px #00000055;
    }

    .menu.active{
        display:flex;
    }

    .two{
        grid-template-columns:1fr;
    }

    section{
        padding:90px 0;
    }

    .hero h1{
        font-size:clamp(2rem, 11vw, 3.75rem);
        line-height:.95;
        letter-spacing:-2px;
    }

    .hero{
        min-height:auto;
        gap:45px;
        padding-top:145px;
    }

    .badge{
        max-width:100%;
        padding:10px 15px;
        white-space:normal;
    }

    .hero-visual{
        width:100%;
        overflow:hidden;
    }

    .hero-visual img{
        width:100%;
        max-width:100%;
    }

    input,
    select,
    textarea,
    form .btn{
        font-size:16px;
    }
}

@media(max-width:480px){
    .container{
        width:calc(100% - 30px);
        max-width:1200px;
    }

    .buttons .btn{
        width:100%;
        text-align:center;
    }

    section{
        padding:70px 0;
    }
}

@media(prefers-reduced-motion:reduce){
    html{scroll-behavior:auto;}
    *,*::before,*::after{
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
        transition-duration:.01ms !important;
    }
}
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}
.honeypot {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -99999px !important;
}

altcha-widget {
    margin: 25px 0;
    padding: 12px;
    border-radius: 18px;

    --altcha-color-base: #151515;
    --altcha-color-border: rgba(255,196,0,.25);
    --altcha-color-border-focus: #ffc400;
    --altcha-color-text: #ffffff;
    --altcha-border-radius: 12px;
}

.btn-yellow {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn-yellow:hover {
    transform: translateY(-2px);
}
