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

:root {
    --bg: #0a0a0a;
    --bg-elevated: #141414;
    --bg-card: #111111;
    --text: #f0ece4;
    --text-muted: #8a8580;
    --accent: #c9b99a;
    --accent-dim: rgba(201,185,154,0.12);
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Inter', system-ui, sans-serif;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-weight: 300;
    overflow-x: hidden;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; }

/* ─── Accessibilité ─── */
.skip-link {
    position: absolute; top: -100px; left: 1rem; z-index: 1000;
    background: var(--accent); color: var(--bg);
    padding: 0.8rem 1.5rem; font-size: 0.8rem; letter-spacing: 0.1em;
    border-radius: 0 0 4px 4px; transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 0; }

/* Visible keyboard focus (hidden for mouse users) */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}
.nav__link:focus-visible, .category-card:focus-visible {
    outline-offset: 6px;
}

/* Respecter les préférences de mouvement réduit */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ─── Page visibility ─── */
.page { display: none; }
.page--visible { display: block; }

/* ─── Loader ─── */
.loader {
    position: fixed; inset: 0; z-index: 500;
    background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.loader--hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__inner { text-align: center; }
.loader__text {
    font-family: var(--serif); font-size: 2.4rem; font-weight: 300;
    letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--text); display: block; margin-bottom: 2rem;
}
.loader__bar { width: 120px; height: 1px; background: rgba(255,255,255,0.1); margin: 0 auto; overflow: hidden; }
.loader__progress { width: 0%; height: 100%; background: var(--accent); animation: loaderFill 1.6s var(--ease-out) forwards; }
@keyframes loaderFill { to { width: 100%; } }

/* ─── Navigation ─── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.5rem 3rem;
    background: linear-gradient(to bottom, rgba(10,10,10,0.9), transparent);
    transition: background 0.4s var(--ease), padding 0.3s;
}
.nav--scrolled {
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(12px);
    padding-top: 1rem; padding-bottom: 1rem;
}
.nav__logo {
    font-family: var(--serif); font-size: 1.3rem; font-weight: 300;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--text); transition: opacity 0.3s; z-index: 101;
}
.nav__logo:hover { opacity: 0.7; }

.nav__burger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 0.5rem; z-index: 101;
}
.nav__burger span { display: block; width: 22px; height: 1px; background: var(--text); transition: transform 0.3s, opacity 0.3s; }
.nav__burger--open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav__burger--open span:nth-child(2) { opacity: 0; }
.nav__burger--open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

.nav__links { display: flex; gap: 2rem; }
.nav__link {
    font-size: 0.7rem; font-weight: 400; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--text-muted);
    transition: color 0.3s; position: relative;
}
.nav__link::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1px; background: var(--accent);
    transition: width 0.4s var(--ease);
}
.nav__link:hover, .nav__link--active { color: var(--text); }
.nav__link:hover::after, .nav__link--active::after { width: 100%; }

/* ─── Hero ─── */
.hero__screen {
    position: relative; height: 100vh; width: 100%;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.hero__bg {
    position: absolute; inset: 0; z-index: 0;
    transition: opacity 0.5s, visibility 0.5s;
}
.hero__bg--hidden { visibility: hidden; opacity: 0; }
.hero__bg-img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.35) saturate(0.7);
    animation: heroBgZoom 8s var(--ease) 2s both;
}
@keyframes heroBgZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__bg-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom,
        rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.05) 40%,
        rgba(10,10,10,0.4) 80%, rgba(10,10,10,0.95) 100%);
}

