/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #080808;
    color: #f5f5f5;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}


/* =========================
   VARIABLES
========================= */

:root {
    --bg: #080808;
    --card: #111111;
    --card2: #151515;
    --text: #f5f5f5;
    --muted: #999999;
    --accent: hsl(214, 94%, 55%);
    --border: rgba(255,255,255,0.1);
}


/* =========================
   HEADER
========================= */

.header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 7%;

    background: rgba(8,8,8,0.8);
    backdrop-filter: blur(15px);

    border-bottom: 1px solid var(--border);

    z-index: 1000;
}

.header.scrolled {
    background: rgba(8,8,8,0.95);
}

.logo {
    font-family: "Space Grotesk", sans-serif;
    font-size: 25px;
    font-weight: 700;
}

.logo span,
.footer-logo span {
    color: var(--accent);
}

.nav {
    display: flex;
    gap: 35px;
}

.nav a {
    color: #aaa;
    font-size: 14px;
    transition: 0.3s;
}

.nav a:hover {
    color: var(--accent);
}


/* MENU MOBILE */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 27px;
    height: 2px;
    background: white;
    margin: 6px;
    transition: 0.3s;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 120px 7% 70px;

    position: relative;
    overflow: hidden;

    background:
        linear-gradient(100deg, rgba(8,8,8,0.96) 0%, rgba(8,8,8,0.85) 32%, rgba(8,8,8,0.2) 58%, rgba(8,8,8,0.5) 100%),
        linear-gradient(0deg, rgba(8,8,8,0.85) 0%, rgba(8,8,8,0.05) 38%, rgba(8,8,8,0.1) 100%),
        url('image01.jpg') center top / cover no-repeat;
}

.hero-content {
    max-width: 720px;
    z-index: 2;
}

.small-title {
    color: var(--accent);
    letter-spacing: 3px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(48px, 7vw, 90px);
    line-height: 0.98;
    letter-spacing: -4px;
    margin-bottom: 30px;
}

.hero h1 span,
.section-title span,
.contact h2 span {
    color: var(--accent);
}

.hero-text {
    max-width: 600px;
    color: var(--muted);
    font-size: 17px;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.3s;
}

.btn.primary {
    background: var(--accent);
    color: #000;
}

.btn.primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(38,125,246,0.2);
}

.btn.secondary {
    border: 1px solid var(--border);
}

.btn.secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}


/* HERO DECORATION */

.hero-shape {
    width: 420px;
    height: 420px;
    position: relative;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
}

.circle-one {
    width: 300px;
    height: 300px;
    background: var(--accent);
    opacity: 0.12;
    right: 30px;
    top: 50px;
}

.circle-two {
    width: 180px;
    height: 180px;
    border: 1px solid var(--accent);
    right: 100px;
    top: 110px;
}

.designer-card {
    position: absolute;

    width: 220px;
    padding: 30px;

    background: rgba(20,20,20,0.9);
    border: 1px solid var(--border);

    border-radius: 20px;

    right: 70px;
    top: 100px;

    transform: rotate(8deg);

    box-shadow: 0 30px 70px rgba(0,0,0,0.5);

    animation: float 4s ease-in-out infinite;
}

.card-symbol {
    font-size: 50px;
    color: var(--accent);
}

.designer-card h3 {
    font-size: 24px;
    margin-top: 10px;
}

.designer-card p {
    color: var(--muted);
}


/* =========================
   SECTION
========================= */

.section {
    padding: 120px 7%;
}

.section-title {
    max-width: 700px;
    margin-bottom: 70px;
}

.section-title p {
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-title h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(40px, 5vw, 65px);
    line-height: 1;
}


/* =========================
ABOUT
========================= */

.about {
background: #0d0d0d;
}

.about-grid {
display: grid;
grid-template-columns: 1.1fr 0.9fr;
gap: 90px;
}

/* =========================
ABOUT TEXT
========================= */

.about-text p {
color: var(--muted);
font-size: 16px;
line-height: 1.8;
margin-bottom: 20px;
}

.about-text strong {
color: #fff;
}

/* =========================
EXPERIENCE
========================= */

.experience {
margin-top: 55px;
}

.experience > h3 {
font-family: "Space Grotesk", sans-serif;
font-size: 25px;
margin-bottom: 30px;
}

/* EXPERIENCE ITEM */

.experience-item {
position: relative;

display: grid;
grid-template-columns: 80px 1fr;

gap: 25px;

padding-bottom: 35px;

}

/* Ligne verticale */

.experience-item::before {

content: "";

position: absolute;

left: 38px;
top: 8px;
bottom: 0;

width: 1px;

background: rgba(255,255,255,0.12);

}

