/* ===== VARIABLES & RESET ===== */
:root {
    --gold: #c9a84c;
    --gold-light: #e0c06a;
    --black: #0a0a0a;
    --dark: #111;
    --dark2: #161616;
    --text: #e8e8e8;
    --muted: #888;
    --border: rgba(255, 255, 255, 0.07);
    --font-display: 'Cinzel', serif;
    --font-body: 'Cormorant Garamond', serif;
    --font-ui: 'Raleway', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 16px 48px;
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: padding 0.3s ease;
}

.nav.scrolled {
    padding: 10px 48px;
}

.logo {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 6px;
    color: #fff;
    text-transform: uppercase;
}

.Annexes {
    display: flex;
    flex: 1;
    justify-content: center;
    gap: 4px;
}

.Annexes a {
    color: #999;
    text-decoration: none;
    font-family: var(--font-ui);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    padding: 9px 18px;
    border-radius: 3px;
    transition: color 0.2s, background 0.2s;
    display: inline-flex;
    align-items: center;
}

.Annexes a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.btn-rdv {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: var(--gold);
    color: #0a0a0a;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 2px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}

.btn-rdv:hover {
    background: var(--gold-light);
    transform: scale(1.02);
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 1px;
    background: #fff;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.2s;
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu a {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s;
}

.mobile-menu.open a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.open a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.25s; }

.mobile-menu a:hover { color: var(--gold); }

.btn-rdv-mobile {
    font-family: var(--font-ui) !important;
    font-size: 13px !important;
    letter-spacing: 2px !important;
    padding: 14px 32px !important;
    background: var(--gold);
    color: #0a0a0a !important;
    font-weight: 700 !important;
    border-radius: 2px;
}

/* ===== HERO VIDEO ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10,10,10,0.3) 0%,
        rgba(10,10,10,0.55) 60%,
        rgba(10,10,10,0.92) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 24px;
}

.hero-eyebrow {
    font-family: var(--font-ui);
    font-size: 11px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.3s forwards;
    padding-top : 8%;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 80px);
    font-weight: 400;
    color: #fff;
    letter-spacing: 3px;
    line-height: 1.2;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.9s ease 0.55s forwards;
}

.hero-title em {
    font-style: italic;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1em;
}

.hero-sub {
    font-family: var(--font-body);
    font-size: 18px;
    font-style: italic;
    color: rgba(255,255,255,0.6);
    letter-spacing: 1px;
    margin-bottom: 44px;
    opacity: 0;
    animation: fadeUp 0.9s ease 0.75s forwards;
}

.hero-cta {
    opacity: 0;
    animation: fadeUp 0.9s ease 0.95s forwards;
    padding: 14px 36px;
    font-size: 12px;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255,255,255,0.3);
    font-size: 20px;
    animation: bounce 2s infinite;
    letter-spacing: 0;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* ===== SEPARATEURS ===== */
.separator {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 72px auto;
    max-width: 320px;
}

.separator span:not(.sep-diamond) {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    opacity: 0.5;
}

.sep-diamond {
    width: 8px;
    height: 8px;
    border: 1px solid var(--gold);
    transform: rotate(45deg);
    flex-shrink: 0;
}

/* ===== CONTENU PRINCIPAL ===== */
.header {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 32px 100px;
}

.intro-text {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 300;
    color: #aaa;
    line-height: 2;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    font-style: italic;
}

/* ===== CATALOGUE ===== */
.cataloguephotos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 0;
}

.photo-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    aspect-ratio: 3 / 4;
    cursor: pointer;
}

.photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
    filter: brightness(0.8);
}

.photo-hover {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.4s ease;
}

.photo-hover span {
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #fff;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.photo-wrap:hover img {
    transform: scale(1.06);
    filter: brightness(0.45);
}

.photo-wrap:hover .photo-hover {
    background: rgba(0, 0, 0, 0.3);
}

.photo-wrap:hover .photo-hover span {
    opacity: 1;
    transform: translateY(0);
}

/* ===== POURQUOI — CARTES ===== */
.Pourquoi {
    margin: 0;
}

.Pourquoi h2,
.section-title {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 5px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 52px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.card {
    background: var(--dark);
    padding: 44px 28px;
    text-align: center;
    transition: background 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: background 0.3s ease, opacity 0.6s ease, transform 0.6s ease;
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card:nth-child(1) { transition-delay: 0s; }
.card:nth-child(2) { transition-delay: 0.1s; }
.card:nth-child(3) { transition-delay: 0.2s; }
.card:nth-child(4) { transition-delay: 0.3s; }

.card:hover {
    background: #1a1a1a;
}

.card-icon {
    font-size: 18px;
    color: var(--gold);
    margin-bottom: 20px;
    display: block;
}

.card h3 {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
}

.card p {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--muted);
    line-height: 1.8;
    font-style: italic;
}

/* ===== INFO ===== */
.info {
    margin: 0;
}

.container {
    font-family: var(--font-body);
    font-size: 18px;
    font-style: italic;
    color: #999;
    line-height: 2;
    padding: 44px 52px;
    background: var(--dark);
    border-radius: 3px;
    border-left: 1px solid var(--gold);
    text-align: center;
}

/* ===== CONTACT ===== */
.contact-section { margin: 0; }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.contact-card {
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 44px 32px;
    text-align: center;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.contact-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    background: #141414;
}

.contact-icon {
    font-size: 22px;
    color: var(--gold);
    margin-bottom: 16px;
    opacity: 0.7;
}

.contact-label {
    font-family: var(--font-ui);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.contact-value {
    font-family: var(--font-body);
    font-size: 17px;
    color: #ccc;
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--border);
    padding-top: 40px;
    margin-top: 72px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.footer-socials {
    display: flex;
    gap: 32px;
    align-items: center;
}

.social-link {
    font-family: var(--font-ui);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.social-link:hover {
    color: var(--gold);
}

.footer-copy {
    font-family: var(--font-ui);
    font-size: 11px;
    color: #333;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ===== PARALLAXE ===== */
.photo-wrap img {
    will-change: transform;
}

/* ===== ANIMATION SCROLL (intersection observer) ===== */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

    /* NAVBAR */
    .nav {
        padding: 14px 24px;
    }

    .Annexes,
    .btn-rdv {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* HERO */
    .hero-title {
        font-size: 36px;
    }

    .hero-sub {
        font-size: 15px;
    }

    /* HEADER */
    .header {
        padding: 0 20px 64px;
    }

    .separator {
        margin: 48px auto;
    }

    /* CATALOGUE */
    .cataloguephotos {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .photo-wrap {
        aspect-ratio: 4 / 3;
    }

    /* CARTES */
    .cards-grid {
        grid-template-columns: 1fr 1fr;
    }

    .card {
        padding: 32px 20px;
    }

    /* CONTACT */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .contact-card {
        padding: 28px 24px;
    }

    /* INFO */
    .container {
        padding: 28px 24px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .logo {
        font-size: 16px;
        letter-spacing: 4px;
    }
}