/* ===========================
   RESET E VARIÁVEIS GLOBAIS
   =========================== */

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

:root {
    --primary-color: #2d7a5e;
    --secondary-color: #1a3a2a;
    --accent-color: #6eb5a8;
    --light-color: #f0f7f5;
    --text-color: #2c3e50;
    --border-color: #d4e8e3;
    --success-color: #4caf50;
    --error-color: #f44336;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

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

/* ===========================
   CONTAINER E LAYOUT
   =========================== */

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

/* ===========================
   NAVEGAÇÃO
   =========================== */

.navbar {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.navbar-brand {
    color: white;
    text-decoration: none;
}

.navbar-brand h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.navbar-brand .tagline {
    font-size: 0.8rem;
    font-style: italic;
    opacity: 0.9;
    margin-top: 2px;
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-links a:hover {
    background-color: var(--accent-color);
    color: white;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 8rem 2rem;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-page {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.hero-page h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-page p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ===========================
   BOTÕES
   =========================== */

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: #5a9f92;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(110, 181, 168, 0.3);
}

/* ===========================
   SEÇÕES
   =========================== */

section {
    padding: 4rem 0;
}

section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ===========================
   SEÇÃO SERVIÇOS
   =========================== */

.servicos {
    background-color: white;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.servico-card {
    background: linear-gradient(135deg, var(--light-color) 0%, white 100%);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--primary-color);
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(45, 122, 94, 0.15);
    border-top-color: var(--accent-color);
}

.servico-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.servico-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.servico-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===========================
   SEÇÃO SOBRE
   =========================== */

.sobre {
    background: linear-gradient(135deg, var(--light-color) 0%, white 100%);
}

.sobre p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
    text-align: justify;
}

/* ===========================
   SEÇÃO ORÇAMENTO
   =========================== */

.orcamento {
    background-color: white;
}

.orcamento-form-wrapper {
    background: linear-gradient(135deg, var(--light-color) 0%, white 100%);
    padding: 3rem;
    border-radius: 10px;
    max-width: 700px;
    margin: 2rem auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* ===========================
   FORMULÁRIOS
   =========================== */

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(45, 122, 94, 0.2);
}

/* ===========================
   SEÇÃO CONTATO
   =========================== */

.contact-section {
    background-color: white;
    padding: 4rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info h2,
.contact-form-wrapper h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.info-item p {
    color: #666;
    line-height: 1.8;
}

.info-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.info-item a:hover {
    text-decoration: underline;
}

.contact-form {
    background: linear-gradient(135deg, var(--light-color) 0%, white 100%);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.map-container {
    margin-top: 3rem;
}

.map-container h2 {
    margin-bottom: 1.5rem;
}

.map-container iframe {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* ===========================
   CONTEÚDO LEGAL
   =========================== */

.legal-content {
    background-color: white;
    padding: 3rem 0;
}

.legal-content h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: justify;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: #555;
}

/* ===========================
   RODAPÉ
   =========================== */

.footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
    opacity: 0.8;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* ===========================
   RESPONSIVIDADE
   =========================== */

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        padding: 1rem;
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero {
        padding: 4rem 2rem;
        min-height: 300px;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .orcamento-form-wrapper {
        padding: 2rem 1rem;
    }

    .servicos-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .navbar-brand h1 {
        font-size: 1.3rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    section {
        padding: 2rem 0;
    }

    .orcamento-form-wrapper {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.6rem;
        font-size: 0.95rem;
    }

    .map-container iframe {
        height: 250px;
    }
}

/* ===========================
   ANIMAÇÕES
   =========================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.servico-card {
    animation: fadeIn 0.5s ease-out;
}

/* ===========================
   UTILITÁRIOS
   =========================== */

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

.mt-2 {
    margin-top: 1rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.text-muted {
    color: #999;
}