.hero__intro {
    position: relative; z-index: 1; text-align: center;
}
.hero__title {
    font-family: var(--serif);
    font-size: clamp(3rem, 9vw, 8rem);
    font-weight: 300; letter-spacing: 0.2em;
    text-transform: uppercase; line-height: 1;
    color: var(--text);
    animation: heroFadeIn 1.2s var(--ease) 2.2s both;
}
.hero__subtitle {
    margin-top: 0.5rem; font-family: var(--serif);
    font-size: clamp(1rem, 2.5vw, 1.5rem); font-weight: 300;
    font-style: italic; letter-spacing: 0.15em;
    color: var(--text); opacity: 0.6;
    animation: heroFadeIn 1.2s var(--ease) 2.6s both;
}
.hero__scroll-hint {
    margin-top: 3rem; display: flex; flex-direction: column;
    align-items: center; gap: 0.6rem;
    animation: heroFadeIn 1s var(--ease) 3.2s both;
}
.hero__scroll-hint span {
    font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.2em;
    color: var(--text-muted);
}
.hero__scroll-hint svg { color: var(--text-muted); opacity: 0.6; }
.hero__scroll-dot { animation: scrollDot 2s ease-in-out infinite; }
@keyframes scrollDot {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(4px); opacity: 0.3; }
}
@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── Image Gallery Masonry ─── */
.ig {
    position: relative;
    background: var(--bg);
    padding: 4rem 1.5rem;
}
.ig__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}
.ig__col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.ig__item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: var(--bg-elevated);
    border: 1px solid rgba(255,255,255,0.04);
}
.ig__item--portrait { aspect-ratio: 9 / 16; }
.ig__item--landscape { aspect-ratio: 16 / 9; }
.ig__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 1s ease, transform 1s ease;
}
.ig__item.ig__item--visible img {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.ig__item img:hover {
    filter: brightness(1.1);
}

/* ─── Categories section ─── */
.hero__categories {
    background: var(--bg); position: relative; z-index: 2;
    padding: 5rem 3rem 6rem;
}
.hero__categories-header {
    text-align: center; margin-bottom: 3rem;
}
.hero__categories-title {
    font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300; letter-spacing: 0.15em;
}
.hero__categories-sub {
    margin-top: 0.5rem; font-family: var(--serif); font-style: italic;
    font-size: 1rem; color: var(--text-muted); letter-spacing: 0.05em;
}
.hero__categories-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; max-width: 1200px; margin: 0 auto;
}

