/* =========================================
   VARIÁVEIS DE COR E ESTILO (DESIGN SYSTEM)
   ========================================= */
:root {
    --bg-premium: #0B0B0D;
    --bg-graphite: #17181C;
    --text-main: #F3F3F1;
    --text-muted: #A7A9AC;
    --accent-red: #B80F16;
    --accent-dark: #7A0A0F;
    --font-title: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.8s cubic-bezier(0.85, 0, 0.15, 1);
    --angle-main: -15deg;
}

/* =========================================
   TEMA LIGHT (WHITE MODE)
   ========================================= */
[data-theme="light"] {
    --bg-premium: #F5F5F3;
    --bg-graphite: #EAEAE8;
    --text-main: #1A1A1D;
    --text-muted: #5A5A60;
    --accent-red: #C41018;
    --accent-dark: #8A0B10;
}

/* --- Transição suave global entre temas --- */
body,
header,
.page-loader,
.content-parallax,
.parallax-footer,
.projects,
.services-list-section,
.about-section,
.parallax-showcase,
.showcase-card,
.footer-cta h2,
.list-row,
.btn {
    transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease;
}

/* --- Header light overrides --- */
[data-theme="light"] header {
    background: rgba(245, 245, 243, 0.85);
    border-bottom: 1px solid rgba(26, 26, 29, 0.08);
}

/* --- Page loader light --- */
[data-theme="light"] .page-loader {
    background-color: #F0F0EE;
}

/* --- Seleção de texto --- */
[data-theme="light"] ::selection {
    background-color: var(--accent-red);
    color: #fff;
}

/* --- Bg grid light --- */
[data-theme="light"] .bg-grid {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
}

/* --- Hero right gradient light --- */
[data-theme="light"] .hero-right::before {
    background: linear-gradient(90deg, rgba(245, 245, 243, 1) 0%, rgba(245, 245, 243, 0) 25%);
}

/* --- Hero image filter light --- */
[data-theme="light"] .hero-img {
    filter: grayscale(40%) contrast(1.05) brightness(1);
}
[data-theme="light"] .hero-right:hover .hero-img {
    filter: grayscale(0%) contrast(1.05) brightness(1.05);
}

/* --- Visual placeholders light --- */
[data-theme="light"] .visual-placeholder {
    background-color: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* --- List rows light --- */
[data-theme="light"] .list-row {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .list-row:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .list-row:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* --- Section label light --- */
[data-theme="light"] .section-label {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* --- Buttons light overrides --- */
[data-theme="light"] .btn {
    color: var(--text-main);
    border: 1px solid rgba(26, 26, 29, 0.25);
}
[data-theme="light"] .btn:hover {
    color: #fff;
    border-color: var(--accent-red);
}
[data-theme="light"] .btn-primary {
    border-color: var(--accent-red);
}

/* --- Projects transition gradient light --- */
[data-theme="light"] .projects::after {
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(245, 245, 243, 0.3) 30%,
        rgba(245, 245, 243, 0.7) 65%,
        var(--bg-premium) 100%
    );
}

/* --- Services section transitions light --- */
[data-theme="light"] .services-list-section::before {
    background: linear-gradient(
        to bottom,
        rgba(234, 234, 232, 0.5) 0%,
        rgba(245, 245, 243, 0.3) 40%,
        transparent 100%
    );
}

/* --- Footer light --- */
[data-theme="light"] .footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .footer-copyright {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* --- Parallax footer gradient light --- */
[data-theme="light"] .parallax-footer::before {
    background: linear-gradient(
        to bottom,
        rgba(245, 245, 243, 0.8) 0%,
        rgba(234, 234, 232, 0.4) 50%,
        transparent 100%
    );
}

/* --- Showcase card light --- */
[data-theme="light"] .showcase-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15), 0 0 40px rgba(196, 16, 24, 0.05);
}

/* --- Card overlay light --- */
[data-theme="light"] .card-overlay {
    background: linear-gradient(to top, rgba(245, 245, 243, 0.4) 0%, transparent 40%);
}

/* --- Showcase bg light --- */
[data-theme="light"] .showcase-bg {
    background: radial-gradient(circle at 75% 50%, rgba(196, 16, 24, 0.04) 0%, transparent 60%);
}

/* --- Showcase title back light --- */
[data-theme="light"] .showcase-title-back {
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.03);
    text-stroke: 1px rgba(0, 0, 0, 0.03);
}

