@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.75);
    --border-color: rgba(15, 23, 42, 0.08);
    --primary: #f39c12;
    --primary-hover: #d35400;
    --success: #10b981;
    --text-white: #0f172a;
    --text-gray: #64748b;
    --text-light: #334155;
    --font-main: 'Outfit', sans-serif;
    --accent-gradient: linear-gradient(135deg, #f39c12 0%, #d35400 100%);
    --success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --card-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
    --glow-shadow: 0 0 25px rgba(243, 156, 18, 0.1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    overflow-x: hidden !important;
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    max-width: 100vw !important;
    width: 100% !important;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    position: relative;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.site-wrapper {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    position: relative;
    margin: 0;
    padding: 0;
}


/* Aurora Container — fixed and clipped so it NEVER affects document width */
.aurora-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

/* Background Gradients (Sleek Modern Aurora Effect) */
.aurora-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.1) 0%, rgba(248, 250, 252, 0) 70%);
    z-index: -1;
    filter: blur(80px);
    pointer-events: none;
}

#aurora-1 {
    top: -200px;
    right: -100px;
}

#aurora-2 {
    top: 800px;
    left: -200px;
}

#aurora-3 {
    bottom: -200px;
    right: -100px;
}

/* Container */
.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 5%;
    box-sizing: border-box;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(243, 156, 18, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(243, 156, 18, 0.5), var(--glow-shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(15, 23, 42, 0.2);
}

.btn-secondary:hover {
    background: rgba(15, 23, 42, 0.05);
    transform: translateY(-2px);
}

.btn-success {
    background: var(--success-gradient);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.5);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: height 0.3s ease;
}

header.scrolled .container {
    height: 64px;
}

@media (max-width: 768px) {
    header .container {
        height: 64px;
    }
    header.scrolled .container {
        height: 56px;
    }
}

header .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

header .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-area img {
    height: 48px;
    object-fit: contain;
}

.logo-area span {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--primary, #f39c12); /* Cor de fallback caso o gradiente não carregue */
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

/* Override: drawer links must stack vertically */
.mobile-drawer-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    align-items: stretch !important;
}

nav a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-content h1 span {
    color: var(--primary, #f39c12);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 32px;
    max-width: 100%;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(243, 156, 18, 0.1);
    border: 1px solid rgba(243, 156, 18, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 24px;
}

/* Mockup CSS Phone */
.mockup-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 100%;
    max-width: 640px;
    height: auto;
    aspect-ratio: 16/9;
    background: #000;
    border: 16px solid #1f2937;
    border-radius: 48px;
    box-shadow: var(--card-shadow), 0 0 40px rgba(243, 156, 18, 0.1);
    position: relative;
    overflow: hidden;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #111827;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 0;
}

.phone-notch {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 16px;
    height: 130px;
    background: #1f2937;
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 10;
}

.mock-app-header {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 8px;
}

.mock-app-header span {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
}

.mock-app-header img {
    height: 16px;
}

.mock-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin-top: 12px;
    align-content: start;
}

.mock-cam-slot {
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
    aspect-ratio: 4 / 3;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mock-grid.has-expanded .mock-cam-slot:not(.expanded) {
    display: none;
}

.mock-grid.has-expanded .mock-cam-slot.expanded {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
    z-index: 20;
    border-radius: 12px;
}

.mock-cam-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.mock-cam-slot:hover img {
    transform: scale(1.05);
}

.mock-cam-label {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 10px;
    background: rgba(0,0,0,0.7);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    color: #fff;
    z-index: 2;
    pointer-events: none;
}

/* ISIC Lite Controls */
.mock-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 6px 2px;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.control-btn {
    font-size: 9px;
    color: #a0aec0;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: bold;
    cursor: default;
}

.control-btn.active {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(243, 156, 18, 0.1);
}

.control-spacer {
    flex-grow: 1;
}

.control-icon-btn {
    font-size: 11px;
    cursor: default;
    opacity: 0.7;
    margin: 0 2px;
}

.mock-ad-banner {
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 8px;
    font-size: 9px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    border: 1px dashed rgba(243, 156, 18, 0.3);
}

.mock-ad-banner img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.mock-ad-text {
    flex: 1;
}

.mock-ad-title {
    color: var(--text-white);
    font-weight: 700;
    font-size: 10px;
}

.mockup-badge {
    position: absolute;
    background: var(--accent-gradient);
    color: var(--text-white);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    top: 60px;
    right: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transform: rotate(12deg);
}

/* Stats Section */
.stats {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary, #f39c12);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pulse-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #10b981;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Steps Section */
.steps {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-gray);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 32px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: rgba(243, 156, 18, 0.3);
}

.step-number {
    font-size: 56px;
    font-weight: 900;
    color: rgba(243, 156, 18, 0.5);
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.5) 0%, rgba(255, 255, 255, 0.2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    position: absolute;
    top: 20px;
    right: 30px;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: rgba(243, 156, 18, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 28px;
}

.step-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-white);
}

