/* --- VARIABLES & COULEURS (Basées sur votre carte) --- */
:root {
    --bg-color: #f4f1ea; /* Le beige du fond de carte */
    --text-color: #333333;
    --primary-green: #4a6741; /* Vert feuille séchée */
    --accent-green: #2d5a27; /* Vert plus sombre */
    --font-main: 'Lato', sans-serif;
    --font-title: 'Playfair Display', serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
}

h1, h2, h3 { font-family: var(--font-title); color: var(--accent-green); }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- HEADER --- */
header {
    background-color: rgba(244, 241, 234, 0.95);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-bottom: 1px solid #dcd9d0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    font-family: var(--font-title);
    color: var(--accent-green);
}

nav ul { display: flex; gap: 2rem; }
nav a:hover { color: var(--primary-green); font-style: italic; }

/* --- HERO SECTION --- */
.hero {
    height: 90vh;
    /* Ici on mettra votre image de mise en situation en fond */
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('../medias/mise-en-situation/deco1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 60px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.btn {
    background-color: var(--primary-green);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    border: 2px solid var(--primary-green);
}
.btn:hover {
    background-color: transparent;
    color: white;
}

/* --- SECTIONS GÉNÉRALES --- */
section { padding: 4rem 5%; }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

/* Petit trait décoratif sous les titres */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-green);
    margin: 10px auto 0;
}

/* --- GALERIE --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.art-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.art-card:hover { transform: translateY(-5px); }

.art-card img {
    width: 100%;
    height: 300px; /* Hauteur fixe pour uniformiser */
    object-fit: cover;
}

.art-info { padding: 1.5rem; text-align: center; }
.art-id { color: var(--primary-green); font-weight: bold; display: block; margin-bottom: 0.5rem; }

.art-dimensions {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    margin-top: 0.5rem;
}

/* --- COULISSES / TOUR --- */
.tour-section {
    background-color: white;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
}

.tour-image { flex: 1; min-width: 300px; }
.tour-image img { width: 100%; border-radius: 8px; }
.tour-text { flex: 1; min-width: 300px; }

/* --- CONTACT --- */
.contact-section {
    text-align: center;
    background-image: url('../medias/carte-visite/carte-visite_recto.png'); /* Rappel subtil ou couleur unie */
    background-size: cover;
    position: relative;
}

/* Masque blanc par dessus l'image de fond pour la lisibilité */
.contact-overlay {
    background-color: rgba(244, 241, 234, 0.9);
    padding: 3rem;
    border-radius: 8px;
    display: inline-block;
    border: 1px solid var(--primary-green);
    /* Ajouts pour le formulaire */
    max-width: 600px;
    width: 95%;
    text-align: left;
}

.contact-overlay h2, .contact-overlay > p {
    text-align: center;
}

.contact-info { font-size: 1.2rem; margin: 1rem 0; }
.phone { font-size: 2rem; font-family: var(--font-title); color: var(--accent-green); margin: 1.5rem 0; display: block;}

/* --- CONTACT FORM STYLES --- */
.contact-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: bold;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 5px rgba(74, 103, 65, 0.3);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    justify-content: center;
}

.btn-contact-primary {
    background-color: var(--primary-green);
    color: white;
    padding: 12px 25px;
    border: 2px solid var(--primary-green);
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}
.btn-contact-primary:hover {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
}

.btn-contact-outline {
    background-color: transparent;
    color: var(--primary-green);
    padding: 12px 25px;
    border: 2px solid var(--primary-green);
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}
.btn-contact-outline:hover {
    background-color: var(--primary-green);
    color: white;
}

.disclaimer {
    font-size: 0.8rem;
    color: #666;
    margin-top: 1rem;
    font-style: italic;
    text-align: center;
}


footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--accent-green);
    color: #f4f1ea;
    font-size: 0.9rem;
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    nav ul { display: none; } /* Menu simplifié pour l'exemple */
    .tour-section { flex-direction: column; }
}

.email-link {
 color: inherit;
text-decoration: none;
}
.email-link:hover {
text-decoration: underline;
}
