/* Importation des polices */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

* {
    /* Styles globaux */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: 0.6s;
    /* Personnalisation de la barre de défilement */
    scrollbar-width: 5px;
    scrollbar-color: var(--orange-chaud) var(--gris-noir);
    font-family: 'Playfair Display', serif;
}

/* Personnalisation de la barre de défilement pour Firefox */
::-moz-scrollbar {
    width: 5px;
    height: 10px;
}

::-moz-scrollbar-track {
    background: var(--gris-noir);
    border-radius: 10px;
}

::-moz-scrollbar-thumb {
    background: var(--orange-chaud);
    border-radius: 5px;
    border: 2px solid #fcbe87;
}

/* Déclaration des variables couleurs CSS */
:root {
    --orange-froid: #fcbe87;
    --orange-chaud: #ff9900;
    --jaune: #F6BE05;
    --gris: #575a5b;
    --gris-clair: #e6e6e6;
    --gris-noir: #383a3b;
}

/* Styles pour le corps de la page */
body {
    width: 100%;
    font-size: 20px;
    background-color: var(--gris);
}

/* Barre de navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--gris);
    height: 70px;
    padding: 0 40px;
}

/* Logo */
#logo {
    display: flex;
    height: 60px;
}

#logo a {
    font-family: 'Great Vibes', serif;
    color: var(--orange-chaud);
    font-size: 40px;
    font-weight: bold;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.7);
}

#logo img {
    max-height: 70px;
    margin-right: 8px;
}

#logo:hover {
    opacity: 0.5;
}

/* Menu burger */
.burger {
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 70px;
    cursor: pointer;
    position: relative;
    display: none;
}

.burger span {
    position: absolute;
    width: 100%;
    height: 4px;
    border-radius: 30%;
    background-color: black;
}

.burger span::after,
.burger span::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    border-radius: 30%;
    background-color: black;
}

/* Menu principal */
nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    display: flex;
    align-items: center;
    height: 80px;
    margin: 0 2px;
}

nav ul li a {
    text-decoration: none;
    color: var(--orange-froid);
    padding: 20px 10px;
    font-weight: bold;
}

nav ul li a:hover,
nav ul li.active a {
    color: var(--orange-chaud);
    background-color: var(--gris-noir);
}

/* Liseret décoratif */
.liseret {
    background-color: var(--gris-noir);
    width: 100%;
    height: 2px;
    border-radius: 15px;
    background-image: radial-gradient(circle, var(--orange-chaud), transparent);
}

/* Diaporama */
.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    animation: zoomimg 20s infinite;
}

.slider img.active {
    opacity: 1;
}

/* Section principale */
main {
    position: relative;
    height: 100vh;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

main div {
    z-index: 1;
    position: absolute;
    width: 70%;
    text-align: center;
}

main div h1 {
    color: var(--orange-chaud);
    font-size: 35px;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 2px black;
}

main div p {
    color: var(--gris-clair);
    margin-bottom: 50px;
    font-size: 20px;
    text-shadow: 2px 2px 2px black;
}

main div a {
    z-index: 1;
    border: 2px solid var(--orange-chaud);
    color: var(--orange-chaud);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 10px;
    font-weight: bold;
    letter-spacing: 2px;
}

main div a:hover {
    background-color: var(--orange-chaud);
    color: #000;
}

/* Section des espaces Coiffeur Barbier RV */
.espaces {
    display: flex;
    width: 90%;
    margin: auto;
    padding: 20px 0;
    justify-content: space-between;
    align-items: center;
    background-color: var(--gris);
    gap: 20px;
}

.conteneur-espace {
    position: relative;
    text-align: center;
    border-radius: 15px;
    overflow: hidden;
}

.conteneur-espace img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
}

.conteneur-espace a:hover img {
    transform: scale(1.2);
    cursor: pointer;
}

.conteneur-espace .texte {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    font-weight: bold;
    text-shadow: 5px 2px 5px black;
    z-index: 2;
    pointer-events: none;
}

.texte-jaune {
    color: yellow;
}

.texte-orange {
    color: var(--orange-chaud);
}

/* Présentation */
.presentation {
    width: 90%;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    background-color: var(--gris-clair);
    margin: 0 auto;
    text-align: justify;
}

.presentation h2 {
    text-align: center;
    color: var(--orange-chaud);
    margin-top: 20px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.7);
}

.presentation h3 {
    text-align: left;
    color: var(--orange-chaud);
    margin-top: 20px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.7);
}

