/**
 * Layout V2 — A Procópio
 * Cabeçalho ultra-refinado, Hero Editorial, Seções e Rodapé de Grife
 */

/* ============================================
   HEADER — Fixo, transparente, blur no scroll
   ============================================ */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 900;
    height: 80px;
    display: flex;
    align-items: center;
    transition:
        background var(--dur-mid) var(--ease-out),
        border-color var(--dur-mid) var(--ease-out),
        height var(--dur-mid) var(--ease-out);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: var(--glass);
    -webkit-backdrop-filter: var(--glass);
    border-bottom-color: var(--glass-border);
    height: 66px;
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

/* Nav Esquerda */
.nav-left {
    display: flex;
    align-items: center;
    gap: var(--s-lg);
}

/* Logo Central */
.logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-svg-mark {
    height: 52px;
    width: auto;
    transition: height var(--dur-mid) var(--ease-out), opacity var(--dur-mid);
}

.site-header.scrolled .logo-svg-mark {
    height: 42px;
}

/* Nav Direita */
.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--s-lg);
}

/* Links de navegação */
.nav-link {
    font-family: var(--f-ui);
    font-size: var(--t-label);
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(240, 237, 232, 0.70);
    position: relative;
    padding: 0.3rem 0;
    transition: color var(--dur-fast) var(--ease-out);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--c-gold);
    transition: width var(--dur-mid) var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
    color: var(--c-text);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Instagram no Header */
.nav-instagram {
    font-family: var(--f-ui);
    font-size: var(--t-label);
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--c-gold);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: opacity var(--dur-fast);
}

.nav-instagram:hover { opacity: 0.7; }
.nav-instagram i { font-size: 1rem; }

/* Mobile toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--c-text);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color var(--dur-fast);
}

.mobile-toggle:hover { color: var(--c-gold); }

/* ============================================
   HERO EDITORIAL FULLSCREEN
   ============================================ */
.hero {
    position: relative;
    height: 100svh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: brightness(0.35) saturate(0.85);
}

/* Gradiente de baixo para cima sofisticado */
.hero-vignette {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top,   var(--c-bg) 0%, transparent 50%),
        linear-gradient(to right, rgba(14,14,13,0.4) 0%, transparent 60%),
        linear-gradient(to bottom, rgba(14,14,13,0.2) 0%, transparent 30%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: var(--s-xl) clamp(1.5rem, 5vw, 5rem);
    padding-bottom: clamp(3rem, 8vh, 6rem);
    max-width: 720px;
}

.hero-eyebrow {
    font-size: var(--t-label);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-family: var(--f-ui);
    font-weight: 500;
    color: var(--c-gold);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--s-md);
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--c-gold);
    opacity: 0.6;
}

.hero-heading {
    font-size: var(--t-hero);
    font-family: var(--f-display);
    font-weight: 300;
    line-height: 1.0;
    color: var(--c-text);
    letter-spacing: -0.02em;
    margin-bottom: var(--s-md);
}

.hero-heading em {
    font-style: italic;
    color: var(--c-gold);
}

.hero-sub {
    font-size: var(--t-lead);
    color: rgba(240, 237, 232, 0.60);
    max-width: 440px;
    margin-bottom: var(--s-lg);
    font-weight: 300;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: var(--s-md);
    flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    right: clamp(1.5rem, 5vw, 5rem);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--c-text-faint);
}

.hero-scroll span {
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 500;
    writing-mode: vertical-rl;
}

.hero-scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--c-gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50%       { opacity: 0.9; transform: scaleY(1.1); }
}

/* ============================================
   SEÇÕES GERAIS
   ============================================ */
.section {
    padding: var(--s-xl) 0;
    position: relative;
}

.section-sm { padding: var(--s-lg) 0; }

.section-header {
    text-align: center;
    margin-bottom: var(--s-lg);
}

.section-title {
    font-size: var(--t-h2);
    font-family: var(--f-display);
    color: var(--c-text);
}

/* Fundo alternado */
.bg-alt   { background-color: var(--c-bg-alt); }
.bg-surface { background-color: var(--c-surface); }

/* ============================================
   FOOTER DE GRIFE
   ============================================ */
.site-footer {
    background: var(--c-bg-alt);
    border-top: 1px solid var(--c-border);
    padding: var(--s-xl) 0 var(--s-lg) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--s-xl);
    margin-bottom: var(--s-xl);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--s-md);
}

.footer-tagline {
    font-family: var(--f-display);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--c-text);
    line-height: 1.4;
    max-width: 320px;
}

.footer-col-title {
    font-family: var(--f-ui);
    font-size: var(--t-label);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--c-gold);
    margin-bottom: var(--s-md);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--s-sm);
}

.footer-links a {
    color: var(--c-text-muted);
    font-size: 0.875rem;
    transition: color var(--dur-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover { color: var(--c-gold); }

.footer-bottom {
    border-top: 1px solid var(--c-border);
    padding-top: var(--s-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--s-sm);
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--c-text-faint);
    letter-spacing: 0.05em;
}

/* ============================================
   MENU MOBILE (Drawer)
   ============================================ */
.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 800;
    background: var(--glass-bg);
    backdrop-filter: var(--glass);
    -webkit-backdrop-filter: var(--glass);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--s-lg);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-mid) var(--ease-out);
}

.mobile-drawer.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-drawer .nav-link {
    font-size: 1.8rem;
    font-family: var(--f-display);
    letter-spacing: 0.05em;
    text-transform: none;
    color: var(--c-text);
    font-weight: 300;
}

/* ============================================
   RESPONSIVE GLOBAL
   ============================================ */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .nav-left, .nav-right { display: none; }
    .mobile-toggle { display: flex; }
    .header-inner { grid-template-columns: auto 1fr auto; }
    .logo-wrap { justify-content: flex-start; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr; gap: var(--s-lg); }
    .hero-scroll { display: none; }
}
