/* ===========================================
   VENETTO - Design de Interiores
   Estilos principais do site
   =========================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: #1a1a1a;
    color: #1a1a1a;
    overflow-x: hidden;
}

/* ===========================================
   HEADER & NAVEGAÇÃO
   =========================================== */
header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
}
.logo img { height: 40px; }
nav { display: flex; align-items: center; gap: 32px; position: relative; }
nav a {
    text-decoration: none; color: #1a1a1a; font-size: 14px;
    font-weight: 400; transition: color 0.3s; padding-bottom: 8px;
    position: relative; cursor: pointer;
}
nav a:hover { color: #8b7355; }
nav a.active { font-weight: 600; }
nav a.active::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 100%; height: 2px; background-color: #1a1a1a;
    animation: slideIn 0.3s ease;
}
@keyframes slideIn { from { width: 0; } to { width: 100%; } }

.contact-btn {
    background-color: #1a1a1a; color: #fff; padding: 12px 24px;
    border: none; font-size: 13px; font-weight: 500; cursor: pointer;
    text-transform: uppercase; letter-spacing: 1px; transition: background-color 0.3s;
}
.contact-btn:hover { background-color: #333; }

/* ===========================================
   SISTEMA DE PÁGINAS (SPA)
   =========================================== */
.page {
    display: none;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    will-change: opacity, transform;
}
.page.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.page.leaving {
    opacity: 0;
    transform: translateY(-20px);
}

/* ===========================================
   HERO (PÁGINA INÍCIO)
   =========================================== */
.hero { position: relative; height: 92vh; overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 60%); }
.hero-content { position: absolute; top: 50%; left: 60px; transform: translateY(-50%); max-width: 500px; }
.hero-content .subtitle { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: #fff; margin-bottom: 16px; }
.hero-content h1 { font-family: 'Playfair Display', serif; font-size: 52px; font-weight: 500; line-height: 1.15; color: #fff; margin-bottom: 20px; }
.hero-content p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.85); margin-bottom: 32px; max-width: 380px; }
.btn-projects { display: inline-flex; align-items: center; gap: 10px; background-color: #f5f0eb; color: #1a1a1a; padding: 14px 28px; font-size: 13px; font-weight: 500; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; transition: background-color 0.3s; cursor: pointer; }
.btn-projects:hover { background-color: #e8e0d6; }

/* ===========================================
   SERVIÇOS (CARD BRANCO FLUTUANTE)
   =========================================== */
.services { position: relative; display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; padding: 60px; gap: 40px; background-color: #fff; margin: -60px 60px 0 60px; z-index: 10; box-shadow: 0 4px 20px rgba(0,0,0,0.06); border-radius: 4px; }
.service-highlight { display: flex; flex-direction: column; justify-content: center; }
.service-highlight .number { font-family: 'Playfair Display', serif; font-size: 56px; font-weight: 400; line-height: 1; margin-bottom: 4px; }
.service-highlight .years-label { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: #666; margin-bottom: 12px; }
.service-highlight .description { font-size: 13px; line-height: 1.6; color: #555; margin-bottom: 16px; max-width: 200px; }
.service-highlight .signature { font-family: 'Playfair Display', serif; font-style: italic; font-size: 24px; color: #1a1a1a; }
.service-item { text-align: center; padding: 20px; }
.service-item .icon { width: 48px; height: 48px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; }
.service-item .icon svg { width: 40px; height: 40px; stroke: #1a1a1a; fill: none; stroke-width: 1.2; }
.service-item h3 { font-size: 15px; font-weight: 600; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
.service-item p { font-size: 13px; line-height: 1.6; color: #666; }

/* ===========================================
   SOBRE NÓS (SEÇÃO NA HOME)
   =========================================== */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background-color: #fff; margin-top: 60px; }
.about-image { position: relative; height: 400px; overflow: hidden; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-stats { position: absolute; bottom: 30px; right: 30px; background-color: #fff; padding: 24px 28px; }
.stat-item { margin-bottom: 16px; }
.stat-item:last-child { margin-bottom: 0; }
.stat-item .stat-number { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 500; line-height: 1; }
.stat-item .stat-label { font-size: 11px; color: #666; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.about-content { padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.about-content .label { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: #666; margin-bottom: 12px; }
.about-content h2 { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 500; line-height: 1.2; margin-bottom: 20px; }
.about-content p { font-size: 14px; line-height: 1.7; color: #555; margin-bottom: 28px; max-width: 440px; }
.btn-about { display: inline-flex; align-items: center; gap: 10px; background-color: #1a1a1a; color: #fff; padding: 14px 28px; font-size: 13px; font-weight: 500; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; width: fit-content; transition: background-color 0.3s; cursor: pointer; }
.btn-about:hover { background-color: #333; }

/* ===========================================
   PROJETOS (SEÇÃO NA HOME)
   =========================================== */
.projects { padding: 60px; background-color: #fff; border-top: 1px solid #eee; }
.projects-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.projects-header .left .label { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: #666; margin-bottom: 8px; }
.projects-header .left h2 { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 500; line-height: 1.2; }
.projects-header .view-all { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #1a1a1a; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; }
.home-projects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.home-project-card { overflow: hidden; }
.home-project-card .image-wrapper { width: 100%; height: 200px; overflow: hidden; margin-bottom: 14px; }
.home-project-card .image-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.home-project-card:hover .image-wrapper img { transform: scale(1.05); }
.home-project-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.home-project-card .category { font-size: 12px; color: #888; }

/* ===========================================
   CTA - VAMOS CONVERSAR
   =========================================== */
.cta-section { position: relative; padding: 50px 60px; overflow: hidden; }
.cta-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cta-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.3) 100%); z-index: 1; }
.cta-content { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.cta-left { display: flex; align-items: center; justify-content: space-between; gap: 40px; width: 100%; }
.cta-text { flex: 1; }
.cta-label { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.7); margin-bottom: 12px; }
.cta-text h2 { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 500; line-height: 1.25; margin-bottom: 20px; color: #fff; }
.cta-text p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.75); margin-bottom: 28px; max-width: 440px; }
.btn-cta { display: inline-flex; align-items: center; gap: 10px; background-color: #fff; color: #1a1a1a; padding: 14px 28px; font-size: 13px; font-weight: 500; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; transition: background-color 0.3s; }
.btn-cta:hover { background-color: #f0e8dd; }

/* Card Nicolas */
.cta-card { background-color: #fff; border-radius: 8px; box-shadow: 0 8px 30px rgba(0,0,0,0.08); overflow: hidden; width: 200px; flex-shrink: 0; transition: transform 0.4s ease, box-shadow 0.4s ease; position: relative; }
.cta-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%); transform: translateX(-100%); transition: transform 0.6s ease; z-index: 10; pointer-events: none; }
.cta-card:hover::before { transform: translateX(100%); }
.cta-card:hover { transform: translateY(-8px) rotateX(2deg) rotateY(-2deg); box-shadow: 0 20px 50px rgba(0,0,0,0.25); }
.cta-card-image { width: 100%; height: 200px; overflow: hidden; }
.cta-card-image img { width: 100%; height: 100%; object-fit: cover; }
.cta-card-info { padding: 20px 24px; text-align: center; }
.cta-card-info h4 { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 500; margin-bottom: 4px; }
.cta-role { display: block; font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.cta-contact { display: block; font-size: 12px; color: #aaa; }
.cta-socials { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.cta-social-item { display: flex; align-items: center; gap: 8px; }
.cta-social-item img { width: 18px; height: 18px; }
.cta-social-item span { font-size: 11px; color: #666; }

/* ===========================================
   PÁGINA: SOBRE NÓS
   =========================================== */
.about-hero { position: relative; padding: 180px 60px 80px; text-align: center; overflow: hidden; min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.about-hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.about-hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1; }
.about-hero .label { position: relative; z-index: 2; font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.7); margin-bottom: 12px; }
.about-hero h1 { position: relative; z-index: 2; font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 500; margin-bottom: 24px; color: #fff; }
.hero-synthesis-text { position: relative; z-index: 2; max-width: 700px; font-size: 14px; line-height: 1.9; color: rgba(255,255,255,0.8); margin-bottom: 40px; }
.hero-synthesis-images { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 24px; }
.hero-synthesis-images img { width: 320px; height: 200px; object-fit: cover; border-radius: 6px; box-shadow: 0 4px 16px rgba(0,0,0,0.3); }

/* Venetto é */
.words-section { padding: 60px; background-color: #fff; text-align: center; margin-bottom: 0; }
.words-section > p { font-family: 'Playfair Display', serif; font-size: 22px; font-style: italic; color: #1a1a1a; margin-bottom: 24px; }
.words-list { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 24px; }
.words-list span { font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 2px; color: #1a1a1a; padding: 10px 24px; border: 1px solid #ccc; border-radius: 30px; transition: all 0.3s; }
.words-list span:hover { background-color: #1a1a1a; color: #fff; border-color: #1a1a1a; }

/* ===========================================
   PÁGINA: PROJETOS
   =========================================== */
.projetos-hero { position: relative; padding: 120px 60px 80px; text-align: center; overflow: hidden; }
.projetos-hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.projetos-hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1; }
.projetos-hero-logo { position: relative; z-index: 2; height: 200px; margin-bottom: 24px; }
.projetos-hero .label { position: relative; z-index: 2; font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.7); margin-bottom: 12px; }
.projetos-hero h1 { position: relative; z-index: 2; font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 500; margin-bottom: 16px; color: #fff; }
.projetos-hero > p { position: relative; z-index: 2; font-size: 14px; color: rgba(255,255,255,0.8); max-width: 500px; margin: 0 auto; line-height: 1.7; }

/* Grid de projetos */
.projetos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 40px 60px 80px; }
.proj-card { border-radius: 8px; overflow: hidden; background-color: #fff; box-shadow: 0 4px 20px rgba(0,0,0,0.06); opacity: 0; transform: translateY(60px); transition: transform 0.6s cubic-bezier(0.16,1,0.3,1), opacity 0.6s ease, box-shadow 0.4s ease; will-change: transform, opacity; }
.proj-card.visible { opacity: 1; transform: translateY(0); }
.proj-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
.proj-card .image-wrapper { width: 100%; height: 280px; overflow: hidden; position: relative; }
.proj-card .image-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.proj-card .image-wrapper::after { content: ''; position: absolute; bottom: 12px; right: 12px; width: 80px; height: 80px; background: url('../img/ass-branca.png') no-repeat center/contain; opacity: 0.8; pointer-events: none; }
.proj-card:hover .image-wrapper img { transform: scale(1.06); }
.proj-card .card-content { padding: 20px 24px; }
.proj-card h3 { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 500; margin-bottom: 6px; }
.proj-card .category { font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; display: block; }
.proj-card .description { font-size: 13px; line-height: 1.6; color: #666; }

/* ===========================================
   FOOTER
   =========================================== */
.footer { background-color: #1a1a1a; color: #fff; padding: 60px; margin-top: 0; }.footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand img { height: 40px; margin-bottom: 16px; filter: brightness(10); }
.footer-brand p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.7); max-width: 280px; }
.footer-links h4, .footer-contact h4 { font-size: 14px; font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links a { display: block; font-size: 13px; color: rgba(255,255,255,0.7); text-decoration: none; margin-bottom: 10px; transition: color 0.3s; cursor: pointer; }
.footer-links a:hover { color: #fff; }
.footer-contact p { font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 8px; }
.footer-bottom { padding-top: 24px; display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.5); }

/* ===========================================
   RESPONSIVO
   =========================================== */
@media (max-width: 1024px) {
    .services { grid-template-columns: 1fr 1fr; }
    .home-projects-grid { grid-template-columns: repeat(2, 1fr); }
    .projetos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    header { padding: 16px 24px; }
    nav { display: none; }
    .hero { height: 70vh; }
    .hero-content { left: 24px; }
    .hero-content h1 { font-size: 36px; }
    .services { grid-template-columns: 1fr; padding: 40px 24px; margin: -40px 24px 0; }
    .home-projects-grid { grid-template-columns: 1fr; }
    .projetos-grid { grid-template-columns: 1fr; padding: 30px 24px; }
    .about { grid-template-columns: 1fr; }
    .cta-left { flex-direction: column; }
    .footer { padding: 40px 24px; }
    .footer-top { grid-template-columns: 1fr; }
    .hero-synthesis-images { flex-direction: column; }
    .hero-synthesis-images img { width: 100%; }
}

/* ===========================================
   PÁGINA: CONTATO
   =========================================== */
.contato-hero { padding: 120px 60px 60px; }
.contato-content { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: start; }
.contato-form-area .label { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: #666; margin-bottom: 12px; }
.contato-form-area h1 { font-family: 'Playfair Display', serif; font-size: 40px; font-weight: 500; line-height: 1.2; margin-bottom: 16px; }
.contato-subtitle { font-size: 14px; line-height: 1.7; color: #555; margin-bottom: 32px; max-width: 480px; }
.contato-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contato-form input,
.contato-form textarea {
    width: 100%; padding: 14px 18px; border: 1px solid #ddd; border-radius: 4px;
    font-family: 'Inter', sans-serif; font-size: 14px; color: #1a1a1a;
    background-color: #fff; transition: border-color 0.3s; outline: none; resize: vertical;
}
.contato-form input:focus,
.contato-form textarea:focus { border-color: #1a1a1a; }
.contato-form input::placeholder,
.contato-form textarea::placeholder { color: #aaa; }
.btn-enviar {
    display: inline-flex; align-items: center; gap: 10px; background-color: #1a1a1a; color: #fff;
    padding: 14px 28px; font-size: 13px; font-weight: 500; border: none; cursor: pointer;
    text-transform: uppercase; letter-spacing: 1px; width: fit-content; transition: background-color 0.3s;
}
.btn-enviar:hover { background-color: #333; }

/* Card contato */
.contato-info-area { display: flex; flex-direction: column; gap: 24px; }
.contato-card { background: #fff; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); overflow: hidden; }
.contato-card-image { width: 100%; height: 300px; overflow: hidden; }
.contato-card-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.contato-card-body { padding: 20px; text-align: center; }
.contato-card-body h4 { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 500; margin-bottom: 4px; }
.contato-card-body span { font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: 1px; }
.contato-dados { display: flex; flex-direction: column; gap: 16px; }
.contato-dado-item { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: #fff; border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,0.04); }
.contato-dado-item img { width: 24px; height: 24px; }
.contato-dado-item strong { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #1a1a1a; display: block; margin-bottom: 2px; }
.contato-dado-item p { font-size: 13px; color: #666; }

@media (max-width: 768px) {
    .contato-hero { padding: 100px 24px 40px; }
    .contato-content { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

/* Fix barra branca no sobre nós */
#page-sobre { background-color: #1a1a1a; }
#page-sobre .words-section { margin-bottom: 0; }
#page-sobre .footer { margin-top: 0; }
#page-contato { background-color: #f5f0eb; }
#page-contato .footer { margin-top: 0; }
#page-projetos { background-color: #f5f0eb; }
#page-projetos .footer { margin-top: 0; }
#page-inicio { background-color: #f5f0eb; }
#page-inicio .footer { margin-top: 0; }

/* Feedback do formulário */
.form-feedback { margin-top: 12px; font-size: 13px; font-weight: 500; }
.form-feedback.sucesso { color: #2e7d32; }
.form-feedback.erro { color: #c62828; }

/* Botão enviado */
.btn-enviar { transition: background-color 0.3s, transform 0.2s; }
.btn-enviar:active { transform: scale(0.96); }
.btn-enviar.enviado { background-color: #2e7d32; }
.btn-enviar .spinner {
    display: inline-block; width: 14px; height: 14px;
    border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff;
    border-radius: 50%; animation: spin 0.6s linear infinite;
    vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }
