body {
    margin: 0;
    font-family: 'Inter', 'Arial', sans-serif;
    background: #0b0f17;
    color: white;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 60px;
    z-index: 10;

    background: rgba(10, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Logo */
.logo {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Liens */
.navbar nav a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    margin-left: 30px;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.navbar nav a:hover {
    color: #00e5ff;
}

/* HERO */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, #0b0f17, #111827, #0b0f17);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-align: center;
    padding: 0 20px;
}

/* Effet lumière douce */
.hero::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,229,255,0.25), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(80px);
}

/* Contenu hero */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

/* Titre */
.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
    margin: 0;
}

/* Accent couleur */
.hero h1 span {
    color: #00e5ff;
}

/* Texte */
.hero p {
    margin-top: 20px;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
}

/* Bouton */
.cta {
    display: inline-block;
    margin-top: 40px;
    padding: 14px 36px;
    border-radius: 30px;
    background: linear-gradient(135deg, #00e5ff, #0077ff);
    color: white;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,229,255,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,229,255,0.5);
}

/* Sections */
.section {
    padding: 120px 60px;
    background: #0b0f17;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section p {
    color: rgba(255,255,255,0.7);
    max-width: 600px;
}

/* SERVICES */
.services {
    background: #0e131d;
    text-align: center;
}

.services h2 {
    font-size: 2.8rem;
    margin-bottom: 60px;
}

/* Grille */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Cartes */
.service-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);

    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards;
}

/* Animation décalée */
.service-card:nth-child(1) { animation-delay: 1.0s; }
.service-card:nth-child(2) { animation-delay: 1.2s; }
.service-card:nth-child(3) { animation-delay: 1.3s; }
.service-card:nth-child(4) { animation-delay: 1.4s; }

/* Titres */
.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #00e5ff;
}

/* Texte */
.service-card p {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* Hover premium */
.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    transition: 0.3s ease;
    box-shadow: 0 20px 50px rgba(0,229,255,0.15);
}

/* Animation */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
 
body {
    scroll-behavior: smooth;
}

/* NOTRE HISTOIRE */
.story {
    background: linear-gradient(135deg, #0b0f17, #0e1624);
}

.story-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Texte */
.story-text h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.story-text p {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Cartes timeline */
.story-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.story-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: 0.3s ease;
}

.story-card h3 {
    font-size: 1.6rem;
    color: #00e5ff;
    margin-bottom: 10px;
}

.story-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

/* Hover premium */
.story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,229,255,0.15);
}
/* ANIMATIONS SCROLL */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Délais */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }


/* CONTACT ULTRA PREMIUM */
.contact {
    background: linear-gradient(135deg, #0b0f17, #0e1624);
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-text h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.contact-text p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

/* Carte */
.contact-card {
    position: relative;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 26px;
    padding: 50px 40px;
    backdrop-filter: blur(16px);
    box-shadow: 0 25px 80px rgba(0,0,0,0.45);
    overflow: hidden;
}

/* FORMULAIRE */
.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 16px;
    color: white;
    font-size: 1rem;
    outline: none;
}

.form-group textarea {
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #00e5ff;
}

/* Labels flottants */
.form-group label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.5);
    pointer-events: none;
    transition: 0.3s ease;
    background: #0b0f17;
    padding: 0 6px;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -8px;
    font-size: 0.8rem;
    color: #00e5ff;
}

/* Bouton */
.contact-btn {
    width: 100%;
    height: 54px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;

    background: linear-gradient(135deg, #00e5ff, #0077ff);
    color: white;
    font-weight: 600;
    font-size: 1rem;

    box-shadow: 0 10px 30px rgba(0,229,255,0.3);
}

.contact-btn:hover {
    box-shadow: 0 15px 45px rgba(0,229,255,0.5);
}

/* Loader */
.btn-loader {
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255,255,255,0.4);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
    margin: auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* SUCCÈS */
.contact-success {
    position: absolute;
    inset: 0;
    background: rgba(11,15,23,0.95);
    backdrop-filter: blur(20px);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    opacity: 0;
    pointer-events: none;
    transform: scale(1.05);
    transition: 0.6s ease;
}

.contact-success.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.success-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00e5ff, #0077ff);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-success h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.contact-success p {
    color: rgba(255,255,255,0.7);
    text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}
/* === FIX ANIMATION CONTACT === */

/* Bouton animation */
.contact-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* Loader visible */
.btn-loader {
    display: none;
}

/* Formulaire -> fade out */
.contact-form {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.contact-form.sending {
    opacity: 0;
    transform: scale(0.96);
}

/* Carte succès -> fade in */
.contact-success {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.contact-success.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