.presentation p {
    text-align: justify;
}

.puce {
    margin: 0 40px;
    display: list-item;
    list-style-type: disc;
}

.img-presentation {
    width: 400px;
    float: right;
    margin-left: 20px;
    margin-right: 5px;
    margin-bottom: 12px;
    border-radius: 5px;
}

/* Personnels */
#personnels {
    display: flex;
    background-color: white;
    width: 90%;
    padding: 20px;
    margin: auto;
    justify-content: space-between;
    align-items: center;
}

.personnel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
}

.personnel:hover {
    background-color: var(--gris-clair);
}

#personnels img {
    border-radius: 50%;
    width: 100%;
    max-width: 250px;
    height: auto;
    aspect-ratio: 1 / 1; /* pour garder la forme carrée si supporté */
    object-fit: cover;
}

#rdv {
    width: 90%;
    padding: 40px 20px;
    margin: 0 auto;
    background-color: var(--gris-clair);
    color: var(--orange-chaud);
    font-size: 30px;
    text-align: center;
}

#rdv a {
    text-decoration: none;
    color: var(--orange-chaud);
    font-weight: bold;
    padding: 20px 30px;
    border-radius: 15px;
}

#rdv a:hover {
    color: var(--orange-froid);
    background-color: var(--gris-noir);
}

/********** Zone Bouton haut de page **********/
#buttonTop {
    background-color: transparent;
    border: none;
    cursor: pointer;
    position: fixed;
    bottom: 5px;
    right: 5px;
    opacity: 0;
}

#buttonTop img {
    width: 50px;
    height: 50px;
}

/* Pied de page */
footer {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    background-color: #000;
    color: var(--orange-chaud);
    padding: 80px 0px;
}

footer p,
footer a,
footer li,
footer ul {
    font-size: 15px;
    text-align: left;
    margin: 0;
}

#liens ul li {
    margin-left: 35px;
}

footer p.puce {
    color: var(--orange-froid);
}

footer li {
    display: list-item;
    color: var(--orange-froid);
}

footer #liens a {
    text-decoration: none;
    color: var(--orange-froid);
    padding: 0 5px;
}

footer #liens p {
    margin-bottom: 25px;
}

#liens ul li.active a,
footer #liens a:hover {
    color: var(--jaune);
    text-decoration: underline;
}

#prestations {
    padding-bottom: 30px;
}

#reseaux p:nth-child(1) {
    margin-bottom: 15px;
}

#reseaux ul {
    text-align: center;
    padding: 0;
}

#reseaux ul li {
    display: inline-block;
    margin: 0 10px;
}

#reseaux i {
    color: var(--orange-chaud);
    font-size: 40px;
    margin: 0 10px;
}

/* Cookies */
#cookies {
    display: none;
    background-color: var(--jaune);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 400px;
    font-size: 14px;
    text-align: center;
    padding: 80px 200px;
    border: 2px solid var(--orange-chaud);
    box-sizing: border-box;
    z-index: 10;
}

#cookies p {
    text-align: left;
}

#cookies.active {
    display: block;
}

#cookies button {
    padding: 5px 15px;
    margin-top: 15px;
    background: none;
    outline: none;
    border: 2px solid var(--orange-chaud);
    color: var(--gris-noir);
    font-size: 16px;
    font-weight: bold;
    border-radius: 50px;
    letter-spacing: 1px;
    cursor: pointer;
}

#cookies button:hover {
    background: var(--orange-chaud);
    color: var(--gris-clair);
}

/* Page Coiffeur */
#parallaxCoiffeur section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
}

#parallaxCoiffeur .section1 {
    background-image: url('../img/coiffeur-1.jpg');
}

#parallaxCoiffeur .section2 {
    background-image: url('../img/coiffeur-2.jpg');
}

#parallaxCoiffeur .section3 {
    background-image: url('../img/coiffeur-3.jpg');
}

#parallaxCoiffeur .section4 {
    background-image: url('../img/coiffeur-4.jpg');
}

.parallax-container {
    position: relative;
}

.image-coiffeur {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
}

#parallaxCoiffeur .texte {
    background-color: var(--gris);
    padding: 40px 40px;
    text-align: center;
}

#parallaxCoiffeur h1 {
    padding-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 3px 3px rgba(235, 235, 235, 0.7);
}

#parallaxCoiffeur p {
    color: var(--orange-chaud);
    margin-bottom: 15px;
    text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.7);
}

