/*
  Arquivo CSS para estilizar a landing page de Topografia para Usucapião da ELM Topografia.
  Cores do Tema Usucapião:
  - Verde Principal: #1E5631
  - Branco: #FFFFFF
  - Texto Principal: #333
  - Fundo Seções: #f4f4f4 / #f9f9f9
*/

/* --- Reset Básico --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    overflow-x: hidden;
}

/* --- Container Centralizador --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}

/* --- Header --- */
header {
    background: #FFFFFF;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

header .logo img {
    height: 40px;
    display: block;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 25px;
}

header nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #1E5631; /* === COR ALTERADA === */
}

.btn-header-cta {
    background: #1E5631; /* === COR ALTERADA === */
    color: #FFFFFF !important;
    padding: 8px 18px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
}

.btn-header-cta:hover {
    background: #153d22; /* === COR ALTERADA === */
    color: #FFFFFF;
}


/* --- Botões CTA Gerais --- */
.btn-cta, .btn-submit-form {
    display: inline-block;
    background: #1E5631; /* === COR ALTERADA === */
    color: #FFFFFF !important;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-cta:hover, .btn-submit-form:hover {
    background: #153d22; /* === COR ALTERADA === */
}

/* --- Seções --- */
section {
    padding: 80px 0;
    text-align: center;
}

section:nth-child(even) {
    background-color: #f9f9f9;
}

/* Estilo específico para a seção Hero */
#hero {
    background: url('../images/usucapiao-hero.jpg') no-repeat center center/cover;
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

/* Overlay para a seção Hero */
#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

#hero .container {
    position: relative;
    z-index: 2;
}

#hero h1, #hero h2 {
    color: #FFFFFF;
}

#hero h1 {
    font-size: 3em;
    margin-bottom: 15px;
}

#hero h2 {
    font-size: 1.4em;
    margin-bottom: 30px;
    font-weight: normal;
}

/* --- Títulos de Seção --- */
h2 {
    font-size: 2.2em;
    color: #1E5631; /* === COR ALTERADA === */
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #1E5631; /* === COR ALTERADA === */
    margin: 15px auto 0;
    border-radius: 2px;
}

h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 15px;
}

.section-intro {
    font-size: 1.2em;
    color: #555;
    margin-top: -20px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

<section id="como-funciona">
  <div class="container">
    <h2>Como Funciona</h2>
    <div class="passos-list">
      <div class="passo-item">Passo 1</div>
      <div class="passo-item">Passo 2</div>
      <div class="passo-item">Passo 3</div>
      <div class="passo-item">Passo 4</div>
    </div>
  </div>
</section>

p {
    margin-bottom: 20px;
    text-align: left;
}

/* --- Listas Flexíveis (Serviços, Produtos, Vantagens, Como Funciona) --- */
.servicos-list, .produtos-list, .vantagens-list, .passos-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.servico-item, .produto-item, .vantagem-item, .passo-item {
    background: #FFFFFF;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    text-align: center;
    flex: 1 1 100%;
}

.servico-item img, .produto-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 5px;
}

.vantagem-item img {
     max-width: 80px;
     height: auto;
     margin: 0 auto 15px;
}

.passo-item span {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: #1E5631; /* === COR ALTERADA === */
    color: #FFFFFF;
    border-radius: 50%;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 15px;
}

/* --- Formulário de Contato e Info --- */
.contato-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    text-align: left;
    justify-content: center;
}

.contato-form {
    flex: 2;
    min-width: 300px;
}

.contato-info {
    flex: 1;
    min-width: 250px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea,
.form-group input[type="file"],
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    background-color: #fff;
}

.form-group input[type="file"]::file-selector-button {
    margin-right: 15px;
    border: none;
    background: #1E5631; /* === COR ALTERADA === */
    padding: 8px 12px;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    transition: background .2s ease-in-out;
}

.form-group input[type="file"]::file-selector-button:hover {
    background: #153d22; /* === COR ALTERADA === */
}

.form-group textarea {
    resize: vertical;
}

.honeypot-field {
    display: none !important;
}

.contato-info p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.contato-info img {
    height: 20px;
    width: auto;
    vertical-align: middle;
    margin-right: 8px;
}

#mapa iframe {
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    height: 250px;
}

/* --- Footer --- */
footer {
    background: #333;
    color: #f4f4f4;
    padding: 40px 0;
    font-size: 0.9em;
}

footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
}

.footer-logo img {
    height: 50px;
}

.footer-contact p {
    margin-bottom: 8px;
}

.footer-contact a {
    color: #f4f4f4;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-copyright {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #555;
}


/* --- Responsividade --- */

/* Mobile (< 768px) */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    header nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
        padding-left: 0;
    }

    header nav ul li {
        margin: 5px 10px;
    }

    #hero h1 { font-size: 2em; }
    #hero h2 { font-size: 1.1em; }
    h2 { font-size: 1.8em; }
    section { padding: 50px 0; }

    .contato-flex { text-align: center; }
}

/* Tablet e Desktop (> 768px) */
@media (min-width: 769px) {
    .servico-item, .produto-item, .passo-item {
        flex-basis: calc(50% - 15px);
    }
    
    .vantagem-item {
        flex-basis: calc(50% - 15px);
    }
}

/* Desktop Largo (> 1024px) */
@media (min-width: 1024px) {
    .servico-item, .produto-item, .vantagem-item {
        flex-basis: calc(33.333% - 20px);
    }

    .passo-item {
        flex-basis: calc(25% - 23px);
    }
}

.servicos-list .servico-item,
.produtos-list .produto-item,
.vantagens-list .vantagem-item,
.passos-list .passo-item {
    flex: 1 1 calc(50% - 15px) !important;
}

#como-funciona .passos-list .passo-item {
    flex: 1 1 calc(50% - 15px) !important;
}