/* 1. RESET E VARIÁVEIS */

:root {

    --bg-white: #FFFFFF;

    --bg-light: #F8FAFC;

    --text-main: #0F172A;

    --text-muted: #475569;

    --primary-color: #2563EB;

    --primary-hover: #1D4ED8;

    --icon-bg: #DBEAFE;

    --border-color: #E2E8F0;

}



* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {

    font-family: 'Plus Jakarta Sans', sans-serif;

    background-color: var(--bg-white);

    color: var(--text-main);

    line-height: 1.6;

}



.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }

.bg-light { background-color: var(--bg-light); }

.section-subtitle { color: var(--text-muted); margin-bottom: 3.5rem; font-size: 1.15rem; }



/* 2. NAVEGAÇÃO */

.navbar {

    display: flex; justify-content: space-between; align-items: center;

    padding: 1.5rem 5%; background-color: var(--bg-white);

    box-shadow: 0 1px 3px rgba(0,0,0,0.05);

    position: sticky; top: 0; z-index: 100;

}

.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; }

nav { display: flex; align-items: center; gap: 2rem; }

nav a { text-decoration: none; color: var(--text-main); font-weight: 600; transition: color 0.3s; }

nav a:hover { color: var(--primary-color); }

nav a.btn-primary { color: var(--bg-white); margin-left: 1rem; }



/* BOTÕES */

.btn-primary { background-color: var(--primary-color); color: var(--bg-white); padding: 0.75rem 1.5rem; border-radius: 8px; font-weight: 600; text-decoration: none; display: inline-block; transition: background-color 0.3s; }

.btn-primary:hover { background-color: var(--primary-hover); }



.btn-outline { background-color: transparent; color: var(--text-main); padding: 0.75rem 1.5rem; border-radius: 8px; font-weight: 600; text-decoration: none; display: inline-block; border: 1px solid var(--border-color); transition: all 0.3s; }

.btn-outline:hover { border-color: var(--text-main); background-color: var(--bg-light); }



.btn-large { font-size: 1.1rem; padding: 1rem 2rem; }

.btn-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--primary-color); font-weight: 700; text-decoration: none; margin-top: 1.5rem; transition: gap 0.3s; }

.btn-link:hover { gap: 0.8rem; }

.btn-link i { width: 18px; height: 18px; }



/* 3. HERO */

.hero-section { display: flex; align-items: center; justify-content: space-between; gap: 4rem; padding: 6rem 5%; max-width: 1300px; margin: 0 auto; }

.hero-content { flex: 1.2; }

.hero-content h1 { font-size: 3.8rem; font-weight: 800; line-height: 1.15; margin-bottom: 1.5rem; letter-spacing: -1.5px; }

.highlight { color: var(--primary-color); }

.hero-content p { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 550px; }

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-image { flex: 1; display: flex; justify-content: flex-end; }

.hero-image img { width: 100%; max-width: 500px; border-radius: 16px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15); }



/* 4. SERVIÇOS */

.services-section { padding: 6rem 0; text-align: center; }

.services-section h2 { font-size: 2.5rem; margin-bottom: 3.5rem; letter-spacing: -0.5px; }

.cards-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }

.card { background-color: var(--bg-white); padding: 3rem 2rem; border-radius: 16px; text-align: left; border: 1px solid var(--border-color); transition: transform 0.3s ease, box-shadow 0.3s ease; }

.card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.06); border-color: transparent; }

.icon-wrapper { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; background-color: var(--icon-bg); border-radius: 12px; margin-bottom: 1.5rem; }

.card-icon { color: var(--primary-color); }

.card h3 { font-size: 1.4rem; margin-bottom: 1rem; }

.card p { color: var(--text-muted); }



/* 5. DIFERENCIAIS */

.differentials-section { padding: 6rem 0; background-color: var(--bg-white); }

.differentials-header { text-align: center; max-width: 600px; margin: 0 auto 4rem auto; }

.differentials-header h2 { font-size: 2.2rem; margin-bottom: 1rem; }

.differentials-header p { color: var(--text-muted); font-size: 1.1rem; }

.differentials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }

.diff-item { display: flex; gap: 1rem; align-items: flex-start; }

.diff-icon { color: var(--primary-color); flex-shrink: 0; margin-top: 3px; }

.diff-item h4 { margin-bottom: 0.3rem; font-size: 1.1rem; }

.diff-item p { color: var(--text-muted); font-size: 0.95rem; }



/* 6. PORTFÓLIO */

.portfolio-section { padding: 6rem 0; text-align: center; }

.portfolio-section h2 { font-size: 2.5rem; margin-bottom: 1rem; }

.portfolio-grid-large { display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 3rem; text-align: left; }