#parallaxCoiffeur a {
    padding: 10px 20px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    color: var(--orange-froid);
    text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.7);
}

#parallaxCoiffeur a:hover {
    background-color: var(--gris-noir);
    color: var(--orange-chaud);
}

/* Page Barbier */
#parallaxBarbier section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
}

#parallaxBarbier .section1 {
    background-image: url('../img/barbier-1.jpg');
}

#parallaxBarbier .section2 {
    background-image: url('../img/barbier-2.jpg');
}

#parallaxBarbier .section3 {
    background-image: url('../img/barbier-3.jpg');
}

#parallaxBarbier .section4 {
    background-image: url('../img/barbier-4.jpg');
}

#parallaxBarbier .texte {
    background: none;
    border: 2px solid var(--orange-chaud);
    background-color: var(--orange-froid);
    padding: 40px 40px;
    text-align: center;
}

#parallaxBarbier .texte:last-child {
    border-bottom: none;
}

#parallaxBarbier h1 {
    padding-bottom: 20px;
    color: var(--gris-noir);
    letter-spacing: 2px;
    text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.7);
}

#parallaxBarbier p {
    color: yellow;
    text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.7);
}

#parallaxBarbier a {
    padding: 10px 20px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: yellow;
    text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.7);
}

#parallaxBarbier a:hover {
    background-color: var(--gris-noir);
    color: var(--orange-chaud);
}

/* Page RDV */
#rendez-vous {
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-template-rows: 1fr;
    grid-template-areas:
        "aside zone-rdv";
    justify-content: center;
    align-items: center;
    text-align: left;
}

aside {
    grid-area: aside;
    height: 100%;
    background-image: url('../img/cct.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}


#zone-rdv {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: auto;
    grid-area: zone-rdv;
    margin-top: 100px;
    margin-bottom: 100px;
}

#zone-rdv h1 {
    text-align: center;
    color: var(--orange-chaud);
    padding: 25px;
    font-weight: 300;
    letter-spacing: 2px;
    text-shadow: 5px 5px 5px rgb(0, 0, 0);
}

#box-rdv {
    margin: 0 auto;
    width: 80%;
    height: auto;
    background-color: var(--gris-clair);
    padding: 20px;
    border-radius: 10px;
}

#box-rdv form {
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

#box-rdv h3 {
    color: var(--orange-chaud);
}

#box-rdv h4 {
    padding: 20px 0;
    font-size: 1rem;
}

#box-pass .input-group,
#box-rdv .input-group {
    position: relative;
    margin-bottom: 12px;
    margin-top: 20px;
}

#box-pass label,
#box-rdv label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    color: var(--orange-chaud);
    font-size: 16px;
    letter-spacing: 1px;
    cursor: text;
}

#box-pass label.active,
#box-rdv label.active {
    top: -30%;
    font-size: 13px;
}

#box-pass input,
#box-rdv input {
    width: 100%;
    background: none;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: bold;
    border: none;
    border-bottom: 2px solid var(--orange-chaud);
    outline: none;
}

#box-pass form button,
#box-rdv form button {
    border: none;
    margin: 0 auto;
    text-align: center;
    background-color: var(--orange-chaud);
    color: var(--gris-noir);
    cursor: pointer;
    width: 120px;
    height: 35px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 15px;

}

#box-pass form button:disabled,
#box-rdv form button:disabled {
    background-color: var(--gris);
    color: var(--gris-noir);
    cursor: not-allowed;
}

#box-pass form button:hover,
#box-rdv form button:hover {
    background-color: var(--jaune);
    color: var(--gris-noir);
    border: 2px solid var(--orange-chaud);
}

#box-rdv p {
    font-size: 12px;
}

#box-rdv #creation-compte {
    display: inline;
    color: var(--orange-chaud);
    font-weight: bold;
    cursor: pointer;
}

#box-rdv #creation-compte:hover {
    color: black;
}

#box-pass {
    display: none;
    width: 80%;
    height: auto;
    background-color: var(--gris-clair);
    border-radius: 10px;
}

#box-pass form {
    padding: 10px 20px;
    width: 100%;
}

#box-pass #header {
    margin: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-color: black;
    padding: 20px;
}

#box-pass h3 {
    color: var(--jaune);
    padding-bottom: 10px;
}

#box-pass input {
    font-size: 16px;
}

#box-pass span {
    color: var(--orange-chaud);
    padding: 10px 20px;
    font-size: 1rem;
}

#box-pass span::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 5px;
}


