/* --- BASE E RESET --- */
:root {
    --primary: #2E7D32;       
    --primary-dark: #1B5E20;
    --secondary: #5D4037;     
    --text: #333;
    --light-bg: #F4F6F4;
    --white: #FFF;
    --shadow: 0 8px 20px rgba(0,0,0,0.08);
    --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; color: var(--text); line-height: 1.6; }
header img {height: 60px;}

h1, h2, h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--secondary); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.bg-light { background: var(--light-bg); }
.highlight { color: var(--primary); }
.text-green { color: var(--primary); }
.full-width { width: 100%; display: block; text-align: center; }

/* --- HEADER --- */
.header { background: var(--white); height: 70px; position: fixed; width: 100%; top: 0; z-index: 999; box-shadow: 0 2px 10px rgba(0,0,0,0.05); display: flex; align-items: center; }
.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-size: 1.4rem; font-weight: 800; color: var(--secondary); text-transform: uppercase; text-decoration: none; }
.nav-list { display: flex; gap: 20px; align-items: center; list-style: none; }
.nav-link { color: var(--text); font-weight: 600; text-decoration: none; font-size: 0.9rem; transition: 0.3s; }
.nav-link:hover { color: var(--primary); }
.btn-nav-highlight { background: var(--primary); color: white !important; padding: 8px 15px; border-radius: 20px; }
.nav-social { color: #1877F2; font-size: 1.2rem; }
.hamburger { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 3px; background: var(--text); margin: 5px 0; }

/* --- HERO --- */
.hero { height: 90vh; margin-top: 70px; background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.5)), url('https://praticotijolos.com.br/wp-content/uploads/2024/02/pratico_tijolos_ecologicos_banner.jpg') center/cover; display: flex; align-items: center; color: white; position: relative; }
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.badge { background: var(--primary); padding: 5px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }
.hero h1 { font-size: 2.5rem; margin: 15px 0 20px; color: var(--white)}
.btn { padding: 12px 25px; border-radius: 50px; font-weight: 700; text-transform: uppercase; cursor: pointer; border: none; text-decoration: none; display: inline-block; transition: 0.3s; }
.btn-primary { background: var(--primary); color: white; margin: 10px; padding: 12px; }
.btn-primary:hover { transform: translateY(-3px); background: var(--primary-dark); }
.btn-whatsapp { background: #25D366; color: white; font-size: 1.1rem; padding: 15px; }
.btn-whatsapp:hover { background: #1ebc57; }

/* --- ORÇAMENTO INTEGRADO (ESTILO DASHBOARD) --- */
.section-header { text-align: center; margin-bottom: 40px; }
.budget-container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

/* Coluna Inputs */
.budget-inputs { background: var(--white); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); }
.input-group { margin-bottom: 25px; }
.input-group label { display: block; font-weight: 700; margin-bottom: 8px; color: var(--secondary); }
.input-group input, .input-group select { width: 100%; padding: 12px; border: 2px solid #ddd; border-radius: 8px; font-size: 1rem; transition: 0.3s; }
.input-group input:focus, .input-group select:focus { border-color: var(--primary); outline: none; }
.freight-disclaimer { font-size: 0.75rem; color: #777; margin-top: 8px; font-style: italic; line-height: 1.4; border-left: 3px solid #FFC107; padding-left: 8px; }

/* Coluna Resumo (Invoice) */
.budget-summary { background: var(--white); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid #eee; position: relative; }
.budget-summary h3 { margin-bottom: 20px; border-bottom: 2px solid var(--light-bg); padding-bottom: 10px; }

.invoice-box { background: #fdfdfd; border: 1px solid #eee; border-radius: 8px; padding: 20px; margin-bottom: 20px; }
.invoice-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 0.95rem; color: #555; }
.header-row { font-weight: 700; color: var(--secondary); border-bottom: 1px solid #ddd; padding-bottom: 10px; margin-bottom: 10px; }
.invoice-divider { height: 1px; background: #ddd; margin: 15px 0; }
.freight-row { color: var(--primary); font-weight: 600; }

.invoice-total { display: flex; justify-content: space-between; font-size: 1.5rem; font-weight: 800; color: var(--secondary); margin-top: 15px; padding-top: 15px; border-top: 2px dashed #ccc; }
.security-note { font-size: 0.8rem; text-align: center; color: #999; margin-top: 15px; display: flex; align-items: center; justify-content: center; gap: 5px; }

/* --- SPECS & FAQ --- */
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 30px; align-items: center; }
.tech-image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.tech-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.tech-table td { padding: 15px; border-bottom: 1px solid #eee; }

.faq-item { border-bottom: 1px solid #ddd; margin-bottom: 10px; }
.faq-question { width: 100%; padding: 15px; text-align: left; background: none; border: none; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; }
.faq-answer { max-height: 0; overflow: hidden; transition: 0.3s; padding: 0 15px; color: #555; }
.faq-item.active .faq-answer { max-height: 150px; padding-bottom: 15px; }

/* --- FOOTER & FLOAT --- */
.footer { background: #3E2723; color: #D7CCC8; padding: 40px 0 20px; text-align: center; }
.footer-content { display: flex; justify-content: space-around; flex-wrap: wrap; margin-bottom: 20px; }
.social-links-footer a { color: white; text-decoration: none; }
.float-whatsapp { position: fixed; bottom: 25px; right: 25px; background: #25D366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 1000; transition: 0.3s; }
.float-whatsapp:hover { transform: scale(1.1); }

/* --- ESTILOS DO MINI CURSO (EDUCACIONAL) --- */

.course-grid {
    display: grid;
    /* Cria colunas automáticas. No PC caberá 5, no celular 1 ou 2 */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 20px;
    margin-top: 40px;
}

.course-card {
    background: var(--white);
    padding: 25px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    border-bottom: 4px solid transparent; /* Linha decorativa invisível */
    transition: 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    border-bottom: 4px solid var(--primary); /* Linha aparece verde no hover */
}

/* Número do Passo (Bolinha Verde) */
.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 2;
}

.course-icon {
    font-size: 2.5rem;
    color: var(--secondary); /* Marrom Terra */
    margin: 15px 0;
}

.course-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.course-card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.course-cta {
    text-align: center;
    margin-top: 40px;
    background: #e8f5e9; /* Fundo verde bem claro */
    padding: 15px;
    border-radius: 8px;
    border: 1px dashed var(--primary);
    color: var(--primary-dark);
    font-weight: 600;
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-menu { display: none; position: fixed; top: 70px; left: 0; width: 100%; background: var(--white); padding: 20px; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
    .nav-menu.active { display: block; }
    .nav-list { flex-direction: column; }
    .budget-container, .tech-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
}

/* Animation */
.scroll-reveal { opacity: 0; transform: translateY(20px); transition: 0.6s ease-out; }
.scroll-reveal.show { opacity: 1; transform: translateY(0); }

.btn-rota {
            display: inline-flex;
            align-items: center;
            background-color: #4285F4;
            color: white;
            padding: 12px 24px;
            border: none;
            border-radius: 8px;
            font-family: Arial, sans-serif;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            text-decoration: none;
            transition: background 0.3s ease;
        }

.btn-rota:hover {
    background-color: #3367D6;
}
.btn-rota i {
            margin-right: 10px;
}
#maps {display: flex; align-content: center; justify-content: center; align-items: center; padding: 20px;}
.maps {text-align: center; padding-top: 13px;}