/* ------------------------
   RESET & BASE
------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin-top : 10px;
    margin-bottom: 50px;
}


/* ------------------------
   HEADER
------------------------- */
.div-header {
    margin-top: 20px;
}



/* Conteneur global centré, deux colonnes en flex */
.container {
    max-width: 1000px;
    margin: 0 auto;


    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;

    padding: 20px;

}

.container p {
    margin-bottom: 1rem;
}
@media screen and (max-width: 768px) {
    .container {
        margin: 30px;
    }
}

/* Colonne de gauche : ~30% de la largeur */
.left-col {
    flex: 0 0 300px;
}

/* Image à hauteur fixe (400px) sur écran >= 768px */
.left-col img {
    display: block;
    height: 600px;         /* hauteur forcée */
    object-fit: cover;     /* coupe l’image si besoin pour remplir */
}

/* Colonne de droite : occupe l'espace restant (70%) */
.right-col {
    flex: 1;
}

.right-col h2 {
    margin-bottom: 0.5rem;
}
.right-col p {
    line-height: 1.5;
}

/* MEDIA QUERY pour < 768px
   => on empile les colonnes, l’image redevient flexible */
@media screen and (max-width: 768px) {

    .container {
        flex-direction: column; /* L'image passera après le texte */
    }



    .left-col {
        display: flex;
        justify-content: center;
    }


}



/* PHRASE VERTICAL EN BAS A GAUCHE */
.vertical-phrase {
    position: fixed;
    bottom: 20px;          /* à 20px du bas de l'écran */
    left: 30px;            /* à 10px du côté gauche de l'écran */

    transform: rotate(-90deg);
    transform-origin: bottom left; /* pivot en bas à gauche pour aligner le texte */
    font-family: "Playfair Display", serif;
    font-size: 13px;

}


@media screen and (min-width: 1000px) {
    .vertical-phrase {
        left: calc(50% - 500px + -10px);
    }
}


/* CONTENEUR MAGAZINE => 2 colonnes en grand écran */
.mag-container {
    max-width: 1000px;

    text-align: justify;

    margin: 0 auto;
    /* 2 colonnes + espace entre elles */
    column-count: 2;
    column-gap: 40px;
    /* Justification façon "magazine" */
    text-align: justify;
    padding-left: 15px;
    margin-bottom: 100px;
}

@media screen and (max-width: 800px) {
    .mag-container {
        margin: 30px;
    }
}


/* bouton magazine enbas */

.btn-site-div {
    display: flex;
    justify-content: center;
}

.btn-magazine {
    font-family: "Playfair Display", serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;

    background-color: #fff;

    border: 2px solid #333;
    border-radius: 5px;
    padding: 8px 20px;
    cursor: pointer;

    box-shadow: 0 4px 0 #ccc;
    transition: all 0.2s ease;
}



/* pour taiulle pohoto principal */
@media screen and (max-width: 1000px) {
    .img-principal {
        width: 100%;
    }
}

@media screen and (max-width: 700px) {
    .img-principal {
        width: 100%;
    }
}



/* SLIDER CARROUSEL TEMOIGNAGE MAIN COMPOSANT */
.testimonials-container {
    max-width: 600px;
    margin: 40px auto;
    background: #f7f5f0;     /* Fond beige, style magazine */
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 2rem;
    text-align: center;
}

/* Titre */
.testimonials-title {
    font-size: 1.8rem;
    text-transform: uppercase;
    color: #c00; /* rouge magazine */
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

/* ===================
   CAROUSEL
=================== */
.carousel {
    position: relative;
    overflow: hidden;              /* pour masquer l’item sortant */
    transition: height 0.4s ease;  /* animation de la hauteur */
    min-height: 100px;            /* un minimum pour éviter le saut */
    margin-bottom: 1rem;
}

/* Chaque item en position absolue + fade */
.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;

    opacity: 0;
    pointer-events: none;        /* désactivé quand invisible */
    transition: opacity 0.4s ease;
}
.carousel-item.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

/* Citation */
.testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    padding: 0 1rem;
}

/* Auteur */
.testimonial-author {
    font-weight: bold;
    letter-spacing: 1px;
    color: #333;
}

/* ===================
   BOUTONS DE CONTRÔLE
=================== */
* {
    background-color: transparent;
}
.testimonials-container h2 {
    color: black;
}

.testimonials-container {
    margin-top: 5vh
}


.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

/* Style “magazine” pour les boutons */
.carousel-btn {
    font-family: "Playfair Display", serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
    background-color: #fff;
    border: 2px solid #333;
    border-radius: 4px;
    padding: 6px 16px;
    cursor: pointer;
    box-shadow: 0 4px 0 #ccc;
    transition: all 0.2s ease;
}
.carousel-btn:hover {
    color: #111;
    box-shadow: 0 2px 0 #aaa;
    transform: translateY(2px);
}
.carousel-btn:active {
    box-shadow: none;
    transform: translateY(4px);
}


@media screen and (max-width: 480px) {


    .testimonials-title {
        font-size: 1.4rem;
    }

    .testimonial-quote {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .carousel-btn {
        font-size: 12px;
        padding: 4px 12px;
    }
}