/* Reset e configurações básicas */
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100vw;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #d8d4d4;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   HEADER E NAVEGAÇÃO
   ============================================ */
.header {
    position: sticky;
    top: 0;
    background: #d8d4d4;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #333;
}

.logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}


/* Menu Desktop */
.nav-desktop {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}


.nav-link {
    text-decoration: none;
    color: #0d3089;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s;
    cursor: pointer;
    white-space: nowrap;
}


.nav-link:hover {
    color: #4A90E2;
}

.cta-button {
    background: #0d3089;
    color: #d8d4d4;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Menu Hambúrguer Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Menu Mobile Overlay */
.menu-mobile {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: #0d3089;
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
}

.menu-mobile.active {
    right: 0;
}

.menu-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.menu-mobile-header .logo {
    color: white;
}

.menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-mobile-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.menu-mobile-links a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: padding-left 0.2s;
}

.menu-mobile-links a:hover {
    padding-left: 1rem;
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s;
}

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

/* ============================================
   SEÇÃO HERO (LOGIN/REGISTRO)
   ============================================ */
.hero-section {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

@media (min-width: 969px) {
    .hero-content {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 3rem;
    }
    
    .hero-image {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
    
    .hero-image img {
        max-width: 90%;
        width: 90%;
        height: auto;
        object-fit: contain;
    }
}

.hero-text {
    max-width: 600px;
    text-align: left;
}

.hero-title {
    font-size: clamp(1.6rem, 2vw + 0.8rem, 2.1rem);
    font-weight: 300;
    color: #0d3089;
    opacity: 65%;
    margin-bottom: 1rem;
    line-height: 1.2;
    white-space: nowrap;
    text-align: left;
}
.hero-title2 {
    font-size: clamp(2rem, 3vw + 1rem, 3rem);
    font-weight: 800;
    color: #0d3089;
    margin-bottom: 1rem;
    line-height: 1.1;
    white-space: nowrap;
    text-align: left;
}






/* Card de Login/Registro */
.auth-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
}

.auth-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.auth-tab.active {
    color: #4A90E2;
    border-bottom-color: #4A90E2;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

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

.form-group {
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    padding-right: 3rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s;
    background: #f8f9fa;
}

.form-group input[type="password"] {
    padding-right: 3.5rem;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.2rem;
    user-select: none;
    z-index: 10;
    background: transparent;
    border: none;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.password-toggle:hover {
    opacity: 1;
}

.form-group input:focus {
    outline: none;
    border-color: #4A90E2;
    background: white;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-group input.error {
    border-color: #e74c3c;
    background: #ffeaea;
}

.form-group input.success {
    border-color: #27ae60;
    background: #eafaf1;
}

.error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    margin-left: 0.5rem;
    opacity: 0;
    transition: opacity 0.2s;
    min-height: 20px;
}

.error-message.show {
    opacity: 1;
}

.success-message {
    color: #27ae60;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    margin-left: 0.5rem;
    opacity: 0;
    transition: opacity 0.2s;
}

.success-message.show {
    opacity: 1;
}

.password-strength {
    margin-top: 0.5rem;
    display: none;
}

.password-strength.show {
    display: block;
}

.strength-bar {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: width 0.3s, background 0.3s;
}

.strength-weak .strength-fill {
    width: 25%;
    background: #e74c3c;
}

.strength-medium .strength-fill {
    width: 50%;
    background: #f39c12;
}

.strength-strong .strength-fill {
    width: 100%;
    background: #27ae60;
}

.strength-text {
    font-size: 0.75rem;
    color: #666;
}

.btn-primary {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 1rem;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    color: #999;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #e0e0e0;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.google-btn-container {
    margin-bottom: 1rem;
    width: 100%;
    min-height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.terms-checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
    cursor: pointer;
}

.terms-checkbox label {
    cursor: pointer;
    color: #666;
}

.terms-checkbox a {
    color: #4A90E2;
    text-decoration: underline;
}

.toggle-link {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
}

.toggle-link a {
    color: #4A90E2;
    text-decoration: none;
    font-weight: 600;
}

.toggle-link a:hover {
    text-decoration: underline;
}

/* Hero Image */
.hero-image {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ============================================
   SEÇÕES INFORMATIVAS
   ============================================ */
.info-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0d3089;
    text-align: center;
    margin-bottom: 1rem;
}

.section-text {
    font-size: 1.2rem;
    color: #0d3089;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 1rem;
    line-height: 1.8;
}

.section-highlight {
    font-weight: 600;
    color: #4A90E2;
}

.section-disclaimer {
    font-size: 0.9rem;
    color: #999;
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
}

/* Cards de Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Mockup de Celular */
.phone-mockup {
    position: relative;
    max-width: 420px;
    margin: 2rem auto;
    width: 100%;
}

.phone-illustration {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-width: 420px;
}

.phone-screen {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #333;
}

.phone-content {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 2rem;
    width: 100%;
}

/* Section com duas colunas */
.two-column-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.two-column-section-reverse {
    grid-template-columns: 1fr 1fr;
}

.column-text h3 {
    font-size: clamp(2.2rem, 2vw + 1.4rem, 3rem);
    margin-bottom: 1rem;
    font-weight: 800;
}

.column-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.column-gradient-title {
    background: linear-gradient(135deg, #1f3c88 0%, #6b8cce 60%, #9fb6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    font-weight: 800;
    display: block;
    text-align: left;
}

.column-gradient-title.left {
    background: linear-gradient(135deg, #1f3c88 0%, #6b8cce 60%, #9fb6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    text-align: right;
    font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    font-weight: 800;
    display: block;
}

.two-column-section .phone-mockup {
    justify-self: center;
}

.column-text1,
.column-text2 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.column-text1 .column-gradient-title,
.column-text2 .column-gradient-title {
    width: 100%;
}

.testimonial-badge {
    background: rgba(74, 144, 226, 0.1);
    border-left: 4px solid #4A90E2;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.testimonial-badge p {
    color: #333;
    font-weight: 500;
    margin: 0;
}

/* ============================================
   SEÇÃO DE PLANOS
   ============================================ */
.pricing-section {
    background: #d8d4d4;
    padding: 5rem 2rem;
}

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

.pricing-tab {
    padding: 0.75rem 2rem;
    background: #f0f0f0;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.pricing-tab.active {
    background: #4A90E2;
    color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    position: relative;
}

.pricing-card.featured {
    border-color: #4A90E2;
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(74, 144, 226, 0.2);
}

.pricing-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.pricing-card h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.pricing-card .subtitle {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4A90E2;
    margin-bottom: 2rem;
}

.pricing-card .price .period {
    font-size: 1rem;
    color: #999;
    font-weight: 400;
}

.pricing-card .btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.2s;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
    }
    
    .hero-text {
        order: 1;
        text-align: center;
        max-width: 100%;
    }
    
    .hero-image {
        order: 2;
    }
    
    .hero-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
        text-align: center;
    }
    
    .hero-title .highlight {
        font-size: clamp(1.9rem, 6vw, 2.3rem);
    }
    .hero-title2 {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
        text-align: center;
    }
    
    .two-column-section {
        grid-template-columns: 1fr;
    }
    .two-column-section,
    .two-column-section-reverse {
        gap: 2rem;
    }
    .two-column-section .phone-mockup,
    .two-column-section-reverse .phone-mockup {
        order: 1;
    }
    .two-column-section .column-text1,
    .two-column-section .column-text2,
    .two-column-section-reverse .column-text1,
    .two-column-section-reverse .column-text2 {
        order: 2;
        text-align: center;
        justify-content: center;
    }
    .column-gradient-title,
    .column-gradient-title.left {
        text-align: center;
        width: 100%;
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .column-text1,
    .column-text2 {
        justify-content: center;
    }
    
    .nav-desktop {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
        text-align: center;
    }
    
    .hero-title .highlight {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    .hero-title2 {
        font-size: clamp(1.5rem, 7vw, 2rem);
        text-align: center;
    }
    
    .hero-image img {
        max-width: 100%;
        width: 100%;
    }
    
    .auth-card {
        padding: 1.5rem;
    }
    
    .info-section {
        padding: 3rem 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .column-gradient-title,
    .column-gradient-title.left {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        text-align: center;
    }
    
    .phone-illustration {
        max-width: 100%;
    }
}

/* Loading spinner */
.loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    margin-right: 0.5rem;
    vertical-align: middle;
}

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

/* ============================================
   ESTILOS PARA POPUP CUSTOMIZADO (reutilizados)
   ============================================ */
.custom-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 30, 60, 0.35);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    opacity: 0;
}

.custom-popup-overlay.active {
    opacity: 1;
}

.custom-popup {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(60, 60, 120, 0.18);
    padding: 32px 24px;
    max-width: 95vw;
    width: 100%;
    max-width: 450px;
    text-align: center;
    position: relative;
    animation: popupIn 0.3s;
    max-height: 85vh;
    overflow-y: auto;
}

.custom-popup-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #4A90E2;
    margin-bottom: 15px;
}

.custom-popup-message {
    font-size: 1em;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: left;
    white-space: pre-wrap;
    max-height: 50vh;
    overflow-y: auto;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.custom-popup-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.custom-popup-actions .btn {
    min-width: 100px;
    padding: 12px 24px;
    font-size: 1em;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.custom-popup-actions .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.custom-popup-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.custom-popup-actions .btn-secondary {
    background: #6c757d;
    color: white;
}

.custom-popup-actions .btn-secondary:hover {
    background: #545b62;
}

.custom-popup-input {
    width: 100%;
    padding: 12px 15px;
    padding-right: 3rem;
    border-radius: 8px;
    border: 1.5px solid #e1e8ed;
    margin-bottom: 15px;
    font-size: 1em;
    background: #f8f9fa;
    transition: border 0.2s;
    box-sizing: border-box;
}

.custom-popup-input[type="password"] {
    padding-right: 3.5rem;
}

.custom-popup-input:focus {
    outline: none;
    border-color: #4A90E2;
    background: #fff;
}

.custom-popup-input::placeholder {
    color: #999;
}

.custom-popup-error {
    color: #e74c3c;
    font-size: 0.9em;
    margin-bottom: 15px;
    min-height: 20px;
    text-align: left;
}

.custom-popup-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 15px;
    text-align: left;
    font-size: 0.9em;
}

.custom-popup-checkbox-wrapper input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
    cursor: pointer;
}

.custom-popup-checkbox-wrapper label {
    cursor: pointer;
    color: #444;
    line-height: 1.5;
}

.custom-popup-checkbox-wrapper a {
    color: #4A90E2;
    text-decoration: underline;
}

@keyframes popupIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Scroll Indicator Arrow */
.scroll-indicator {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.6;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 100;
}

.scroll-indicator svg {
    width: 70px;
    height: 70px;
    fill: #0d3089;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@media (max-width: 640px) {
    .custom-popup {
        padding: 24px 18px;
        max-width: 95vw;
    }
    
    .custom-popup-title {
        font-size: 1.3em;
    }
    
    .custom-popup-message {
        font-size: 0.9em;
        padding: 0.75rem;
    }
}

/* Wizard cadastro profissional */
.wizard-container {
    width: 100%;
    margin: 40px auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 16px 40px;
}
.wizard-title {
    color: #1e3a8a;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 24px;
}
.wizard-title-plans {
    font-size: 2.2rem;
    margin-bottom: 8px;
}
.wizard-trial-note {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
}
.wizard-form-group {
    margin-bottom: 16px;
    width: 100%;
    max-width: 380px;
}
.wizard-input {
    width: 100%;
    max-width: 380px;
    padding: 14px 20px;
    border-radius: 30px;
    border: 2px solid #3b82f6;
    background: #eaeaea;
    color: #333;
    font-size: 15px;
    outline: none;
    text-align: center;
    box-sizing: border-box;
}
.wizard-btn-primary {
    background: #4768d9;
    color: #fff;
    border: none;
    font-weight: bold;
    padding: 12px 60px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s;
}
.wizard-btn-primary:hover {
    background: #3653be;
}
.wizard-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.wizard-btn-secondary {
    background: #eaeaea;
    color: #333;
    border: 2px solid #cbd5e1;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}
.wizard-btn-secondary:hover {
    background: #e2e8f0;
}
.wizard-verify-hint {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 16px;
    line-height: 1.5;
}
.wizard-login-text {
    font-size: 14px;
    color: #64748b;
    margin: 16px 0;
}
.wizard-login-text a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}
.wizard-btn-google {
    background: #eaeaea;
    color: #333;
    border: 2px solid #3b82f6;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    cursor: not-allowed;
    max-width: 380px;
    width: 100%;
    opacity: 0.7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.wizard-error {
    color: #b91c1c;
    font-size: 13px;
    margin-bottom: 12px;
    display: none;
    max-width: 380px;
}
.wizard-error.visible {
    display: block;
}
.plans-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
    width: 100%;
    max-width: 960px;
}
.plans-grid-public {
    margin: 0 auto;
}
.pricing-section .section-title {
    margin-bottom: 8px;
}
.plan-card {
    background: #10368a;
    color: #fff;
    border-radius: 16px;
    padding: 24px;
    width: 280px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.plan-card.plan-highlighted {
    background: #4d74e0;
    transform: scale(1.02);
}
.plan-card h3 {
    font-size: 1.6rem;
    margin-bottom: 4px;
}
.plan-badge {
    font-size: 12px;
    opacity: 0.85;
    display: block;
    margin-bottom: 12px;
}
.plan-price {
    font-size: 2.1rem;
    font-weight: bold;
    margin-bottom: 16px;
}
.plan-price span {
    font-size: 14px;
    font-weight: normal;
}
.plan-card hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 16px;
}
.plan-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    text-align: left;
    flex-grow: 1;
}
.plan-card ul li {
    font-size: 14px;
    margin-bottom: 8px;
    padding-left: 16px;
    position: relative;
}
.plan-card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #fff;
}
.plan-btn {
    background: #fff;
    color: #10368a;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
    width: 100%;
}
.plan-card.plan-highlighted .plan-btn {
    color: #4d74e0;
}
.plan-btn:hover:not(:disabled) {
    transform: scale(1.03);
}
.plan-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

@media (max-width: 640px) {
    .wizard-title-plans {
        font-size: 1.6rem;
    }
    .plan-card {
        width: 100%;
        max-width: 320px;
    }
    .plan-card.plan-highlighted {
        transform: none;
    }
}
