@charset "UTF-8";

/* =========================
   BASE
   ========================= */

html {
    box-sizing: border-box;
    font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html,
body {
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    color: #343144;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}


/* =========================
   HEADER
   ========================= */

.site-header {
    padding: 35px;
}

.style-logo {
    display: block;
    width: 40px;
    height: auto;
    margin: 0 auto 20px;
}

.style-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.style-nav li {
    margin: 0;
}

.style-nav a {
    display: block;
    padding: 8px;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
}

.style-nav a:hover,
.style-nav a:focus {
    text-decoration: underline;
}


/* =========================
   CONTENU / CARROUSEL
   ========================= */

/*
   Pas de hauteur fixe sur .intro :
   la section s'adapte à la hauteur réelle du carrousel.
*/

.intro {
    position: relative;
    width: 100%;
    padding: 2em;
    background: #fff;
}

#carouselPastels {
    width: 100%;
    margin: 0 auto;
    background: #eee;
}

.carousel-inner,
.carousel-item {
    width: 100%;
}

.carousel-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}


/* =========================
   FOOTER
   ========================= */

.site-footer {
    width: 100%;
    padding: 40px 20px;
    background: #fff;
    color: #000;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-section {
    margin: 0;
}

.footer-section p {
    margin: 0;
    font-size: 13px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #444;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: transform 0.3s, background-color 0.3s;
}

.social-icons .icon:hover,
.social-icons .icon:focus {
    transform: translateY(-2px);
    background: #294ABA;
}


/* =========================
   TABLETTE
   ========================= */

@media screen and (min-width: 768px) {
    body {
        max-width: 778px;
    }

    .style-logo {
        margin: 0;
        float: left;
    }

    .style-nav {
        float: right;
    }

    .style-nav ul {
        text-align: right;
    }

    .style-nav li {
        display: inline-block;
    }

    .site-header::after {
        content: "";
        display: table;
        clear: both;
    }

    .footer-container {
        flex-direction: row;
        text-align: right;
    }
}


/* =========================
   GRAND ÉCRAN
   ========================= */

@media screen and (min-width: 1024px) {
    body {
        max-width: 1200px;
    }
}
