@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --space-blue: #0a84ff;
    --deep-space: #000000;
    --star-white: #ffffff;
    --gray: #6b7280;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--deep-space);
    color: var(--star-white);
    overflow-x: hidden;
}

/* Fond étoilé animé différemment */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(circle, white 1px, transparent 1px),
        radial-gradient(circle, white 1px, transparent 1px),
        radial-gradient(circle, white 0.5px, transparent 0.5px);
    background-size: 250px 250px, 350px 350px, 180px 180px;
    background-position: 0 0, 40px 60px, 130px 270px;
    animation: starsMove 120s linear infinite;
    opacity: 0.4;
    z-index: 0;
}

@keyframes starsMove {
    from { transform: translateY(0) translateX(0); }
    to { transform: translateY(-200px) translateX(-100px); }
}

/* Nébuleuse différente */
body::after {
    content: '';
    position: fixed;
    top: -30%;
    left: -30%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, 
        rgba(10, 132, 255, 0.25) 0%, 
        rgba(10, 132, 255, 0.1) 30%, 
        transparent 60%
    );
    filter: blur(80px);
    animation: nebulaMove 25s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes nebulaMove {
    0% { 
        transform: translate(0, 0) scale(1);
    }
    100% { 
        transform: translate(80px, -50px) scale(1.2);
    }
}

/* Navigation COMPLÈTEMENT différente - sur le côté gauche */
nav {
    position: fixed;
    top: 50%;
    left: 2rem;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--star-white);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 4px;
    padding: 1rem;
    border: 2px solid var(--space-blue);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
}

.logo::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(180deg, var(--space-blue), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.logo:hover::before {
    opacity: 0.3;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    list-style: none;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(10, 132, 255, 0.2);
}

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem;
}

.nav-links a::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--space-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--space-blue);
}

.nav-links a:hover::before,
.nav-links a.active::before {
    width: 6px;
}

/* Hero complètement différent */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0 8rem 8rem 8rem;
    position: relative;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70%;
    height: 70%;
    background: radial-gradient(ellipse at bottom left, rgba(10, 132, 255, 0.3), transparent);
    filter: blur(100px);
    animation: heroGlow 6s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 0.8; transform: scale(1.1); }
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 9rem;
    font-weight: 900;
    line-height: 0.85;
    margin-bottom: 2rem;
    letter-spacing: -4px;
    color: var(--star-white);
    text-transform: uppercase;
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1::first-line {
    color: var(--space-blue);
    text-shadow: 0 0 40px rgba(10, 132, 255, 0.8);
}

.hero p {
    font-size: 1.4rem;
    color: var(--gray);
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 500px;
    animation: slideUp 1s ease-out 0.2s both;
}

.cta-button {
    display: inline-block;
    padding: 1.5rem 3.5rem;
    background: transparent;
    color: var(--space-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: all 0.4s ease;
    position: relative;
    border: 2px solid var(--space-blue);
    animation: slideUp 1s ease-out 0.4s both;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--space-blue);
    transition: left 0.4s ease;
    z-index: -1;
}

.cta-button:hover {
    color: var(--deep-space);
    transform: translateX(10px);
}

.cta-button:hover::before {
    left: 0;
}

/* Sections avec layout différent */
.section {
    padding: 10rem 8rem 10rem 8rem;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 5rem;
    letter-spacing: -2px;
    line-height: 0.9;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 50%;
    height: 4px;
    background: var(--space-blue);
    animation: lineGrow 1s ease-out;
}

@keyframes lineGrow {
    from { width: 0; }
    to { width: 50%; }
}

.section-title.left {
    text-align: left;
}

.section-title.right {
    text-align: right;
    float: right;
}

.section-title.right::after {
    left: auto;
    right: 0;
}

.section-title.center {
    display: block;
    text-align: center;
}

.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Cards avec nouveau style */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.service-card {
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.05), rgba(0, 0, 0, 0.8));
    border-left: 3px solid var(--space-blue);
    padding: 3.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -1px;
    right: -1px;
    width: 50px;
    height: 50px;
    background: var(--space-blue);
    opacity: 0;
    transition: all 0.4s ease;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.service-card:hover::before {
    opacity: 0.2;
}

.service-card:hover {
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.1), rgba(0, 0, 0, 0.9));
    transform: translateX(15px);
    border-left-width: 6px;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
    display: block;
    opacity: 0.8;
}

.service-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    color: var(--star-white);
}

.service-card p {
    color: var(--gray);
    line-height: 1.9;
    font-size: 1.05rem;
}

/* Formulaire de contact différent */
.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.6);
    padding: 5rem;
    border: 1px solid rgba(10, 132, 255, 0.2);
    border-left: 4px solid var(--space-blue);
}

.form-group {
    margin-bottom: 2.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 1rem;
    color: var(--space-blue);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.3rem 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(10, 132, 255, 0.2);
    color: var(--star-white);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--space-blue);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(107, 114, 128, 0.5);
}

.form-group textarea {
    resize: none;
    min-height: 120px;
}

.submit-button {
    padding: 1.5rem 4rem;
    background: transparent;
    border: 2px solid var(--space-blue);
    color: var(--space-blue);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--space-blue);
    transition: left 0.4s ease;
    z-index: -1;
}

