/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    /* scroll-behavior: smooth; REMOVED to allow JS custom scroll */
}

body {
    /* Fundo Azul Escuro Corporativo */
    background-color: #0f172a;
    height: 100vh;
    color: white;
    overflow-x: hidden;
    position: relative;
}

/* HEADER / NAVBAR */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    /* Reduced side padding as max-width handles it */
    position: fixed;
    width: 100%;
    max-width: 1200px;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

/* Header Scrolled State */
header.header-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    padding: 15px 30px;
    /* Adjust padding if desired */
    border-radius: 0 0 20px 20px;
    /* Optional: adds a nice curve at the bottom */
}

header.header-scrolled nav a {
    color: #1e293b;
    /* Dark slate */
    font-weight: 500;
}

header.header-scrolled nav a:hover {
    color: #3b82f6;
    /* Blue hover */
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo i {
    font-size: 1.5rem;
    margin-right: 10px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #e0e0e0;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.3s;
}

nav a:hover {
    color: #fff;
}

/* Botão do Header */
.btn-orcamento {
    background-color: #3b82f6;
    /* Azul claro */
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s, background 0.2s;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-orcamento:hover {
    background-color: #2563eb;
    transform: scale(1.05);
}

/* CONTEÚDO PRINCIPAL (HERO) */
main {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-text h1 {
    font-size: 2.2rem;
    font-weight: 300;
    /* Letra mais fina */
    margin-bottom: 10px;
    opacity: 0.9;
}

.hero-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    /* Letra mais grossa */
    letter-spacing: 0.5px;
}

/* SETA ANIMADA EMBAIXO */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* BOTÕES FLUTUANTES (WHATSAPP E CHAT) */
.floating-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    z-index: 2000;
}

.btn-chat-icon {
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.btn-chat-icon i {
    color: #8e44ad;
    /* Roxo similar ao da imagem */
    font-size: 1.5rem;
}

.btn-fale-conosco {
    background-color: #111827;
    /* Fundo preto/escuro */
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* RESPONSIVIDADE */
@media (max-width: 900px) {
    header {
        padding: 20px;
    }

    nav ul {
        display: none;
        /* Esconde menu em telas pequenas para simplificar */
    }

    .hero-text h1,
    .hero-text h2 {
        font-size: 1.5rem;
    }
}

/* SERVICES SECTION */
.services-section {
    padding: 80px 20px;
    position: relative;
    z-index: 10;
    background-color: #ffffff;
    /* Fundo Branco */
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #374151;
    margin-bottom: 50px;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.services-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 450px;
    /* Mesma altura do círculo central */
    justify-content: space-between;
    gap: 20px;
    /* Espaço igual ao gap do grid de imagens */
}

.left-col {
    align-items: flex-start;
    text-align: left;
}

.right-col {
    align-items: flex-start;
    text-align: left;
}

.service-item {
    position: relative;
    max-width: 400px;
    height: calc(50% - 10px);
    /* Meia altura menos metade do gap */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centraliza o texto verticalmente com a imagem */
}

.service-item h3 {
    font-size: 1.4rem;
    color: #374151;
    /* Cinza Escuro */
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

/* Alinhamento dos H3 */
.left-col .service-item h3 {
    justify-content: flex-start;
}

.right-col .service-item h3 {
    justify-content: flex-start;
}

.service-item ul {
    list-style: none;
    padding: 0;
}

.service-item li {
    position: relative;
    margin-bottom: 4px;
    font-size: 0.95rem;
    color: #4b5563;
    /* Cinza Médio */
    line-height: 1.3;
}

/* Connector Lines */
/* Connector Lines */
.connector-line {
    display: inline-block;
    height: 1px;
    background-color: #cbd5e1;
    /* Cinza claro */
    width: 80px;
    position: relative;
    margin: 0 15px;
    /* Espaço entre texto e linha */
    vertical-align: middle;
}

.connector-line::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #94a3b8;
    /* Cinza médio */
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

/* Bolinha na esquerda da linha (lado do texto para Coluna Esquerda) */
.line-right::after {
    left: 0;
}

/* Bolinha na direita da linha (lado do texto para Coluna Direita) */
.line-left::after {
    right: 0;
}

/* CENTER CIRCLE GRID */
.center-circle-wrapper {
    position: relative;
    width: 450px;
    height: 450px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-grid {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background-color: white;
    /* Garante que o espaço entre as imagens seja branco */
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.25);
    /* Azul suave */
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.quarter {
    width: calc(50% - 10px);
    height: calc(50% - 10px);
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
    position: relative;
}

.quarter:hover {
    transform: scale(1.05);
    /* Zoom sutil */
    z-index: 2;
}

.quarter-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(30, 58, 138, 0.85);
    /* Azul translúcido */
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.4s ease;
    opacity: 1;
}

.quarter:hover .quarter-overlay {
    opacity: 0;
}

.quarter-overlay img {
    width: 64px;
    height: auto;
    filter: brightness(0) invert(1);
    /* Garante que o ícone fique branco se não for */
}

/* Ajuste para que as imagens pareçam fatias de pizza ou apenas quadrantes */
/* Removed specific quadrant borders as gap handles separation */
.q-tl {}

.q-tr {}

.q-bl {}

.q-br {}

.inner-white-hole {
    position: absolute;
    width: 140px;
    height: 140px;
    background: white;
    border-radius: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* RESPONSIVIDADE ADICIONAL */
@media (max-width: 1100px) {
    .services-container {
        flex-direction: column;
        padding: 0 20px;
    }

    .left-col,
    .right-col {
        align-items: center;
        text-align: center;
        width: 100%;
        gap: 40px;
    }

    .center-circle-wrapper {
        margin: 60px 0;
        width: 300px;
        height: 300px;
    }

    .inner-white-hole {
        width: 100px;
        height: 100px;
    }

    .connector-line {
        display: none;
    }

    .line-right,
    .line-left {
        display: none;
    }

    .service-item {
        max-width: 100%;
    }
}

/* BENEFITS SECTION */
.benefits-section {
    padding: 80px 20px;
    background-color: white;
    position: relative;
    z-index: 10;
}

.benefits-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.benefit-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: #3b82f6;
}

.benefit-card img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.benefit-card p {
    font-size: 1.1rem;
    color: #374151;
    /* Cinza Escuro */
    font-weight: 500;
}

/* RESPONSIVIDADE BENEFITS */
@media (max-width: 900px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* POST-SALES SECTION */
.post-sales-section {
    padding: 100px 20px;
    background-color: white;
    /* Clean background */
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.post-sales-section .section-title {
    margin-bottom: 60px;
    color: #0f172a;
    font-weight: 600;
}

.post-sales-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
}

.ps-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex: 1;
    z-index: 1;
    /* Lower Z-index for side columns */
    transition: transform 0.3s ease;
}

.center-ps-col {
    flex: 0 0 auto;
    /* Don't grow/shrink indiscriminately */
    width: 350px;
    /* Slightly wider phone container */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    /* Highest Z-index to stay on top */
    margin: 0 -40px;
    /* Negative margin to pull sides in */
}

.phone-mockup img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.3));
    /* Stronger shadow for depth */
    display: block;
    transform: scale(1.05);
    /* Slight pop */
}

/* CARDS STYLING */
.ps-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    min-width: 280px;
}