#modifier-login {
    color: var(--gris-clair);
    cursor: pointer;
    padding: 10px 20px;
    font-size: 14px;
}

#modifier-login::before {
    content: "\f100";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 5px;
}

#modifier-login:hover {
    color: var(--jaune);
}

#affiche-pass {
    display: inline-block;
    color: black;
    cursor: pointer;
    font-size: 14px;
    padding-bottom: 20px;
}

#affiche-pass:hover {
    text-decoration-line: underline;
}

#affiche-pass::before {
    content: "\f138";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 5px;
    transition: transform 0.3s;
    display: inline-block;
    transform: translateY(0px) rotateZ(0deg);
}

#affiche-pass.active::before {
    transform: translateY(0px) rotateZ(-90deg);
}

#box-pass form button {
    width: 100%;
}

#box-pass #pass-oublie {
    display: inline;
    float: right;
    color: black;
    padding-top: 30px;
    text-align: right;
    cursor: pointer;
    font-size: 14px;
    padding-bottom: 20px;
}

#box-pass #pass-oublie:hover {
    color: var(--orange-chaud);
}

/* Fenêtre modale de passe oublié */
#pop {
    display: none;
}

.popup h1 {
    margin-bottom: 20px;
    font-size: 30px;
    text-align: center;
    color: var(--orange-chaud);
    text-shadow: 2px 2px 2px rgb(0, 0, 0);
}

.popup form .input-group {
    display: flex;
    flex-direction: column;
}

.popup label {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    text-align: left;
    margin-bottom: 20px;

}

.popup label::before {
    content: "\f090";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 10px;
}

.popup input {
    width: 100%;
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    border: none;
    border-radius: 5px;
    margin-bottom: 20px;
    outline: none;
}

.popup button {
    width: 100%;
    height: 40px;
    font-size: 18px;
    text-align: center;
    background-color: var(--orange-chaud);
    color: var(--gris-noir);
    border: none;
    border-radius: 25px;
    cursor: pointer;
}

.popup button:hover {
    background-color: var(--jaune);
    color: black;
}

.popup button:disabled {
    background-color: var(--gris);
    color: var(--gris-clair);
    cursor: not-allowed;
}

#pop.active {
    display: block;
}

.close {
    position: absolute;
    top: 5px;
    right: 15px;
    height: 20px;
    width: 20px;
    font-size: 25px;
    color: black;
    cursor: pointer;

}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup .conteneur {
    width: 500px;
    height: 300px;
    background-color: var(--gris-clair);
    padding: 20px 35px;

}

/* Créer compte */
#box-compte {
    display: none;
    width: 100%;
    height: auto;
    text-align: center;
    background-color: var(--gris);
    border-radius: 10px;
    margin-bottom: 100px;
}

#box-compte #header {
    background-color: black;
    height: 100px;
    padding: 20px;
    text-align: center;

}

#box-compte h1 {
    color: var(--orange-chaud);
    font-size: 30px;
    letter-spacing: 2px;
}

.triangle-bas {
    text-align: center;
    margin: 0 auto;
    width: 80px;
    height: 80px;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-top: 140px solid black;
    margin-bottom: 100px;
}

#box-compte .input-wrapper {
    position: relative;
    width: 50%;
    margin: 0 auto;
    margin-bottom: 20px;
    margin-top: 20px;
}

#box-compte .input-wrapper:nth-child(2) {
    margin-bottom: 0px;
}

#box-compte .input-wrapper:nth-child(4) {
    margin-bottom: 0px;
}

#box-compte .input-wrapper:nth-child(3) {
    margin-top: 20px;
}

#box-compte .input-wrapper label {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gris-clair);
    pointer-events: none;
}

#box-compte .input-wrapper label.active {
    top: -20px;
    font-size: 14px;
    color: var(--orange-chaud);
}

#box-compte .input-wrapper input {
    width: 100%;
    padding: 10px 10px 10px 35px;
    border: 1px solid #ccc;
    background-color: var(--gris);
    border-radius: 4px;
    height: 40px;
    font-size: 20px;
    outline: none;
}

input:-webkit-autofill {
    background-color: transparent !important;
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    -webkit-text-fill-color: black !important;
    transition: background-color 5000s ease-in-out 0s;
}

#box-compte .input-wrapper i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
    transition: color 0.3s ease;
}

#box-compte .input-wrapper input:focus::placeholder {
    color: transparent;
    /* ou opacity: 0 */
}

#box-compte .input-wrapper input:focus+i {
    color: var(--orange-chaud);
}

