/* Reset & Base Styles */
:root {
    --color-bg: #FFFFFF;
    --color-off-white: #F9F9F7;
    --color-stone: #E5E5E2;
    --color-text-main: #1A1A1A;
    --color-text-muted: #555555;
    --color-gold: #C5A35D;
    --color-gold-muted: rgba(197, 163, 93, 0.1);
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    --container-max: 1280px;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
    transition: var(--transition-smooth);
}

/* Header Scrolled State */
.header.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #FFFFFF;
}

.logo-text span {
    font-weight: 400;
    color: var(--color-gold);
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    color: #FFFFFF;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

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

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #FFFFFF;
}

.btn-outline:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--color-text-main);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background: transparent;
    border-color: var(--color-text-main);
}

.btn-secondary:hover {
    background-color: var(--color-off-white);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: #FFFFFF;
    transition: var(--transition-smooth);
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background-color: #0A0A0A; /* Fundo escuro profundo */
    position: relative;
    overflow: hidden;
}

.hero-background-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 1; /* Opacidade total para nitidez máxima */
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 400;
    color: #FFFFFF; /* Branco para contraste com fundo escurecido */
}

.headline .italic {
    font-style: italic;
    color: var(--color-gold);
}

.subheadline {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 500px;
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem; /* Reduzido de 4rem */
}

.hero-highlights {
    display: flex;
    gap: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Borda mais sutil no fundo escuro */
    padding-top: 1.5rem; /* Reduzido de 2rem */
}

.highlight-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.highlight-item .icon {
    width: 20px;
    height: 20px;
    color: var(--color-gold);
}

.highlight-item span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    color: var(--color-text-muted);
}

/* Logo Column */
.hero-visual-container {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-main-logo {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

.highlight-item span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
}

.btn-secondary {
    background: transparent;
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-up {
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-visual-container {
    animation: fadeInUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Responsividade */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    
    .hero-text-content {
        order: 2;
    }
    
    .hero-visual-container {
        order: 1;
        max-width: 300px; /* Reduzido para mobile */
        margin: 0 auto 2rem;
    }
    
    .hero-main-logo {
        max-width: 80%;
    }
    
    .subheadline {
        margin: 0 auto 3rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-highlights {
        justify-content: center;
    }
    
    .nav {
        display: none; /* Mobile menu logic would go here */
    }
    
    .menu-toggle {
        display: block;
    }
    
    .header-cta {
        display: none;
    }
}

@media (max-width: 768px) {
    .headline {
        font-size: 2.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .hero-highlights {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
}

/* Section Base */
.section {
    padding: 10rem 0;
}

.grey-bg {
    background-color: var(--color-off-white);
}

.section-tag {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-weight: 500;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    color: var(--color-text-main);
    margin-bottom: 2.5rem;
}

.section-title .italic {
    font-style: italic;
    color: var(--color-gold);
}

.section-text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    font-weight: 300;
    max-width: 600px;
}

.section-header {
    margin-bottom: 5rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.image-placeholder-large {
    width: 100%;
    aspect-ratio: 1/1.2;
    background: linear-gradient(135deg, #f0f0ed 0%, #e0e0dc 100%);
    position: relative;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
}

#about-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.placeholder-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.5rem;
    color: rgba(0,0,0,0.1);
    z-index: 1;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--color-stone);
    padding-top: 3rem;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: #fff;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.5);
}

/* Materials Section */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.material-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid var(--color-stone);
}

.material-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    border-color: var(--color-gold);
}

.material-image {
    height: 300px;
    background-color: var(--color-off-white);
    position: relative;
    overflow: hidden;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f9f9f7 0%, #eeeeea 100%);
    transition: var(--transition-smooth);
}

.material-card:hover .placeholder-img {
    transform: scale(1.05);
}

.material-info {
    padding: 2rem;
}

.material-info h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.material-info p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 300;
}

/* Projects Section (Asymmetric Grid) */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.project-item.large {
    grid-column: span 4;
    grid-row: span 2;
}

.project-item.tall {
    grid-column: span 2;
    grid-row: span 2;
}

.project-item:not(.large):not(.tall) {
    grid-column: span 2;
}

.project-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e5e5e2 0%, #d1d1cd 100%);
    transition: var(--transition-smooth);
}

.project-image-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.project-image-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.project-image-slide.active {
    opacity: 1;
}

.project-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: 2rem;
    opacity: 0;
    transition: var(--transition-smooth);
    transform: translateY(20px);
}

.project-item:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-item:hover .project-image,
.project-item:hover .project-image-slider {
    transform: scale(1.05);
}

.project-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.project-overlay h3 {
    color: #fff;
    font-family: var(--font-serif);
    font-size: 1.4rem;
}

.section-actions {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
}

.feature-icon {
    width: 32px;
    height: 32px;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 300;
}

/* Process Section */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    position: relative;
    margin-top: 4rem;
}

.process-step {
    position: relative;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--color-stone);
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.process-step:hover .step-number {
    color: var(--color-gold);
    transform: translateY(-5px);
}

.process-step h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.process-step p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 300;
}

/* Testimonials */
.testimonials-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

.testimonials-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 2rem;
    will-change: transform;
}

.testimonial-card {
    background: #fff;
    padding: 4rem;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
    border: 1px solid var(--color-stone);
    flex: 0 0 calc(50% - 1rem);
    min-width: calc(50% - 1rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
}

.testimonial-card p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-text-main);
    margin-bottom: 3rem;
}

.testimonial-author strong {
    display: block;
    font-size: 1rem;
    color: var(--color-text-main);
}

.testimonial-author strong a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.testimonial-author strong a:hover {
    color: var(--color-gold);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rating {
    margin-top: 1rem;
    display: flex;
    gap: 0.3rem;
}

.rating svg {
    width: 14px;
    height: 14px;
    fill: #FFCC00 !important;
    stroke: #FFCC00 !important;
}

/* CTA Final */
.cta-final {
    background-color: #0A0A0A;
    color: #fff;
    text-align: center;
    padding: 12rem 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-final .section-title {
    color: #fff;
    margin-bottom: 3rem;
}

.cta-final .hero-actions {
    justify-content: center !important;
}

/* Footer */
.footer {
    background-color: #050505;
    color: rgba(255,255,255,0.6);
    padding: 6rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 6rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer h4 {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.footer-desc {
    margin-top: 2rem;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-nav ul, .footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-nav a:hover, .footer-contact li:hover {
    color: var(--color-gold);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.footer-contact i {
    width: 16px;
    height: 16px;
    color: var(--color-gold);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links a i {
    width: 20px;
    height: 20px;
    transition: var(--transition-smooth);
}

.social-links a:hover i {
    color: var(--color-gold);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    font-size: 0.75rem;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsividade Adicional */
@media (max-width: 1024px) {
    .about-grid, .footer-grid, .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .section {
        padding: 6rem 0;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px;
    }
    
    .project-item.large {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-item, .project-item.large, .project-item.tall {
        grid-column: span 1;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
}

