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

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

:root {
    --primary-color: #1e3a5f;
    --secondary-color: #2c5aa0;
    --accent-color: #f39c12;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #333333;
    --text-color: #333333;
    --border-color: #ddd;
    --success-color: #27ae60;
    --error-color: #e74c3c;
    --white: #ffffff;
    --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(--white);
}

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

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

/* ===========================
   HEADER E NAVEGAÇÃO
   =========================== */

.header {
    background-color: var(--primary-color);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

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

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: var(--transition);
}

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

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

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

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

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

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

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

.btn-primary:hover {
    background-color: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.btn-whatsapp {
    background-color: #25d366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
}

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

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--dark-gray);
}

section {
    padding: 4rem 0;
}

/* ===========================
   ABOUT INTRO
   =========================== */

.about-intro {
    background-color: var(--light-gray);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* ===========================
   SERVIÇOS
   =========================== */

.services-preview {
    background-color: var(--white);
}

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

.service-card {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border-left: 4px solid var(--accent-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

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

.service-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

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

/* ===========================
   DIFERENCIAIS
   =========================== */

.differentials {
    background-color: var(--light-gray);
}

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

.differential-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.differential-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.differential-item p {
    color: var(--dark-gray);
    line-height: 1.7;
}

/* ===========================
   CONTATO RÁPIDO
   =========================== */

.quick-contact {
    background-color: var(--primary-color);
    color: var(--white);
}

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

.contact-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

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

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

/* ===========================
   PÁGINA BANNER
   =========================== */

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

.banner-content h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.banner-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ===========================
   DETALHES DE SERVIÇO
   =========================== */

.service-detail {
    background-color: var(--white);
    padding: 3rem 0;
    border-bottom: 1px solid var(--medium-gray);
}

.service-header {
    margin-bottom: 2rem;
}

.service-header h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.service-body p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: justify;
}

.service-body h3 {
    color: var(--secondary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.service-list {
    list-style-position: inside;
    margin-bottom: 1.5rem;
    margin-left: 1rem;
}

.service-list li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.service-body .btn {
    margin-top: 1.5rem;
}

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

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.about-section p {
    text-align: justify;
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

.info-item {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 5px;
}

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

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

.mvv-item {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.mvv-item h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.mvv-item p {
    text-align: justify;
    line-height: 1.7;
}

.values-list {
    list-style-position: inside;
    margin-top: 1rem;
}

.values-list li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.commitment-list {
    list-style-position: inside;
    margin-top: 1rem;
}

.commitment-list li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* ===========================
   FORMULÁRIO
   =========================== */

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

.form-section {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
}

.form-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.orcamento-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(243, 156, 18, 0.3);
}

.form-notice {
    background-color: var(--white);
    padding: 1rem;
    border-left: 4px solid var(--accent-color);
    margin-bottom: 1.5rem;
    border-radius: 3px;
}

.form-notice p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.form-message {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

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

.contact-section {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
}

.contact-section h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-box {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-color);
}

.contact-box h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-box p {
    margin-bottom: 0.5rem;
}

.contact-note {
    font-size: 0.9rem;
    color: var(--dark-gray);
    font-style: italic;
}

/* ===========================
   CTA SECTION
   =========================== */

.cta-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 8px;
    margin: 3rem 0;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

.legal-content {
    padding: 2rem 0;
}

.legal-content section {
    padding: 2rem 0;
    border-bottom: 1px solid var(--medium-gray);
}

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

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

.legal-content ul {
    list-style-position: inside;
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-content a {
    color: var(--secondary-color);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--dark-gray);
    font-style: italic;
}

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

.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

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

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

.footer-section p {
    line-height: 1.8;
    font-size: 0.95rem;
}

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

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

.footer-legal {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
}

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

.footer-legal a {
    color: var(--accent-color);
    text-decoration: none;
}

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

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

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

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

    .nav-link {
        padding: 1rem;
        border-bottom: none;
        border-left: 3px solid transparent;
    }

    .nav-link:hover,
    .nav-link.active {
        border-left-color: var(--accent-color);
        border-bottom: none;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-7px, -7px);
    }

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

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

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

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

    .orcamento-wrapper {
        grid-template-columns: 1fr;
    }

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

    .mvv-section {
        grid-template-columns: 1fr;
    }

    .legal-info {
        grid-template-columns: 1fr;
    }

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

    .page-banner {
        padding: 2rem 1rem;
    }

    .banner-content h2 {
        font-size: 1.6rem;
    }

    .service-header h2 {
        font-size: 1.5rem;
    }

    main.container {
        padding: 0 1rem;
    }
}

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

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

    .section-title h2 {
        font-size: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-icon {
        font-size: 2.5rem;
    }

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

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

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 1rem;
    }
}

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

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

.service-card,
.differential-item,
.contact-box,
.mvv-item {
    animation: fadeIn 0.6s ease-out;
}

/* ===========================
   ACESSIBILIDADE
   =========================== */

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* ===========================
   IMPRESSÃO
   =========================== */

@media print {
    .header,
    .footer,
    .hamburger,
    .cta-buttons {
        display: none;
    }

    body {
        background-color: var(--white);
    }

    a {
        text-decoration: underline;
    }
}
