/* ------------------------------ */
/*        STYLE GLOBAL            */
/* ------------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    background-color: #f7f5f0; /* beige doux */
    color: #333;
    line-height: 1.6;
}

/* ------------------------------ */
/*            HEADER              */
/* ------------------------------ */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    background: #f8f2e6;
    border-bottom: 2px solid #e0ded8;
    position: sticky;
    top: 0;
    z-index: 1000;
}



.header h1 {
    font-size: 2.3rem;
    color: #355e3b; /* vert thé */
    font-weight: 600;
    text-align: center;
}

/*.header p {
    display: none; /* on masque la phrase dans le header pour plus de minimalisme 
}*/
.header a:last-child {
    text-decoration: none;
    font-size: 1.1rem;
    color: #355e3b;
    border: 2px solid #355e3b;
    padding: 8px 15px;
    border-radius: 8px;
    transition: 0.3s;
    font-weight: 500;
}

.header a:last-child:hover {
    background: #355e3b;
    color: white;
}

/* ------------------------------ */
/*            MAIN                */
/* ------------------------------ */
main {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
    flex: 1; 
}

main h1 {
    text-align: center;
    font-size: 2.0rem;
    color: #355e3b;
    margin-bottom: 20px;

}

main h2 {
    font-size: 1.8rem;
    color: #4e4b45;
    margin: 25px 0 10px;
}

/* ------------------------------ */
/*          VIDEO SECTION         */
/* ------------------------------ */
.video-container {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin: 30px 0;
}

.video-container video {
    width: 100%;
    border-radius: 10px;
}

/* ------------------------------ */
/*            CARDS               */
/* ------------------------------ */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-content {
    padding: 15px;
}

.card-content h3 {
    color: #355e3b;
    margin-bottom: 10px;
}

/* ------------------------------ */
/*            FOOTER              */
/* ------------------------------ */
footer {
    background-color: #282828;
    color: white;
    margin-top: 50px;
    padding: 40px 20px;
}

footer h2 {
    text-align: center;
    margin-bottom: 30px;
}

/* Footer grille */
.footert {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footert h4 {
    margin-bottom: 10px;
    color: #b8d8b8;
}

.footert a {
    color: #e1e1e1;
    text-decoration: none;
}

.footert img {
    height: 20px;
    margin-right: 5px;
}

/* Mentions légales */
.mentions {
    margin-top: 40px;
    text-align: center;
    border-top: 1px solid #555;
    padding-top: 20px;
}

.mentions img {
    height: 20px;
    margin-bottom: 10px;
}

.mentionslegales {
    color: #aaaaaa;
    font-size: 0.9rem;
}

/*
.about-expo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 5%;
    background: linear-gradient(135deg, #faf5ef 0%, #f0e7d8 100%);
    border-radius: 20px;
    margin: 60px 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.about-container {
    flex: 1;
}

.about-container h2 {
    font-size: 2.6rem;
    margin-bottom: 20px;
    color: #5e3d1f;
    font-family: "Playfair Display", serif;
    letter-spacing: 1px;
}

.about-container p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #3a2b20;
    opacity: 0.9;
}

.about-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-image img {
    width: 90%;
    max-width: 420px;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.03);
}

.personal-message {
    padding: 60px 5%;
    background: #faf7f3;
    border-left: 5px solid #c9a86a; 
    border-radius: 12px;
}

.personal-message h2 {
    margin-bottom: 25px;
}

.personal-content {
    max-width: 500px;
    margin-left: auto; 
}


.handwritten {
    font-family: "Dancing Script", "Segoe Script", cursive;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #4a3a2a;
    opacity: 0.9;
}

.signature {
    font-family: "Great Vibes", "Dancing Script", cursive;
    font-size: 2rem;
    margin-top: 10px;
    color: #5e3d1f;
    letter-spacing: 2px;
}

*/
/* ----- STYLE GLOBAL UNIFORMISÉ POUR LES 2 BLOCS ----- */

.about-expo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
    
}

/* ----- BLOCS INTERNE (TEXTE) ----- */

.about-container,
.personal-content {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.about-container h2,
.personal-content h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #5e3d1f;
    font-family: "Playfair Display", serif;
    letter-spacing: 1px;
}

.about-container p,
.personal-content p {
    font-size: 1.0rem;
    line-height: 1.7;
    color: #3a2b20;
    opacity: 0.9;
}


/* ----- STYLE MANUSCRIT POUR TEXTE PERSO ----- */

.handwritten {
    font-family: "Dancing Script", "Segoe Script"
}


.formulaire{
  background-image: url(images/fond.png); 
  background-size: cover;
  background-position: center;
  opacity: 0.8; /* Réglez l'opacité pour rendre l'image peu visible */
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact_form {
    background-color: rgba(255, 255, 255, 0.8); /* Couleur de fond du formulaire avec transparence */
    padding: 20px;
    border-radius: 10px;
    width: 50%;
    margin: auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

button {
  padding: 10px;
  background-color: #3a2b20;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 3px;
  text-align: right;
}

button:hover {
  background-color: #355e3b;
}

.contact_form textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    box-sizing: border-box;
}

/* ============================= */
/*        VERSION MOBILE         */
/* ============================= */

@media screen and (max-width: 480px) {

    /* HEADER */
    .header {
        flex-direction: column;
        gap: 12px;
        padding: 15px 20px;
        text-align: center;
    }

    .header h1 {
        font-size: 1.6rem;
    }

    /* Bouton "Nous contacter" */
    .btn-contact {
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
        padding: 12px 0;
        border-radius: 10px;
    }

    /* MAIN */
    main {
        width: 95%;
        margin: 20px auto;
    }

    /* FORMULAIRE */
    .contact_form {
        width: 100%;
        padding: 15px;
    }

    button {
        width: 100%;
        text-align: center;
        padding: 14px;
        font-size: 1rem;
        border-radius: 8px;
    }
}
