/* =========================================================
   PORTFOLIO.CSS — Réplica Exata do Layout de Referência
   Com Seções do Meio (Fotografias e Tours)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800&display=swap');

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

:root {
    --brand-gold: #c29565; /* Cor do botão e linhas */
    --footer-bg: #1c1c1c;
    --footer-black: #0c0c0c;
    --text-main: #ffffff;
    --text-muted: #cccccc;
}

body {
    background-color: #000;
    color: var(--text-main);
    font-family: 'Inter', -apple-system, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================
   SIDEBAR SOCIAL
========================================== */
.social-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 60px;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    z-index: 200;
}

.social-link-vert {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: #fff;
    text-transform: lowercase;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.social-link-vert:hover {
    color: var(--brand-gold);
}

.social-dot {
    width: 4px;
    height: 4px;
    background: var(--brand-gold);
    border-radius: 50%;
}

/* ==========================================
   HEADER / NAV (Topo Flutuante)
========================================== */
.top-header {
    position: fixed;
    top: 0; left: 60px; right: 0;
    padding: 40px;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.brand-logo {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

.top-nav {
    display: flex; gap: 30px; 
    font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
}

.top-nav a { transition: color 0.2s; }
.top-nav a:hover { color: var(--brand-gold); }

/* ==========================================
   MAIN HERO SLIDER
========================================== */
.hero-slider {
    position: relative;
    width: calc(100% - 60px);
    margin-left: 60px;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
}

.slide-item {
    flex: 1; 
    height: 100%;
    border-left: 1px solid #111;
}

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* PAGINATION */
.slider-pagination {
    position: absolute;
    bottom: 40px;
    left: 40px;
    display: flex;
    gap: 12px;
    z-index: 50;
}

.page-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.page-dot:hover {
    border-color: rgba(255,255,255,0.8);
}

.page-dot.active {
    border-color: var(--brand-gold);
    color: var(--brand-gold);
}

/* ==========================================
   CONTEÚDO PRINCIPAL (Meio)
========================================== */
.main-content {
    width: calc(100% - 60px);
    margin-left: 60px;
    background: #111;
    padding: 100px 60px;
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.content-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header { margin-bottom: 40px; }
.section-header h2 { font-size: 36px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.title-line { width: 60px; height: 3px; background: var(--brand-gold); margin-top: 15px; }
.section-desc { color: var(--text-muted); font-size: 16px; margin-top: 20px; max-width: 600px; }

/* Filtros */
.filter-group { display: flex; gap: 15px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
    background: transparent; border: 1px solid #333; color: #999;
    padding: 10px 24px; border-radius: 100px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
    cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.filter-btn:hover { border-color: #666; color: #fff; }
.filter-btn.active { background: var(--brand-gold); border-color: var(--brand-gold); color: #000; }

/* Masonry Grid */
.masonry-grid {
    column-count: 3;
    column-gap: 20px;
}
.masonry-item {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}
.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}
.masonry-item:hover img { transform: scale(1.04); }
.masonry-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 30px; opacity: 0; transition: opacity 0.3s;
}
.masonry-item:hover .masonry-overlay { opacity: 1; }
.masonry-overlay span { color: var(--brand-gold); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.masonry-overlay h3 { color: #fff; font-size: 22px; font-weight: 700; }

.load-more { text-align: center; margin-top: 50px; }
.btn-load-more { background: transparent; border: 1px solid var(--brand-gold); color: var(--brand-gold); padding: 14px 32px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; border-radius: 100px; cursor: pointer; transition: all 0.2s; font-family: inherit;}
.btn-load-more:hover { background: var(--brand-gold); color: #000; }

/* Tours 360 Grid */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}
.tour-card {
    display: block; background: #1a1a1a; border-radius: 12px; overflow: hidden; border: 1px solid #2a2a2a; transition: transform 0.3s, border-color 0.3s;
}
.tour-card:hover { transform: translateY(-5px); border-color: var(--brand-gold); }
.tour-img { height: 200px; position: relative; overflow: hidden; }
.tour-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.tour-card:hover .tour-img img { transform: scale(1.05); }
.tour-badge { position: absolute; top: 15px; right: 15px; background: var(--brand-gold); color: #000; font-size: 10px; font-weight: 800; padding: 4px 10px; border-radius: 100px; letter-spacing: 0.1em; }
.tour-info { padding: 24px; display: flex; align-items: center; gap: 16px; }
.tour-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; }
.tour-icon svg { width: 20px; height: 20px; stroke: var(--brand-gold); }
.tour-info h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.tour-info span { font-size: 13px; color: #888; }

.tour-card.destaque { border-color: rgba(194, 149, 101, 0.4); }


/* ==========================================
   FOOTER - INSTA STRIP
========================================== */
.custom-footer {
    width: calc(100% - 60px);
    margin-left: 60px;
    background: var(--footer-bg);
}

.insta-strip {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #000;
}

.insta-images {
    display: flex;
    width: 100%;
    height: 100%;
}

.insta-images img {
    flex: 1;
    height: 100%;
    object-fit: cover;
}

.btn-insta {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--brand-gold);
    color: #000;
    padding: 14px 28px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s, background 0.2s;
}

.btn-insta:hover {
    background: #d8aa78;
    transform: translate(-50%, -52%);
}

/* ==========================================
   FOOTER - SOCIAL ROW
========================================== */
.footer-social-row {
    background: var(--footer-black);
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.footer-social-row a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    transition: color 0.2s;
}

.footer-social-row a:hover {
    color: var(--brand-gold);
}

.dot-sep {
    color: var(--brand-gold);
    font-size: 12px;
}

/* ==========================================
   FOOTER - MAIN CONTENT
========================================== */
.footer-main {
    padding: 60px 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-col h2 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.footer-col h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--brand-gold);
}

.footer-col-bio p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Fotos Destaque */
.destaque-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.destaque-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

/* Contato */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
    margin-top: 10px;
}

.c-row {
    display: flex;
    gap: 10px;
    font-size: 14px;
}

.c-lbl {
    color: var(--text-muted);
    min-width: 70px;
}

.c-val {
    color: #fff;
    transition: color 0.2s;
}

.c-val:hover {
    color: var(--brand-gold);
}

.copyright {
    font-size: 12px;
    color: #666;
    margin-top: 20px;
}

/* ==========================================
   RESPONSIVE
========================================== */
@media (max-width: 900px) {
    .slider-track {
        flex-direction: column;
    }
    .slide-item {
        border-left: none;
        border-top: 1px solid #111;
    }
    .masonry-grid {
        column-count: 2;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .insta-images {
        flex-wrap: wrap;
    }
    .insta-images img {
        min-width: 33.33%;
    }
}

@media (max-width: 600px) {
    .social-sidebar {
        display: none;
    }
    .hero-slider, .custom-footer, .main-content, .top-header {
        width: 100%;
        margin-left: 0;
    }
    .main-content {
        padding: 60px 20px;
    }
    .masonry-grid {
        column-count: 1;
    }
    .brand-logo {
        position: static;
    }
    .top-header {
        left: 0;
        flex-direction: column;
        gap: 20px;
    }
    .slider-pagination {
        left: 20px;
        flex-wrap: wrap;
    }
}