/* ─── Category Cards ─── */
.category-card {
    position: relative; aspect-ratio: 3/4; overflow: hidden;
    cursor: pointer; display: block;
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.category-card--revealed { opacity: 1; transform: translateY(0); }
.category-card__img {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
    filter: brightness(0.6) saturate(0.8);
}
.category-card:hover .category-card__img { transform: scale(1.05); filter: brightness(0.75) saturate(1); }
.category-card__overlay {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    justify-content: flex-end; padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}
.category-card__number { font-family: var(--serif); font-size: 0.85rem; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 0.5rem; opacity: 0.7; }
.category-card__title { font-family: var(--serif); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 300; letter-spacing: 0.1em; margin-bottom: 0.3rem; }
.category-card__count { font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.15em; text-transform: uppercase; }

/* ─── Gallery ─── */
.gallery { min-height: 100vh; padding: 8rem 3rem 4rem; background: var(--bg); position: relative; z-index: 2; }
.gallery__header {
    display: flex; align-items: center; gap: 1.5rem;
    margin-bottom: 3rem; max-width: 1400px; margin-left: auto; margin-right: auto;
}
.gallery__back, .tarifs__back, .contact__back {
    background: none; border: 1px solid rgba(255,255,255,0.15);
    color: var(--text); width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 1.2rem;
    transition: border-color 0.3s, background 0.3s;
}
.gallery__back:hover, .tarifs__back:hover, .contact__back:hover {
    border-color: var(--accent); background: rgba(255,255,255,0.03);
}
.gallery__title, .tarifs__title, .contact__title {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300; letter-spacing: 0.15em;
}
.gallery__grid { columns: 3; column-gap: 1rem; max-width: 1400px; margin: 0 auto; }
.gallery__item {
    break-inside: avoid; margin-bottom: 1rem; cursor: pointer;
    overflow: hidden; position: relative; background: var(--bg-elevated);
    min-height: 120px;
    animation: itemFadeUp 0.6s var(--ease) both;
    animation-delay: var(--delay, 0s);
}
@keyframes itemFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.gallery__item img {
    width: 100%; display: block;
    filter: brightness(0.85);
    transition: opacity 0.5s var(--ease), filter 0.5s var(--ease), transform 0.5s var(--ease);
    opacity: 0;
}
.gallery__item img.loaded { opacity: 1; }
.gallery__item:hover img.loaded { filter: brightness(1); transform: scale(1.02); }
.gallery__item::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(110deg, var(--bg-elevated) 30%, rgba(255,255,255,0.04) 50%, var(--bg-elevated) 70%);
    background-size: 200% 100%; animation: shimmer 1.5s ease-in-out infinite;
}
.gallery__item--loaded::before { display: none; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ─── Tarifs ─── */
.tarifs { min-height: 100vh; padding: 8rem 3rem 4rem; background: var(--bg); position: relative; z-index: 2; }
.tarifs__header { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.5rem; max-width: 1200px; margin-left: auto; margin-right: auto; }
.tarifs__intro { max-width: 1200px; margin: 0 auto 3rem; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--text-muted); line-height: 1.7; }
.tarifs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.tarif-card {
    position: relative; background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
    padding: 2.5rem 2rem; text-align: center;
    transition: border-color 0.4s, transform 0.4s var(--ease);
}
.tarif-card:hover { border-color: rgba(201,185,154,0.3); transform: translateY(-4px); }
.tarif-card__badge { position: absolute; top: 1rem; right: 1rem; background: var(--accent); color: var(--bg); font-size: 0.6rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.7rem; }
.tarif-card__icon { color: var(--accent); margin-bottom: 1.2rem; }
.tarif-card__title { font-family: var(--serif); font-size: 1.5rem; font-weight: 300; letter-spacing: 0.1em; margin-bottom: 1.2rem; }
.tarif-card__price { margin-bottom: 1.5rem; }
.tarif-card__from { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-muted); margin-bottom: 0.3rem; }
.tarif-card__amount { font-family: var(--serif); font-size: 2.5rem; font-weight: 300; color: var(--accent); }
.tarif-card__features { list-style: none; text-align: left; margin-bottom: 2rem; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.5rem; }
.tarif-card__features li { font-size: 0.8rem; color: var(--text-muted); padding: 0.5rem 0 0.5rem 1.2rem; position: relative; line-height: 1.5; }
.tarif-card__features li::before { content: ''; position: absolute; left: 0; top: 0.85rem; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: 0.6; }
.tarif-card__cta { display: inline-block; padding: 0.8rem 2rem; border: 1px solid var(--accent); color: var(--accent); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; transition: background 0.3s, color 0.3s; }
.tarif-card__cta:hover { background: var(--accent); color: var(--bg); }
.tarifs__note { max-width: 700px; margin: 3rem auto 0; text-align: center; font-size: 0.8rem; color: var(--text-muted); line-height: 1.7; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2rem; }

