/* ==========================================================================
   ABOUT PAGE STYLES - FILMAVIBE
   Editorial, Clean & Monochromatic Theme
   ========================================================================== */

:root {
    --fv-bg: #111111;
    --fv-bg-secondary: #1B1B1B;
    --fv-text-primary: #F2F0EC;
    --fv-text-secondary: #929292;
    --fv-border: #353535;
    --header-bg: rgba(17, 17, 17, 0.85);
}

/* Modo Claro (Light Mode) */
body.light-mode, .fv-page-wrapper.light-mode {
    --fv-bg: #F4F2EE;
    --fv-bg-secondary: #E5E2DC;
    --fv-text-primary: #1A1A1A;
    --fv-text-secondary: #666666;
    --fv-border: #D0CCC6;
    --header-bg: rgba(244, 242, 238, 0.85);
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--fv-bg);
    color: var(--fv-text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.fv-page-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--fv-bg);
    color: var(--fv-text-primary);
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Site Header */
.fv-site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-sizing: border-box;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(53, 53, 53, 0.2);
    transition: background 0.4s ease, border-color 0.4s ease;
}

.fv-brand {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--fv-text-primary);
    text-decoration: none;
}

.fv-nav-links {
    display: flex;
    gap: 30px;
}

.fv-nav-links a {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: var(--fv-text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.fv-nav-links a:hover, .fv-nav-links a.active {
    color: var(--fv-text-primary);
}

.fv-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.fv-theme-btn, .fv-lang-btn {
    background: transparent;
    border: none;
    color: var(--fv-text-secondary);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: color 0.3s ease;
}

.fv-theme-btn:hover, .fv-lang-btn:hover {
    color: var(--fv-text-primary);
}

/* Main Content Area */
.about-main-content {
    padding-top: 70px;
}

/* Sections General */
.fv-section {
    padding: 90px 80px;
    box-sizing: border-box;
}

.fv-section-header {
    margin-bottom: 50px;
}

.fv-section-tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--fv-text-secondary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.fv-section-title {
    font-size: clamp(2rem, 3vw, 3.5rem);
    font-weight: 800;
    margin: 0 0 15px 0;
    letter-spacing: -0.01em;
}

.fv-section-desc {
    font-size: 1rem;
    color: var(--fv-text-secondary);
    max-width: 600px;
    margin: 0;
    line-height: 1.6;
}

/* Split Layout para secções 01 e 02 */
.about-split-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

.about-text-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--fv-text-secondary);
}

.about-vertical-img-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-vertical-media {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: grayscale(15%) contrast(105%);
    border-radius: 2px;
    display: block;
}

/* ==========================================================================
   GRELHA DE LIFESTYLE (Secção 03) - Sem espaços, cobertura total (Edge-to-Edge)
   ========================================================================== */
.fv-photo-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px; /* Espaçamento mínimo e elegante entre peças */
    max-width: 1300px;
    margin: 0 auto;
}

.fv-photo-card {
    position: relative;
    overflow: hidden;
    background: #0b0b0b;
}

/* Linha 1: Track Day (Horizontal Principal de largura total) */
.fv-photo-card.fv-row-full {
    grid-column: span 12;
    height: 500px;
}

/* Linhas com dimensionamento exato para cobrir a largura total sem buracos */
.fv-photo-card.fv-col-4 {
    grid-column: span 4;
    height: 480px;
}

.fv-photo-card.fv-col-8 {
    grid-column: span 8;
    height: 480px;
}

.fv-photo-card.fv-col-6 {
    grid-column: span 6;
    height: 460px;
}

/* Os media cobrem a totalidade da div de forma imersiva (object-fit: cover) */
.fv-photo-card img, 
.fv-photo-card video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
    filter: grayscale(15%);
}

.fv-photo-card:hover img,
.fv-photo-card:hover video {
    transform: scale(1.02);
    filter: grayscale(0%);
}

.fv-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(17,17,17,0.95) 0%, rgba(17,17,17,0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 2;
}

.fv-photo-card:hover .fv-photo-overlay {
    opacity: 1;
}

.fv-photo-category {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    color: var(--fv-text-primary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
    opacity: 0.7;
}

.fv-photo-title {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
    color: #F2F0EC;
}

/* Secção de Filosofia / Always Exploring */
.about-philosophy-card {
    background-color: var(--fv-bg);
    border: 1px solid var(--fv-border);
    padding: 50px;
    box-sizing: border-box;
    max-width: 1300px;
    margin: 0 auto;
}

.about-philosophy-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--fv-text-secondary);
    margin: 0;
}

/* Footer */
.fv-site-footer {
    background-color: var(--fv-bg-secondary);
    border-top: 1px solid var(--fv-border);
    padding: 60px 80px 30px 80px;
    margin-top: auto;
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.fv-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.fv-footer-brand {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.fv-footer-nav {
    display: flex;
    gap: 30px;
}

.fv-footer-nav a, .fv-footer-social a {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: var(--fv-text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.fv-footer-nav a:hover, .fv-footer-social a:hover {
    color: var(--fv-text-primary);
}

.fv-footer-social {
    display: flex;
    gap: 25px;
}

.fv-footer-bottom {
    border-top: 1px solid rgba(53, 53, 53, 0.4);
    padding-top: 25px;
    text-align: center;
    font-size: 0.75rem;
    color: var(--fv-text-secondary);
    letter-spacing: 0.1em;
}

/* Responsive */
@media (max-width: 1024px) {
    .fv-section, .fv-site-header, .fv-site-footer {
        padding-left: 40px;
        padding-right: 40px;
    }
    .about-split-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .fv-photo-card.fv-col-4,
    .fv-photo-card.fv-col-8,
    .fv-photo-card.fv-col-6,
    .fv-photo-card.fv-row-full {
        grid-column: span 12;
        height: 420px;
    }
}

@media (max-width: 768px) {
    .fv-section {
        padding: 50px 20px;
    }
    .fv-site-header {
        padding: 0 20px;
    }
    .fv-footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .about-philosophy-card {
        padding: 30px 20px;
    }
}