/* Variable */
:root {
    --primary: #9C1B3A;
    --primary-light: #BB2046;
    --primary-transparent: rgba(156, 27, 58, 0.15);
    --secondary: #1ABC9C;
    --white: #F5F5F5;
    --black: #2E2E2E;
    --gradient-red: linear-gradient(145deg, rgba(156, 27, 58, 1) 0%, rgba(187, 32, 70, 1) 50%);
    --border-shadow: 5px 5px 10px 0px rgba(156, 27, 58, 0.15);
    --font-poppins: "Poppins", sans-serif;
    --font-lato: "Lato", sans-serif;
}

/* Reset CSS de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 10px;
}

body {
    font-family: var(--font-lato);
    font-size: 1.6rem;
    background-color: var(--white);
    color: var(--black);
}

/* Supprimer les styles par défaut des titres et paragraphes */
h1, h2, h3, h4, h5, h6, p {
    margin: 0;
    padding: 0;
}

/* Supprimer la décoration des liens */
a {
    text-decoration: none;
    color: inherit;
}

/* Réinitialisation des listes */
ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Rendre les images et les médias responsifs */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Réinitialisation des boutons */
button {
    border: none;
    background: none;
    cursor: pointer;
    font: inherit;
}


/* Main */

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-family: var(--font-poppins);
    font-weight: 600;
    color: var(--primary);
}

h1 {
    font-size: 3.6rem;
}


h2 {
    font-size: 2.8rem;
}

p {
    color: var(--black);
    line-height: 150%;
}

.btn {
    display: inline-block;
    font-family: var(--font-poppins);
    font-size: 1.6rem;
    font-weight: 600;
    padding: 8px 24px;
    border-radius: 15px;
    text-align: center;
}

.btn-primary {
    color: var(--white);
    background-color: var(--primary);
}

.btn-secondary {
    color: var(--primary);
    border: 2px solid var(--primary);
}

u {
    text-decoration-line: underline;
    text-decoration-style: wavy;
    text-decoration-skip-ink: auto;
    text-decoration-color: #1ABC9C;
    text-decoration-thickness: 11%;
    text-underline-offset: 25%;
    text-underline-position: from-font;
}

/* HEADER */
.header {
    padding: 32px 0;
}

.header__container {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.header__nav-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: end;
    align-items: center;
    gap: 16px;
}

.header__nav > ul {
    display: flex;
    flex-flow: row wrap;
    gap: 16px;
}

.header__nav > ul > li {
    font-family: var(--font-poppins);
    font-size: 1.6rem;
    font-weight: 600;
}

.header__burger {
    display: none;
    font-size: 2.4rem;
    cursor: pointer;
    position: relative;
}

.header__burger-icon,
.header__close-icon {
    display: inline-block;
    transition: opacity 0.3s ease-in-out;
}

.header__close-icon {
    opacity: 0;
    font-size: 2.4rem;
    position: absolute;
    top: 10px;
    left: 15px;
}

/* FOOTER */
.footer {
    padding: 32px 0;
    display: flex;
    flex-flow: column nowrap;
    gap: 32px;
}

.footer__container {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: start;
    max-width: 1000px;
}

.footer__branding {
    display: flex;
    max-width: 261px;
    flex-flow: column nowrap;
    gap: 16px;
}

.footer__logo,
.footer__branding > .logo img {
    height: 37px;
    width: auto;
}

.footer__socials {
    display: flex;
    flex-flow: row nowrap;
    gap: 16px;
}

.footer__socials-img {
    height: 28px;
    width: auto;
}

.footer__menus {
    display: flex;
    flex-flow: row nowrap;
    gap: 32px;
}

.footer__menu {
    display: flex;
    flex-flow: column nowrap;
    gap: 24px;
}

.footer__menu-title {
    color: var(--primary);
}

.footer__nav > ul {
    display: flex;
    flex-flow: column nowrap;
    gap: 16px;
}

.footer__nav > ul > li:hover {
    color: var(--primary);
}

.footer__separator {
    display: block;
    height: 1px;
    background-color: var(--black);
}

.footer__legal {
    margin: 0 auto;
    display: flex;
    flex-flow: row nowrap;
    align-items: baseline;
    gap: 10px;
}

.footer__legal > a:hover {
    color: var(--primary);
}

/* FOOTER_Newsletter */

.newsletter {
    max-width: 1000px;
    background-color: var(--primary);
    border-radius: 20px;
    margin: 44px auto;
    padding: 64px;
    display: flex;
    flex-flow: column nowrap;
    gap: 50px;
    align-items: center;
}

.newsletter__title {
    color: var(--white);
    max-width: 822px;
}

.newsletter__description {
    color: var(--white);
    max-width: 822px;
}

.newsletter__form {
    max-width: 822px;
    width: 100%;
}

.newsletter__form > form {
    display: flex;
    flex-flow: column;
}

.newsletter__form > form > div {
    max-width: 822px;
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    gap: 16px;
}

.newsletter__form > form > div > p {
    flex: 1
}

.newsletter__form > form > div > p > input {
    width: 100%;
    min-width: 150px;
}

.newsletter__form > form > div > div:last-child {
    flex: 1
}


.newsletter__form > form > div > .sib_msg_disp {
    width: 100% !important;
    display: block;
}

.newsletter__input,
.newsletter__button {
    width: 100%;
    min-width: 170px;
    padding: 14px 28px;
    border: 2px solid var(--white);
    border-radius: 15px;
}

.newsletter__input::placeholder {
    position: absolute;
    font-size: 2.1rem;
    color: var(--white);
}

.newsletter__input {
    color: var(--white);
    font-size: 1.6rem;
    line-height: 1; /* Alignement du texte */
    text-align: left;
    background-color: transparent;
}

.newsletter__button {
    color: var(--primary);
    font-family: var(--font-poppins);
    font-size: 1.6rem;
    text-align: center;
    background-color: var(--white);
    box-shadow: 1px 1px 5px 0px #E0E0E0;
}

.erreur-404 {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    height: 30vh;
}

.erreur-404-wrapper {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.terms {
    padding: 64px 0;
}

.terms-wrapper {
    margin: 0 auto;
    max-width: 1000px;
}

.terms-wrapper p {
    padding-bottom: 16px;
}

/* ARCHIVE REALISATION */

.realisation {
    padding: 64px 0;
}

.realisation__wrapper {
    margin: 0 auto;
    width: 90%;
    max-width: 1280px;
    display: flex;
    flex-flow: row nowrap;
    gap: 32px;
}

.realisation__aside h2 {
    font-size: 1.6rem;
    padding-bottom: 24px;
}

.realisation__aside ul {
    display: flex;
    flex-flow: column nowrap;
    gap: 16px;
}

.realisation__aside ul .active-category {
    color: var(--primary);
}

.realisations-list {
    width: 70%;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    align-items: start;
    justify-items: center;
    gap: 32px;
}

.realisation-item:hover {
    cursor: pointer;
}

.realisation-item img {
    height: 288px;
    width: 400px;
}

.realisation-item h2 {
    font-family: var(--font-lato);
    font-size: 1.6rem;
    color: var(--black);
    max-width: 400px;
}