/* --- Showcase img filter light --- */
[data-theme="light"] .showcase-img,
[data-theme="light"] .showcase-video {
    filter: grayscale(15%) brightness(0.95) contrast(1.05);
}
[data-theme="light"] .showcase-card-wrapper:hover .showcase-img,
[data-theme="light"] .showcase-card-wrapper:hover .showcase-video {
    filter: grayscale(0%) brightness(1) contrast(1.05);
}

/* --- Logo light inverter (for dark logos) --- */
[data-theme="light"] .logo-img {
    filter: invert(1);
}

/* =========================================
   BOTÃO DE TOGGLE DE TEMA (SOL/LUA)
   ========================================= */
.theme-toggle {
    position: relative;
    width: 52px;
    height: 28px;
    background: rgba(167, 169, 172, 0.2);
    border: 1px solid rgba(167, 169, 172, 0.15);
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0 4px;
    transition: background 0.4s ease, border-color 0.4s ease;
    margin-left: 1.5rem;
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--accent-red);
    background: rgba(167, 169, 172, 0.3);
}

.theme-toggle-ball {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-red);
    position: relative;
    transition: transform 0.4s cubic-bezier(0.85, 0, 0.15, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="light"] .theme-toggle-ball {
    transform: translateX(24px);
}

.theme-toggle-icon {
    font-size: 11px;
    line-height: 1;
    color: #fff;
    pointer-events: none;
    user-select: none;
}

[data-theme="light"] .theme-toggle {
    background: rgba(26, 26, 29, 0.08);
    border-color: rgba(26, 26, 29, 0.12);
}



/* =========================================
   RESET E BASE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-premium);
    color: var(--text-main);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.6;
    /* Prevents scroll while loading */
}

body.loading {
    overflow: hidden;
}

::selection {
    background-color: var(--accent-red);
    color: var(--text-main);
}

/* =========================================
   PAGE TRANSITION (LOADER)
   ========================================= */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #060607;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transition: clip-path 1.4s cubic-bezier(0.85, 0, 0.15, 1);
}

.page-loader.loaded {
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 -30%);
    pointer-events: none;
}

.page-loader .logo {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.page-loader.loaded .logo {
    opacity: 0;
}

/* =========================================
   HEADER & NAVEGAÇÃO
   ========================================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(11, 11, 13, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(167, 169, 172, 0.05);
    transition: var(--transition-smooth);
}

.logo {
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.logo:hover {
    transform: skewX(-5deg);
    color: var(--accent-red);
}

.logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.logo:hover .logo-img {
    transform: scale(1.1) rotate(-3deg);
}

.page-loader .logo-img {
    height: 48px;
}

nav ul {
    display: flex;
    gap: 3rem;
    list-style: none;
}

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
    position: relative;
    display: inline-block;
}

nav a:hover,
nav a.active {
    color: var(--text-main);
    transform: skewX(-5deg);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--accent-red);
    transition: width 0.6s cubic-bezier(0.85, 0, 0.15, 1);
    transform: skewX(var(--angle-main));
}

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

/* =========================================
   BOTÕES (CTAs)
   ========================================= */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-main);
    text-decoration: none;
    border: 1px solid rgba(167, 169, 172, 0.3);
    background: transparent;
    position: relative;
    overflow: hidden;
    transition: border-color 0.6s ease, transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
    cursor: pointer;
    border-bottom-right-radius: 4px;
    border-top-left-radius: 4px; /* Estética retangular sofisticada */
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;
    background-color: var(--accent-red);
    transform: skewX(var(--angle-main));
    transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1), left 0.6s cubic-bezier(0.85, 0, 0.15, 1);
    z-index: -1;
}

