/* Reset and Base Styles */
:root {
    /* Apple-like Light Theme */
    --bg-primary: #FBFBFD;
    --bg-secondary: #FFFFFF;
    --text-main: #1D1D1F;
    --text-muted: #86868B;
    --border-color: rgba(0, 0, 0, 0.08);

    /* DocPro Colors */
    --navy-deep: #0A1628;
    --cyan-main: #00C8E0;

    /* Typography */
    --font-title: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    /* Spacing */
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Transitions */
    --trans-fast: 0.2s ease;
    --trans-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.03em;
}

h1 { font-size: clamp(3rem, 6vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(2.5rem, 5vw, 4rem); }
h3 { font-size: clamp(1.5rem, 2vw, 2rem); }

p {
    color: var(--text-muted);
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: var(--space-md);
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: color var(--trans-fast);
}

/* Layout */
.container {
    max-width: 1080px; /* Estreito estilo Apple */
    margin: 0 auto;
    padding: 0 5%;
}

section {
    padding: var(--space-xl) 0;
    position: relative;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background: rgba(251, 251, 253, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: block;
}

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transform: scale(2.5); /* Mantido para compensar borda transparente */
    transform-origin: left center;
}

/* Fallback para logo em texto (Footer) */
.logo-main {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 2rem;
    color: var(--text-main);
    letter-spacing: -0.05em;
    position: relative;
}
.logo-main .dot { color: var(--cyan-main); }
.digital {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: var(--cyan-main);
    margin-top: -2px;
}

.nav {
    display: flex;
    gap: 2.5rem;
}

.nav a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-main);
    opacity: 0.8;
}

.nav a:hover {
    opacity: 1;
    color: var(--navy-deep);
}

/* Buttons (Apple Pill Style) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 980px; /* Estilo pílula Apple */
    cursor: pointer;
    transition: all var(--trans-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--navy-deep);
    color: var(--bg-secondary);
}

.btn-primary:hover {
    background-color: #152744;
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(10, 22, 40, 0.15);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--text-main);
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
}

.btn-outline:hover {
    border-color: var(--navy-deep);
    color: var(--navy-deep);
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center; /* Centralizado estilo Apple */
    padding-top: 100px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(0, 200, 224, 0.1);
    color: var(--cyan-main);
    border-radius: 980px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero h1 {
    line-height: 1;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--cyan-main) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    max-width: 650px;
    margin: 1.5rem auto 3rem;
    color: var(--text-muted);
}

/* Positioning Section */
.positioning {
    background: var(--bg-secondary);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.pos-text h2 {
    color: var(--text-main);
}

.pos-features {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.feature-item h3 {
    font-size: 1.5rem;
    color: var(--navy-deep);
    margin-bottom: 0.5rem;
}

/* System Section (Cards) */
.system {
    background-color: var(--bg-primary);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-lg);
}

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

.card {
    background-color: var(--bg-secondary);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 24px rgba(0,0,0,0.03);
    transition: all var(--trans-smooth);
}

.card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.card-icon {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--cyan-main) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.card h3 {
    color: var(--text-main);
}

/* Solutions Section */
.solutions {
    background-color: var(--bg-secondary);
}
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.solution-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all var(--trans-smooth);
}
.solution-card:hover {
    background: var(--bg-secondary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: var(--cyan-main);
    transform: translateY(-5px);
}
.solution-card h3 {
    font-size: 1.25rem;
    color: var(--navy-deep);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}
.solution-card h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--cyan-main);
    border-radius: 50%;
}
.solution-card p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* CRM Bento Section (Dark contrast block) */
.crm-section {
    background-color: var(--navy-deep);
    color: var(--bg-secondary);
    border-radius: 40px;
    margin: 4rem 2rem;
    padding: var(--space-xl) 0;
}

.crm-section .section-header p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 auto;
}

.crm-section h2 {
    color: var(--bg-secondary);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(220px, auto);
    gap: 1.5rem;
}

.bento-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--trans-smooth);
}

