/* RESET DE BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* TYPO & FOND GLOBAL */
body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: #05060a;
    color: #f5f5f5;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

/* CONTAINER GLOBAL */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* TITRES DE SECTION */
.section-title {
    font-size: 2.6rem;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
}

/* HEADER / NAVBAR */
.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(5, 6, 10, 0.9);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
}

.nav a {
    margin-left: 24px;
    text-decoration: none;
    color: #c7c7c7;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: 0.3s ease;
}

.nav a:hover {
    color: #ffffff;
}

/* HERO (ACCUEIL) */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top, #1b1f2b 0, #05060a 55%);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.1rem;
    max-width: 520px;
    color: #c7c7c7;
}

/* BOUTON PRINCIPAL */
.btn {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #ff7a3c, #ffb347);
    color: #05060a;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    transition: 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
}

/* SECTIONS GÉNÉRALES */
.services,
.contact,
.portfolio {
    padding: 80px 0;
}

/* GRID SERVICES */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.card {
    background: radial-gradient(circle at top left, #1c1f2a, #0a0b10);
    border-radius: 16px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
    transition: 0.3s ease;
    opacity: 1;
    transform: translateY(0px);
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.card p {
    color: #c7c7c7;
    font-size: 0.95rem;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.9);
}

/* PORTFOLIO GRID (RENDU 3D) */
   
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    padding-top: 40px;
}


 .portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    background: #0a0a0a;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    filter: brightness(0.95) contrast(1.1);
}

.portfolio-item:hover img {
    transform: scale(1.25);
    filter: brightness(0.8) contrast(1.2) saturate(1.2);
}

.portfolio-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.9);
}
   
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.overlay h3 {
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}


}

/* SECTION CONTACT */
.contact {
    text-align: center;
}

.contact p {
    color: #c7c7c7;
    margin-bottom: 20px;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #8a8a8a;
    font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 10px;
    }

    .hero {
        padding: 80px 0;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto;
    }

    .nav a {
        margin-left: 12px;
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }
}
/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
    transition: 0.3s ease;
    transform: scale(0.9);
}

.lightbox.show img {
    transform: scale(1);
}
/* --- DEUXIÈME IMAGE STYLE STUDIO 3D --- */

.second-image {
    margin-top: 80px;
    display: flex;
    justify-content: center;
}

.second-image .intro-img img {
    width: 90%;
    border-radius: 22px;
    box-shadow: 0 25px 70px rgba(0,0,0,0.85);
    transition: transform 0.8s ease, filter 0.8s ease;
    object-fit: cover;
}

.second-image .intro-img img:hover {
    transform: scale(1.15);
    filter: brightness(0.85) contrast(1.15);
}
/* --- FORMULAIRE DE CONTACT STYLE STUDIO 3D --- */

.contact-section {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.contact-container {
    width: 100%;
    max-width: 700px;
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

.contact-container h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.contact-subtitle {
    color: #ccc;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #ddd;
    font-size: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.contact-form textarea {
    height: 150px;
    resize: none;
}

.contact-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff7b00, #ff3c00);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 80, 0, 0.4);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(255, 80, 0, 0.6);
}
/* --- PAGE DE CONFIRMATION --- */
.confirmation {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.back-btn {
    margin-top: 20px;
    padding: 12px 24px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff7b00, #ff3c00);
    color: #fff;
    text-decoration: none;
}


}

.back-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(255, 80, 0, 0.6);.contact-container {
    animation: fadeIn 1s ease forwards;
}

}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.contact-container {
    animation: fadeIn 1s ease forwards;
}
.honeypot {
    display: none;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* --- FORMULAIRE DE CONTACT STYLE STUDIO 3D --- */

.contact-section {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.contact-container {
    width: 100%;
    max-width: 700px;
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    animation: fadeIn 1s ease forwards;
}

.contact-container h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.contact-subtitle {
    color: #ccc;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #ddd;
    font-size: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.contact-form textarea {
    height: 150px;
    resize: none;
}

.contact-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff7b00, #ff3c00);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 80, 0, 0.4);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(255, 80, 0, 0.6);
}

/* ANTI-SPAM INVISIBLE */
.honeypot {
    display: none;
}

/* ANIMATION */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* --- TEXTE ENTRE LES IMAGES (STYLE AGENCE 3D) --- */

.home-text {
    max-width: 900px;
    margin: 60px auto;
    text-align: center;
    padding: 0 20px;

    /* --- FADE-IN DÉCALÉ CINÉMATIQUE --- */

.fade-1, .fade-2, .fade-3 {
    opacity: 0;
    transform: translateY(25px);
    animation: fadeIn 1.2s ease forwards;
}

/* Ordre d'apparition */
.fade-1 {
    animation-delay: 0.2s;
}

.fade-2 {
    animation-delay: 0.6s;
}

.fade-3 {
    animation-delay: 1s;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

    animation: fadeIn 1s ease forwards;
}

.home-text p {
    font-size: 1.35rem;
    color: #ccc;
    line-height: 1.8;
    letter-spacing: 0.3px;
}
/* --- FADE-IN DÉCALÉ CINÉMATIQUE --- */

.fade-1, .fade-2, .fade-3 {
    opacity: 0;
    transform: translateY(25px);
    animation: fadeIn 1.2s ease forwards;
}

/* Ordre d'apparition */
.fade-1 {
    animation-delay: 0.2s;
}

.fade-2 {
    animation-delay: 0.6s;
}

.fade-3 {
    animation-delay: 1s;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