/* ─── Contact ─── */
.contact { min-height: 100vh; padding: 8rem 3rem 4rem; background: var(--bg); position: relative; z-index: 2; }
.contact__header { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.5rem; max-width: 1200px; margin-left: auto; margin-right: auto; }
.contact__intro { max-width: 1200px; margin: 0 auto 3rem; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--text-muted); line-height: 1.7; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: 1200px; margin: 0 auto; }
.contact__info { display: flex; flex-direction: column; gap: 2rem; }
.contact__item { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.5rem; background: var(--bg-card); border: 1px solid rgba(255,255,255,0.05); transition: border-color 0.3s; }
.contact__item:hover { border-color: rgba(201,185,154,0.2); }
.contact__item-icon { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact__item-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--accent); margin-bottom: 0.3rem; font-weight: 500; }
.contact__item-value { font-size: 1.1rem; font-weight: 400; margin-bottom: 0.2rem; }
.contact__item-note { font-size: 0.75rem; color: var(--text-muted); }
.contact__form-wrapper { background: var(--bg-card); border: 1px solid rgba(255,255,255,0.05); padding: 2.5rem; }
.contact__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.contact__field { display: flex; flex-direction: column; gap: 0.5rem; }
.contact__field--full { grid-column: 1 / -1; }
.contact__label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--accent); font-weight: 500; }
.contact__input { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); color: var(--text); padding: 0.8rem 1rem; font-family: var(--sans); font-size: 0.85rem; font-weight: 300; outline: none; transition: border-color 0.3s; }
.contact__input::placeholder { color: var(--text-muted); opacity: 0.5; }
.contact__input:focus { border-color: var(--accent); }
.contact__select { appearance: none; cursor: pointer; }
.contact__textarea { resize: vertical; min-height: 120px; }
.contact__submit { grid-column: 1 / -1; padding: 1rem 2rem; background: transparent; border: 1px solid var(--accent); color: var(--accent); font-size: 0.75rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.2em; cursor: pointer; transition: background 0.3s, color 0.3s; }
.contact__submit:hover { background: var(--accent); color: var(--bg); }

/* ─── À propos ─── */
.about { min-height: 100vh; padding: 8rem 3rem 4rem; background: var(--bg); position: relative; z-index: 2; }
.about__header { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 3rem; max-width: 1200px; margin-left: auto; margin-right: auto; }
.about__back {
    background: none; border: 1px solid rgba(255,255,255,0.15);
    color: var(--text); width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 1.2rem;
    transition: border-color 0.3s, background 0.3s;
}
.about__back:hover { border-color: var(--accent); background: rgba(255,255,255,0.03); }
.about__title {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300; letter-spacing: 0.15em;
}
.about__content {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
    max-width: 1200px; margin: 0 auto; align-items: center;
}
.about__image-wrapper {
    position: relative; overflow: hidden;
    aspect-ratio: 3/4;
    border: 1px solid rgba(255,255,255,0.06);
}
.about__image {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.9) saturate(0.9);
    transition: filter 0.5s var(--ease), transform 0.8s var(--ease);
}
.about__image-wrapper:hover .about__image { filter: brightness(1) saturate(1); transform: scale(1.02); }
.about__profile { margin-bottom: 1.5rem; }
.about__profile-img {
    width: 120px; height: 120px; border-radius: 50%;
    object-fit: cover; object-position: center;
    border: 3px solid var(--accent);
    box-shadow: 0 6px 24px rgba(0,0,0,0.45), 0 0 0 6px rgba(201,185,154,0.08);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
    background: var(--bg-elevated);
}
.about__profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0,0,0,0.55), 0 0 0 6px rgba(201,185,154,0.18);
}
.about__heading {
    font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 300; letter-spacing: 0.1em; margin-bottom: 1.5rem;
    color: var(--accent);
}
.about__text {
    font-size: 0.95rem; line-height: 1.9; color: var(--text-muted);
    margin-bottom: 2rem;
}
.about__text p { margin-bottom: 1rem; }
.about__text p:last-child { margin-bottom: 0; }
.about__signature {
    font-family: var(--serif); font-size: 1.8rem; font-style: italic;
    color: var(--text); letter-spacing: 0.05em; margin-bottom: 2rem;
    opacity: 0.7;
}
.about__cta {
    display: inline-block; padding: 0.9rem 2.5rem;
    border: 1px solid var(--accent); color: var(--accent);
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em;
    transition: background 0.3s, color 0.3s;
}
.about__cta:hover { background: var(--accent); color: var(--bg); }

/* ─── Contact form confirmation ─── */
.contact__success {
    display: none; text-align: center; padding: 3rem 2rem;
}
.contact__success--visible { display: block; }
.contact__success-icon { font-size: 3rem; margin-bottom: 1rem; }
.contact__success-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 300; margin-bottom: 0.5rem; }
.contact__success-text { font-size: 0.85rem; color: var(--text-muted); }

