/* =========================================
   FRITZDSGN - LAYOUT MARKETING STRATEGY (V6.2)
   PALETA DA MARCA + SOBRE (JUSTIFICADO) + CONTATO + BOTÃO TOPO
========================================= */

:root {
    /* Paleta baseada na Borboleta FritzDSGN */
    --bg-dark: #5F3D87; /* Roxo Profundo */
    --bg-light: #f4f4f4; /* Cinza Claro de Fundo */
    --accent-green: #48A2C9; /* Azul Vivo */
    --text-white: #ffffff;
    --text-gray: #d0d0d0; 
    --text-dark: #5F3D87; 
    
    /* Tipografia Tática */
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* =========================================
   ESTRUTURA PRINCIPAL (SPLIT LAYOUT - HERO)
========================================= */
.hero-split-layout {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    overflow: hidden;
}

.split-right-light {
    position: absolute;
    top: 0; right: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-light);
    z-index: 1;
}

.right-bg-image {
    position: absolute;
    top: 0; right: 0;
    width: 50%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80') center/cover no-repeat;
    filter: grayscale(100%) contrast(1.1);
    opacity: 0.85;
}

.split-left-dark {
    position: absolute;
    top: 0; left: 0;
    width: 55%;
    height: 100%;
    background-color: var(--bg-dark);
    z-index: 2;
    clip-path: polygon(0 0, 85% 0, 100% 50%, 85% 100%, 0 100%);
    padding: 40px 5% 40px 5%;
    display: flex;
    flex-direction: column;
}

/* =========================================
   NAVEGAÇÃO SUPERIOR
========================================= */
.top-nav-area {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}
.logo-img { max-height: 40px; }
.main-menu { display: flex; gap: 20px; }
.main-menu a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s;
}
.main-menu a:hover { color: var(--accent-green); }

/* =========================================
   CONTEÚDO HERO
========================================= */
.hero-content {
    position: relative;
    max-width: 500px;
    margin-top: 20px;
}

.deco-arrows {
    color: var(--accent-green);
    font-size: 1.5rem;
    letter-spacing: -5px;
    margin-bottom: 10px;
    transform: rotate(90deg);
    display: inline-block;
    position: absolute;
    left: -40px; top: 20px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4.5rem;
    line-height: 0.9;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-text {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* =========================================
   REDES SOCIAIS E FORMAS GEOMÉTRICAS (HERO)
========================================= */
.social-top-right {
    position: absolute;
    top: 40px; right: 5%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}
.social-icons { display: flex; gap: 8px; }
.icon-box {
    display: flex; justify-content: center; align-items: center;
    width: 35px; height: 35px;
    background-color: var(--accent-green);
    color: var(--text-white); 
    text-decoration: none;
    border-radius: 4px;
    transition: transform 0.3s;
}
.icon-box i { font-size: 1.2rem; }
.icon-box:hover { transform: translateY(-3px); }

.shape { position: absolute; z-index: 3; pointer-events: none; }
.circle-solid-large { width: 250px; height: 250px; background-color: var(--accent-green); border-radius: 50%; }
.top-right { top: -80px; right: 25%; z-index: 0; }
.circle-solid-small { width: 80px; height: 80px; background-color: var(--accent-green); border-radius: 50%; }
.bottom-right-dark { bottom: -60px; left: 40px; } 
.circle-outline { width: 80px; height: 80px; border: 4px solid var(--text-white); border-radius: 50%; }
.mid-right { top: 25%; right: 40%; }
.circle-outline-small { width: 50px; height: 50px; border: 2px solid var(--accent-green); border-radius: 50%; }
.top-right-dark { top: 0; right: 50px; }
.dots-grid { width: 80px; height: 80px; background-image: radial-gradient(var(--accent-green) 2px, transparent 2px); background-size: 15px 15px; }
.mid-center { top: 40%; right: 20%; }
.semi-circle-solid { width: 200px; height: 100px; background-color: var(--accent-green); border-radius: 200px 200px 0 0; bottom: 0; left: 45%; }


/* =========================================
   SEÇÃO SOBRE (MANIFESTO PNL - FUNDO BRANCO)
========================================= */
.about-section {
    background-color: #ffffff; 
    padding: 120px 5%;
    position: relative;
    overflow: hidden;
    border-top: 5px solid var(--accent-green);
}

.about-text-content {
    max-width: 1000px;
    margin: 0 auto;
}

.section-header-left { margin-bottom: 50px; }

.about-section .section-title { color: var(--accent-green) !important; }
.about-section .text-neon { color: var(--bg-dark); text-shadow: none; }

.dots-grid-horizontal-blue {
    width: 150px; height: 15px;
    background-image: radial-gradient(var(--bg-dark) 2px, transparent 2px); 
    background-size: 15px 15px;
    margin-top: 10px;
}

.about-paragraph {
    color: var(--accent-green); 
    font-size: 1.15rem; 
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: justify; 
}

.about-paragraph strong { color: var(--bg-dark); font-weight: 900; }
.about-paragraph em { color: var(--bg-dark); font-style: normal; font-weight: 800; }

.highlight-intro {
    font-size: 1.15rem; 
    font-weight: 600;
    color: var(--accent-green);
    border-left: 5px solid var(--bg-dark); 
    padding-left: 25px;
}

.highlight-conclusion {
    font-size: 1.15rem; 
    font-weight: 800;
    color: var(--bg-dark); 
    margin-top: 50px;
}


/* =========================================
   SEÇÃO DE SOLUÇÕES
========================================= */
.services-section {
    padding: 100px 5%;
    background-color: var(--bg-light);
    position: relative;
}

.container-services {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: var(--bg-dark);
    text-transform: uppercase;
}
.text-neon { color: var(--accent-green); text-shadow: 1px 1px 0 rgba(0,0,0,0.1); }

.dots-grid-horizontal {
    position: relative;
    width: 150px; height: 15px;
    background-image: radial-gradient(var(--bg-dark) 2px, transparent 2px);
    background-size: 15px 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-dark);
    padding: 40px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s, box-shadow 0.4s;
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    border-top-color: var(--accent-green);
    box-shadow: 0 20px 40px rgba(95, 61, 135, 0.2); 
}

.card-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.08);
    position: absolute;
    top: 10px; right: 20px;
    line-height: 1;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.card-text {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.card-deco-line {
    width: 40px; height: 4px;
    background-color: var(--accent-green);
    border-radius: 2px;
    transition: width 0.3s;
}
.service-card:hover .card-deco-line { width: 80px; }


/* =========================================
   SEÇÃO DE CONTATO E FORMULÁRIO (FUNDO BRANCO)
========================================= */
.contact-section {
    padding: 100px 5%;
    background-color: #ffffff; 
    position: relative;
}

.contact-section .section-title {
    color: var(--bg-dark); 
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin-top: 40px;
    align-items: center;
}

.contact-info-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent-green);
    margin-bottom: 20px;
    line-height: 1.1;
}