.bento-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    border-color: rgba(0, 200, 224, 0.3);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
    background: radial-gradient(circle at top left, rgba(0, 200, 224, 0.1), transparent 60%), rgba(255, 255, 255, 0.02);
}

.bento-wide {
    grid-column: span 2;
}

.bento-item h3 {
    font-size: 1.5rem;
    color: var(--bg-secondary);
    margin-bottom: 1rem;
}

.bento-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    margin-bottom: 0;
}

.bento-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.bento-tags span {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    background: rgba(0, 200, 224, 0.1);
    border-radius: 980px;
    color: var(--cyan-main);
    border: 1px solid rgba(0, 200, 224, 0.2);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--bg-primary);
}

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

.testimonial-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--trans-smooth);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.06);
    border-color: rgba(0, 200, 224, 0.2);
}

.quote-icon {
    font-family: var(--font-title);
    font-size: 5rem;
    font-weight: 800;
    color: var(--cyan-main);
    line-height: 0.5;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--cyan-main) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
}

.testimonial-card p {
    font-size: 1.05rem;
    color: var(--text-main);
    font-style: italic;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 0;
}

.testimonial-author {
    margin-top: 2.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.testimonial-author h4 {
    font-size: 1.25rem;
    color: var(--navy-deep);
    margin-bottom: 0.2rem;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* CTA Section */
.cta-section {
    background-color: var(--bg-primary);
}

.cta-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.contact-form input {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--trans-fast);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.contact-form input:focus {
    outline: none;
    border-color: var(--navy-deep);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Footer */
.footer {
    background-color: var(--bg-secondary);
    padding: var(--space-lg) 0 var(--space-md);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.footer-brand p {
    max-width: 300px;
    font-size: 0.875rem;
    margin-top: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.footer-bottom p {
    font-size: 0.875rem;
    margin: 0;
}

/* WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all var(--trans-smooth);
}

.whatsapp-widget:hover {
    transform: scale(1.08) translateY(-5px) !important;
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
    background-color: #20BA5A;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.15s;
}

/* CRM Internal Page specific styles */
.btn-accent {
    background-color: var(--cyan-main);
    color: var(--navy-deep);
    border-radius: 980px;
    font-weight: 700;
}
.btn-accent:hover {
    background-color: #00e0fb;
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 200, 224, 0.2);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}
.feature-row:nth-child(even) .feature-placeholder {
    order: 1;
}
.feature-row:nth-child(even) .feature-text {
    order: 2;
}
.feature-row h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--navy-deep);
}
.feature-list-items {
    list-style: none;
    margin-top: 2rem;
}
.feature-list-items li {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
    color: var(--text-main);
}
.feature-list-items li strong {
    color: var(--navy-deep);
}
.feature-list-items li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--cyan-main);
    font-weight: 800;
}
.feature-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
    transition: transform var(--trans-smooth);
}
.feature-image:hover {
    transform: scale(1.02);
}

/* Responsive */
@media (max-width: 900px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .crm-section {
        margin: 2rem 1rem;
        border-radius: 24px;
    }
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-large, .bento-wide {
        grid-column: span 1;
        grid-row: auto;
    }
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    .whatsapp-widget {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
    }
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    .whatsapp-widget svg {
        width: 26px;
        height: 26px;
    }
    
    .feature-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .feature-row:nth-child(even) .feature-placeholder,
    .feature-row:nth-child(odd) .feature-placeholder {
        order: -1 !important;
        height: 250px;
    }
    .feature-row:nth-child(even) .feature-text,
    .feature-row:nth-child(odd) .feature-text {
        order: 2 !important;
    }
}
@media (max-width: 768px) {
    .feature-row {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
    }
    .feature-row:nth-child(even) .feature-placeholder,
    .feature-row:nth-child(odd) .feature-placeholder {
        order: -1 !important;
        height: 250px;
    }
    .feature-row:nth-child(even) .feature-text,
    .feature-row:nth-child(odd) .feature-text {
        order: 2 !important;
    }
}
@media (max-width: 768px) {
    .feature-row:nth-child(even) .feature-image,
    .feature-row:nth-child(odd) .feature-image {
        order: -1 !important;
    }
}