/* ─── Lightbox ─── */
.lightbox {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(0,0,0,0.96);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.lightbox--visible { opacity: 1; visibility: visible; }
.lightbox__container { max-width: 90vw; max-height: 85vh; display: flex; align-items: center; justify-content: center; }
.lightbox__img { max-width: 100%; max-height: 85vh; object-fit: contain; opacity: 1; transition: opacity 0.2s var(--ease); }
.lightbox__img--fade { opacity: 0; }
.lightbox__close, .lightbox__prev, .lightbox__next { position: absolute; background: none; border: none; color: var(--text); cursor: pointer; padding: 1rem; opacity: 0.5; transition: opacity 0.3s, transform 0.3s; z-index: 10; }
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { opacity: 1; }
.lightbox__close { top: 1.5rem; right: 2rem; font-size: 2rem; }
.lightbox__prev { left: 2rem; top: 50%; transform: translateY(-50%); }
.lightbox__prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox__next { right: 2rem; top: 50%; transform: translateY(-50%); }
.lightbox__next:hover { transform: translateY(-50%) translateX(3px); }
.lightbox__info { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); text-align: center; }
.lightbox__counter { font-size: 0.75rem; letter-spacing: 0.2em; color: var(--text-muted); display: block; }
.lightbox__caption { font-family: var(--serif); font-size: 0.9rem; font-style: italic; color: var(--text); opacity: 0.6; display: block; margin-top: 0.3rem; }

/* ─── Scroll to top ─── */
.scroll-top {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 90;
    width: 44px; height: 44px;
    border: 1px solid rgba(255,255,255,0.15); border-radius: 50%;
    background: rgba(10,10,10,0.8); backdrop-filter: blur(8px);
    color: var(--text); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, border-color 0.3s, background 0.3s;
}
.scroll-top--visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { border-color: var(--accent); background: var(--accent-dim); }

