/* ================================
   NEV GEOLOGIA - Estilo Principal
   ================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #4a3520;
    --primary-brown: #5c4329;
    --primary-light: #7a5a3a;
    --accent-green: #2bb673;
    --accent-green-dark: #1e9e5e;
    --bg-cream: #f7f1e8;
    --text-dark: #2d2419;
    --text-light: #f7f1e8;
    --text-muted: #c9b8a0;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo img {
    height: 55px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
}

.nav a:hover, .nav a.active {
    color: var(--accent-green);
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-green);
}

.btn-orcamento {
    background: var(--accent-green);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-orcamento:hover {
    background: var(--accent-green-dark);
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff08' d='M0,160L48,176C96,192,192,224,288,224C384,224,480,192,576,176C672,160,768,160,864,170.7C960,181,1056,203,1152,202.7C1248,203,1344,181,1392,170.7L1440,160L1440,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") bottom/cover no-repeat;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(28px, 5vw, 44px);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: clamp(16px, 2vw, 19px);
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.92);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border: 2px solid transparent;
    font-size: 15px;
    cursor: pointer;
}

.btn-whatsapp {
    background: var(--accent-green);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: var(--accent-green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary-brown);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: clamp(26px, 4vw, 36px);
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    font-size: 17px;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border-top: 4px solid var(--accent-green);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-green-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 26px;
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary-dark);
    margin-bottom: 12px;
    font-size: 19px;
}

.service-card p {
    color: #555;
    font-size: 15px;
}

/* ===== CIDADES SECTION ===== */
.cidades-section {
    background: var(--bg-cream);
}

.cidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 30px;
}

.cidade-item {
    background: var(--white);
    padding: 14px 18px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    border-left: 3px solid var(--accent-green);
}

.cidade-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow);
    color: var(--accent-green);
}

.cidade-item .estado {
    font-size: 11px;
    color: #999;
    margin-left: auto;
    background: var(--bg-cream);
    padding: 2px 7px;
    border-radius: 10px;
}

/* ===== ABOUT ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    color: var(--primary-dark);
    font-size: clamp(24px, 4vw, 34px);
    margin-bottom: 20px;
}

.about-text p {
    color: #555;
    margin-bottom: 16px;
    font-size: 16px;
}

.about-features {
    list-style: none;
    margin-top: 25px;
}

.about-features li {
    padding: 10px 0;
    color: #444;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-features li::before {
    content: '✓';
    background: var(--accent-green);
    color: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

.about-image {
    background: linear-gradient(135deg, var(--primary-brown), var(--primary-dark));
    border-radius: 12px;
    padding: 60px 40px;
    color: var(--white);
    text-align: center;
}

.about-image .stat {
    margin: 25px 0;
}

.about-image .stat-num {
    font-size: 42px;
    font-weight: 700;
    color: var(--accent-green);
}

.about-image .stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-brown), var(--primary-dark));
    color: var(--white);
    text-align: center;
    padding: 70px 20px;
}

.cta-section h2 {
    font-size: clamp(24px, 4vw, 34px);
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 17px;
    margin-bottom: 30px;
    opacity: 0.92;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 60px 20px 25px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p, .footer-col a, .footer-col li {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.9;
    list-style: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col a:hover {
    color: var(--accent-green);
}

.footer-col img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-social a {
    background: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.footer-social a:hover {
    background: var(--accent-green);
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--accent-green);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(43, 182, 115, 0.4);
    z-index: 999;
    animation: pulse 2s infinite;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(43, 182, 115, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(43, 182, 115, 0.8); }
}

/* ===== CITY PAGE STYLES ===== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-brown), var(--primary-dark));
    color: var(--white);
    padding: 80px 20px 60px;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(26px, 4vw, 40px);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-hero .breadcrumb {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 20px;
}

.page-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.page-hero .breadcrumb a:hover { color: var(--accent-green); }

.page-hero p.subtitle {
    font-size: 18px;
    opacity: 0.92;
    max-width: 700px;
    margin: 0 auto 30px;
}

.content-section {
    padding: 60px 20px;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper h2 {
    color: var(--primary-dark);
    font-size: 28px;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-green);
}

.content-wrapper h3 {
    color: var(--primary-brown);
    font-size: 21px;
    margin: 30px 0 15px;
}

.content-wrapper p {
    color: #444;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.8;
}

.content-wrapper ul {
    margin: 15px 0 20px 20px;
    color: #444;
}

.content-wrapper ul li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.info-box {
    background: var(--bg-cream);
    border-left: 4px solid var(--accent-green);
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
}

.info-box h3 {
    margin-top: 0;
    color: var(--primary-dark);
}

.related-cities {
    background: var(--bg-cream);
    padding: 50px 20px;
}

.related-cities h3 {
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 30px;
    font-size: 22px;
}

.related-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

/* ===== FORM ===== */
.form-section {
    padding: 60px 20px;
    background: var(--bg-cream);
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-wrapper h2 {
    color: var(--primary-dark);
    margin-bottom: 25px;
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-green);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    background: var(--accent-green);
    color: var(--white);
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: var(--accent-green-dark);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        gap: 15px;
    }
    .nav.active {
        display: flex;
    }
    .mobile-toggle {
        display: block;
    }
    section {
        padding: 60px 0;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
