@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
    --navy: #0f1f35;
    --navy-mid: #1a3252;
    --accent: #c8a96e;
    --accent-light: #e8d5b0;
    --cream: #f7f3ed;
    --white: #fdfcfa;
    --text-muted: #6b7a8d;
    --border: rgba(15, 31, 53, 0.12);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--cream);
    font-family: 'DM Sans', sans-serif;
    color: var(--navy);
    min-height: 100vh;
}

/* ─── HEADER ─── */

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(247, 243, 237, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 6px;
    align-items: center;
}

nav a {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.2s ease;
    position: relative;
}

nav a:hover { color: var(--navy); background: rgba(15, 31, 53, 0.06); }
nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

nav a.active { color: var(--navy); font-weight: 600; }

nav a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

/* ─── HERO (index) ─── */

.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 40px 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    min-height: calc(90vh - 72px);
}

.hero-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--accent);
}

.hero-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(52px, 6vw, 90px);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -2px;
    color: var(--navy);
    margin-bottom: 16px;
}

.hero-id {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-muted);
    font-style: italic;
}

/* ─── CTA BUTTONS ─── */


.btn {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 11px 22px;
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn-filled {
    background: var(--navy);
    color: var(--cream);
    border: 1px solid var(--navy);
}

.btn-filled:hover {
    background: var(--navy-mid);
    border-color: var(--navy-mid);
    transform: translateY(-1px);
}


/* ─── HERO DECO ─── */

.hero-deco {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    margin-left: auto;
}

.hero-line {
    width: 1px;
    height: 300px;
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
}



/* ─── PAGE BUT1 HEADER ─── */

.page-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 40px 40px;
    border-bottom: 1px solid var(--border);
}

.page-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--navy);
    line-height: 1.1;
}

/* ─── SECTIONS ─── */

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    border-bottom: 1px solid var(--border);
}

.section:last-child { border-bottom: none; }

.section-header {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 50px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
}

/* ─── GRILLE TRAVAUX ─── */

.grille {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.travaux {
    background: var(--white);
    border-radius: 6px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.travaux:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(15, 31, 53, 0.12);
}

.travaux:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.2);
}

.travaux-label {
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

.travaux-label p {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    margin: 0;
}

.travaux-arrow {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--text-muted);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.travaux:hover .travaux-arrow {
    background: var(--accent);
    color: var(--white);
}

/* Image complète, pas de crop */
.travaux a {
    display: block;
    overflow: hidden;
}

.travaux a:focus-visible { outline: none; }

.travaux img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.travaux:hover img { transform: scale(1.04); }

/* ─── FOOTER ─── */

footer {
    border-top: 1px solid var(--border);
    padding: 28px 40px;
    text-align: center;
}

.footer-text {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

/* ─── RESPONSIVE ─── */

@media (max-width: 768px) {
    .header-inner { padding: 0 20px; }

    .hero {
        grid-template-columns: 1fr;
        padding: 60px 20px;
        min-height: unset;
        gap: 40px;
        align-items: start;
    }

    .hero-deco { display: none; }
    .hero-name { font-size: 48px; }
    .hero-actions { flex-direction: column; }
    .btn { text-align: center; }

    .page-header, .section { padding-left: 20px; padding-right: 20px; }
    .grille { grid-template-columns: 1fr; }
    footer { padding: 20px; }
}