/* Variable & Reset */
:root {
    --bg-color: #f4f1ea;
    /* Papier recyclé */
    --text-color: #2c2c2c;
    /* Encre noir charbon */
    --accent-color: #c0392b;
    /* Rouge cire / Note intense */
    --secondary-color: #7f8c8d;
    /* Gris pierre */
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    /* Clean, modern but classic */
    --font-serif: 'Georgia', serif;
    /* For headings, evoking "Vieux" and "Partitions" */
    --font-mono: 'Courier New', Courier, monospace;
    /* For Lab sheets */
    --spacing-unit: 1rem;
    --max-width: 800px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    padding: 0;
    margin: 0;
    font-size: 16px;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    margin-bottom: var(--spacing-unit);
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-top: 2rem;
}

h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid var(--text-color);
    padding-bottom: 0.5rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.4rem;
}

a {
    color: var(--text-color);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

a:hover {
    color: var(--accent-color);
}

/* Layout */
header {
    text-align: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.logo {
    max-height: 80px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem 0;
}

nav a {
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    font-weight: 600;
}

main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Components */
.hero {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--text-color);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--text-color);
    color: var(--bg-color);
    text-decoration: none;
    border-radius: 2px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background-color: var(--accent-color);
}

.card {
    border: 1px solid var(--text-color);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: #fff;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
}

footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.8rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 4rem;
    color: var(--secondary-color);
}

/* Mobile */
@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    h1 {
        font-size: 2rem;
    }
}

/* Phase 3 Styles */
.lab-sheet {
    font-family: var(--font-mono);
    border: 2px solid var(--text-color);
    padding: 2rem;
    background: #fff;
    margin-top: 2rem;
    position: relative;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.1);
}

.lab-sheet::before {
    content: "FICHE TECHNIQUE #001";
    position: absolute;
    top: -12px;
    left: 20px;
    background: #fff;
    padding: 0 10px;
    font-weight: bold;
    color: var(--accent-color);
}

.tech-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.tech-table th,
.tech-table td {
    border: 1px solid var(--text-color);
    padding: 0.5rem;
    text-align: left;
}

.tech-table th {
    background: #eee;
}

.music-section {
    background: #2c2c2c;
    color: #f4f1ea;
    padding: 2rem;
    text-align: center;
    border-radius: 4px;
    margin: 2rem 0;
}

.music-section h3 {
    color: #f4f1ea;
    border-bottom: 1px solid #f4f1ea;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 2rem;
}

/* Multimedia Layout v1.0.6 - Vertical Stack */
.media-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.embed-container,
.youtube-wrapper {
    width: 100%;
}

.embed-container iframe,
.youtube-wrapper iframe {
    display: block;
    width: 100%;
    border-radius: 4px;
}