:root {
    --black: #0b0d10;
    --gold: #c6a86b;
    --ivory: #f6f5f2;
    --grey: #9ca3af;
    --white: #ffffff;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BASE */
body {
    font-family: "Inter", system-ui, sans-serif;
    background: var(--ivory);
    color: var(--black);
    line-height: 1.7;
    letter-spacing: 0.2px;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
}

/* HEADER */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(11,13,16,0.75);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 78px;
}

.logo {
    font-family: "Playfair Display", serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 3px;
}

nav a {
    margin-left: 32px;
    text-decoration: none;
    color: #e5e7eb;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    background: var(--gold);
    left: 0;
    bottom: -6px;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* HERO */
.hero {
    min-height: 100vh;
    background:
        linear-gradient(to bottom, rgba(11,13,16,0.85), rgba(11,13,16,0.95)),
        url("https://mgi-groupe.fr/BG.png") center/cover no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 78px;
}

.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.hero p {
    color: #d1d5db;
    font-size: 1.2rem;
    max-width: 700px;
    margin: auto;
}

/* BOUTON */
.btn {
    display: inline-block;
    margin-top: 40px;
    padding: 16px 42px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--gold);
    color: var(--black);
}

/* SECTIONS */
.section {
    padding: 120px 0;
}

.section h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.4rem;
    margin-bottom: 32px;
    position: relative;
}

.section h2::after {
    content: "";
    width: 60px;
    height: 2px;
    background: var(--gold);
    position: absolute;
    bottom: -12px;
    left: 0;
}

.section p {
    max-width: 750px;
    color: #374151;
}

/* SERVICES */
.section.alt {
    background: var(--white);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.card {
    padding: 50px 40px;
    border: 1px solid #e5e7eb;
    background: var(--ivory);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.08);
}

.card h3 {
    font-family: "Playfair Display", serif;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

/* CONTACT */
.contact p {
    font-size: 1.05rem;
    margin-bottom: 12px;
}

/* FOOTER */
.footer {
    background: var(--black);
    color: #9ca3af;
    padding: 50px 0;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer a {
    color: #9ca3af;
    margin-left: 20px;
    text-decoration: none;
    font-size: 0.85rem;
}

.footer a:hover {
    color: var(--gold);
}

/* MOBILE */
@media (max-width: 900px) {
    nav {
        display: none;
    }

    .hero {
        padding: 140px 0 100px;
    }
}
