/* Palette de couleurs moderne */
:root {
    --bg-dark: #111827; /* Gris très sombre, plus pro que le noir pur */
    --bg-card: #1f2937; /* Gris un peu plus clair pour les éléments en relief */
    --text-main: #f9fafb;
    --text-muted: #9ca3af;
    --accent-color: #10B981; /* Vert émeraude moderne */
    --accent-hover: #059669;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    color: var(--text-main);
}

/* Typographie & Liens */
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-hover);
}

h1, h2, h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

h2 {
    text-align: center;
    font-size: 2rem;
    margin-top: 3rem;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 0.5rem;
}

/* En-tête */
header {
    background-color: rgba(17, 24, 39, 0.95);
    padding: 3rem 1rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--bg-card);
}

.logo {
    width: 150px; /* Taille réduite pour faire plus pro */
    height: auto;
    margin-bottom: 1rem;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Navigation */
nav {
    background-color: var(--bg-card);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    padding: 1rem 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 1.5rem;
}

nav ul li a {
    color: var(--text-main);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

nav ul li a:hover {
    color: var(--accent-color);
}

/* Conteneur principal */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding: 2rem 0;
}

#accueil {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

/* Grilles pour Services et Prix */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.card {
    background-color: var(--bg-card);
    flex: 1 1 300px;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid transparent;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.card i {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-main);
    margin: 1rem 0;
}

/* Formulaire de contact */
.contact-form {
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: 8px;
    max-width: 600px;
    margin: 2rem auto;
}

form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1.5rem;
    background-color: var(--bg-dark);
    border: 1px solid #374151;
    color: var(--text-main);
    border-radius: 4px;
    box-sizing: border-box; /* Empêche le débordement */
    font-family: inherit;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

button {
    background-color: var(--accent-color);
    color: var(--bg-dark);
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: var(--accent-hover);
}

/* Footer (Correction de l'imbrication) */
footer {
    background-color: var(--bg-card);
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid #374151;
}

.social-links {
    margin-bottom: 1rem;
}

.social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #374151;
    color: var(--text-main);
    border-radius: 50%; /* Rond, plus esthétique */
    margin: 0 10px;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-button:hover {
    background-color: var(--accent-color);
    color: var(--bg-dark);
    transform: scale(1.1);
}

.footer-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: underline;
}

.footer-link:hover {
    color: var(--accent-color);
}