.contact-info-text {
    color: #555555; 
    font-size: 1.05rem;
    line-height: 1.6;
}

.fritz-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--bg-light); 
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.fritz-input, .fritz-textarea {
    width: 100%;
    background: #ffffff; 
    border: 1px solid #cccccc;
    color: var(--bg-dark); 
    padding: 16px 20px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.fritz-input::placeholder, .fritz-textarea::placeholder {
    color: #999999;
}

.fritz-textarea {
    resize: vertical;
    min-height: 140px;
}

.fritz-input:focus, .fritz-textarea:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(72, 162, 201, 0.15);
}

.btn-submit-contact {
    background-color: var(--accent-green);
    color: var(--text-white);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit-contact:hover {
    background-color: var(--bg-dark); 
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(95, 61, 135, 0.25);
}

/* =========================================
   MODAL / POP-UP WHATSAPP
========================================= */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active { opacity: 1; pointer-events: auto; }

.modal-box {
    background-color: var(--text-white);
    padding: 50px 40px;
    border-radius: 20px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: translateY(-40px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.modal-overlay.active .modal-box { transform: translateY(0); }

.close-modal {
    position: absolute;
    top: 15px; right: 25px;
    font-size: 2.5rem;
    color: #b0b0b0;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}
.close-modal:hover { color: var(--bg-dark); }

.modal-icon { font-size: 4.5rem; color: var(--accent-green); margin-bottom: 20px; }

.modal-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--bg-dark);
    margin-bottom: 15px;
}

.modal-text {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 30px;
}

.btn-modal-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #25D366; 
    color: var(--text-white);
    padding: 16px 30px;
    border-radius: 50px;
    font-family: var(--font-display);
    font-weight: 800;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-modal-wa:hover {
    background-color: #20b858;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

/* =========================================
   BOTÃO FLUTUANTE (BACK TO TOP)
========================================= */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 55px;
    height: 55px;
    background-color: var(--accent-green);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--bg-dark);
    color: var(--text-white);
    box-shadow: 0 15px 25px rgba(95, 61, 135, 0.4);
    transform: translateY(-5px);
}

/* =========================================
   RODAPÉ (FOOTER TÁTICO) COM ÍCONES
========================================= */
.fritz-footer-dark {
    background-color: var(--bg-dark);
    padding: 80px 5% 30px;
    color: var(--text-white);
    border-top: 5px solid var(--accent-green); 
}

.container-footer {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo { max-height: 45px; margin-bottom: 20px; }

.footer-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 400px;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: 1px;
    color: var(--text-white);
}

.footer-contact, .footer-social { display: flex; flex-direction: column; gap: 15px; }

.footer-link, .footer-text {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.3s;
    text-decoration: none;
}
.footer-link:hover { color: var(--accent-green); }

.footer-link i, .footer-text i {
    color: var(--accent-green);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: var(--text-gray);
    font-size: 0.8rem;
}

/* =========================================
   RESPONSIVIDADE GERAL (MOBILE & TABLET)
========================================= */
@media (max-width: 1024px) {
    .split-left-dark { width: 65%; clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%); }
    .right-bg-image { width: 100%; opacity: 0.3; }
    .hero-title { font-size: 3.5rem; }
    .section-title { font-size: 2.5rem; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .hero-split-layout { flex-direction: column; height: auto; min-height: 100vh; }
    .split-left-dark { width: 100%; position: relative; clip-path: none; padding: 20px 5% 60px 5%; }
    .split-right-light { position: relative; height: 400px; display: none; }
    .hero-title { font-size: 2.8rem; }
    .social-top-right { top: 20px; right: 5%; }
    
    .services-section, .contact-section { padding: 60px 5%; }
    .section-title { font-size: 2rem; }
    .dots-grid-horizontal { display: none; }
    
    .about-section { padding: 80px 5%; }
    
    .form-row { grid-template-columns: 1fr; gap: 20px; }
    .fritz-contact-form { padding: 25px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    
    /* Ajuste do botão flutuante para telas menores */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}