.step-card p {
    font-size: 15px;
    color: var(--text-gray);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, rgba(248, 250, 252, 1) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

.feature-card:hover {
    border-color: rgba(243, 156, 18, 0.2);
    box-shadow: 0 15px 30px -10px rgba(0,0,0,0.6);
    transform: scale(1.02);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.05);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}

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

/* Teste Grátis Box / Trial Section */
.trial-section {
    padding: 100px 0;
    position: relative;
}

.trial-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 252, 1) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 32px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 0 40px rgba(14, 32, 56, 0.4);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.trial-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.trial-content {
    position: relative;
    z-index: 1;
}

.trial-content h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    color: var(--text-white);
}

.trial-content p {
    font-size: 17px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 36px auto;
}

.trial-bullets {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.bullet {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
}

.bullet svg {
    color: var(--success);
}

/* Accordion FAQ */
.faq {
    padding: 60px 0 40px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-white);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
    color: var(--text-gray);
    font-size: 15px;
    border-top: 0 solid transparent;
}

.faq-item.active {
    border-color: rgba(243, 156, 18, 0.2);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 24px 24px 24px;
    border-top: 1px solid var(--border-color);
}

.faq-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* ===== MODOS DE ACESSO ===== */
.access-modes-section {
    padding: 90px 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.01) 0%, rgba(9,13,22,0.02) 100%);
    border-top: 1px solid var(--border-color);
}

.access-modes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.access-mode-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 36px 32px;
    position: relative;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.access-mode-card:hover {
    transform: translateY(-4px);
}

.access-mode-local {
    border-top: 3px solid #10b981;
}

.access-mode-remote {
    border-top: 3px solid #3b82f6;
}

.access-mode-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.access-mode-badge-remote {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

.access-mode-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 8px;
    line-height: 1.2;
}

.access-mode-tagline {
    font-size: 14.5px;
    color: var(--text-gray);
    margin-bottom: 24px;
    line-height: 1.5;
}

.access-mode-how {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.4;
}

.access-step {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: -1px;
}

.access-mode-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 18px;
}

.pill {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
}

.pill-green {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.pill-blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.access-mode-note {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-top: auto;
}

@media (max-width: 768px) {
    .access-modes-section { padding: 56px 0; }
    .access-modes-grid { grid-template-columns: 1fr; gap: 20px; }
    .access-mode-card { padding: 28px 22px; }
    .access-mode-card h3 { font-size: 18px; }
}

@media (max-width: 480px) {
    .access-mode-card { padding: 22px 18px; }
    .access-mode-card h3 { font-size: 17px; }
    .access-mode-tagline { font-size: 13.5px; }
}

/* Footer */
footer {
    background: #090d16;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0 16px 0;
    margin-top: auto;
    width: 100%;
}

/* Compact footer row */
.footer-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-compact-logo span {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary, #f39c12);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.footer-compact-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    align-items: center;
}

.footer-compact-nav a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}

.footer-compact-nav a:hover {
    color: var(--primary);
}

.footer-compact-info span {
    color: rgba(255,255,255,0.55);
    font-size: 12px;
    white-space: nowrap;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 6px;
    font-size: 11px;
    color: rgba(255,255,255,0.4);
}

.footer-bottom p {
    margin: 0;
}



/* Theme Toggle Button Style */
.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    cursor: pointer;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    outline: none;
    margin-right: 8px;
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.theme-toggle-btn svg {
    stroke: currentColor;
    fill: none;
}

/* Light Theme overrides for elements that need specific dark/light adjustments */
html[data-theme="light"] .theme-toggle-btn {
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--text-white);
}

html[data-theme="light"] .theme-toggle-btn:hover {
    background: rgba(15, 23, 42, 0.1);
}

html[data-theme="light"] header {
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

html[data-theme="light"] nav a {
    color: #000000;
    font-weight: 600;
}

html[data-theme="light"] nav a:hover {
    color: var(--primary-hover);
}

html[data-theme="light"] nav#mobile-nav a {
    color: #ffffff;
}

html[data-theme="light"] .btn-secondary {
    background: #0f172a;
    border: 1px solid #0f172a;
    color: #ffffff;
}

