/* ============================================
   LH GUINCHOS - DESIGN SYSTEM
   ============================================
   
   DESIGN PHILOSOPHY: Corporate Flat Design
   - Clean, professional, minimalist aesthetic
   - Flat design (no gradients, no shadows)
   - High contrast and readability
   - Urgency and action-oriented
   
   COLOR PALETTE:
   - Primary: #003d5c (Dark Teal/Petrol Blue)
   - Accent: #ff8c00 (Orange)
   - Secondary: #ffffff (White)
   - Background: #f5f5f5 (Light Gray)
   - Text: #333333 (Dark Gray)
   
   TYPOGRAPHY:
   - Headlines: Bold, sans-serif (system fonts)
   - Body: Regular, sans-serif (system fonts)
   
   ============================================ */

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

:root {
    --primary: #003d5c;
    --accent: #ff8c00;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #333333;
    --text-gray: #666666;
    --success: #4caf50;
    --error: #f44336;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

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

/* ============================================
   HEADER / NAVIGATION
   ============================================ */

.header {
    background-color: var(--white);
    border-bottom: 2px solid var(--medium-gray);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 14px;
}

.nav-link:hover {
    color: var(--accent);
}

.header-cta {
    display: flex;
    gap: 10px;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #002a42;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 61, 92, 0.2);
}

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

.btn-secondary:hover {
    background-color: #e67e00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.2);
}

.btn-tertiary {
    background-color: var(--light-gray);
    color: var(--dark-gray);
    border: 2px solid var(--primary);
}

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

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

.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 61, 92, 0.7);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 600px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-phone {
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 600;
}

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

.hero-ctas .btn {
    flex: 1;
    min-width: 200px;
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary);
}

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

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

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

.servico-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--accent);
}

.servico-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.servico-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 20px;
}

.servico-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary);
}

.servico-card p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

.servicos-keywords {
    text-align: center;
    color: var(--text-gray);
    font-size: 14px;
    margin-top: 40px;
    padding: 20px;
    background-color: var(--white);
    border-left: 4px solid var(--accent);
    border-radius: 4px;
}

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

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

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.diferencial-item {
    text-align: center;
    padding: 30px;
}

.diferencial-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    border-radius: 50%;
    font-weight: 700;
    color: var(--primary);
}

.diferencial-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary);
}

.diferencial-item p {
    color: var(--text-gray);
    font-size: 14px;
}

/* ============================================
   ÁREA DE ATUAÇÃO
   ============================================ */

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

.atuacao-content {
    max-width: 800px;
    margin: 0 auto;
}

.atuacao-text {
    font-size: 18px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--dark-gray);
}

.cidades-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 30px;
}

.cidade {
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.atuacao-destaque {
    text-align: center;
    font-size: 16px;
    color: var(--primary);
    font-weight: 600;
    padding: 20px;
    background-color: var(--white);
    border-left: 4px solid var(--accent);
    border-radius: 4px;
}

/* ============================================
   CTA INTERMEDIÁRIO
   ============================================ */

.cta-intermediario {
    background: linear-gradient(135deg, var(--primary) 0%, #002a42 100%);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.cta-intermediario h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-intermediario p {
    font-size: 18px;
    margin-bottom: 30px;
}

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

.cta-buttons .btn {
    min-width: 200px;
}

/* ============================================
   FORMULÁRIO DE ORÇAMENTO
   ============================================ */

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

.orcamento-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: 8px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-gray);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 61, 92, 0.1);
}

.orcamento-form button {
    width: 100%;
    margin-top: 20px;
}

.form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background-color: #e8f5e9;
    color: var(--success);
    border: 1px solid var(--success);
}

.form-message.error {
    background-color: #ffebee;
    color: var(--error);
    border: 1px solid var(--error);
}

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

.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 50px 0 20px;
}

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

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-section p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.8;
}

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

.footer-section a:hover {
    color: var(--white);
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: var(--white);
}

.footer-section ul li a:hover {
    color: var(--accent);
}

.social-link {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--accent);
    color: var(--white) !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
}

.footer-bottom p {
    margin-bottom: 10px;
}

.link-privacidade {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-privacidade:hover {
    color: var(--white);
}

/* ============================================
   BOTÃO FLUTUANTE WHATSAPP
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 50;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* ============================================
   MODAL POLÍTICA DE PRIVACIDADE
   ============================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-gray);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-content h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.modal-body {
    color: var(--text-gray);
    line-height: 1.8;
}

.modal-body h3 {
    color: var(--primary);
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 16px;
}

.modal-body p {
    margin-bottom: 15px;
    font-size: 14px;
}

.modal-body ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.modal-body ul li {
    margin-bottom: 8px;
    font-size: 14px;
}

.modal-body a {
    color: var(--accent);
    text-decoration: none;
}

.modal-body a:hover {
    text-decoration: underline;
}

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

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        gap: 15px;
    }

    .nav {
        order: 3;
        flex-basis: 100%;
        justify-content: flex-start;
        gap: 15px;
        font-size: 12px;
    }

    .nav-link {
        font-size: 12px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        min-width: auto;
    }

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

    .diferenciais-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        min-width: auto;
    }

    .orcamento-form {
        padding: 20px;
    }

    .modal-content {
        margin: 20px;
        max-height: 90vh;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 400px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-phone {
        font-size: 16px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 30px;
    }

    section {
        padding: 40px 0;
    }

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

    .diferencial-icon {
        font-size: 36px;
        height: 60px;
    }

    .cta-intermediario h2 {
        font-size: 24px;
    }

    .cta-intermediario p {
        font-size: 16px;
    }

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

    .container {
        padding: 0 15px;
    }
}