.btn:hover {
    border-color: var(--accent-red);
    transform: translateX(4px) translateY(-2px);
    color: #fff;
}

.btn:hover::before {
    left: -10%;
}

.btn-primary {
    background-color: transparent;
    border-color: var(--accent-red);
}

.btn-primary::before {
    background-color: var(--accent-red);
}

/* =========================================
   HERO SECTION SPLIT
   ========================================= */
.hero-split {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    overflow: hidden;
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 7rem 10% 2rem 10%;
    z-index: 2;
    position: relative;
}

.hero-content {
    max-width: 700px;
}

.hero-split h1 {
    font-family: var(--font-title);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    padding-bottom: 0.2em;
}

.hero-split p {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

/* Diagonal split line on the left */
.hero-left::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: -15%;
    width: 250px;
    height: 1px;
    background: var(--accent-red);
    transform: rotate(var(--angle-main));
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.hero-right {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

/* Diagonal mask on the image side to blend or stylize */
.hero-right::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Sombreamento escuro da borda esquerda conectando ao bg dark */
    background: linear-gradient(90deg, rgba(11, 11, 13, 1) 0%, rgba(11, 11, 13, 0) 25%);
    z-index: 1;
    pointer-events: none;
}

.hero-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Alinha a imagem na base para transição perfeita */
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(80%) contrast(1.1) brightness(0.9);
    transition: var(--transition-smooth);
    
    /* Máscara gradiente de alta precisão (blur/fade suave para remover o corte seco quadrado) */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0) 98%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0) 98%);
}

.hero-right:hover .hero-img {
    filter: grayscale(0%) contrast(1.1) brightness(1);
    transform: scale(1.02); /* Zoom mais sutil para não cortar as laterais no contain */
}

/* Grid de fundo */
.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100px 100px;
    z-index: 0;
    pointer-events: none;
}

/* =========================================
   PROJETOS (Selected Works)
   ========================================= */
.projects {
    padding: 8rem 5%;
    position: relative;
    background-color: var(--bg-graphite);
}

/* Gradiente de transição: Projects → Services (fusão suave no bottom) */
.projects::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(11, 11, 13, 0.3) 30%,
        rgba(11, 11, 13, 0.7) 65%,
        var(--bg-premium) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(167, 169, 172, 0.1);
}

.project-block {
    margin-bottom: 10rem;
    position: relative;
}

.project-block:last-child {
    margin-bottom: 0;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.project-header h2 {
    font-family: var(--font-title);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.project-header h2:hover {
    color: var(--accent-red);
}

.project-header .arrow {
    font-size: 0.5em;
    font-weight: 300;
    transition: var(--transition-smooth);
}

.project-header h2:hover .arrow {
    transform: translate(5px, -5px);
}

.project-meta {
    display: flex;
    gap: 4rem;
}

.meta-item span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.meta-item p {
    font-size: 1rem;
    font-weight: 400;
}

.visual-placeholder {
    width: 100%;
    height: 70vh;
    background-color: rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(167, 169, 172, 0.05);
}

.visual-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
    transform: scale(1.15); /* Margem de segurança para o deslocamento vertical do parallax */
}

/* Fio vermelho de precisão subjacente */
.visual-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background-color: var(--accent-red);
    transition: left 0.8s cubic-bezier(0.85, 0, 0.15, 1);
}

.project-block:hover .visual-placeholder::before {
    left: 0;
}

/* =========================================
   LISTA DE SERVIÇOS
   ========================================= */
.services-list-section {
    padding: 8rem 5%;
    padding-top: 10rem; /* Extra espaço para a zona de fusão do gradiente */
    background-color: var(--bg-premium);
    position: relative;
}