html[data-theme="light"] .btn-secondary:hover {
    background: #1e293b;
    border-color: #1e293b;
}

html[data-theme="light"] header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

html[data-theme="light"] .phone-mockup {
    border-color: #e2e8f0;
    box-shadow: var(--card-shadow), 0 0 40px rgba(243, 156, 18, 0.05);
    background: #e2e8f0;
}

html[data-theme="light"] .phone-notch {
    background: #e2e8f0;
}

html[data-theme="light"] .step-card {
    background: rgba(255, 255, 255, 0.7);
}

html[data-theme="light"] .step-number {
    color: rgba(243, 156, 18, 0.9);
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.9) 0%, rgba(15, 23, 42, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

html[data-theme="light"] .feature-card {
    background: rgba(255, 255, 255, 0.7);
}

html[data-theme="light"] .feature-icon {
    background: rgba(243, 156, 18, 0.05);
    border: 1px solid rgba(243, 156, 18, 0.1);
}

html[data-theme="light"] .faq-item {
    background: rgba(255, 255, 255, 0.7);
}

html[data-theme="light"] {
    background-color: #ffffff;
}

html[data-theme="light"] footer {
    background: #f1f5f9;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
}

html[data-theme="light"] .footer-about p,
html[data-theme="light"] .footer-col h5,
html[data-theme="light"] .footer-col a,
html[data-theme="light"] .footer-col ul li {
    color: #334155 !important;
}

html[data-theme="light"] .footer-bottom {
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    color: rgba(15, 23, 42, 0.6);
}

html[data-theme="light"] .aurora-bg {
    background: radial-gradient(circle, rgba(243, 156, 18, 0.07) 0%, rgba(255, 255, 255, 0) 70%);
}

/* Segments Grid Responsive */
.segments-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    text-align: center;
}



/* ===== HAMBURGER BUTTON ===== */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    transition: background 0.2s ease;
}

.hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
                opacity 0.25s ease;
    transform-origin: center;
}

/* Animate hamburger → X */
.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== MOBILE OVERLAY ===== */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1099;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* ===== MOBILE DRAWER ===== */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -110%;
    width: min(300px, 85vw);
    height: auto;
    max-height: 90vh;
    background: linear-gradient(160deg, #0d1424 0%, #111827 60%, #0f1e35 100%);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    overflow-y: auto;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom-left-radius: 20px;
    box-shadow: -10px 10px 50px rgba(0, 0, 0, 0.6);
}

