/* Base styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #E0E0E0;
}

/* Container */
.container {
    max-width: 900px;
    margin: auto;
    padding: 2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Headings */
h1, h2, h3 {
    color: #7B2CBF;
    /* margin-top: 1.5rem; */
}

h1 {
    font-size: 2.2rem;
}

h2 {
    font-size: 1.6rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.2rem;
}

/* Links */
a {
    color: #7B2CBF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Navigation */
nav {
    background: #121212;
    border-bottom: 2px solid;
    border-image: linear-gradient(to right, #7B2CBF, #FF9A56) 1;
    padding: 1rem 0;
}


nav a {
    margin-right: 1rem;
    font-weight: 500;
}

.logo {
    margin: 1rem;
}

/* Hero section */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 40px;
    color: #fff;

    background: url('/theme/images/background_hero.png') no-repeat center center;
    background-size: cover;
}

.hero-inner {
    display: flex;
    align-items: center;
    width: 100%;
    /* max-width: 1200px; */
    margin: 0 auto;
    gap: 40px;
}

.hero-image,
.hero-content {
    width: 50%;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}
/*
.hero h1 {
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.1rem;
    color: #4b5563;
}
 */

/* Mobile */
@media (max-width: 1500px) {
    .hero-inner {
    flex-direction: column;
    }

    .hero-image,
    .hero-content {
    width: 100%;
    }

    .hero-image {
    order: -1; /* passe au-dessus */
    }

    h1 {
    font-size: 2rem;
    }
}


/* Buttons */
.button, .cta {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    background-color: #7B2CBF;
    color: #E0E0E0;
    border-radius: 6px;
    font-weight: 500;
    border: 0px;
}

.button:hover, .cta:hover {
    background-color: #A855F7;
    text-decoration: none;
}

/* Sections */
.section {
    margin-top: 2.5rem;
}

/* Cards (for services) */
.card {
    background: #050810;
    padding: 1.5rem;
    border: 1px solid #FF9A56;
    border-image: linear-gradient(to right, #7B2CBF, #FF9A56) 1;

    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-top: 0;
}

/* Footer */
footer {
    margin-top: 3rem;
    padding: 2rem 1.5rem;
    background: #050810;
    border-top: 2px solid #FF9A56;
    border-image: linear-gradient(to right, #7B2CBF, #FF9A56) 1;

    font-size: 0.9rem;
    color: #6b7280;
}

footer .container {
    max-width: 900px;
    margin: auto;
}

/* Forms */
form input,  form textarea {
    width: 100%;
    padding: 0.6rem;
    margin-top: 0.4rem;
    margin-bottom: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 1rem;
}
form input[type="checkbox"] {
    width: 2em;
}

form textarea {
    min-height: 120px;
}

label {
    font-weight: 500;
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        flex-direction: column;
        align-items: flex-start;
    }

    nav a {
        margin-bottom: 0.5rem;
    }
}

/* Focus styles for accessibility */
a:focus, button:focus, input:focus, textarea:focus {
    outline: 2px solid #A855F7;
    outline-offset: 2px;
}

img[alt=LinkedIn] { height: 21px; }
.illustration {
    height: 300px;
    order: 2;
}

@media (max-width: 600px) {
    .illustration {
        order: 0;
    }
}