body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #0b0f14;
    color: #fff;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* pour éviter que le flou dépasse */

    color: #fff;
}

/* Image de fond floue */
.hero::before {
    content: "";
    position: absolute;
    inset: 0; /* top:0; right:0; bottom:0; left:0 */
    background: url('../img/code-bg.png') no-repeat center center;
    background-size: cover;
    filter: blur(5px); /* ajustez le flou ici */
    z-index: 0; /* derrière tout */
    transform: scale(1.05); /* pour éviter les bords flous visibles */
}

/* Overlay pour assombrir l'image */
.hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5); /* tu peux garder ton overlay actuel */
    z-index: 1; /* au-dessus de l'image floue mais derrière le texte */
}

/* Texte et contenu au-dessus */
.hero .container {
    position: relative;
    z-index: 2;
}

.projects, .pricing {
    padding: 80px 0;
    text-align: center;
}

.projects .grid img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.projects .grid img:hover {
    transform: scale(1.05);
}

.pricing .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing .card {
    background: #121826;
    padding: 35px;
    border-radius: 18px;
    transition: 0.4s;
}

.pricing .card h3 {
    margin-bottom: 15px;
    color: #c89b5a;
}

.pricing .card p {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.pricing .card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.pricing .card ul li {
    margin-bottom: 10px;
}

.pricing .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.services .card,
.projects .card,
.pricing .card {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--gold);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s ease;
}

[data-animate].show {
    opacity: 1;
    transform: translateY(0);
}





.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

.logo {
    width: 160px;
    margin-bottom: 20px;
}

h1 span {
    color: #c89b5a;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #c89b5a, #f1c27d);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.services {
    padding: 80px 0;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: #121826;
    padding: 35px;
    border-radius: 18px;
    transition: 0.4s;
}

.card i {
    font-size: 36px;
    color: #c89b5a;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.tech {
    padding: 60px 0;
    text-align: center;
    background: #0e1320;
}

.tech-icons i {
    font-size: 40px;
    margin: 15px;
    color: #c89b5a;
}

.cta {
    padding: 80px 0;
    text-align: center;
}

footer {
    padding: 20px;
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}

.hero {
    position: relative;
    overflow: hidden;
}

.code-layer {
    position: absolute;
    inset: 0;
    background: url("/img/code-bg.png") center/cover no-repeat;
    opacity: 0.15;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11,15,20,.6), #0b0f14);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.sections-wrapper {
    position: relative;
    overflow: hidden;
    perspective: 1200px;
}

/* Logo central unique */
.sections-wrapper::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;

    width: 600px;
    height: 600px;

    background: url("/img/logo-devweb.png") no-repeat center;
    background-size: contain;

    opacity: 0.06;

    transform: translate(-50%, -50%) rotateY(0deg);
    transform-style: preserve-3d;

    animation: rotateLeftRight 40s ease-in-out infinite;

    z-index: 1;
}

/* Animation gauche ↔ droite */
@keyframes rotateLeftRight {
    0%   { transform: translate(-50%, -50%) rotateY(-25deg); }
    50%  { transform: translate(-50%, -50%) rotateY(25deg); }
    100% { transform: translate(-50%, -50%) rotateY(-25deg); }
}

/* Toutes les sections AU-DESSUS du logo */
.sections-wrapper section {
    position: relative;
    z-index: 2;
}


.tech {
    position: relative;
    padding: 150px 0;
    text-align: center;
    color: #00ff00;
    overflow: hidden;
    background: black;
}

#matrix-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;

    filter: blur(2px);      /* léger flou */
    opacity: 0.4;            /* moins visible pour que le contenu soit lisible */
}

.tech h2 {
    position: relative;
    z-index: 1;       /* au-dessus du canvas */
    color: white;     /* titre en blanc */
}
.tech-icons {
    position: relative;
    z-index: 1;               /* au-dessus du canvas */
}

.tech-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    font-size: 3rem;
}




