/* Styles globaux */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #fff;
    color: #000;
}

/* Navigation */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    max-width: 1200px;
    margin: auto;
    background-color: #000;
}

.logo {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    transition: background 0.3s, color 0.3s;
}

.menu li a:hover,
.menu li a.active {
    background-color: orange;
    color: white;
    border-radius: 5px;
}

.phone {
    display: flex;
    align-items: center;
}

.phone a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.menu-icon {
    display: none;
    cursor: pointer;
    color: white;
    font-size: 24px;
}

/* Responsive smartphone */
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .logo {
        order: 1;
        margin-bottom: 20px;
    }

    .menu-icon {
        display: block;
        order: 2;
        margin-bottom: 20px;
    }

    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        order: 3;
    }

    .menu.active {
        display: flex;
    }

    .menu li {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .phone {
        order: 4;
        margin-top: 20px;
    }
}

/* En-tête */
header {
    background-color: #000;
    padding: 20px;
    text-align: center;
}

/* Navigation */
nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    transition: background 0.3s, color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: orange;
    color: white;
    border-radius: 5px;
}

/* Contenu principal */
.content {
    width: 90%;
    margin: 0 auto;
    padding: 50px;
    font-size: 1.2em;
}

.content a
{
    width: 50%!important;
}

.content p {
    padding: 10px;
}

.center {
    text-align: center;
}

/* Section héro */
.hero {
    position: relative;
    text-align: left;
    padding: 250px 100px 250px;
    background: url('accueil.jpg') no-repeat center center/cover;
    color: white;
    display: flex;
    align-items: center;
    justify-content: left;
    font-size: 2em;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

/* Bouton */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #000;
    color: white;
    text-decoration: none;
    margin-top: 10px;
}

/* Services */
.services {
    display: flex;
    justify-content: space-around;
    padding: 40px;
    background-color: #f4f4f4;
}

.service {
    width: 20%;
    background: white;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    margin: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.service h2,
.service p {
    padding: 20px;
}

/* Méthode */
.methode {
    background: url('thalya.jpg') no-repeat center center/cover;
    padding: 200px;
    text-align: center;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.methode-container {
    background: rgba(0, 0, 0, 0.7);
    padding: 100px;
    border-radius: 10px;
    width: 60%;
    margin: 0 auto;
}

.methode h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: orange;
}

.methode-container p {
    font-size: 1.5em;
    padding: 10px;
}

/* Pied de page */
footer {
    text-align: center;
    padding: 20px;
    background-color: #000;
    color: white;
}

footer a {
    text-decoration: none;
    color: #FFF;
}

footer a:hover {
    color: orange;
}

footer .bloc33
{
    width: 33.33%;
    float: left;
}

footer .content
{
    width: 90%;
    margin: 0 auto;
}

.cl
{
    clear: both;
}

/* Avis clients */
.avis-clients {
    text-align: center;
    padding: 50px;
    background-color: #f4f4f4;
}

.avis-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.avis-slides {
    display: flex;
    transition: transform 1s ease-in-out;
    width: 100%;
}

.avis-slide {
    flex: 0 0 100%;
    display: none;
    text-align: center;
    width: 100%;
}

.avis-slide.active {
    display: block;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.stars {
    color: orange;
    margin: 10px 0;
}

.stars i {
    font-size: 20px;
    margin: 0 2px;
}

.stars .fa-star-o,
.stars .fa-star-half-alt {
    color: #d3d3d3;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    color: #000;
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
}

.arrow.left {
    left: 10px;
}

.arrow.right {
    right: 10px;
}

.arrow:hover {
    color: orange;
}

/* Contact */
.contact {
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    padding: 50px 0;
}

.contact-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    width: 80%;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.contact h2 {
    color: orange;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background-color: orange;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    width: 30%;
}

button:hover {
    background-color: #ff8c00;
}

.contact-info {
    margin-top: 20px;
    text-align: left;
}

.success {
    color: green;
}

.error {
    color: red;
}

/* Statistiques */
.stats-section {
    background-color: #f4f4f4;
    padding: 50px 0;
    text-align: center;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap; /* Ajoutez cette ligne pour permettre le retour à la ligne des éléments flex */
}

.stat-block {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    width: 45%;
    box-sizing: border-box; /* Ajoutez cette ligne pour inclure le padding dans la largeur totale */
}

.stat-block p {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.stat-block i {
    font-size: 3em;
    color: orange;
    margin-bottom: 10px;
    display: block;
}

/* Media query pour les écrans de smartphones */
@media (max-width: 768px) {
    .hero
    {
        font-size: 12px;
        font-weight: normal;
    }
    .stat-block {
        width: 100%; /* Les blocs prennent toute la largeur sur les petits écrans */
        margin-bottom: 20px; /* Ajoutez un espacement entre les blocs empilés */
    }

    footer .bloc33
    {
        width: 100%;
        float: left;
    }

}

.tall {
    font-size: 10em !important;
}

.stat-block .counter {
    font-size: 2em;
    color: orange;
    font-weight: bold;
}

/* Responsive tablette */
@media screen and (max-width: 1024px) {
    .services {
        flex-direction: column;
        align-items: center;
    }
    .service {
        width: 80%;
    }
    .avis-clients h2 {
        font-size: 1.8em;
    }
    .avis-slider {
        flex-direction: column;
        align-items: center;
    }
    .avis-slides {
        flex-direction: column;
        width: 90%;
    }
    .avis-slide {
        padding: 20px;
    }
    .arrow {
        font-size: 20px;
    }
}

/* Responsive smartphone */
@media screen and (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    nav ul li {
        margin: 10px 0;
    }
    .hero {
        padding: 100px 20px;
        height: auto;
    }
    .hero-overlay {
        max-width: 80%;
    }
    .services {
        padding: 20px;
    }
    .service {
        width: 80%;
    }
    .avis-clients h2 {
        font-size: 1.5em;
    }
    .avis-slider {
        flex-direction: column;
    }
    .avis-slides {
        width: 100%;
    }
    .avis-slide {
        padding: 15px;
    }
    .arrow i {
        font-size: 20px;
    }
    .arrow {
        font-size: 20px;
    }

    button
    {
        width: 100%;
    }

    .methode {
    background: url('thalya.jpg') no-repeat center center/cover;
    padding: 20px;
    text-align: center;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    }

    .methode-container {
        background: rgba(0, 0, 0, 0.7);
        padding: 20px;
        border-radius: 10px;
        width: 90%;
        margin: 0 auto;
    }

    .methode h2 {
        font-size: 2.5em;
        margin-bottom: 20px;
        color: orange;
    }

    .methode-container p {
        font-size: 1em;
        padding: 10px;
    }

    .content {
        width: 95%;
        margin: 0 auto;
        padding: 20px;
    }

    .content a
    {
        width: 80%;
    }
}

#reviews-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.review {
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.review-author {
    font-weight: bold;
}

.review-text {
    margin-top: 5px;
}