/* ─── Footer ─── */
.footer {
    background: var(--bg); position: relative; z-index: 3;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer__inner {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem; max-width: 1200px; margin: 0 auto; padding: 4rem 3rem 3rem;
}
.footer__logo { font-family: var(--serif); font-size: 1.6rem; font-weight: 300; letter-spacing: 0.15em; text-transform: uppercase; display: block; margin-bottom: 0.8rem; }
.footer__tagline { font-size: 0.8rem; font-style: italic; color: var(--text-muted); font-family: var(--serif); }
.footer__heading { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.footer__link { display: block; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.6rem; transition: color 0.3s; cursor: pointer; }
.footer__link:hover { color: var(--text); }
.footer__text { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.footer__socials { display: flex; gap: 0.8rem; margin-top: 0.8rem; }
.footer__social { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: border-color 0.3s, color 0.3s, background 0.3s; }
.footer__social:hover { border-color: var(--accent); color: var(--text); background: var(--accent-dim); }
.footer__bottom { text-align: center; padding: 1.5rem 3rem; border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.65rem; letter-spacing: 0.15em; color: var(--text-muted); }

/* ─── Responsive ─── */
@media (max-width: 900px) {
    .nav__burger { display: flex; }
    .nav__links {
        position: fixed; inset: 0;
        background: rgba(10,10,10,0.98); backdrop-filter: blur(20px);
        flex-direction: column; align-items: center; justify-content: center;
        gap: 2.5rem; opacity: 0; visibility: hidden;
        transition: opacity 0.4s, visibility 0.4s;
    }
    .nav__links--open { opacity: 1; visibility: visible; }
    .nav__links--open .nav__link { font-size: 1.2rem; padding: 0.5rem 1rem; }
    .nav { padding: 1.2rem 1.5rem; }

    .hero__title { letter-spacing: 0.12em; }
    .hero__categories-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .hero__categories { padding: 3rem 1.5rem 4rem; }
    .category-card { aspect-ratio: 16/9; }
    .gallery__grid { columns: 2; }
    .gallery { padding: 6rem 1rem 3rem; }
    .gallery__header { margin-bottom: 2rem; gap: 1rem; padding: 0 0.5rem; }
    .ig__grid { grid-template-columns: repeat(2, 1fr); }
    .ig { padding: 3rem 1rem; }

    .tarifs__grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .tarifs, .contact, .about { padding: 6rem 1.5rem 3rem; }
    .tarifs__header, .contact__header, .about__header { margin-bottom: 2rem; gap: 1rem; }
    .tarifs__intro, .contact__intro { font-size: 0.95rem; margin-bottom: 2rem; }
    .contact__grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact__form { grid-template-columns: 1fr; }
    .contact__form-wrapper { padding: 1.5rem; }
    .contact__item { padding: 1.2rem; }

    .about__content { grid-template-columns: 1fr; gap: 2rem; }
    .about__image-wrapper { max-width: 400px; margin: 0 auto; aspect-ratio: 4/5; }

    .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 3rem 1.5rem 2rem; }

    /* Bigger touch targets */
    .gallery__back, .tarifs__back, .contact__back, .about__back { width: 44px; height: 44px; }
    .tarif-card__cta, .about__cta { padding: 1rem 2rem; font-size: 0.75rem; }
    .contact__submit { padding: 1.1rem 2rem; font-size: 0.8rem; }
}

@media (max-width: 550px) {
    .hero__title { font-size: clamp(2.2rem, 12vw, 3.5rem); letter-spacing: 0.08em; }
    .hero__subtitle { font-size: clamp(0.85rem, 3.5vw, 1.1rem); }
    .hero__scroll-hint { margin-top: 2rem; }

    .gallery__grid { columns: 1; }
    .gallery { padding: 5.5rem 1rem 2rem; }
    .gallery__title, .tarifs__title, .contact__title, .about__title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .ig__grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
    .ig { padding: 2rem 0.6rem; }

    .hero__categories-title { font-size: clamp(1.5rem, 6vw, 2rem); }
    .hero__categories-sub { font-size: 0.85rem; }
    .hero__categories { padding: 2.5rem 1rem 3rem; }
    .hero__categories-grid { gap: 1rem; }
    .category-card__title { font-size: 1.3rem; }
    .category-card__overlay { padding: 1.2rem; }

    .tarifs, .contact, .about { padding: 5.5rem 1rem 2rem; }
    .tarif-card { padding: 2rem 1.5rem; }
    .tarif-card__amount { font-size: 2rem; }
    .tarif-card__features li { font-size: 0.78rem; }

    .contact__form-wrapper { padding: 1.2rem; }
    .contact__input { padding: 0.9rem 1rem; font-size: 0.9rem; }
    .contact__item { flex-direction: column; gap: 0.8rem; padding: 1rem; }
    .contact__item-value { font-size: 1rem; }

    .about__content { gap: 1.5rem; }
    .about__image-wrapper { max-width: 100%; aspect-ratio: 1/1; }
    .about__profile-img { width: 90px; height: 90px; }
    .about__heading { font-size: 1.4rem; margin-bottom: 1rem; }
    .about__text { font-size: 0.88rem; line-height: 1.8; }
    .about__signature { font-size: 1.4rem; margin-bottom: 1.5rem; }

    .lightbox__prev { left: 0.3rem; padding: 0.8rem; }
    .lightbox__next { right: 0.3rem; padding: 0.8rem; }
    .lightbox__close { top: 0.8rem; right: 0.8rem; font-size: 1.8rem; }
    .lightbox__info { bottom: 1rem; }
    .lightbox__container { max-width: 95vw; }

    .footer__inner { grid-template-columns: 1fr; text-align: center; padding: 2.5rem 1rem 1.5rem; gap: 1.5rem; }
    .footer__socials { justify-content: center; }
    .footer__logo { font-size: 1.3rem; }
    .footer__bottom { padding: 1rem; font-size: 0.6rem; }
    .footer__tagline { font-size: 0.75rem; }

    .scroll-top { bottom: 1.2rem; right: 1.2rem; width: 40px; height: 40px; }
}