.ps-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.ps-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ps-icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
    /* Blue tint: #3b82f6 */
    filter: invert(36%) sepia(87%) saturate(1633%) hue-rotate(203deg) brightness(98%) contrast(92%);
}

.ps-card h3 {
    font-size: 1.4rem;
    color: #1e293b;
    font-weight: 600;
    line-height: 1.3;
}

.saiba-mais {
    text-decoration: none;
    color: #3b82f6;
    /* Blue color */
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    border-bottom: 1px solid transparent;
}

.saiba-mais:hover {
    color: #2563eb;
    /* Darker blue */
    border-bottom-color: #2563eb;
}

/* RESPONSIVENESS */
@media (max-width: 1024px) {
    .post-sales-layout {
        flex-direction: column;
        gap: 60px;
    }

    .center-ps-col {
        order: 2;
        /* Phone in middle */
        width: 280px;
    }

    .left-ps-col {
        order: 1;
        /* Title cards first? user said phone middle, but usually flow is top-down */
        /* Let's keep logic: Title -> Cards -> Phone -> Cards? 
           Actually user requested: Phone center, cards sides. 
           On mobile usually: Title -> Phone -> Cards list */
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        order: 3;
        /* Cards after phone on mobile */
    }

    .right-ps-col {
        order: 4;
        width: 100%;
        align-items: center;

    }
}

/* FAQ SECTION */
.faq-section {
    padding: 80px 20px 120px 20px;
    /* Extra padding bottom for spacing near footer */
    background-color: white;
    text-align: center;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    /* Card shadow */
    border: 1px solid #e2e8f0;
    overflow: hidden;
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: white;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f8fafc;
}

.faq-question span {
    font-size: 1.1rem;
    color: #1e293b;
    font-weight: 500;
}

.faq-question i {
    color: #3b82f6;
    /* Blue chevron */
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: white;
}

.faq-answer p {
    padding: 0 25px 25px 25px;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}