.portfolio-item { background-color: var(--bg-white); border-radius: 16px; overflow: hidden; border: 1px solid var(--border-color); transition: transform 0.3s ease; }

.portfolio-item:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }



/* REGRA ATUALIZADA: Altura automática para nunca cortar as laterais */

.portfolio-image {

    width: 100%;

    height: auto;

    display: block;

    border-bottom: 1px solid var(--border-color);

}



.portfolio-info { padding: 2.5rem; }

.portfolio-tag { display: inline-block; background-color: var(--bg-light); color: var(--text-muted); padding: 0.4rem 1rem; border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 1rem; border: 1px solid var(--border-color); }

.portfolio-info h3 { margin-bottom: 0.8rem; font-size: 1.5rem; }

.portfolio-info p { color: var(--text-muted); }



/* FORMATAÇÃO DO MINI ESTUDO DE CASO (Portfólio) */

.case-study {

    background-color: var(--bg-light);

    padding: 1.5rem;

    border-radius: 8px;

    margin: 1.5rem 0;

    border-left: 4px solid var(--primary-color);

}

.case-study p { font-size: 0.95rem; color: var(--text-main); margin-bottom: 0.5rem; }

.case-study p:last-child { margin-bottom: 0; }

.case-study strong { color: var(--primary-color); font-weight: 700; margin-right: 0.2rem; }



/* 7. PROCESSO */

.process-section { padding: 6rem 0; text-align: center; }

.process-section h2 { font-size: 2.5rem; margin-bottom: 1rem; }

.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; text-align: left; margin-top: 3rem; }

.process-step { position: relative; }

.step-number { font-size: 3rem; font-weight: 800; color: #E2E8F0; line-height: 1; display: block; margin-bottom: 1rem; }

.process-step h4 { font-size: 1.2rem; margin-bottom: 0.8rem; }

.process-step p { color: var(--text-muted); font-size: 0.95rem; }



/* 8. SOBRE (FOTO E TEXTO AJUSTADOS) */

.about-section { padding: 6rem 0; }

.about-flex { display: flex; align-items: center; gap: 5rem; }

.about-image { flex: 0.8; display: flex; justify-content: flex-end; }

.about-image img { width: 100%; max-width: 320px; border-radius: 16px; object-fit: cover; aspect-ratio: 4/5; box-shadow: 0 20px 40px rgba(0,0,0,0.08); }

.about-text { flex: 1.2; }

.about-text h2 { font-size: 2.2rem; margin-bottom: 1.5rem; letter-spacing: -0.5px; line-height: 1.2; }

.about-text p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 1.2rem; }

.about-text strong { color: var(--text-main); }



/* 9. CONTATO FINAL */

.contact-section { padding: 8rem 0; background-color: var(--text-main); color: var(--bg-white); text-align: center; }

.contact-section h2 { font-size: 2.5rem; margin-bottom: 1.5rem; letter-spacing: -0.5px; }

.contact-section p { color: #94A3B8; margin-bottom: 3rem; font-size: 1.15rem; max-width: 600px; margin-left: auto; margin-right: auto; }

.btn-whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; background-color: #25D366; color: #FFFFFF; padding: 1.2rem 3rem; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 1.1rem; transition: background-color 0.3s, transform 0.2s; }

.btn-whatsapp:hover { background-color: #1DA851; transform: scale(1.02); }



/* 10. FOOTER */

.footer { background-color: #020617; color: #94A3B8; padding: 5rem 0 2rem 0; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }

.footer-brand h3 { color: var(--bg-white); font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; }

.footer-brand p { max-width: 350px; font-size: 0.95rem; }

.footer h4 { color: var(--bg-white); margin-bottom: 1.5rem; font-size: 1.1rem; }

.footer-links { display: flex; flex-direction: column; gap: 0.8rem; }

.footer-links a { color: #94A3B8; text-decoration: none; transition: color 0.3s; }

.footer-links a:hover { color: var(--bg-white); }

.footer-contact p { margin-bottom: 0.8rem; }

.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid #1E293B; font-size: 0.9rem; }



/* 11. RESPONSIVIDADE */

@media (max-width: 900px) {

    .navbar { flex-direction: column; gap: 1rem; padding: 1rem; }

    nav { display: none; }

   

    .hero-section { flex-direction: column; text-align: center; padding-top: 3rem; }

    .hero-content h1 { font-size: 2.8rem; }

    .hero-content p { margin: 0 auto 2rem auto; }

    .hero-buttons { justify-content: center; }

   

    .portfolio-grid-large { grid-template-columns: 1fr; }

   

    .about-flex { flex-direction: column; text-align: center; }

   

    .footer-grid { grid-template-columns: 1fr; text-align: center; }

    .footer-brand p { margin: 0 auto; }

} 