/* Point */

.experience-item::after {

content: "";

position: absolute;

left: 32px;
top: 5px;

width: 13px;
height: 13px;

border-radius: 50%;

background: var(--accent);

box-shadow:
    0 0 0 5px rgba(38,125,246,0.08);

}

/* YEAR */

.experience-year {

color: var(--accent);

font-family: "Space Grotesk", sans-serif;

font-size: 14px;

font-weight: 700;

padding-top: 2px;

}

/* CONTENT */

.experience-content {

padding-left: 20px;

}

.experience-content h4 {

font-family: "Space Grotesk", sans-serif;

font-size: 18px;

margin-bottom: 8px;

}

.experience-content p {

color: var(--muted);

font-size: 13px;

line-height: 1.7;

margin: 0;

}

/* =========================
SKILLS
========================= */

.skills {
padding: 35px;

background: rgba(255,255,255,0.02);

border: 1px solid rgba(255,255,255,0.08);

border-radius: 20px;

height: fit-content;

}

.skills-title {

font-family: "Space Grotesk", sans-serif;

font-size: 25px;

margin-bottom: 35px;

}

.skill {

margin-bottom: 27px;

}

.skill > div {

display: flex;

justify-content: space-between;

margin-bottom: 10px;

}

.skill span {
color: #f3f4f8;
font-size: 13px;
}

.skill strong {
color: var(--accent);
font-size: 13px;
}

.progress {

width: 100%;

height: 5px;

background: #242424;

border-radius: 10px;

overflow: hidden;

}

.progress span {

display: block;

height: 100%;

background: var(--accent);

border-radius: 10px;

transform-origin: left;

animation: progressAnimation 1.5s ease forwards;

}

@keyframes progressAnimation {

from {
    transform: scaleX(0);
}

to {
    transform: scaleX(1);
}

}

/* =========================
MOBILE
========================= */

@media (max-width: 900px) {

.about-grid {

    grid-template-columns: 1fr;

    gap: 60px;
}

}

@media (max-width: 600px) {

.experience-item {

    grid-template-columns: 65px 1fr;

    gap: 15px;
}

.experience-item::before {

    left: 31px;
}

.experience-item::after {

    left: 25px;
}

.experience-content {

    padding-left: 10px;
}

.skills {

    padding: 25px 20px;
}

}
/* =========================
SERVICES
========================= */

.services {
position: relative;
overflow: hidden;
}

.services-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 22px;
}

/* SERVICE CARD */

.service-card {
position: relative;

padding: 35px 30px 30px;

min-height: 330px;

background:
    linear-gradient(
        145deg,
        rgba(255,255,255,0.04),
        rgba(255,255,255,0.01)
    );

border: 1px solid rgba(255,255,255,0.09);

border-radius: 20px;

overflow: hidden;

transition:
    transform 0.45s ease,
    border-color 0.45s ease,
    background 0.45s ease,
    box-shadow 0.45s ease;

}

/* Ligne lumineuse en haut */

.service-card::before {
content: "";

position: absolute;

top: 0;
left: 0;

width: 0;
height: 2px;

background: var(--accent);

transition: width 0.5s ease;

}

/* Glow */

.service-card::after {
content: "";

position: absolute;

width: 150px;
height: 150px;

right: -80px;
bottom: -80px;

background: var(--accent);

opacity: 0;

border-radius: 50%;

filter: blur(70px);

transition: 0.5s;

}

/* HOVER */

.service-card:hover {

transform: translateY(-10px);

border-color: rgba(28, 123, 201, 0.35);

background:
    linear-gradient(
        145deg,
        rgba(38,125,246,0.06),
        rgba(255,255,255,0.02)
    );

box-shadow:
    0 25px 60px rgba(38, 85, 241, 0.35);

}

.service-card:hover::before {
width: 100%;
}

.service-card:hover::after {
opacity: 0.08;
}

/* NUMERO */

.service-number {

position: absolute;

top: 22px;
right: 25px;

color: #444;

font-family: "Space Grotesk", sans-serif;

font-size: 13px;

font-weight: 600;

transition: 0.3s;

}

.service-card:hover .service-number {
color: var(--accent);
}

/* ICON */

.service-icon {

width: 58px;
height: 58px;

display: flex;

align-items: center;
justify-content: center;

margin-bottom: 25px;

border-radius: 15px;

background: rgba(38,125,246,0.07);

border: 1px solid rgba(38,125,246,0.15);

color: var(--accent);

font-size: 26px;

transition:
    transform 0.4s ease,
    background 0.4s ease;

}

.service-card:hover .service-icon {

transform: translateY(-4px) rotate(5deg);

background: rgba(27, 60, 209, 0.13);

}

