@import "https://fonts.googleapis.com/css2?family=Italiana&family=Manrope:wght@300;400;500&display=swap";

:root { --bg: #0a0a0a; --text: #e0e0e0; --accent: #d4af37; }
* { box-sizing: border-box; }
body.has-custom-cursor * { cursor: none; }
html { scroll-behavior: auto !important; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body { background-color: var(--bg); color: var(--text); font-family: 'Manrope', sans-serif; margin: 0; overflow-x: hidden; }
body::before { content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 50% 50%, #1a1a1a 0%, #050505 80%); z-index: -2; }
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
      radial-gradient(900px 500px at 10% -10%, rgba(212,175,55,0.08), transparent 60%),
      radial-gradient(700px 400px at 90% 120%, rgba(255,255,255,0.05), transparent 60%);
    pointer-events: none;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0;
    z-index: 1000000;
    background: linear-gradient(90deg, #d4af37, #f5deb3);
}

.fx-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fx-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-depth {
    will-change: transform, opacity;
    transform: translate3d(0, calc(var(--sd-y, 0px) + var(--sd-extra-y, 0px)), 0) scale(var(--sd-scale, 1));
    opacity: var(--sd-o, 1);
    transform-origin: center top;
}

body.page-home { --home-scroll: 0; }
body.page-home header {
    transition: background-color .2s ease, backdrop-filter .2s ease;
    background: rgba(5, 5, 5, calc(var(--home-scroll) * 0.55));
    backdrop-filter: blur(calc(var(--home-scroll) * 7px));
}
body.page-home .hero-section.scroll-depth {
    --sd-extra-y: calc(var(--home-scroll) * -12vh);
    --sd-scale: calc(1 - (var(--home-scroll) * 0.1));
    filter: saturate(calc(1 - (var(--home-scroll) * 0.2)));
}
body.page-home .reviews-section.scroll-depth {
    --sd-extra-y: calc(var(--home-scroll) * -3vh);
}

.big-text, .logo, .preloader-text { font-family: 'Italiana', serif; }
.btn-link, .hero-sub, nav a { text-transform: uppercase; }
.btn-delete, .btn-primary, .logo { font-weight: 700; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
::selection { background: var(--accent); color: #000; }

header { position: fixed; width: 100%; padding: 30px 60px; z-index: 100; display: flex; justify-content: space-between; top: 0; mix-blend-mode: exclusion; }
.logo { font-size: 1.8rem; display: inline-block; transition: transform 0.1s linear; }
nav { gap: 50px; display: flex; }
nav a { font-size: 0.85rem; letter-spacing: 2px; position: relative; padding-bottom: 5px; display: inline-block; transition: transform 0.1s linear; }
nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: #fff; transition: width 0.4s; }
nav a:hover::after { width: 100%; }

.hero-section { height: 100vh; display: flex; justify-content: center; align-items: center; flex-direction: column; text-align: center; }
.big-text { font-size: 8vw; line-height: 1; margin: 0; }
.hero-sub {
    margin: 20px 0 0;
    color: rgba(255,255,255,0.72);
    letter-spacing: 2px;
    font-size: 0.82rem;
    text-transform: uppercase;
}
.scroll-cue {
    margin-top: 34px;
    color: #8d949c;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 18px;
}
.scroll-cue::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 1px;
    height: 14px;
    background: linear-gradient(to bottom, rgba(212,175,55,.95), rgba(212,175,55,0));
    animation: cuePulse 1.6s ease-in-out infinite;
}
@keyframes cuePulse {
    0%, 100% { opacity: .35; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(3px); }
}
.reveal-text-wrap { overflow: hidden; display: inline-block; vertical-align: bottom; }
.reveal-text { display: block; transform: translateY(100%); opacity: 0; transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s; }
.reveal-text.visible { transform: translateY(0); opacity: 1; }

.section-title {
    text-align:center;
    font-family:'Italiana';
    font-size:2rem;
    margin-bottom:80px;
    padding-top: 50px;
    border-top: 1px solid #222;
}

.reviews-section { padding: 30px 0; margin-bottom: 80px; overflow: hidden; background: transparent; -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%); border-bottom: 1px solid rgba(255,255,255,0.05); border-top: 1px solid rgba(255,255,255,0.05); position: relative; }
.reviews-section-home { margin-top: -14px; margin-bottom: 34px; }
.reviews-inner { width: 100%; overflow: hidden; position: relative; top: 0; }
.marquee-track { display: inline-flex; gap: 120px; animation: marquee 120s linear infinite; padding-left: 100%; align-items: center; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }
.review-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    min-width: 300px;
    max-width: 520px;
    min-height: 0;
    gap: 8px;
    text-align: center;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}
.client-name { font-family: 'Manrope', sans-serif; font-size: 0.8rem; color: #d4af37; font-weight: bold; text-transform: uppercase; letter-spacing: 2px; margin: 0; }
.review-text {
    font-family: 'Italiana', serif;
    font-size: 1.5rem;
    color: #fff;
    line-height: 1.2;
    margin: 0;
    white-space: normal;
}
.stars { color: #8f8f8f; font-size: 0.8rem; letter-spacing: 3px; margin: 0; }

.container { max-width: 1400px; margin: 0 auto; padding-bottom: 150px; }
.project-row { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: center; margin-bottom: 180px; opacity: 0; transform: translateY(50px); transition: 1s; }
.project-row.visible { opacity: 1; transform: translateY(0); }
.project-row:nth-child(2n) { grid-template-columns: 7fr 5fr; }
.project-row:nth-child(2n) .project-info { order: 2; }
.project-row:nth-child(2n) .project-img-wrap { order: 1; }
.project-info { padding: 20px; }
.project-num { display: block; font-family: 'Italiana'; font-size: 1.5rem; margin-bottom: 20px; color: #555; border-bottom: 1px solid #333; padding-bottom: 10px; width: 50px; }
.project-title { font-family: 'Italiana'; font-size: 3.5rem; margin: 0 0 20px 0; line-height: 1.1; }
.project-desc { color: #999; line-height: 1.8; margin-bottom: 30px; font-size: 1rem; }
.btn-link { letter-spacing: 2px; font-size: 0.8rem; border-bottom: 1px solid #555; padding-bottom: 5px; display: inline-block; transition: transform 0.1s linear; }
.project-img-wrap { height: 70vh; width: 100%; overflow: hidden; position: relative; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); }
.project-img { width: 100%; height: 115%; object-fit: cover; transition: transform 0.35s ease; will-change: transform; transform: translate3d(var(--mx, 0px), var(--my, 0px), 0) scale(var(--scale, 1)); }
.project-img-wrap:hover .project-img { --scale: 1.03; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; gap: 20px; padding-bottom: 150px; grid-auto-flow: dense; }
.gallery-card { display: block; opacity: 0; transform: translateY(30px); transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1); overflow: hidden; width: 100%; height: 100%; position: relative; border-radius: 10px; border: 1px solid rgba(255,255,255,0.08); }
.gallery-card.visible { opacity: 1; transform: translateY(0); }
.gallery-card:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
.gallery-card:nth-child(6n+2) { grid-column: span 1; grid-row: span 2; }
.gallery-card:nth-child(6n+3), .gallery-card:nth-child(6n+4) { grid-column: span 1; grid-row: span 1; }
.gallery-card:nth-child(6n+5), .gallery-card:nth-child(6n+6) { grid-column: span 2; grid-row: span 1; }
.gallery-img-wrap { width: 100%; height: 100%; position: relative; }
.gallery-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease, filter 0.35s ease; filter: brightness(0.9); will-change: transform; transform: translate3d(var(--mx, 0px), var(--my, 0px), 0) scale(var(--scale, 1)); }
.gallery-card:hover .gallery-img { --scale: 1.05; filter: brightness(1); }
.gallery-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.3); display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; z-index: 2; opacity: 0; transition: opacity 0.4s; }
.gallery-card:hover .gallery-overlay { opacity: 1; }
.gallery-title { font-family: 'Italiana', serif; font-size: 2rem; color: #fff; margin: 0 0 10px 0; transform: translateY(20px); transition: transform 0.4s; }
.gallery-meta { font-family: 'Manrope', sans-serif; font-size: 0.8rem; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 2px; transform: translateY(20px); transition: transform 0.4s 0.1s; }
.gallery-card:hover .gallery-title, .gallery-card:hover .gallery-meta { transform: translateY(0); }

.filter-menu { display: flex; justify-content: center; gap: 30px; margin-bottom: 60px; flex-wrap: wrap; }
.filter-btn { color: #888; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; cursor: pointer; transition: 0.3s; padding: 10px; display: inline-block; }
.filter-btn:hover, .filter-btn.active { color: var(--accent); }

.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 9999999; display: flex; justify-content: center; align-items: center; opacity: 0; transition: 0.3s; pointer-events: none; }
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox-content { position: relative; max-width: 90%; max-height: 90%; display: flex; flex-direction: column; align-items: center; }
.lightbox-img { max-width: 90%; max-height: 80vh; box-shadow: 0 0 30px rgba(0,0,0,0.5); }
.lightbox-info { margin-top: 15px; text-align: center; color: white; max-width: 600px; }
.lb-title { font-family: 'Italiana', serif; font-size: 1.5rem; margin: 0 0 5px 0; color: var(--accent); }
.lb-desc { font-family: 'Manrope', sans-serif; font-size: 0.9rem; color: #ccc; margin: 0; }
.lightbox-close, .lightbox-next, .lightbox-prev { position: absolute; color: #fff; font-size: 2rem; cursor: pointer; padding: 20px; z-index: 10; transition: 0.3s; }
.lightbox-close { top: 20px; right: 20px; font-family: sans-serif; }
.lightbox-next { top: 50%; right: 20px; transform: translateY(-50%); }
.lightbox-prev { top: 50%; left: 20px; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-next:hover, .lightbox-prev:hover { color: var(--accent); }

.page-transition-curtain { position: fixed; inset: 0; background: #000; z-index: 999999; transform: translateY(100%); pointer-events: none; transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1); visibility: hidden; }
.page-transition-curtain.active { transform: translateY(0); pointer-events: all; visibility: visible; }
.page-transition-curtain.exit { transform: translateY(-100%); }
.preloader { position: fixed; inset: 0; background: #000; z-index: 99999; display: flex; justify-content: center; align-items: center; transition: transform 1.2s cubic-bezier(0.8, 0, 0.2, 1); }
.preloader.hidden { transform: translateY(-100%); }
.preloader-text { font-size: 3rem; color: #fff; }

.cursor { position: fixed; top: 0; left: 0; width: 30px; height: 30px; background: transparent; border: 1px solid #fff; border-radius: 50%; z-index: 10000; transform: translate(-50%, -50%); transition: transform 0.2s ease-out, width 0.3s, height 0.3s, border-color 0.3s; pointer-events: none; }
.cursor.active { transform: translate(-50%, -50%) scale(2.5); border: 1px solid rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); }

footer { margin-top: 150px; padding: 80px 0 40px 0; border-top: 1px solid rgba(255,255,255,0.1); background: #050505; position: relative; z-index: 10; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 40px; }
.footer-col h4 { font-family: 'Italiana', serif; font-size: 1.5rem; margin-bottom: 25px; color: #fff; }
.footer-col p { color: #666; font-size: 0.9rem; line-height: 1.6; max-width: 300px; }
.footer-links a { display: block; color: #888; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px; position: relative; transition: 0.3s; width: fit-content; }
.footer-links a:hover { color: #fff; padding-left: 10px; }
.copyright { text-align: center; margin-top: 80px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); color: #333; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 3px; }

.page-legal .container.legal-container { padding-top: 150px; max-width: 920px; }
.legal-title { font-family:'Italiana'; font-size: clamp(2rem, 5vw, 3.3rem); margin: 0 0 12px; }
.legal-updated { color:#6f7780; text-transform: uppercase; letter-spacing: 1px; font-size: 0.74rem; margin: 0 0 40px; }
.legal-block {
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0 0 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.legal-block h3 {
    font-family: 'Italiana', serif;
    font-size: 1.45rem;
    margin: 0 0 10px;
    color: #fff;
}
.legal-block p { color:#b8bec5; line-height: 1.8; margin: 0 0 10px; }
.legal-block a { color: #d4af37; text-decoration: underline; text-underline-offset: 3px; }
.legal-return { margin-top: 100px; padding-bottom: 50px; border-top: 1px solid #333; padding-top: 20px; }

.page-tarif .tarif-container { padding-top: 170px; max-width: 980px; padding-left: 26px; padding-right: 26px; }
.page-tarif header { mix-blend-mode: normal; }
.page-tarif .tarif-container::before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212,175,55,.45), transparent);
    margin-bottom: 34px;
}
.tarif-hero { text-align: center; margin-bottom: 70px; }
.tarif-kicker {
    margin: 0;
    color: #9da4ad;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: .72rem;
}
.tarif-hero h1 {
    font-family: 'Italiana', serif;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    margin: 14px 0 12px;
    line-height: 1;
}
.tarif-intro {
    margin: 0 auto;
    max-width: 620px;
    color: #a8afb8;
    line-height: 1.8;
}
.tarif-topline {
    margin: -28px 0 38px;
    text-align: center;
}
.tarif-topline p {
    margin: 0;
    color: #7f8892;
    font-size: .8rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}
.tarif-block {
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.tarif-block-title,
.tarif-note h2 {
    font-family: 'Italiana', serif;
    font-size: clamp(1.9rem, 3.2vw, 2.5rem);
    margin: 0 0 20px;
}
.tarif-offer-row {
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.tarif-offer-row:first-of-type { border-top: none; }
.tarif-offer-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}
.tarif-offer-head h3 {
    margin: 0;
    font-family: 'Italiana', serif;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    letter-spacing: .2px;
}
.tarif-price {
    color: #d4af37;
    font-size: clamp(1.15rem, 2.6vw, 1.6rem);
    font-weight: 700;
    white-space: nowrap;
}
.tarif-offer-meta {
    margin: 6px 0 10px;
    color: #8e97a0;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: .75rem;
}
.tarif-offer-badge {
    margin: 8px 0 0;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    font-size: .68rem;
}
.tarif-offer-row ul {
    margin: 0;
    padding-left: 18px;
    color: #b8c0c8;
    line-height: 1.75;
}
.tarif-offer-row ul li { margin-bottom: 2px; }
.tarif-offer-row.is-featured {
    position: relative;
}
.tarif-offer-row.is-featured::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 22px;
    bottom: 22px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(212,175,55,.95), rgba(212,175,55,.25));
}
.tarif-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}
.tarif-columns ul {
    margin: 0;
    padding-left: 18px;
    color: #bcc4cc;
    line-height: 1.9;
}
.tarif-options-list p,
.tarif-faq p {
    margin: 0;
    padding: 10px 0;
    color: #b9c1c9;
    line-height: 1.75;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.tarif-options-list p:last-child,
.tarif-faq p:last-child { border-bottom: none; }
.tarif-steps {
    margin: 0;
    padding-left: 20px;
    color: #bcc4cc;
    line-height: 1.85;
}
.tarif-note {
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 42px 0 34px;
    margin-top: 12px;
    text-align: center;
}
.tarif-note p { color: #b1b9c1; line-height: 1.8; margin: 0 0 10px; }
.tarif-note a { color: #d4af37; text-decoration: underline; text-underline-offset: 3px; }
.tarif-cta-link { margin-top: 14px; }
.tarif-open-quote {
    background: linear-gradient(135deg, #e8edf1 0%, #ffffff 100%);
    color: #0b0d10;
    border: 1px solid rgba(255,255,255,.7);
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    padding: 14px 22px;
    border-radius: 999px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    box-shadow: 0 12px 22px rgba(0,0,0,.28);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.tarif-open-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(0,0,0,.35);
    background: linear-gradient(135deg, #ffffff 0%, #f4f7fa 100%);
}

body.modal-open { overflow: hidden; }
.tarif-modal {
    position: fixed;
    inset: 0;
    z-index: 1800;
    background: rgba(0,0,0,.66);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}
.tarif-modal.active { display: flex; }
.tarif-modal-card {
    width: min(760px, 100%);
    max-height: min(88vh, 840px);
    overflow: auto;
    border: 1px solid rgba(255,255,255,0.16);
    background: linear-gradient(180deg, #121518 0%, #0b0d10 100%);
    border-radius: 14px;
    padding: 24px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,.5);
}
.tarif-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    background: transparent;
    color: #d3d9df;
    font-size: 1.3rem;
    cursor: pointer;
}
.tarif-modal-close:hover { border-color: rgba(212,175,55,.5); color: #d4af37; }
.tarif-modal-card h3 {
    margin: 0 0 6px;
    font-family: 'Italiana', serif;
    font-size: 2.2rem;
}
.tarif-modal-card > p { margin: 0 0 18px; color: #a6afba; }
.tarif-quote-form label {
    display: block;
    font-size: .84rem;
    color: #b7bec7;
    margin-bottom: 10px;
}
.tarif-quote-form input,
.tarif-quote-form select,
.tarif-quote-form textarea {
    width: 100%;
    margin-top: 6px;
    background: #090b0d;
    border: 1px solid #2f3540;
    border-radius: 8px;
    color: #f0f4f8;
    padding: 11px 12px;
    font-family: 'Manrope', sans-serif;
}
.tarif-quote-form input:focus,
.tarif-quote-form select:focus,
.tarif-quote-form textarea:focus {
    outline: none;
    border-color: rgba(212,175,55,.72);
    box-shadow: 0 0 0 3px rgba(212,175,55,.12);
}
.tarif-quote-form textarea { resize: vertical; min-height: 120px; }
.tarif-form-grid.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.tarif-options-fieldset {
    margin: 4px 0 14px;
    border: 1px solid #2f3540;
    border-radius: 8px;
    padding: 10px 12px;
}
.tarif-options-fieldset legend {
    color: #d9e0e7;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .9px;
    padding: 0 6px;
}
.tarif-options-fieldset label {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 8px;
    color: #bcc4cd;
    font-size: .84rem;
}
.tarif-options-fieldset label:last-child { margin-bottom: 0; }
.tarif-options-fieldset input[type="checkbox"] {
    width: 15px;
    height: 15px;
    margin: 0;
}
.tarif-form-actions { margin-top: 12px; }
.tarif-form-actions .btn-primary[disabled] {
    opacity: .6;
    cursor: not-allowed;
    filter: grayscale(.15);
}
.tarif-form-feedback {
    margin: 12px 0 0;
    display: none;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: .9rem;
}
.tarif-form-feedback.show { display: block; }
.tarif-form-feedback.ok {
    background: #132318;
    border-color: #2f5a3d;
    color: #9ae6b1;
}
.tarif-form-feedback.error {
    background: #2a1717;
    border-color: #6b2d2d;
    color: #fecaca;
}
.tarif-hp {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.tarif-confirm {
    position: fixed;
    inset: 0;
    z-index: 1850;
    background: rgba(0,0,0,.62);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}
.tarif-confirm.active { display: flex; }
.tarif-confirm-card {
    width: min(420px, 100%);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 14px;
    background: linear-gradient(180deg, #121518 0%, #0c0f12 100%);
    padding: 24px 22px 20px;
    text-align: center;
    box-shadow: 0 24px 48px rgba(0,0,0,.45);
}
.tarif-confirm-card h3 {
    margin: 0 0 8px;
    font-family: 'Italiana', serif;
    font-size: 2rem;
}
.tarif-confirm-card p {
    margin: 0 0 16px;
    color: #b6bec7;
    line-height: 1.7;
}
.tarif-confirm-ok {
    margin-top: 0;
    min-width: 120px;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 24px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(212,175,55,.6);
    background: rgba(8,10,12,.86);
    color: #d4af37;
    font-size: 1.1rem;
    display: grid;
    place-items: center;
    z-index: 1200;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease, border-color .25s ease;
}
.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.back-to-top:hover {
    border-color: #f5deb3;
}

body.admin-mode { background: #0a0a0a; padding-top: 100px; }
body.admin-mode::before { display: none; }
.admin-header { background: #111; border-bottom: 1px solid #333; position: fixed; width: 100%; padding: 20px 40px; display: flex; align-items: center; }
.admin-header a { font-size: 0.9rem; color: #fff; letter-spacing: 1px; text-transform: uppercase; }
.admin-container { max-width: 1000px; margin: 0 auto; padding: 0 20px 100px; }
.admin-section { background: #111; padding: 30px; border-radius: 8px; border: 1px solid #222; margin-bottom: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 0.8rem; color: #888; letter-spacing: 1px; text-transform: uppercase; }
input[type="text"], input[type="password"], textarea, input[type="file"] { width: 100%; padding: 15px; background: #050505; border: 1px solid #333; color: white; font-family: 'Manrope'; font-size: 1rem; }
input:focus, textarea:focus { outline: none; border-color: var(--accent); }
.btn-primary { background: white; color: black; padding: 15px 30px; border: none; font-family: 'Manrope'; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; display: inline-block; }
.admin-album-list { display: grid; gap: 20px; }
.admin-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; margin-top: 15px; }
.admin-photo-thumb { position: relative; aspect-ratio: 1/1; overflow: hidden; border-radius: 4px; }
.admin-photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.btn-delete { position: absolute; top: 0; right: 0; background: red; color: white; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; font-size: 12px; cursor: pointer; font-weight: bold; }

::-webkit-scrollbar { width: 6px; background-color: #050505; }
::-webkit-scrollbar-track { background: #050505; box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5); }
::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, #222, #d4af37, #222); border-radius: 10px; border: 1px solid #050505; box-shadow: 0 0 10px rgba(212, 175, 55, 0.2); transition: 0.3s; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(to bottom, #333, #d4af37, #333); box-shadow: 0 0 15px rgba(212, 175, 55, 0.5); }
@supports (scrollbar-width: thin) { * { scrollbar-width: thin; scrollbar-color: #d4af37 #050505; } }

@media (max-width: 1024px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 250px; }
    .gallery-card:nth-child(n) { grid-column: auto; grid-row: auto; }
    .gallery-card:nth-child(3n+1) { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 900px) {
    .project-row { grid-template-columns: 1fr; gap: 30px; margin-bottom: 100px; }
    .project-row:nth-child(2n) { grid-template-columns: 1fr; }
    .project-info { order: 2 !important; }
    .project-img-wrap { order: 1 !important; height: 50vh; }
    .big-text { font-size: 15vw; }
    .section-title { margin-bottom: 50px; }
    .marquee-track { gap: 70px; animation-duration: 92s; }
    .review-item { min-width: 260px; max-width: 320px; padding: 0; }
    .review-text { font-size: 1.15rem; }
    .page-tarif .tarif-container { padding-top: 140px; padding-left: 20px; padding-right: 20px; }
    .page-tarif .tarif-container::before { margin-bottom: 24px; }
    .tarif-topline { margin: -20px 0 26px; }
    .tarif-columns { grid-template-columns: 1fr; gap: 6px; }
    .tarif-offer-head { align-items: flex-start; flex-direction: column; gap: 6px; }
    .tarif-offer-row.is-featured::before { left: -4px; }
    .tarif-form-grid.two { grid-template-columns: 1fr; }
    .tarif-modal-card { padding: 18px; }
    header { padding: 20px; }
    nav { gap: 20px; }
    nav a { font-size: 0.78rem; letter-spacing: 1.2px; }
    .logo { font-size: 1.45rem; }
    .cursor { display: none; }
    * { cursor: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .project-img, .gallery-img, .gallery-card, .project-row, .reveal-text, .fx-reveal, .scroll-depth {
        transition: none !important;
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}
@media (max-width: 600px) {
    header { padding: 14px 14px 12px; }
    nav { gap: 12px; }
    nav a { font-size: 0.72rem; letter-spacing: .8px; }
    .logo { font-size: 1.25rem; }
    .hero-section { min-height: 90vh; height: auto; padding-top: 110px; padding-bottom: 40px; }
    .section-title { font-size: 1.7rem; }
    .project-title { font-size: 2.2rem; }
    .project-desc { font-size: .94rem; line-height: 1.7; }
    .tarif-confirm-card { padding: 20px 16px 16px; }
    .tarif-confirm-card h3 { font-size: 1.7rem; }
    .gallery-grid { display: block; }
    .gallery-card { height: 300px; margin-bottom: 20px; }
    .gallery-overlay { opacity: 1; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); }
    .gallery-title, .gallery-meta { transform: translateY(0); }
    .footer-container { flex-direction: column; gap: 60px; }
    footer { margin-top: 80px; }
    .back-to-top { right: 14px; bottom: 16px; }
}
@media (max-width: 420px) {
    header { padding: 12px 10px; }
    nav { gap: 8px; }
    nav a { font-size: 0.67rem; letter-spacing: .4px; }
    .logo { font-size: 1.08rem; }
    .tarif-modal { padding: 10px; }
}
