/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --accent: #00FF7F;
    --white: #FFFFFF;
    --bg-light: #FAFAFA;
    --bg-lighter: #F7F7F7;
    --text-dark: #1E1E1E;
    --text-gray: #666666;
    --text-light: #999999;
    --border: #E5E5E5;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-2xl: 8rem;
    --spacing-3xl: 12rem;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition);
}

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

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
    letter-spacing: -0.01em;
    position: relative;
}

.nav-link:hover {
    color: var(--text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-login {
    background: var(--text-dark) !important;
    color: var(--white) !important;
    padding: 0.625rem 1.5rem !important;
    border-radius: 0.75rem !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-login::after { display: none; }

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.logo-text {
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.logo-accent {
    color: var(--accent);
    font-weight: 400;
}

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

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.938rem;
    font-weight: 500;
    transition: var(--transition);
    letter-spacing: -0.01em;
}

.nav-link:hover {
    color: var(--text-dark);
}

/* ===== Hero Section ===== */
.hero {
    padding: 12rem 0 8rem;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.accent {
    color: var(--accent);
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 3rem;
    font-weight: 400;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.938rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--text-dark);
    color: var(--white);
}

.btn-primary:hover {
    background: #000000;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 1.5px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-cta {
    background: var(--accent);
    color: var(--text-dark);
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
}

.btn-cta:hover {
    background: #00E070;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 255, 127, 0.3);
}

/* ===== Sections ===== */
.section {
    padding: var(--spacing-2xl) 0;
}

.section-label {
    display: inline-block;
    font-size: 0.813rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.section-intro {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

/* ===== Sobre Section ===== */
.sobre {
    background: var(--bg-lighter);
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.section-header {
    position: sticky;
    top: 120px;
}

.section-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.text-large {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--text-dark);
    font-weight: 500;
    letter-spacing: -0.02em;
}

.text-medium {
    font-size: 1.063rem;
    line-height: 1.8;
    color: var(--text-gray);
    font-weight: 400;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-gray);
    font-weight: 500;
}

/* ===== Serviços ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.06);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-lighter);
    border-radius: 0.75rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: var(--text-dark);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.service-description {
    font-size: 0.938rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===== Portfólio ===== */
.portfolio {
    background: var(--bg-lighter);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.portfolio-item {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.portfolio-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem 0.75rem 0 0;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-placeholder {
    font-size: 3rem;
    opacity: 0.3;
    color: var(--text-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.portfolio-placeholder-icon {
    font-size: 4rem;
    opacity: 0.4;
}

.portfolio-placeholder-text {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.6;
}

.portfolio-info {
    padding: 2rem;
}

.portfolio-category {
    font-size: 0.813rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.portfolio-name {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.portfolio-description {
    font-size: 0.938rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.portfolio-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: var(--transition);
}

.portfolio-btn:hover {
    color: var(--accent);
    gap: 0.75rem;
}

/* ===== Processo ===== */
.processo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.processo-step {
    text-align: center;
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--bg-lighter);
    -webkit-text-stroke: 1.5px var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.step-description {
    font-size: 0.938rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===== Diferenciais ===== */
.diferenciais {
    background: var(--bg-lighter);
}

.diferenciais-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.diferenciais-header {
    position: sticky;
    top: 120px;
}

.diferenciais-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.diferencial-item {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.diferencial-icon {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-dark);
    flex-shrink: 0;
}

.diferencial-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.diferencial-text {
    font-size: 0.938rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===== CTA Section ===== */
.cta {
    background: var(--bg-lighter);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
}

/* ===== Agendamento ===== */
.agendamento {
    background: var(--bg-lighter);
}

.booking-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.booking-form .form-group {
    margin-bottom: 1.5rem;
}

.booking-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-dark);
}

.booking-form input, 
.booking-form select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
}

.booking-form input:focus, 
.booking-form select:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.btn-full {
    width: 100%;
    margin-top: 1rem;
}

/* ===== Autenticação Apple Dark ===== */
#authModal .modal-content {
    background: #000000;
    border: 1px solid #333;
    padding: 4rem 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.1);
    color: #ffffff;
}

.auth-header {
    text-align: center;
    margin-bottom: 3rem;
}

.auth-title {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 1rem;
}

.auth-subtitle {
    font-size: 1.1rem;
    color: #86868b;
    line-height: 1.4;
}

.auth-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.auth-tab {
    background: none;
    border: none;
    font-size: 1rem;
    color: #06c;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s;
}

.auth-tab:hover {
    text-decoration: underline;
}

.auth-tab.active {
    display: none; /* Esconder a aba ativa para simular o estilo Apple de "link para alternar" */
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form input {
    background: #1d1d1f;
    border: 1px solid #424245;
    padding: 1.2rem;
    font-size: 1.1rem;
    border-radius: 0.8rem;
    width: 100%;
    color: #ffffff;
    transition: border-color 0.2s;
}

.auth-form input:focus {
    border-color: #0066cc;
    outline: none;
}

.btn-apple {
    background: #0066cc;
    color: #ffffff;
    width: 100%;
    padding: 1.2rem;
    border-radius: 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 1rem;
}

.btn-apple:hover {
    background: #0077ed;
}

.modal-close svg {
    color: #86868b;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-size: 0.875rem;
    color: var(--text-gray);
}

/* ===== Chat Widget ===== */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 380px;
    height: 550px;
    background: var(--white);
    border-radius: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    z-index: 2000;
    transform: translateY(120%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid var(--border);
}

.chat-widget.active {
    transform: translateY(0);
}

.chat-header {
    padding: 1.5rem;
    background: var(--text-dark);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--accent);
}

.chat-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
}

.chat-close:hover {
    opacity: 1;
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--bg-light);
}

.message {
    max-width: 85%;
    padding: 0.875rem 1.125rem;
    border-radius: 1.25rem;
    font-size: 0.938rem;
    line-height: 1.5;
}

.message.client {
    align-self: flex-end;
    background: var(--text-dark);
    color: var(--white);
    border-bottom-right-radius: 0.25rem;
}

.message.admin {
    align-self: flex-start;
    background: var(--white);
    color: var(--text-dark);
    border-bottom-left-radius: 0.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

.chat-input-area {
    padding: 1.25rem;
    display: flex;
    gap: 0.75rem;
    background: var(--white);
    border-top: 1px solid var(--border);
}

.chat-input-area input {
    flex: 1;
    border: 1.5px solid var(--border);
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    outline: none;
    font-family: inherit;
    transition: var(--transition);
}

.chat-input-area input:focus {
    border-color: var(--accent);
}

.chat-send {
    background: var(--text-dark);
    color: var(--white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.chat-send:hover {
    background: var(--accent);
    color: var(--text-dark);
    transform: scale(1.05);
}

/* ===== Footer ===== */
.footer {
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.footer-contact {
    text-align: right;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
}

.footer-email {
    margin-bottom: 1rem;
}

.footer-email .email-link {
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.footer-email .email-link:hover {
    color: var(--accent);
}

.footer-social {
    display: flex;
    gap: 1.25rem;
    justify-content: flex-end;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem;
}

.social-link:hover {
    color: var(--text-dark);
    transform: translateY(-1px);
}

.social-link.email-social {
    color: var(--text-light);
}

.social-link.email-social:hover {
    color: var(--text-dark);
    transform: translateY(-1px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

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

.footer-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.938rem;
    font-weight: 500;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--text-dark);
}

.footer-bottom {
    text-align: center;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: 1rem;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2001;
    animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-lighter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: var(--text-dark);
    color: var(--white);
}

.modal-body {
    padding: 2rem 3rem 3rem;
}

.modal-image {
    width: 100%;
    height: auto;
    min-height: 300px;
    background: var(--bg-light);
    border-radius: 0.75rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-image .youtube-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 0.75rem;
    overflow: hidden;
}

.modal-image .youtube-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0.75rem;
}

/* ===== Email Styles ===== */
.email-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.email-link:hover {
    color: var(--text-dark);
    text-decoration: underline;
}

.contact-methods {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 0.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
}

.contact-method:hover {
    background: var(--text-dark);
    color: var(--white);
    border-color: var(--text-dark);
    transform: translateY(-2px);
}

.discord-btn {
    background: #5865F2;
    border-color: #5865F2;
    color: var(--white);
}

.discord-btn:hover {
    background: #4752C4;
    border-color: #4752C4;
    color: var(--white);
}

.email-btn {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-dark);
}

.email-btn:hover {
    background: var(--text-dark);
    border-color: var(--text-dark);
    color: var(--white);
}

.modal-header {
    margin-bottom: 2rem;
}

.modal-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
}

.modal-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.modal-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-label {
    font-size: 0.813rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.meta-value {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.modal-section {
    margin-bottom: 2rem;
}

.modal-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.modal-section p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .section-grid,
    .diferenciais-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .section-header,
    .diferenciais-header {
        position: static;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .payment-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .payment-steps {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .header {
        padding: 1rem 0;
    }
    
    .nav {
        display: none;
    }
    
    .hero {
        padding: 8rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .services-grid,
    .portfolio-grid,
    .payment-steps {
        grid-template-columns: 1fr;
    }
    
    .processo-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .modal-content {
        border-radius: 0;
        max-height: 100vh;
        margin: 0;
    }
    
    .modal-body {
        padding: 2rem 1.5rem;
    }
    
    .modal-image {
        border-radius: 0;
        margin-bottom: 1.5rem;
    }
    
    .modal-image .youtube-container {
        border-radius: 0;
    }
    
    .modal-image .youtube-container iframe {
        border-radius: 0;
    }
    
    .payment-methods {
        flex-direction: column;
        align-items: center;
    }
    
    .payment-method {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .contact-methods {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .contact-method {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .step-percentage {
        font-size: 3rem;
    }
    
    .payment-steps {
        gap: 2rem;
    }
    
    .video-indicator {
        width: 40px;
        height: 40px;
        top: 0.75rem;
        right: 0.75rem;
    }
    
    .youtube-container {
        border-radius: 0.5rem;
    }
}

/* ===== YouTube Player ===== */
.youtube-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: var(--bg-light);
    border-radius: 0.75rem;
    overflow: hidden;
}

.youtube-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0.75rem;
}

.modal-image .youtube-container {
    border-radius: 0.75rem;
    margin-bottom: 0;
}

.modal-image .youtube-container iframe {
    border-radius: 0.75rem;
}

.video-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.portfolio-item:hover .video-indicator {
    background: var(--accent);
    color: var(--text-dark);
    transform: scale(1.1);
}

/* ===== Formas de Pagamento ===== */
.pagamento {
    background: var(--white);
}

.payment-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.payment-step {
    text-align: center;
    position: relative;
}

.step-percentage {
    font-size: 4rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.payment-step .step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.payment-step .step-description {
    font-size: 0.938rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.payment-info {
    background: var(--bg-lighter);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid var(--border);
}

.payment-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.payment-info p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.payment-method:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.payment-method svg {
    width: 20px;
    height: 20px;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}
/* ===== Scroll Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

/* ===== Apple-Style Authentication Fullscreen ===== */
.apple-auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.apple-auth-overlay.active {
    opacity: 1;
    visibility: visible;
}

.apple-auth-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.apple-auth-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    color: #666;
}

.apple-auth-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
}

.apple-auth-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
    min-height: 100vh;
}

/* Lado Esquerdo - Informações */
.apple-auth-info {
    background: linear-gradient(135deg, #f8fffe 0%, #f0fdf4 100%);
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.apple-auth-brand {
    margin-bottom: 3rem;
}

.apple-auth-logo {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 8px 32px rgba(0, 255, 127, 0.2);
}

.apple-auth-logo span {
    font-size: 28px;
    font-weight: 800;
    color: white;
}

.apple-auth-brand h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.apple-auth-brand p {
    font-size: 1.1rem;
    color: var(--text-gray);
    font-weight: 500;
}

.apple-auth-hero h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    max-width: 500px;
}

.apple-auth-hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 3rem;
    max-width: 450px;
}

/* Ilustração - Editor de Vídeo */
.apple-auth-illustration {
    position: relative;
    width: 320px;
    height: 220px;
    margin-top: 2rem;
}

.video-editor-icon {
    position: absolute;
    top: 10px;
    left: 20px;
    width: 240px;
    height: 160px;
    background: #1a1a1a;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.editor-screen {
    width: 100%;
    height: 100%;
    background: #2a2a2a;
    border-radius: 8px;
    padding: 8px;
    position: relative;
    overflow: hidden;
}

.video-preview {
    width: 70%;
    height: 60%;
    background: linear-gradient(135deg, var(--accent) 0%, #00e676 100%);
    border-radius: 6px;
    margin-bottom: 8px;
    position: relative;
}

.video-preview::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 20px;
}

.timeline-bar {
    width: 100%;
    height: 20px;
    background: #404040;
    border-radius: 4px;
    margin-bottom: 8px;
    position: relative;
}

.timeline-bar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 60%;
    height: 100%;
    background: var(--accent);
    border-radius: 4px;
}

.control-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.play-btn {
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
    position: relative;
}

.play-btn::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 4px;
    width: 0;
    height: 0;
    border-left: 4px solid white;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

.timeline {
    flex: 1;
    height: 4px;
    background: #555;
    border-radius: 2px;
    position: relative;
}

.timeline::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 40%;
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
}

.automation-gear {
    position: absolute;
    top: 20px;
    right: 10px;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    color: var(--accent);
    animation: rotate 8s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Lado Direito - Formulário */
.apple-auth-form-section {
    background: white;
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apple-auth-form-container {
    width: 100%;
    max-width: 400px;
}

.apple-auth-form-container h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.apple-auth-form {
    width: 100%;
}

.apple-form-group {
    margin-bottom: 1.5rem;
}

.apple-form-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    background: #fafafa;
    transition: all 0.2s ease;
    outline: none;
}

.apple-form-input:focus {
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 255, 127, 0.1);
}

.apple-form-input::placeholder {
    color: #999;
    font-weight: 400;
}

/* CAPTCHA */
.apple-captcha {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f8f8;
    border-radius: 12px;
    border: 2px solid #e5e5e5;
}

.captcha-image {
    background: white;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 3px;
    color: #333;
    text-decoration: line-through;
    text-decoration-color: #666;
}

.captcha-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.captcha-refresh,
.captcha-audio {
    background: none;
    border: none;
    color: #007AFF;
    font-size: 0.85rem;
    cursor: pointer;
    text-align: left;
    padding: 0;
    text-decoration: none;
}

.captcha-refresh:hover,
.captcha-audio:hover {
    text-decoration: underline;
}

.apple-submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 2rem;
}

.apple-submit-btn:hover {
    background: #00e676;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 255, 127, 0.3);
}

.apple-auth-switch {
    text-align: center;
    margin-bottom: 2rem;
}

.apple-auth-switch p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.apple-switch-btn {
    background: none;
    border: none;
    color: #007AFF;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}

.apple-switch-btn:hover {
    text-decoration: underline;
}

.apple-auth-footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e5e5e5;
}

.apple-auth-footer p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.apple-support-link {
    color: #007AFF;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.apple-support-link:hover {
    text-decoration: underline;
}

/* Responsivo */
@media (max-width: 1024px) {
    .apple-auth-content {
        grid-template-columns: 1fr;
    }
    
    .apple-auth-info {
        display: none;
    }
    
    .apple-auth-form-section {
        padding: 2rem;
    }
    
    .apple-auth-close {
        top: 1rem;
        right: 1rem;
    }
}

@media (max-width: 768px) {
    .apple-auth-form-section {
        padding: 1.5rem;
    }
    
    .apple-auth-form-container {
        max-width: none;
    }
    
    .apple-auth-hero h2 {
        font-size: 2.5rem;
    }
    
    .apple-captcha {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Animações */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.apple-auth-overlay.active .apple-auth-info {
    animation: slideInFromLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}

.apple-auth-overlay.active .apple-auth-form-section {
    animation: slideInFromRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}