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

html {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    overflow-x: hidden;
    max-width: 100vw;
}

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    overflow-x: hidden;
}

html body.legal-body,
html:has(body.legal-body) {
    overflow: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
}

@media screen and (max-width: 768px) {
    html, body {
        overflow-y: auto;
        overflow-x: hidden;
    }
}

body {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100vw;
}

@media screen and (max-width: 768px) {
    body {
        align-items: stretch;
        padding-top: 10vh;
        padding-bottom: 0;
        overflow-y: auto;
        min-height: 100vh;
        flex-direction: column;
        justify-content: flex-start;
    }
}

/* Conteúdo centralizado */
.content-center {
    text-align: center;
    max-width: 580px;
    width: 90%;
    padding: 40px 30px;
    animation: fadeInUp 0.8s ease-out;
    overflow-x: hidden;
    word-wrap: break-word;
}

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

/* Favicon Image */
.favicon-image {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

/* Badge */
.badge {
    display: inline-block;
    background: linear-gradient(135deg, #1999d5 0%, #00C853 100%);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(25, 153, 213, 0.3);
}

/* Logo */
.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.logo-black {
    color: #1a1a1a;
    display: inline-block;
}

.logo-growth {
    color: #1999d5;
    display: inline-block;
}

/* Headline */
.headline {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.highlight {
    color: #1999d5;
    font-weight: 700;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(25, 153, 213, 0.15);
    z-index: -1;
    border-radius: 2px;
}

/* Subheadline */
.subheadline {
    font-size: 18px;
    font-weight: 400;
    color: #666666;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* Botão */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #00C853 0%, #00B248 100%);
    color: #FFFFFF;
    border: none;
    padding: 20px 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 200, 83, 0.35);
    position: relative;
    overflow: hidden;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.button:hover::before {
    left: 100%;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 200, 83, 0.45);
    background: linear-gradient(135deg, #00B248 0%, #00A043 100%);
}

.button:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.4);
}

.button-text {
    position: relative;
    z-index: 1;
}

.button-arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.button:hover .button-arrow {
    transform: translateX(4px);
}

/* Trust text */
.trust-text {
    font-size: 12px;
    color: #666666;
    margin-top: 30px;
    font-weight: 500;
    letter-spacing: 0.2px;
    line-height: 1.4;
    white-space: nowrap;
}

.trust-text .separator {
    margin: 0 4px;
}

@media screen and (max-width: 360px) {
    .trust-text .separator {
        margin: 0 2px;
    }
}

/* Responsividade para mobile */
@media screen and (max-width: 768px) {
    .content-center {
        padding: 25px 20px;
        max-width: 100%;
        width: 100%;
    }
    
    .favicon-image {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .badge {
        font-size: 10px;
        padding: 6px 16px;
        margin-bottom: 20px;
    }
    
    .logo {
        font-size: 42px;
        margin-bottom: 18px;
    }
    
    .headline {
        font-size: 24px;
        margin-bottom: 8px;
        line-height: 1.2;
    }
    
    .subheadline {
        font-size: 16px;
        margin-bottom: 28px;
        line-height: 1.5;
    }
    
    .button {
        font-size: 17px;
        padding: 20px 30px;
        width: 100%;
        max-width: 100%;
        min-height: 56px;
        box-shadow: 0 10px 30px rgba(0, 200, 83, 0.4);
        font-weight: 700;
        position: relative;
    }
    
    .button::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }
    
    .button:active::after {
        width: 300px;
        height: 300px;
    }
    
    .button:active {
        transform: scale(0.98);
    }
    
    .trust-text {
        font-size: 11px;
        margin-top: 20px;
        white-space: normal;
    }
}

@media screen and (max-width: 480px) {
    .content-center {
        padding: 20px 15px;
        width: 100%;
        max-width: 100%;
    }
    
    .favicon-image {
        width: 50px;
        height: 50px;
        margin-bottom: 18px;
    }
    
    .badge {
        font-size: 9px;
        padding: 5px 14px;
        margin-bottom: 18px;
    }
    
    .logo {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .headline {
        font-size: 20px;
        margin-bottom: 6px;
        line-height: 1.2;
    }
    
    .subheadline {
        font-size: 15px;
        margin-bottom: 25px;
        line-height: 1.4;
    }
    
    .button {
        padding: 18px 25px;
        font-size: 16px;
        min-height: 54px;
        box-shadow: 0 8px 25px rgba(0, 200, 83, 0.45);
    }
    
    .trust-text {
        font-size: 10px;
        white-space: nowrap;
        letter-spacing: 0px;
        margin-top: 18px;
    }
}

@media screen and (max-width: 360px) {
    .content-center {
        padding: 18px 12px;
        width: 100%;
        max-width: 100%;
    }
    
    .favicon-image {
        width: 45px;
        height: 45px;
        margin-bottom: 15px;
    }
    
    .logo {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .headline {
        font-size: 18px;
    }
    
    .subheadline {
        font-size: 14px;
        margin-bottom: 22px;
    }
    
    .button {
        padding: 16px 20px;
        font-size: 15px;
        min-height: 52px;
    }
    
    .trust-text {
        font-size: 9px;
        white-space: nowrap;
        letter-spacing: -0.2px;
        margin-top: 16px;
    }
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(245, 245, 245, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 20px;
    text-align: center;
    z-index: 100;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-line {
    font-size: 12px;
    color: #666666;
    margin: 4px 0;
    line-height: 1.6;
    font-weight: 400;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.footer-link {
    color: #1999d5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #00C853;
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .footer {
        padding: 15px;
        position: relative;
        margin-top: auto;
        width: 100%;
    }
    
    .content-center {
        flex: 1 0 auto;
    }
    
    .footer-line {
        font-size: 11px;
        margin: 3px 0;
        word-break: break-word;
    }
    
    .footer-link {
        display: inline-block;
        margin: 0 2px;
    }
}

@media screen and (max-width: 480px) {
    .footer {
        padding: 12px 10px;
        margin-top: auto;
        width: 100%;
    }
    
    .footer-line {
        font-size: 10px;
        margin: 2px 0;
        word-break: break-word;
        line-height: 1.5;
    }
    
    .footer-link {
        margin: 0 1px;
    }
}

@media screen and (max-width: 360px) {
    .footer {
        padding: 10px 8px;
        margin-top: auto;
        width: 100%;
    }
    
    .footer-line {
        font-size: 9px;
        line-height: 1.4;
    }
}

/* Páginas Legais (Política de Privacidade e Termos de Uso) */
html body.legal-body,
body.legal-body {
    overflow: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
}

html body.legal-body {
    overflow: auto !important;
    overflow-x: hidden !important;
}

body.legal-body {
    display: block !important;
    align-items: unset !important;
    justify-content: unset !important;
}

/* Header das páginas legais */
.legal-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 20px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.legal-header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

.legal-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.legal-logo-link:hover {
    transform: scale(1.05);
}

.legal-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.legal-header .back-button {
    margin-bottom: 0;
    background: rgba(25, 153, 213, 0.1);
    padding: 8px 16px;
    font-size: 14px;
}

.legal-page {
    min-height: 100vh;
    padding: 20px;
    padding-top: 100px;
    padding-bottom: 150px;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    font-family: 'Poppins', sans-serif;
}

.legal-page .footer {
    position: relative;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1999d5;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.back-button:hover {
    color: #00C853;
    transform: translateX(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.legal-header .back-button:hover {
    background: rgba(0, 200, 83, 0.1);
    transform: translateX(-3px);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.legal-content h1 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.2;
}

.legal-content .last-updated {
    color: #666666;
    font-size: 14px;
    margin-bottom: 40px;
    font-style: italic;
}

.legal-content section {
    margin-bottom: 35px;
}

.legal-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1999d5;
    margin-bottom: 15px;
    margin-top: 30px;
    line-height: 1.3;
}

.legal-content p {
    font-size: 16px;
    color: #333333;
    margin-bottom: 15px;
    text-align: justify;
}

.legal-content ul {
    margin-left: 25px;
    margin-bottom: 15px;
    padding-left: 0;
}

.legal-content li {
    font-size: 16px;
    color: #333333;
    margin-bottom: 10px;
    line-height: 1.7;
}

.legal-content strong {
    color: #1a1a1a;
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .legal-header {
        padding: 12px 15px;
    }
    
    .legal-header-content {
        gap: 10px;
    }
    
    .legal-logo {
        width: 60px;
        height: 60px;
    }
    
    .legal-header .back-button {
        padding: 6px 12px;
        font-size: 13px;
        white-space: nowrap;
    }
    
    .legal-page {
        padding: 15px;
        padding-top: 85px;
        padding-bottom: 120px;
    }
    
    .legal-content {
        padding: 25px;
        border-radius: 8px;
        overflow-x: hidden;
    }
    
    .legal-content h1 {
        font-size: 28px;
        word-break: break-word;
    }
    
    .legal-content h2 {
        font-size: 20px;
        word-break: break-word;
    }
    
    .legal-content p,
    .legal-content li {
        font-size: 15px;
        word-break: break-word;
    }
}

@media screen and (max-width: 480px) {
    .legal-header {
        padding: 10px 12px;
    }
    
    .legal-header-content {
        gap: 8px;
    }
    
    .legal-logo {
        width: 55px;
        height: 55px;
    }
    
    .legal-header .back-button {
        padding: 5px 10px;
        font-size: 12px;
        white-space: nowrap;
    }
    
    .legal-page {
        padding: 12px;
        padding-top: 80px;
        padding-bottom: 100px;
    }
    
    .legal-content {
        padding: 20px;
        overflow-x: hidden;
    }
    
    .legal-content h1 {
        font-size: 24px;
        word-break: break-word;
    }
    
    .legal-content h2 {
        font-size: 18px;
        word-break: break-word;
    }
    
    .legal-content p,
    .legal-content li {
        font-size: 14px;
        word-break: break-word;
    }
    
    .legal-content ul {
        margin-left: 20px;
        padding-left: 0;
    }
}

