/* ----------------------------------------------------
   VARIABLES & RESET
---------------------------------------------------- */
:root {
    /* Colors */
    --primary: #0066FF;
    /* Tech Blue */
    --primary-dark: #004ecc;
    --secondary: #0a192f;
    /* Deep Navy */
    --surface: #ffffff;
    --surface-alt: #f8faff;
    /* Very Light Blue tint */

    --text-main: #1f2937;
    --text-muted: #6b7280;
    --text-light: #9ca3af;

    --success: #10b981;
    --border: #e5e7eb;

    /* Decoration */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--surface);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s, background-color 0.2s;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.small-container {
    max-width: 800px;
}

/* ----------------------------------------------------
   TYPOGRAPHY & UTILS
---------------------------------------------------- */
h1,
h2,
h3,
h4 {
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.25;
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.section {
    padding: 4rem 0;
}

.bg-light {
    background-color: var(--surface-alt);
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.mt-4 {
    margin-top: 2rem;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.small {
    font-size: 0.875rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-top: 0.5rem;
}

/* ----------------------------------------------------
   BUTTONS
---------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    border: 1px solid transparent;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background-color: aliceblue;
}

.btn-text {
    color: var(--text-muted);
    padding: 0.5rem 1rem;
}

.btn-text:hover {
    color: var(--primary);
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
}

.btn-light {
    background: white;
    color: var(--secondary);
    border: none;
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ----------------------------------------------------
   TOPBAR
---------------------------------------------------- */
.topbar {
    background-color: var(--secondary);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    padding: 8px 0;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.topbar-links a:hover {
    color: white;
    text-decoration: underline;
}

/* ----------------------------------------------------
   HEADER (STICKY)
---------------------------------------------------- */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-weight: 800;
    color: var(--secondary);
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    gap: 24px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
    border-left: 1px solid var(--border);
    padding-left: 20px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    margin: 5px 0;
    transition: 0.3s;
}

/* ----------------------------------------------------
   HERO
---------------------------------------------------- */
.hero {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--surface) 0%, var(--surface-alt) 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin: 1.5rem 0 2rem;
    max-width: 90%;
}

.hero-bullets {
    margin-bottom: 2rem;
}

.hero-bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.icon-check {
    width: 20px;
    height: 20px;
    color: var(--success);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Compliance Card (Hero) */
.compliance-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    position: relative;
}

.compliance-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--primary);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.icon-shield {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.tags-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.tag {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    background: var(--surface-alt);
    padding: 6px 10px;
    border-radius: 4px;
    font-weight: 600;
    color: var(--text-main);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: block;
}

.dot.green {
    background-color: var(--success);
}

.card-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

/* ----------------------------------------------------
   SOLUÇÃO (GRID)
---------------------------------------------------- */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.icon-box {
    width: 48px;
    height: 48px;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-box svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ----------------------------------------------------
   STEPPER
---------------------------------------------------- */
.stepper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-circle {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 0 0 5px var(--surface);
}

.step-line {
    flex-grow: 1;
    height: 2px;
    background: var(--border);
    margin-top: 20px;
}

.step-content {
    padding: 0 10px;
}

.step-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ----------------------------------------------------
   CASOS DE USO + SEGURANÇA
---------------------------------------------------- */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.use-case-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 1.25rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    font-weight: 500;
}

.use-case-item svg {
    width: 20px;
    height: 20px;
    color: var(--success);
    flex-shrink: 0;
}

.section-dark {
    background-color: var(--secondary);
    color: white;
}

.section-dark h2 {
    color: white;
}

.section-dark .text-muted {
    color: rgba(255, 255, 255, 0.7);
}

.row-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.security-list li {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
}

.security-list li strong {
    color: var(--surface-alt);
    margin-bottom: 2px;
}

.security-cta {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.compliance-box {
    background: white;
    color: var(--text-main);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.compliance-box h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.icon-meta {
    width: 28px;
    height: 28px;
}

.compliance-statements {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.statement {
    display: flex;
    gap: 12px;
}

.check-icon {
    width: 20px;
    height: 20px;
    background: #d1fae5;
    color: #059669;
    font-size: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 3px;
}

.compliance-footer {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    border-top: 1px dashed var(--border);
    padding-top: 1rem;
}

/* ----------------------------------------------------
   FAQ (ACCORDION)
---------------------------------------------------- */
.accordion-item {
    border-bottom: 1px solid var(--border);
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1.25rem 0;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary);
}

.accordion-header[aria-expanded="true"]::after {
    content: '-';
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-muted);
}

.accordion-body p {
    padding-bottom: 1.25rem;
}

.accordion-item.active .accordion-body {
    max-height: 200px;
}

/* ----------------------------------------------------
   TRUST & CONTACT & FOOTER
---------------------------------------------------- */
.trust-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    text-align: center;
}

.trust-item h4 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.trust-item p {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--text-muted);
}

.trust-divider {
    width: 1px;
    background: var(--border);
    height: 50px;
}

.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 3rem;
    border-radius: var(--radius-md);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
}

.contact-details {
    margin-top: 2rem;
    display: inline-block;
    text-align: left;
}

.contact-row {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-row .label {
    font-weight: 600;
    color: var(--secondary);
    margin-right: 10px;
}

.contact-row a {
    color: var(--primary);
}

.footer {
    background-color: var(--secondary);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    display: block;
    margin-bottom: 1rem;
}

.footer h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
}

.footer-note {
    margin-top: 0.5rem;
    opacity: 0.6;
}

/* ----------------------------------------------------
   RESPONSIVE
---------------------------------------------------- */
@media (max-width: 900px) {
    .h1 {
        font-size: 2rem;
    }

    .hero-grid,
    .row-split {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero {
        padding: 3rem 0;
        text-align: center;
    }

    .hero-subtitle {
        margin: 1.5rem auto;
    }

    .hero-bullets li {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 15px;
    }

    .nav-actions {
        margin: 20px 0 0;
        border-left: none;
        border-top: 1px solid var(--border);
        padding: 20px 0 0;
        width: 100%;
        justify-content: center;
        flex-direction: column;
        gap: 15px;
    }

    .menu-toggle {
        display: block;
    }

    .stepper {
        flex-direction: column;
        gap: 0;
        padding-left: 20px;
    }

    .step {
        flex-direction: row;
        text-align: left;
        margin-bottom: 2rem;
        align-items: flex-start;
    }

    .step-circle {
        margin-right: 15px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .step-line {
        position: absolute;
        left: 40px;
        top: 40px;
        width: 2px;
        height: calc(100% - 40px);
        margin: 0;
        display: none;
    }

    /* Simplified for mobile */

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .trust-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .trust-divider {
        width: 100px;
        height: 1px;
        margin: 0 auto;
    }
}