:root {
    --primary: #4f46e5;
    --primary-rgb: 37, 99, 235;
    --primary-dark: #1d4ed8;
}

* {
    box-sizing: border-box;
}

body {
    padding: 0;
    margin: 0;
    height: 100%;
    /* background-color: #F1F1F1; */
    background-color: #ffffff;
}

section {
    width: 100%;
}

.container {
    width: 100%;
    height: auto;
}
.dflex {
    display: flex;
}
.jcsb {
    justify-content: space-between;
}
.jcsa {
    justify-content: space-around;
}
span {
    color: #4f46e5;
    font-weight: bold;
}

/*----------Fin des classes génériques  ---------------------*/

#header {
    height: 4em;
    /* position: sticky; */
    /* top: 0; */
    background-color: #fff;
    padding: 0.1em 0.8em;
}
.content-logo {

    background-origin: content-box;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 1em;
}
.content-logo img {
    width: 150px; 
    height: auto;
    cursor: pointer;
}

.content-nav {
    width: 50%;
    height: 80%;
}

.content-nav ul {
    width: 100%;
    height: 100%;
}
.content-nav ul li {
    list-style: none;
    /* cursor: pointer; */
    font-style: italic;
    font-weight: bold;
}
.content-nav ul li a:hover {
    text-decoration: underline;
}

.content-nav ul li:last-child {
    border-radius: 0.3em;
    background-color: var(--primary);
    padding: 0.4em;
}

/* Fin des classes pour le header*/

section#contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

/**** Image Section ****/
.image-container {
    margin-left: 10%;
}
.image-container img {
    max-width: 80%;
    height: 640px;
    border-radius: 10px;
    box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.08);
}

/**** Form Section ****/
.form-container {
    background-color: #ebfaff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    width: 40%;
    height: 640px;
    margin-right: 10%;
    font-style: italic;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
}


.form-container h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: #1a1a1a;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.form-container h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
    color: #555;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--primary);
    border-radius: 5px;
    font-size: 14px;
}

.contact-form textarea {
    resize: horizontal;
    height: 250px;
}

.contact-form button {
    background: var(--primary);
    color: #ffffff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-form button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.2);
}

.contact-form button:active {
    transform: translateY(0);
}

/* Animation des placeholders */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9ca3af;
    transition: opacity 0.3s ease;
}

.contact-form input:focus::placeholder,
.contact-form textarea:focus::placeholder {
    opacity: 0.5;
}


/* Header fixe et transparent */
#header {
    /* position: fixed; */
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    /* transition: background-color 0.5s ease, color 0.5s ease;
            z-index: 1000; */
    padding: 10px 20px;
}

/* #header.scrolled {
            background-color: #ffffff;
            color: black;
        } */

#header ul li a {
    color: black;
    text-decoration: none;
}

.space {
    padding: 2%;
    background-color: white;
}
.space2 {
    padding-top: 17%;
    background-color: white;
}
.space3 {
    padding-top: 3%;
    background-color: white;
}

/* Showcase Section */
#showcase {
    background: url("/assets/images/img_footer.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 20vh;
    text-align: center;
    padding: 15em 0 30em;
}

.showcase-logo {
    padding-top: 16em;
    padding-bottom: 0.2em;
}

.showcase-logo img {
    height: 200px;
    width: 200px;
}

.showcase-header h2 {
    font-size: 2rem;
    margin-top: 0.1em;
    margin-bottom: 1.5em;
    color: white;
    font-style: italic;
    font-weight: bold;
}

.showcase-buttons {
    display: flex;
    gap: 1em;
    margin-bottom: 25em;
}

.btn-primary,
.btn-secondary {
    padding: 0.8em 1.5em;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    color: white;
    transition: transform 0.2s ease-in-out;
    background-color: var(--primary);
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: scale(1.05);
}

/* Footer */
#footer {
    background-color: #4f46e5;
    color: white;
    height: 210px;
    padding: 2em 0;
    text-align: center;
    position: relative;
    overflow: visible;
    font-style: italic;
}

.footer-logo img {
    margin-top: -4em;
    width: 80px;
    height: auto;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    border-radius: 100%;
}

#footer .footer-logo img {
    margin-top: -3em !important;
}

.footer-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5em;
}

.footer-content p {
    margin: 0.5em 0;
    font-size: 1rem;
}

.social-icons {
    display: flex;
    gap: 1em;
    margin-top: 1em;
    justify-content: center;
    align-items: center;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: rgb(172, 219, 226);
}

.actu_page {
    text-decoration: solid 3px #4f46e5;
}
.actu_page a {
    color: #4f46e5 !important;
}