/* Gradiente de transição: topo da seção serviços (reforço de blend) */
.services-list-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(
        to bottom,
        rgba(23, 24, 28, 0.5) 0%,
        rgba(11, 11, 13, 0.3) 40%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 1;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.list-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 0;
    border-top: 1px solid rgba(167, 169, 172, 0.1);
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.list-row:last-child {
    border-bottom: 1px solid rgba(167, 169, 172, 0.1);
}

/* Fio vermelho on hover */
.list-row::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: -100%;
    width: 100%;
    height: 1px;
    background-color: var(--accent-red);
    transition: left 0.8s cubic-bezier(0.85, 0, 0.15, 1);
    z-index: 10;
}

.list-row:hover::before {
    left: 0;
}

.list-row:hover {
    padding-left: 2rem;
    padding-right: 2rem;
    background-color: rgba(255, 255, 255, 0.01);
}

.list-left h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    transition: color 0.4s ease;
}

.list-row:hover .list-left h3 {
    color: var(--accent-red);
}

.list-left p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 500px;
}

.list-right .arrow-right {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 300;
    transition: var(--transition-smooth);
}

.list-row:hover .arrow-right {
    color: var(--accent-red);
    transform: translateX(10px);
}


/* =========================================
   ANIMAÇÕES DE SCROLL DIAGONAIS (JS)
   ========================================= */
.reveal {
    opacity: 0;
    /* Começa com uma máscara retorcida a partir de baixo */
    clip-path: polygon(0 100%, 100% 120%, 100% 120%, 0 100%);
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1.2s cubic-bezier(0.85, 0, 0.15, 1), clip-path 1.2s cubic-bezier(0.85, 0, 0.15, 1);
}

.reveal.active {
    opacity: 1;
    /* Máscara totalmente expandida abrangendo o conteúdo até após as bordas */
    clip-path: polygon(0 -50%, 100% -100%, 100% 200%, 0 150%);
    transform: translateY(0);
}

