/* Configuration Design */
:root {
    --brand-dark: #0f1a2b;
    --brand-gold: #d4af37;
    --main-radius: 18px; /* Rayon d'arrondi pour la cohérence avec le logo */
}

/* Navigation Custom Styles */
.nav-container {
    position: fixed;
    width: 100%;
    z-index: 50;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 2.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-scrolled {
    background-color: rgba(15, 26, 43, 0.9);
    backdrop-filter: blur(15px);
    padding: 1rem 3rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.logo img {
    transition: transform 0.4s ease;
}

.nav-links {
    display: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 3.5rem;
        text-transform: uppercase;
        font-size: 0.7rem;
        letter-spacing: 0.25em;
        font-weight: 300;
    }
    .nav-links a {
        position: relative;
        transition: color 0.3s ease;
    }
    .nav-links a:hover {
        color: var(--brand-gold);
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1); /* Zoom léger pour effet de profondeur */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 26, 43, 0.3), rgba(15, 26, 43, 0.7));
    z-index: 10;
}

.hero-content {
    position: relative;
    z-index: 20;
    text-align: center;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.5rem, 12vw, 7rem);
    margin-bottom: 1rem;
    font-style: italic;
    font-weight: 300;
    line-height: 1;
}

.hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Bouton Arrondi */
.gold-border-btn {
    border: 1px solid var(--brand-gold);
    padding: 1.2rem 3rem;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: inline-block;
    transition: all 0.5s ease;
    border-radius: var(--main-radius);
}

.gold-border-btn:hover {
    background-color: var(--brand-gold);
    color: var(--brand-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Masonry Grid & Image Radius */
/* Masonry Grid - Luxe Épuré & Arrondi */
.masonry {
    column-count: 2; /* 2 colonnes sur mobile pour ne pas tasser */
    column-gap: 0.8rem; /* Espace horizontal très fin et élégant */
    max-width: 1600px; /* Largeur augmentée pour remplir l'écran */
    margin: 0 auto;
    padding: 0 1rem; /* Petite marge de sécurité sur les bords de l'écran */
}

@media (min-width: 768px) {
    .masonry {
        column-count: 3; /* 3 colonnes sur tablette */
        column-gap: 1rem;
    }
}

@media (min-width: 1200px) {
    .masonry {
        column-count: 4; /* 4 colonnes sur grand écran pour des images plus petites */
        column-gap: 1.2rem;
    }
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 2.5rem; /* Respiration verticale généreuse conservée */
    overflow: hidden; /* Important pour que l'arrondi suive le zoom */
    border-radius: 12px; /* Arrondi élégant et moderne */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Ombre très légère de base */
}

.masonry-item img {
    width: 100%;
    display: block;
    /* On enlève le border-radius ici, il est géré par le parent (.masonry-item) */
    filter: grayscale(100%) contrast(110%);
    opacity: 0.9; /* Légère transparence pour fusionner avec le fond sombre */
    transition: 
        filter 0.8s cubic-bezier(0.165, 0.84, 0.44, 1),
        transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1),
        opacity 0.8s ease;
    cursor: pointer;
}

.masonry-item img:hover {
    filter: grayscale(0%) contrast(100%);
    opacity: 1;
    transform: scale(1.04); /* Zoom très doux et progressif */
}

/* Service Cards Arrondies */
.service-card {
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 3rem;
    transition: all 0.5s ease;
    border-radius: var(--main-radius);
    background: rgba(26, 58, 95, 0.05);
}

.service-card:hover {
    border-color: var(--brand-gold);
    background: rgba(212, 175, 55, 0.03);
    transform: translateY(-5px);
}

.service-number {
    color: var(--brand-gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.service-line {
    width: 2.5rem;
    height: 1px;
    background-color: var(--brand-gold);
    margin-top: 2rem;
    transition: width 0.6s ease;
}

.service-card:hover .service-line {
    width: 100%;
}

/* Footer */
.footer {
    padding: 6rem 0 3rem 0;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    text-align: center;
}

.footer-cta {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-style: italic;
    color: var(--brand-gold);
    margin-bottom: 2.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

.social-links a {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.social-links a:hover {
    color: var(--brand-gold);
    opacity: 1;
}

.copyright {
    font-size: 0.6rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    opacity: 0.3;
}

.gold-line {
    width: 4rem;
    height: 1px;
    background-color: var(--brand-gold);
    margin: 0 auto;
}