/* TITRE */

.service-card h3 {

position: relative;

font-family: "Space Grotesk", sans-serif;

font-size: 22px;

line-height: 1.2;

margin-bottom: 15px;

}

/* DESCRIPTION */

.service-card p {

position: relative;

color: var(--muted);

font-size: 14px;

line-height: 1.7;

margin-bottom: 22px;

}

/* TAGS */

.service-tags {

display: flex;

flex-wrap: wrap;

gap: 7px;

}

.service-tags span {

padding: 5px 10px;

border-radius: 30px;

background: rgba(255,255,255,0.04);

border: 1px solid rgba(255,255,255,0.07);

color: #888;

font-size: 10px;

letter-spacing: 0.3px;

transition: 0.3s;

}

.service-card:hover .service-tags span {

color: #bbb;

border-color: rgba(38,125,246,0.15);

}

/* =========================
SERVICES RESPONSIVE
========================= */

@media (max-width: 1100px) {

.services-grid {
    grid-template-columns: repeat(2, 1fr);
}

}

@media (max-width: 600px) {

.services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
}

.service-card {
    min-height: auto;
    padding: 30px 25px;
}

.service-card h3 {
    font-size: 20px;
}

.service-card p {
    font-size: 13px;
}

}



/* =========================
   PORTFOLIO
========================= */

.portfolio {
    background: #0d0d0d;
}

.gallery-title,
.portfolio h4 {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--text);
}

.portfolio h4 {
    font-size: 16px;
    font-weight: normal;
    color: var(--muted);
    margin-bottom: 30px;
}

/* Galerie style Pinterest */
.gallery {
    max-width: 1400px;
    margin: 0 auto;
    columns: 4;
    column-gap: 20px;
}

.gallery img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
    border-radius: 12px;
    break-inside: avoid;
    cursor: pointer;
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

/* Effet au survol */
.gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

/* Écran moyen : tablette */
@media (max-width: 1000px) {
    .gallery {
        columns: 3;
    }
}

/* Petit écran */
@media (max-width: 700px) {
    .gallery {
        columns: 2;
        column-gap: 12px;
    }

    .gallery img {
        margin-bottom: 12px;
        border-radius: 8px;
    }
}

/* Téléphone très petit */
@media (max-width: 400px) {
    .gallery {
        columns: 1;
    }
}

/* =========================
   CONTACT
========================= */

.contact {
    background: #080808;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.contact h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(50px,6vw,80px);
    line-height: 1;
    margin-bottom: 30px;
}

.contact-intro > p:last-child {
    color: var(--muted);
    max-width: 500px;
}

.contact-links {
    display: flex;
    flex-direction: column;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;

    padding: 20px 0;

    border-bottom: 1px solid var(--border);

    transition: 0.3s;
}

.contact-item:hover {
    padding-left: 10px;
}

.contact-icon {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 50%;

    color: var(--accent);
    font-weight: 700;
}

.contact-item small {
    display: block;
    color: #777;
    margin-bottom: 3px;
}

.contact-item strong {
    font-size: 15px;
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 40px 7%;

    border-top: 1px solid var(--border);

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.footer-logo {
    font-family: "Space Grotesk", sans-serif;
    font-size: 22px;
    font-weight: 700;
}

footer p {
    color: #666;
    font-size: 12px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 50%;

    font-size: 12px;

    transition: 0.3s;
}

.footer-social a:hover {
    color: #000;
    background: var(--accent);
}


/* =========================
   ANIMATIONS
========================= */

.reveal {
    opacity: 0;
    transform: translateY(30px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {

    0%,100% {
        transform: translateY(0) rotate(8deg);
    }

    50% {
        transform: translateY(-15px) rotate(8deg);
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

    .nav {
        position: fixed;

        top: 80px;
        right: -100%;

        width: 100%;
        height: calc(100vh - 80px);

        background: #080808;

        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 30px;

        transition: 0.4s;
    }

    .nav.active {
        right: 0;
    }

    .nav a {
        font-size: 20px;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;

        background:
            linear-gradient(180deg, rgba(8,8,8,0.15) 0%, rgba(8,8,8,0.55) 45%, rgba(8,8,8,0.95) 100%),
            url('image01.jpg') center top / cover no-repeat;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-shape {
        margin-top: 50px;
        transform: scale(0.75);
    }

    .about-grid,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 600px) {

    .header {
        padding: 0 5%;
    }

    .section {
        padding: 90px 5%;
    }

    .hero {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero h1 {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .hero-shape {
        width: 300px;
        height: 300px;
        transform: scale(0.65);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }

}