/* Reveal modificado para as actions / botões - surgem puxados pela lateral */
.hero-actions.reveal {
    clip-path: polygon(-20% 0, 0 0, 0 100%, -20% 100%);
    transform: translateX(-30px);
}
.hero-actions.reveal.active {
    clip-path: polygon(-20% 0, 150% 0, 150% 100%, -20% 100%);
    transform: translateX(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsivo Mobile */
@media (max-width: 768px) {
    nav ul { display: none; }
    .btn-header { display: none; }
    .hero-split { grid-template-columns: 1fr; }
    .hero-right { min-height: 50vh; }
    .hero-actions { flex-direction: column; }
    .btn { text-align: center; }
}

/* =========================================
   MANIFESTO / SOBRE (DESIGN CONCEITUAL)
   ========================================= */
.about-section {
    padding: 10rem 5%;
    background-color: var(--bg-premium);
    position: relative;
    border-bottom: 1px solid rgba(167, 169, 172, 0.05);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.section-tag {
    font-size: 0.85rem;
    font-family: var(--font-body);
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-left h2 {
    font-family: var(--font-title);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.about-right p {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.about-right p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* =========================================
   ESTRUTURA DE SCROLL PARALLAX PREMIUM
   ========================================= */
#scroll-animate {
    overflow: hidden;
    width: 100%;
}

#scroll-animate-main {
    width: 100%;
    left: 0;
    position: fixed;
    top: 0;
}

.wrapper-parallax {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.parallax-header {
    width: 100%;
    height: 100vh !important;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
}

.content-parallax {
    position: relative;
    z-index: 2; /* Fica acima do hero e do footer */
    background-color: var(--bg-premium);
    box-shadow: none; /* Removido hard shadow — gradientes CSS fazem a transição */
}

/* =========================================
   RODAPÉ PREMIUM REVELADO (PARALLAX FOOTER)
   ========================================= */
.parallax-footer {
    width: 100%;
    height: auto;
    min-height: 500px;
    position: fixed;
    bottom: -100vh; /* Escondido inicialmente por baixo do content-parallax */
    left: 0;
    z-index: -1; /* Fica em terceiro plano, atrás de content-parallax */
    background-color: var(--bg-graphite);
    padding: 6rem 5% 3rem 5%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: none; /* Removida borda dura */
    box-sizing: border-box;
}

/* Gradiente de transição suave no topo do footer */
.parallax-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(
        to bottom,
        rgba(11, 11, 13, 0.8) 0%,
        rgba(23, 24, 28, 0.4) 50%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 1;
}

.footer-cta {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.footer-cta h2 {
    font-family: var(--font-title);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    transform: skewX(var(--angle-main));
}

.footer-cta p {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    border-top: 1px solid rgba(167, 169, 172, 0.05);
    padding-top: 4rem;
}

.footer-col h4 {
    font-family: var(--font-title);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-red);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    display: inline-block;
}

.footer-col ul a:hover {
    color: var(--text-main);
    transform: translateX(4px);
}

.brand-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1.5rem;
    line-height: 1.6;
    max-width: 320px;
    font-weight: 300;
}

.footer-copyright {
    max-width: 1200px;
    margin: 4rem auto 0 auto;
    width: 100%;
    border-top: 1px solid rgba(167, 169, 172, 0.05);
    padding-top: 2rem;
    text-align: center;
}

.footer-copyright p {
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.6;
}

@media (max-width: 768px) {
    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* =========================================
   SHOWCASE DE PARALLAX MULTICAMADAS
   ========================================= */
.parallax-showcase {
    position: relative;
    padding: 12rem 5%;
    background-color: var(--bg-premium);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(167, 169, 172, 0.05);
}

.showcase-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 75% 50%, rgba(184, 15, 22, 0.06) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.showcase-title-back {
    position: absolute;
    font-family: var(--font-title);
    font-size: clamp(5rem, 12vw, 12rem);
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.015);
    text-stroke: 1px rgba(255, 255, 255, 0.015);
    white-space: nowrap;
    top: 20%;
    right: 5%;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    will-change: transform;
}

.showcase-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 6rem;
    align-items: center;
    z-index: 2;
    position: relative;
}

.showcase-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.showcase-left h2 {
    font-family: var(--font-title);
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.showcase-left p {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.showcase-meta {
    display: flex;
    gap: 3rem;
}

.showcase-right {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.showcase-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 4/5;
}

.showcase-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 40px rgba(184, 15, 22, 0.05);
    background-color: var(--bg-graphite);
    will-change: transform;
}

.showcase-img,
.showcase-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(35%) brightness(0.8) contrast(1.15);
    transition: filter 0.8s cubic-bezier(0.85, 0, 0.15, 1);
}

.card-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(11, 11, 13, 0.6) 0%, transparent 40%);
    pointer-events: none;
}

/* Elementos decorativos de profundidade */
.showcase-decor {
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    will-change: transform;
}

.showcase-decor img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-decor-1 {
    width: 160px;
    height: 160px;
    bottom: -40px;
    left: -60px;
    border: 1px solid rgba(184, 15, 22, 0.25);
    z-index: 3;
}

.showcase-decor-2 {
    width: 120px;
    height: 120px;
    top: -30px;
    right: -40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: -1;
}

/* Micro-interação de Hover */
.showcase-card-wrapper:hover .showcase-img,
.showcase-card-wrapper:hover .showcase-video {
    filter: grayscale(0%) brightness(1) contrast(1.1);
}

/* Adaptabilidade Mobile */
@media (max-width: 991px) {
    .showcase-container {
        grid-template-columns: 1fr;
        gap: 5rem;
    }
    
    .showcase-card-wrapper {
        max-width: 380px;
    }
}

@media (max-width: 576px) {
    .parallax-showcase {
        padding: 8rem 5%;
    }
    
    .showcase-decor-1 {
        width: 110px;
        height: 110px;
        bottom: -20px;
        left: -20px;
    }
    
    .showcase-decor-2 {
        width: 90px;
        height: 90px;
        top: -15px;
        right: -15px;
    }
}

