/* Reset général */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Corps de page */
body, html {
    height: 100%;
    font-family: 'Montserrat', sans-serif;
}

/* ------------------- */
/* Page Accueil (index) */
/* ------------------- */
.hero {
    background: url("images/verriere.jpg") no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 220px; /* ajuster la hauteur du cadre */
    text-align: center;
}

.hero-box {
    background-color: rgba(248, 244, 240, 0.92); /* blanc cassé semi-transparent */
    padding: 50px;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.logo {
    max-width: 180px;
    margin-bottom: 15px;
}

.hero-box h1 {
    font-size: 2rem;
    font-weight: normal; /* enlevé le gras */
    margin-bottom: 15px;
    color: #333;
}

.hero-box p {
    color: #333;
    margin-bottom: 10px;
}

.hero-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-buttons a {
    text-decoration: none;
    font-weight: normal; /* pas en gras */
    color: #333;
    font-size: 0.9rem; /* plus petit que le texte */
    transition: color 0.3s, text-decoration 0.3s;
}

.hero-buttons a:hover {
    text-decoration: underline;
    color: #555;
}

/* ------------------- */
/* Pages internes */
/* ------------------- */
.page-internal {
    background: url("images/verriere.jpg") no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 20px;
}

.page-box {
    background-color: rgba(248, 244, 240, 0.95); /* blanc cassé */
    padding: 40px;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    text-align: center; /* texte centré */
}

.page-box h2 {
    font-weight: normal; /* pas en gras */
    margin-bottom: 20px;
    color: #333;
}

.page-box p, .page-box li {
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px; /* espace entre paragraphes */
}

.page-box ul {
    list-style: none;
    padding-left: 0;
}

/* Boutons des pages internes */
.page-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-buttons a {
    text-decoration: none;
    font-size: 0.9rem; /* plus petit que texte */
    font-weight: normal;
    color: #333;
    transition: color 0.3s, text-decoration 0.3s;
}

.page-buttons a:hover {
    text-decoration: underline;
    color: #555;
}
/* ----------------------------
   Présentation : partenaires
   ---------------------------- */
.partners-list {
  columns: 3;
  column-gap: 30px;
  list-style: none;
  padding: 0;
}

.partners-list li {
  margin-bottom: 8px;
}

/* ------------------- */
/* Galerie */
/* ------------------- */
/* ----------------------------
   Galerie : responsive
   ---------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  cursor: pointer;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr; /* une seule colonne sur mobile */
  }
}

/* -------------------
   Autres sections
   ------------------- */



/* ------------------- */
/* Formulaire Contact */
/* ------------------- */
.contact-form {
    margin-top: 20px;
    text-align: left;
}

.contact-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    background: #fafafa;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: #fff;
    border-color: #999;
}

.contact-form textarea {
    min-height: 120px; /* champ demande plus grand */
    resize: vertical;
}

.contact-form button {
    margin-top: 10px;
    padding: 10px 20px;
    border: none;
    background: #c9b69a;
    color: #333;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #b59f87;
}

/* ------------------- */
/* Responsive */
/* ------------------- */
@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
    }

    .hero-box {
        padding: 30px;
    }

    .page-box {
        padding: 25px;
    }

    .contact-form .form-row {
        flex-direction: column;
    }
}
