/* CSS pour mention-lg */
/* Font-family */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Chau+Philomene+One:ital@0;1&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

* {
    scroll-behavior: smooth;
}

*,
::before,
::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Corps */
:root {
    --primary-color: #374151;
    --secondary-color: #facc15;
    --secondary-colorb: #f7d26dc4;
    --accent-color: #3c8c3f;
    --roseclair: #fef1f6;
    --vertclair: #f0f9f0;
    --accent-color2: #f26698;
    --text-color: #2b2b2b;
    --bg-color: #ffffff;
    --neutral-white: #ffffff;
    --neutral-gray: #e4e7ec;
    --bleu: #00BCD4;
    --bleuclair: #E0F7FA;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Poppins";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    font-weight: 300;
    font-size: larger;
    background-color: var(--neutral-white);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

#header-logo {
    max-width: 130px;
    height: auto;
    display: block;
}

/* navigation */
.nav {
    display: flex;
    gap: 20px;
    list-style: none;
    font-size: 18px;
}

.nav a {
    cursor: pointer;
    position: relative;
    color: var(--primary-color);
    transition: color 0.3s;
    list-style: none;
    text-decoration: none;
}

.nav a:hover {
    color: var(--accent-color2);
}

.nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-color2);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* Content */
.mt-lg {
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 30px; 
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.container {
    background-color: var(--neutral-white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 1200px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.container:hover {
    transform: translateY(-5px);
}

.mt-lg h2 {
    font-size: 32px;
    margin-bottom: 25px;
    color: var(--primary-color);
    text-align: center;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
}

.mt-lg p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
}

.mt-lg h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--bleu);
    border-bottom: 2px solid var(--bleuclair);
    padding-bottom: 5px;
}

.mt-lg a {
    color: var(--accent-color2);
    text-decoration: none;
    transition: color 0.3s;
}

.mt-lg a:hover {
    color: var(--accent-color);
}

/* FOOTER */
footer {
    background-color: var(--vertclair);
    color: var(--primary-color);
    text-align: center;
    padding: 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-links {
    margin: 1rem 0;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.footer-links li {
    display: inline;
    margin: 0 1rem;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-nav {
    margin: 1rem 0;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

.footer-nav li {
    margin: 0 1rem;
}

.footer-nav a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--accent-color);
}

.footer-contact {
    margin: 1rem 0;
    text-align: center;
}

.footer-contact a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-nav ul,
  .footer-links ul {
    flex-direction: column;
    text-align: center;
  }


.social-icons {
    margin-top: 1rem;
}

.social-icons a {
    margin: 0 1rem;
    color: var(--primary-color);
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--accent-color);
}

/* Barba.js */
.transition-wipe,
.transition-wipe-second {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    transform: translateX(-100%);
    pointer-events: none;
    will-change: transform;
}

.transition-wipe {
    background: var(--accent-color2);
    opacity: 0.97;
    animation: wipeFadeIn 0.7s;
}

.transition-wipe-second {
    background: var(--accent-color);
    opacity: 0.97;
}
/* Responsive */

@media (max-width: 900px) {
    .container {
        padding: 24px;
        max-width: 98%;
    }
    .mt-lg {
        padding: 18px;
        margin-top: 18px;
        margin-bottom: 18px;
    }
    .header {
        padding: 12px 18px;
        font-size: 1.05rem;
    }
}

@media (max-width: 600px) {
    .header {
        flex-direction: column;
        padding: 18px;
        font-size: 1rem;
    }
    #header-logo {
        max-width: 100px;
        margin-bottom: 12px;
    }
    .nav {
        flex-direction: column;
        align-items: center;
        gap: 14px;
        font-size: 17px;
    }
    .mt-lg h2 {
        font-size: 24px;
    }
    .mt-lg h3 {
        font-size: 19px;
    }
    .container {
        padding: 14px;
        border-radius: 12px;
    }
    footer {
        padding: 1.2rem;
    }
    .footer-container {
        padding: 0 8px;
    }
    .footer-links li,
    .footer-nav li {
        margin: 0 0.7rem;
    }
    .social-icons a {
        margin: 0 0.7rem;
    }
}

