/* --- VARIÁVEIS & RESET --- */
:root {
    --bg-main: #0a0a0a;      /* Preto suave */
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-primary: #ffffff;
    --text-secondary: #a1a1a1;
    --accent: #ffffff;       /* Branco puro para destaques */
    --border-subtle: rgba(255, 255, 255, 0.1);
    --font-serif: 'Playfair Display', serif; /* Fonte da Logo */
    --font-sans: 'Inter', sans-serif;
    --whatsapp: #25D366;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- TIPOGRAFIA ELEGANTE --- */
h1, h2, h3 {
    font-family: var(--font-serif); /* Títulos com serifa igual a logo */
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; margin-bottom: 20px; }
h2 { font-size: 2.2rem; margin-bottom: 15px; }
h3 { font-size: 1.5rem; margin-bottom: 10px; }
p { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 20px; }

.serif-italic { font-style: italic; opacity: 0.8; } /* Charme extra */

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.mb-large { margin-bottom: 60px; }
.mt-large { margin-top: 40px; }
.section-padding { padding: 80px 0; }

/* --- HEADER --- */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
}

.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { width: 100px;}
.logo-text { font-family: var(--font-serif); font-size: 1.8rem; letter-spacing: 0.05em; }

.nav-list { display: flex; gap: 30px; list-style: none; }
.nav-list a { color: var(--text-primary); text-decoration: none; font-size: 0.95rem; opacity: 0.8; transition: 0.3s; }
.nav-list a:hover { opacity: 1; text-decoration: underline; }

.btn-whatsapp {
    background: var(--whatsapp);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: flex; align-items: center; gap: 8px;
    font-size: 0.9rem;
    transition: transform 0.2s;
}
.btn-whatsapp:hover { transform: scale(1.05); }

/* --- HERO SECTION --- */
.hero {
    padding-top: 140px; padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}
.hero-container { display: flex; align-items: center; gap: 50px; }
.hero-content { flex: 1; }

.btn-primary {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 14px 32px;
    border-radius: 4px; /* Bordas menos arredondadas = mais sério */
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: 0.3s;
    border: 1px solid #fff;
}
.btn-primary:hover {
    background: transparent;
    color: #fff;
}

.hero-image { flex: 1; position: relative; z-index: 2; }
.hero-image img { width: 100%; max-width: 450px; border-radius: 20px; }

/* Efeito de brilho sutil atrás da imagem */
.glow-bg {
    position: absolute;
    top: 20%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
    z-index: 1;
}

/* --- GRID SYSTEM --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.rounded-img { width: 100%; border-radius: 12px; border: 1px solid var(--border-subtle); opacity: 0.9; }

/* --- CARDS ELEGANTES --- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 30px;
    border-radius: 8px; /* Cantos levemente arredondados */
    transition: transform 0.3s, border-color 0.3s;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.card-icon {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

/* --- PORTFOLIO --- */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.project-item img {
    height: 100%;
    width: 100%; border-radius: 4px; transition: opacity 0.3s;
    border: 1px solid var(--border-subtle);
}
.project-item:hover img { opacity: 0.8; }
.project-item span { display: block; margin-bottom: 2px; font-size: 0.9rem; color: var(--text-secondary); text-align: center; }

/* --- PROCESSO --- */
.process-steps { max-width: 700px; margin: 0 auto; }
.step {
    display: flex; gap: 20px;
    padding-bottom: 30px;
    border-left: 1px solid var(--border-subtle);
    padding-left: 30px;
    position: relative;
}
.step:last-child { border-left: none; }

.step-number {
    position: absolute; left: -15px; top: 0;
    width: 30px; height: 30px;
    background: var(--bg-main);
    border: 1px solid #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: bold; font-family: var(--font-serif);
}

/* --- FAQ --- */
.accordion-item { border-bottom: 1px solid var(--border-subtle); margin-bottom: 10px; }
.accordion-header {
    width: 100%; background: none; border: none;
    color: var(--text-primary);
    text-align: left;
    padding: 20px 0;
    font-size: 1.1rem; font-family: var(--font-serif);
    cursor: pointer;
    display: flex; justify-content: space-between;
}
.accordion-content {
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease;
}
.accordion-content p { padding-bottom: 20px; font-size: 0.95rem; }
.accordion-item.active .icon { transform: rotate(45deg); }
.accordion-item.active .accordion-content { max-height: 150px; }

/* --- FOOTER --- */
footer { border-top: 1px solid var(--border-subtle); padding: 40px 0; text-align: center; margin-top: 60px; }
.footer-logo { font-family: var(--font-serif); font-size: 2rem; margin-bottom: 10px; }
.copyright { margin-top: 30px; font-size: 0.8rem; color: #555; }

/* --- RESPONSIVIDADE --- */
.mobile-menu-icon { display: none; cursor: pointer; }
.bar { width: 25px; height: 2px; background: #fff; margin: 5px 0; }

@media (max-width: 768px) {

    h1 { font-size: 2.5rem; }
    .hero-container, .grid-2 { flex-direction: column; text-align: center; }
    .nav-list { display: none; }
    .mobile-menu-icon { display: block; }
    .nav-list.active {
        display: flex; flex-direction: column;
        position: absolute; top: 70px; left: 0; width: 100%;
        background: #0a0a0a; padding: 20px; border-bottom: 1px solid #333;
    }
   h2 { font-size: 1.8rem; }
   .rounded-img{ display: none;}

}



/* --- ANIMAÇÕES SIMPLES (FADE IN) --- */
.fade-in { opacity: 0; transform: translateY(20px); transition: 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }