/* --- Variable de style --- */
:root {
    --bg-color: #0a0a0a;
    --text-main: #e5e5e5;
    --text-muted: #888888;
    --accent: #ff3c00;
    --border-color: #333333;
    --grid-gap: 1px;
}

body {
    background-color: var(--border-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    margin: 0;
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

@media (max-width: 1024px) {
    body {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }
}

/* --- SIDEBAR --- */
.sidebar {
    background-color: var(--bg-color);
    padding: 2rem;
    position: sticky;
    top: 0;
    height: 100vh;
    box-sizing: border-box;
    display: grid;
    grid-template-rows: auto 1fr auto;
    align-content: space-between;
    border-right: 1px solid var(--border-color);
}

@media (max-width: 1024px) {
    .sidebar {
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        grid-template-rows: auto;
        gap: 2rem;
    }
}

h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 3rem;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

nav a:hover,
nav a.active {
    color: var(--text-main);
    padding-left: 10px;
    border-left: 2px solid var(--accent);
}

.meta-info {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- MAIN CONTENT --- */
.main-content {
    background-color: var(--bg-color);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--grid-gap);
    background-color: var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 640px) {
    .main-content {
        grid-template-columns: 1fr;
    }
}

.card {
    background-color: var(--bg-color);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 300px;
}

.card.double-width {
    grid-column: span 2;
}

.card.full-height {
    grid-row: span 2;
}

@media (max-width: 1100px) {
    .card.double-width {
        grid-column: span 1;
    }
}

h2.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--text-main);
}

/* --- STYLE SPÉCIFIQUE FORMULAIRE --- */
.contact-form {
    display: grid;
    gap: 1.5rem;
    width: 100%;
    max-width: 600px;
}

.form-group {
    position: relative;
}

/* Inputs minimalistes : pas de fond, juste une ligne en bas */
.form-input,
.form-textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    outline: none;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Effet de focus : la ligne devient orange */
.form-input:focus,
.form-textarea:focus {
    border-bottom-color: var(--accent);
}

/* Label flottant (optionnel, ici simplifié en placeholder stylisé) */
::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.submit-btn {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 1rem 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.submit-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* --- LISTE CONTACT --- */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    margin-bottom: 2rem;
}

.contact-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.contact-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-value:hover {
    color: var(--accent);
}