/* Reset et styles de base */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, img, ul, li, footer, header, section {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

body {
    line-height: 1;
    -webkit-text-size-adjust: none;
}

*, *:before, *:after {
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    color: #333333;
}

body, input, select, textarea {
    font-family: "Segoe UI", "Arial", "Helvetica", sans-serif;
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.8;
    letter-spacing: 0.01em;
}

a {
    -moz-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    -webkit-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    -ms-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    text-decoration: underline;
    color: #0066cc;
}

a:hover {
    color: #004499;
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    color: #222222;
    font-family: "Segoe UI", "Calibri", "Arial", sans-serif;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.05em;
    font-variant: small-caps;
    margin: 0 0 1rem 0;
}

h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin: 0 0 2rem 0;
}

p {
    margin: 0 0 1.5rem 0;
    max-width: 70ch;
    margin-left: auto;
    margin-right: auto;
}

img {
    max-width: 100%;
}

/* Structure principale */
#conteneur {
    background-color: inherit;
    width: 100%;
    overflow-x: hidden;
}

#conteneur.separateur {
    box-shadow: inset 0 1px 0 0 rgba(0, 0, 0, 0.075);
}

#conteneur.separateur > *:first-child {
    box-shadow: none !important;
}

/* banniere */
.banniere {
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -moz-flex-direction: row;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    position: relative;
    text-align: center;
    overflow-x: hidden;
}

.banniere .contenu {
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -moz-flex-direction: column;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    -moz-flex-grow: 0;
    -webkit-flex-grow: 0;
    -ms-flex-grow: 0;
    flex-grow: 0;
    -moz-flex-shrink: 0;
    -webkit-flex-shrink: 0;
    -ms-flex-shrink: 0;
    flex-shrink: 0;
    width: 50%;
    padding: 4rem 4rem 2rem 4rem;
    -moz-transition: opacity 0.75s ease, -moz-transform 0.75s ease;
    -webkit-transition: opacity 0.75s ease, -webkit-transform 0.75s ease;
    -ms-transition: opacity 0.75s ease, -ms-transform 0.75s ease;
    transition: opacity 0.75s ease, transform 0.75s ease;
    position: relative;
    z-index: 1;
}

.banniere .image {
    -moz-flex-grow: 0;
    -webkit-flex-grow: 0;
    -ms-flex-grow: 0;
    flex-grow: 0;
    -moz-flex-shrink: 0;
    -webkit-flex-shrink: 0;
    -ms-flex-shrink: 0;
    flex-shrink: 0;
    width: 50%;
    border-radius: 0;
    position: relative;
}

.banniere .image img {
    -moz-object-fit: cover;
    -webkit-object-fit: cover;
    -ms-object-fit: cover;
    object-fit: cover;
    -moz-object-position: center;
    -webkit-object-position: center;
    -ms-object-position: center;
    object-position: center;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
}

/* Style spécifiques */
.banniere {
    -moz-align-items: stretch;
    -webkit-align-items: stretch;
    -ms-align-items: stretch;
    align-items: stretch;
}

.banniere.orient-left {
    -moz-flex-direction: row;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
}

.banniere.contenu-align-left .contenu {
    text-align: left;
}

.banniere.image-position-right .image {
    -moz-order: 1;
    -webkit-order: 1;
    -ms-order: 1;
    order: 1;
}

.banniere.fullscreen {
    min-height: 100vh;
}

.banniere.chargement-image-fade-in .image img {
    -moz-transition: opacity 0.75s ease;
    -webkit-transition: opacity 0.75s ease;
    -ms-transition: opacity 0.75s ease;
    transition: opacity 0.75s ease;
}

body.prechargement .banniere.chargement-image-fade-in .image img {
    opacity: 0;
}

.banniere.chargement-contenu-fade-right .contenu {
    -moz-transition: opacity 0.75s ease, -moz-transform 0.75s ease;
    -webkit-transition: opacity 0.75s ease, -webkit-transform 0.75s ease;
    -ms-transition: opacity 0.75s ease, -ms-transform 0.75s ease;
    transition: opacity 0.75s ease, transform 0.75s ease;
}

body.prechargement .banniere.chargement-contenu-fade-right .contenu {
    -moz-transform: translateX(-1rem);
    -webkit-transform: translateX(-1rem);
    -ms-transform: translateX(-1rem);
    transform: translateX(-1rem);
    opacity: 0;
}

/* Footer */
footer {
    padding: 1rem;
    position: relative;
    z-index: 1;
    background-color: transparent;
    text-align: center;
    margin: 0 auto;
    max-width: 100%;
    width: 64rem;
}

/* Liste de contact */
.contenu img {
    margin: 0 auto;
}

.icon {
    padding-right: 1rem;
}

.zone-contact {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin: 2rem auto;
    width: 350px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zone-contact:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

ul.contact {
    list-style: none;
    font-size: 1rem;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

.contact li {
    text-decoration: none;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.contact li:last-child {
    margin-bottom: 0;
}

.contact li a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    word-break: break-word;
    color: #333;
    transition: color 0.3s ease;
}

.contact li a:hover {
    color: #0066cc;
}

.contact li svg {
    width: 30px !important;
    height: 30px !important;
    padding: 3px;
    vertical-align: middle;
    margin-right: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact li a:hover svg {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.contact li .label {
    display: none;
}

/* Media Queries */
@media screen and (max-width: 1680px) {
    footer {
        padding: 5rem 2.5rem 3rem 2.5rem;
    }
}

@media screen and (max-width: 980px) {
    
    .banniere .image {
        width: 33.333%;
    }
    
    .banniere .contenu {
        width: 66.667%;
        padding: 4rem 2rem 2rem 2rem;
    }
    
    .contact li {
        margin-bottom: 1rem;
    }
    
    .contact li a:nth-child(2) {
        margin-left: 40px;
        display: block;
        width: 100%;
    }
}

@media screen and (max-width: 736px) {
    body, input, select, textarea {
        font-size: 1rem;
        line-height: 1.65;
    }
    
    .contenu img + h1 {
        margin-top: 1.5rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}

@media screen and (min-width: 981px) {
    .zone-contact {
        width: 400px;
    }
    
    .contenu img + h1 {
        margin-top: 2rem;
    }
}

@media screen and (max-width: 1280px) {
    footer {
        padding: 4rem 4rem 2rem 4rem;
    }
    
    .banniere .contenu {
        width: 66.667%;
    }
    
    .banniere .image {
        width: 33.333%;
    }
}

@media screen and (max-width: 736px) {
    h1 {
        font-size: 2.75rem;
        line-height: 1.3;
    }
    
    .banniere.fullscreen {
        min-height: 0;
    }
    
    .banniere .contenu {
        padding: 2.5rem 1.5rem 0.5rem 1.5rem;
        width: 100%;
    }
    
    .banniere .image {
        display: none;
    }
    
    .banniere.orient-left {
        -moz-flex-direction: column;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    
    footer {
        padding: 3rem 2rem 1rem 2rem;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 2rem;
        line-height: 1.4;
    }
    
    .zone-contact {
        width: 100%;
        max-width: 350px;
        padding: 1.25rem 1.5rem;
    }
    
    ul.contact {
        font-size: 0.9rem;
    }
    
    .contact li svg {
        width: 25px !important;
        height: 25px !important;
        margin-right: 8px;
    }
}

@media screen and (max-width: 360px) {
    .zone-contact {
        padding: 1rem 1.25rem;
    }
    
    ul.contact {
        font-size: 0.85rem;
    }
    
    .contact li svg {
        width: 22px !important;
        height: 22px !important;
        margin-right: 7px;
    }
}