.mobile-drawer.open {
    right: 0;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-close-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.drawer-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.mobile-drawer-links {
    list-style: none;
    padding: 16px 0;
    flex: 1;
}

.mobile-drawer-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-drawer-links li:first-child {
    border-top: none;
}

.mobile-drawer-links a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.mobile-drawer-links a:hover {
    background: rgba(243, 156, 18, 0.08);
    color: var(--primary);
    padding-left: 30px;
}

.drawer-icon {
    font-size: 18px;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.mobile-drawer-actions {
    padding: 16px 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-drawer-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}


/* ===== RESPONSIVE BREAKPOINTS ===== */

/* --- Tablet (992px) --- */
@media (max-width: 992px) {
    /* Hero */
    .hero { padding-top: 120px; padding-bottom: 60px; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 36px; }
    .hero-content h1 { font-size: 38px; }
    .hero-content p { font-size: 17px; margin: 0 auto 28px auto; max-width: 560px; }
    .hero-ctas { justify-content: center; }
    .mockup-container { max-width: 480px; margin: 0 auto; }

    /* Sections */
    .steps { padding: 70px 0; }
    .features { padding: 70px 0; }
    .trial-section { padding: 70px 0; }
    .section-header { margin-bottom: 44px; }
    .section-header h2 { font-size: 32px; }

    /* Grids */
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .steps-grid { grid-template-columns: 1fr; gap: 24px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .segments-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }

    /* Pricing */
    .pricing-card.highlighted { transform: scale(1) !important; }

    /* Trial */
    .trial-box { padding: 48px 36px; }
    .trial-content h2 { font-size: 34px; }

    /* Hero nav */
    .hero-ctas { justify-content: center; }
    .stats-container { flex-direction: column; gap: 30px; }
}

/* --- Mobile (768px) --- */
@media (max-width: 768px) {
    /* Header */
    #desktop-nav { display: none; }
    .hamburger-btn { display: flex; }
    .header-actions .btn-secondary { display: none; }
    .header-actions .btn-primary { display: none; }

    /* Hero */
    .hero { padding-top: 100px; padding-bottom: 48px; }
    .hero-content h1 { font-size: 30px; letter-spacing: -0.5px; margin-bottom: 16px; }
    .hero-content p { font-size: 15px; margin-bottom: 20px; }
    .hero-ctas { flex-direction: column; width: 100%; gap: 12px; }
    .hero-ctas .btn { width: 100%; text-align: center; justify-content: center; font-size: 15px; padding: 14px 20px; }
    .hero-top-badge { font-size: 11.5px !important; padding: 8px 12px !important; margin-bottom: 16px !important; border-radius: 16px !important; }

    /* Stats */
    .stats { padding: 44px 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .stat-item h3 { font-size: 32px; }
    .stat-item p { font-size: 12px; }

    /* Sections */
    .steps { padding: 56px 0; }
    .features { padding: 56px 0; }
    .trial-section { padding: 56px 0; }
    .faq { padding: 40px 0 28px 0; }
    .section-header { margin-bottom: 32px; }
    .section-header h2 { font-size: 26px; }
    .section-header p { font-size: 15px; }

    /* Grids — all single column */
    .steps-grid, .features-grid, .footer-grid { grid-template-columns: 1fr !important; gap: 20px; }
    .segments-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }

    /* Cards */
    .step-card { padding: 28px 22px; }
    .step-card h4 { font-size: 17px; }
    .step-card p { font-size: 14px; }
    .feature-card { padding: 24px; }
    .feature-card h3 { font-size: 16px; }
    .feature-card p { font-size: 13px; }

    /* Pricing */
    .pricing-card.highlighted { transform: scale(1) !important; }
    .pricing-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
    .pricing-card { max-width: 100% !important; box-sizing: border-box !important; }

    /* Trial */
    .trial-box { padding: 32px 20px; border-radius: 20px; }
    .trial-content h2 { font-size: 26px; }
    .trial-content p { font-size: 14px; margin-bottom: 24px; }
    .trial-bullets { flex-direction: column !important; align-items: center !important; gap: 10px !important; }
    .bullet { font-size: 13px; }

    /* FAQ */
    .faq-question { font-size: 14px; padding: 18px 16px; }
    .faq-answer { font-size: 13px; }
    .faq-item.active .faq-answer { padding: 0 16px 18px 16px; }

    /* Mockup */
    .mockup-container { width: 100%; max-width: 100%; margin: 20px auto 0; box-sizing: border-box; }
    .mockup-badge { right: 5px !important; transform: rotate(0deg) !important; top: 10px !important; font-size: 11px !important; }
    .phone-mockup { max-width: 100%; border-radius: 24px; border-width: 10px; }

    /* Footer */
    .footer-compact { flex-direction: column; align-items: flex-start; gap: 12px; }
    .footer-compact-nav { gap: 6px 14px; }
    .footer-compact-nav a { white-space: normal !important; font-size: 12px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* --- Small phone (480px) --- */
@media (max-width: 480px) {
    /* Container padding */
    .container { padding: 0 4%; }

    /* Hero */
    .hero { padding-top: 90px; padding-bottom: 36px; }
    .hero-content h1 { font-size: 24px; margin-bottom: 14px; }
    .hero-content p { font-size: 14px; margin-bottom: 18px; }
    .hero-content > div:not(.hero-ctas) {
        font-size: 12.5px !important;
        padding: 10px 12px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .btn { font-size: 14px; padding: 12px 18px; }

    /* Header */
    header .logo-area span { font-size: 15px; }
    header .logo-area img { height: 32px; }

    /* Stats */
    .stats { padding: 36px 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .stat-item h3 { font-size: 28px; }

    /* Sections */
    .section-header h2 { font-size: 22px; }
    .section-header p { font-size: 14px; }

    /* Segments */
    .segments-grid { grid-template-columns: 1fr !important; gap: 10px; }

    /* Pricing */
    .pricing-grid { gap: 16px !important; }

    /* Trial */
    .trial-box { padding: 28px 16px; }
    .trial-content h2 { font-size: 22px; }
    .trial-content p { font-size: 13px; }

    /* Mockup */
    .phone-mockup { border-radius: 18px; border-width: 8px; }
}

/* Collapsible Quem Somos Section */
#quem-somos-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-in-out, opacity 0.4s ease-in-out, margin-top 0.4s ease-in-out;
    margin-top: 0;
}
#quem-somos-content.active {
    max-height: 3000px !important;
    opacity: 1 !important;
    margin-top: 24px !important;
}
#quem-somos-arrow {
    transition: transform 0.3s ease;
}
#quem-somos-arrow.active {
    transform: rotate(180deg) !important;
}