#box-compte span {
    font-size: 14px;
}

#box-compte #pass-aleatoire:hover {
    color: var(--orange-chaud);
    cursor: pointer;
    font-size: 14px;
    padding-bottom: 20px;
}

#box-compte button {
    width: 50%;
    height: 40px;
    background: transparent;
    color: var(--gris-noir);
    border: 2px solid var(--orange-chaud);
    color: var(--jaune);
    border-radius: 25px;
    font-size: 20px;
    margin-top: 20px;
    cursor: pointer;
}

#box-compte button:hover {
    background-color: var(--orange-chaud);
    color: var(--gris-noir);
}

#box-compte .input-wrapper input::placeholder {
    color: var(--gris-clair);
}

#box-compte .input-wrapper input:focus {
    border-color: var(--orange-chaud);
}

.span-error {
    display: inline-block;
    animation: shake 0.4s ease;
    color: red;
}

/* Traitement */
#traitement {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Animation de zoom */
@keyframes zoomimg {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(2);
    }

    100% {
        transform: scale(1);
    }
}

/* Animation de secousse */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20%,
    60% {
        transform: translateX(-8px);
    }

    40%,
    80% {
        transform: translateX(8px);
    }
}

/* Styles pour les écrans de moins de 768px */
@media (max-width: 768px) {

    nav ul {
        position: absolute;
        top: 72px;
        height: 100vh;
        font-size: 30px;
        width: 100%;
        left: -100%;
        background-color: var(--gris);
        flex-direction: column;
        align-items: stretch;
        z-index: 2;
    }

    nav ul.active {
        left: 0;
    }

    nav ul li {
        margin: 2px 0px;
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    nav ul li a {
        padding: 10px 20px;
        width: 100%;
        text-align: center;
    }

    .burger {
        display: flex;
    }

    .burger span::before {
        transform: translateY(-10px);
    }

    .burger span::after {
        transform: translateY(10px);
    }

    .burger.active span {
        background-color: transparent;
    }

    .burger.active span::before {
        transform: translateY(0px) rotateZ(45deg);
    }

    .burger.active span::after {
        transform: translateY(0px) rotateZ(-45deg);
    }

    main div h1 {
        font-size: 1.5rem;
        text-transform: uppercase;
    }

    main div p {
        font-size: 15px;
    }

    main div a {
        font-size: 12px;
    }

    .espaces {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
    }

    .conteneur-espace {
        margin: 20px 0px;
        width: 100%;
    }

    .conteneur-espace img {
        width: 100%;
        height: auto;
    }

    .conteneur-espace .texte {
        font-size: 50px;
    }

    .presentation {
        display: flex;
        flex-direction: column;
    }

    .img-presentation {
        width: 100%;
        max-width: 400px;
        margin: 0 auto 20px auto;

    }

    #personnels {
        flex-direction: column;
    }

    .personnel {
        padding: 10px;
        margin-bottom: 20px;
    }

    #personnels img {
        width: 100%;
    }

    #rdv {
        font-size: 35px;
    }

    /* Footer */
    footer {
        flex-wrap: wrap;
    }

    footer p,
    footer a,
    footer li,
    footer ul {
        font-size: 14px;
    }

    footer #liens li {
        margin-bottom: 25PX;
    }

    /* Réseaux sociaux */
    #reseaux {
        order: 3;
        width: 100%;
        height: auto;
        text-align: center;
    }

    #reseaux p:nth-child(1) {
        margin-top: 25px;
        margin-bottom: 15px;
        text-align: center;
    }

    /* Cookies pages */
    #cookies {
        padding: 40px 20px;
        height: auto;
        font-size: 12px;
    }

    #cookies button {
        font-size: 14px;
    }

    /* Style Barbier/Coiffeur */
    #parallaxBarbier h1,
    #parallaxCoiffeur h1 {
        font-size: 1.5em;
    }

    /* Pade RDV */
    aside {
        display: none;
    }

    #rendez-vous {
        grid-template-columns: 4fr;
        grid-template-rows: 1fr;
        grid-template-areas:
            "zone-rdv";
    }

    #creation-compte {
        margin-top: 10px;
    }

    #box-rdv,
    #box-pass {
        width: 90%;
    }

    /* Fenêtre modale de passe oublié */
    .popup .conteneur {
        width: 400px;
        height: auto;
    }

    /* Créer compte */
    #box-compte .input-wrapper {
        width: 90%;
    }
}