.submit-button:hover {
    color: var(--deep-space);
}

.submit-button:hover::before {
    left: 0;
}

/* FAQ différent */
.faq-container {
    max-width: 1100px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(0, 0, 0, 0.4);
    border-left: 3px solid rgba(10, 132, 255, 0.3);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-left-color: var(--space-blue);
    background: rgba(10, 132, 255, 0.05);
}

.faq-question {
    padding: 2.5rem 3rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
    gap: 1.5rem;
}

.faq-question span:first-child {
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.faq-icon {
    font-size: 2rem;
    color: var(--space-blue);
    transition: transform 0.3s ease;
    font-weight: 300;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 600px;
}

.faq-answer-content {
    padding: 0 3rem 2.5rem 3rem;
    color: var(--gray);
    line-height: 1.9;
    font-size: 1.1rem;
}

/* Footer différent */
footer {
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid rgba(10, 132, 255, 0.2);
    padding: 4rem 8rem;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--space-blue);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--space-blue);
}

.footer-links a:hover::after {
    width: 100%;
}

/* Responsive COMPLET */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 7rem;
    }
    
    .section {
        padding: 8rem 4rem;
    }
    
    .section-title {
        font-size: 4rem;
    }
}

@media (max-width: 968px) {
    /* Navigation mobile en HAUT */
    nav {
        position: fixed;
        top: 0;
        bottom: auto;
        left: 0;
        right: 0;
        transform: none;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(10, 132, 255, 0.3);
        border-top: none;
        padding: 1rem 0;
    }
    
    .nav-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0 1rem;
        gap: 1rem;
        max-width: 100%;
    }
    
    .logo {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        padding: 0.5rem 1.2rem;
        font-size: 1.1rem;
        border: 1px solid var(--space-blue);
        flex-shrink: 0;
    }
    
    .logo::before {
        display: none;
    }
    
    .nav-links {
        flex-direction: row;
        padding: 0;
        background: transparent;
        border: none;
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    
    .nav-links a {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        font-size: 0.8rem;
        padding: 0.5rem 0;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .nav-links a::before {
        left: 50%;
        top: auto;
        bottom: -8px;
        transform: translateX(-50%);
        width: 2px;
        height: 0;
    }
    
    .nav-links a:hover::before,
    .nav-links a.active::before {
        width: 2px;
        height: 6px;
    }
    
    /* Hero mobile */
    .hero {
        padding: 11rem 2rem 4rem 2rem;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
    }
    
    .hero::before {
        width: 400px;
        height: 400px;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 3.5rem;
        letter-spacing: -2px;
        text-align: center;
    }
    
    .hero p {
        font-size: 1.1rem;
        text-align: center;
        max-width: 100%;
    }
    
    .cta-button {
        display: inline-block;
        text-align: center;
        padding: 1.2rem 2.5rem;
    }
    
    /* Sections mobile */
    .section {
        padding: 4rem 1.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
        text-align: left !important;
        float: none !important;
        display: block !important;
    }
    
    .section-title::after {
        left: 0 !important;
        transform: none !important;
        width: 40% !important;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .service-card:hover {
        transform: translateY(-5px);
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .service-card h3 {
        font-size: 1.5rem;
    }
    
    .service-card p {
        font-size: 1rem;
    }
    
    .contact-container {
        padding: 2.5rem 1.5rem;
    }
    
    .form-group {
        margin-bottom: 2rem;
    }
    
    .form-group label {
        font-size: 0.8rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 1rem 0;
        font-size: 1rem;
    }
    
    .submit-button {
        width: 100%;
        padding: 1.3rem 2rem;
        font-size: 0.85rem;
    }
    
    .faq-question {
        padding: 1.5rem;
        font-size: 1rem;
    }
    
    .faq-question span:first-child {
        flex: 1;
        padding-right: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .faq-icon {
        font-size: 1.3rem;
        flex-shrink: 0;
    }
    
    .faq-answer-content {
        padding: 0 1.5rem 1.5rem 1.5rem;
        font-size: 1rem;
    }
    
    footer {
        padding: 3rem 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0.8rem 0;
    }
    
    .nav-container {
        padding: 0 0.8rem;
        gap: 0.8rem;
    }
    
    .logo {
        font-size: 0.95rem;
        padding: 0.4rem 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 0.72rem;
        padding: 0.4rem 0;
    }
    
    .hero {
        padding: 10rem 1.5rem 3rem 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 0.8rem;
    }
    
    .section {
        padding: 3rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        font-size: 2rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .contact-container {
        padding: 2rem 1.5rem;
    }
    
    /* FAQ mobile optimisé */
    .faq-question {
        padding: 1.2rem 1rem;
        font-size: 0.95rem;
        gap: 0.8rem;
    }
    
    .faq-question span:first-child {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .faq-icon {
        font-size: 1.2rem;
    }
    
    .faq-answer-content {
        padding: 0 1rem 1.2rem 1rem;
        font-size: 0.95rem;
    }
    
    footer {
        padding: 2.5rem 1.5rem;
    }
}

/* Grids responsive pour layouts complexes */
@media (max-width: 968px) {
    [style*="grid-template-columns: 2fr 1fr"],
    [style*="grid-template-columns: 1fr 2fr"],
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}