﻿body {
    font-family: 'Roboto', sans-serif;
}
.circle-effect-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
}

.circle-outer {
    width: 20rem; /* w-80 */
    height: 20rem; /* h-80 */
    background: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-middle {
    width: 18rem; /* w-72 */
    height: 18rem;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-inner {
    width: 16rem; /* w-64 */
    height: 16rem;
    background: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
@keyframes partial-spin {
    0%, 100% {
        transform: rotate( 30deg);
    }

    50% {
        transform: rotate( -30deg);
    }
}

.partial-spin {
    animation: partial-spin 6s ease-in-out infinite;
    transform-origin: center;
}


.animate-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4);
    }

    70% {
        box-shadow: 0 0 40px 20px rgba(124, 58, 237, 0.2);
    }
}
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.animated-gradient-circle {
    background: linear-gradient(270deg, #6366F1, #7C3AED, #6D28D9, #8B5CF6);
    background-size: 600% 600%;
    animation: gradientShift 15s ease infinite;
}


.whatsapp-float {
    position: fixed;
    bottom: 1.5rem; /* 24px */
    right: 1.5rem;
    z-index: 50;
    width: 4rem; /* 80px */
    height: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0b2f5b, #8e44ad);
    border-radius: 9999px; /* fully rounded */
    box-shadow: 0 8px 15px rgba(142, 68, 173, 0.4);
    cursor: pointer;
    transition: transform 0.3s ease;
    animation: shake 3s ease-in-out infinite;
}

    .whatsapp-float:hover {
        transform: scale(1.1);
        animation-play-state: paused;
    }

.whatsapp-img {
    width: 80%;
    height: auto;
    user-select: none;
    pointer-events: none;
}

/* Animação de tremor leve */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    20%, 60% {
        transform: translateX(-4px);
    }

    40%, 80% {
        transform: translateX(4px);
    }
}
.btn-outline-purple {
    border-color: white;
    color: white;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

    .btn-outline-purple:hover {
        background-color: white !important;
        color: #7c3aed !important; /* roxo */
        border-color: #7c3aed !important;
    }

.screen-spinner {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255 255 255 / 0.2);
    margin: 0 auto;
    animation: spin 1.5s linear infinite;
}

.floating-dot {
    position: absolute;
    border-radius: 50%;
    background: rgba(255 255 255 / 0.3);
}

    .floating-dot.top-left {
        top: 5rem;
        left: 1.5rem;
        width: 16px;
        height: 16px;
        animation: bounce 2s infinite;
    }

    .floating-dot.bottom-right {
        bottom: 5rem;
        right: 1.5rem;
        width: 24px;
        height: 24px;
        background: rgba(255 255 255 / 0.15);
        animation: pulse 3s infinite;
    }

.floating-ui {
    position: absolute;
    border-radius: 50%;
    background: #7C3AED;
    animation: bounce 2s infinite;
}

    .floating-ui.top-right {
        top: -1rem;
        right: -1rem;
        width: 32px;
        height: 32px;
        animation-delay: 0.1s;
    }

    .floating-ui.bottom-left {
        bottom: -1.5rem;
        left: -1.5rem;
        width: 48px;
        height: 48px;
        background: linear-gradient(135deg, #7C3AED, #EC4899);
        animation: pulse 3s infinite;
        animation-delay: 0.2s;
    }

/* Animations */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(4rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeUp 1s ease forwards;
}

.animate-fade-up-delay {
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.5s;
}

/* Features Section */
.features-section {
    background: #F9FAFB;
    padding: 5rem 1rem;
    color: #374151;
}


.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

    .section-header h2 {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
        color: #1F2937;
    }

    .section-header p {
        font-size: 1.25rem;
        color: #6B7280;
    }

.features-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}


@media(min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s, transform 0.3s;
    opacity: 0;
    transform: translateY(2rem) scale(0.95);
    animation-fill-mode: forwards;
}

    .feature-card:hover {
        box-shadow: 0 20px 25px rgba(124, 58, 237, 0.3);
        transform: translateY(-0.5rem) scale(1.05);
    }

    .feature-card h3 {
        margin: 1rem 0 0.5rem 0;
        color: #1F2937;
        font-weight: 600;
        font-size: 1.35rem;
    }

    .feature-card p {
        color: #6B7280;
        font-size: 1rem;
        line-height: 1.4;
    }

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    transition: transform 0.3s;
    cursor: default;
}

    .feature-icon:hover {
        transform: scale(1.1);
    }

/* Tamanho menor em telas pequenas */
@media (max-width: 600px) {
    .features-list li {
        font-size: 0.95rem !important; /* diminui a fonte no mobile */
    }
}
section.bg-white form input,
section.bg-white form textarea {
    font-size: 0.9rem; /* fonte menor */
    padding: 0.5rem 1rem !important; /* padding vertical e horizontal reduzidos */
    height: auto; /* altura automática para ajustar ao padding/fonte */
    max-width: 100%; /* para garantir responsividade */
    box-sizing: border-box; /* para incluir padding na largura */
    font-family: 'Roboto', sans-serif;
}


.shield-icon {
    background: linear-gradient(135deg, #7C3AED, #6D28D9);
}

.bar-chart-icon {
    background: linear-gradient(135deg, #4338CA, #7C3AED);
}

.building-icon {
    background: linear-gradient(135deg, #22C55E, #3B82F6);
}

.share-icon {
    background: linear-gradient(135deg, #7C3AED, #EC4899);
}

/* New Era Section */
.new-era-section {
    padding: 5rem 1rem;
    background: white;
    color: #374151;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    width: 100%;
}

.new-era-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media(min-width: 768px) {
    .new-era-text h2 {
        font-size: 3rem;
    }
}

.purple-text {
    color: #7C3AED;
}

.new-era-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: #6B7280;
}

.illustration-box {
    background: linear-gradient(135deg, #EDE9FE, #DDD6FE);
    border-radius: 1.5rem;
    padding: 2rem;
    height: 384px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #374151;
}

.illustration-icon {
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, #7C3AED, #6D28D9);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
    color: white;
}

.illustration-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.illustration-box p {
    color: #6B7280;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 5rem 1rem;
    background: linear-gradient(90deg, #1F2937, #111827);
    color: white;
    text-align: center;
    overflow: hidden;
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgb(41, 55, 240), rgb(159, 26, 226));
    %3E%3C/g%3E%3C/g%3E%3C/svg%3E"); opacity: 0.2; z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

    .cta-content h2 {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
    }

@media(min-width: 768px) {
    .cta-content h2 {
        font-size: 3rem;
    }
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #D1D5DB;
}

.btn-secondary {
    background: white;
    color: #1F2937;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}

    .btn-secondary:hover {
        background: #F3F4F6;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        transform: scale(1.05);
        color: #1F2937 !important;
    }

    .btn-secondary.btn-large {
        font-size: 1.125rem;
    }

/* Footer */
.footer {
    background: #1F2937;
    color: white;
    padding: 3rem 1rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media(min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-section h3 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #D8B4FE;
    margin-bottom: 0.5rem;
}

.small-text {
    font-size: 0.875rem;
    color: #D8B4FE;
}

.btn-yellow {
    background: #FBBF24;
    color: black;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s;
}

    .btn-yellow:hover {
        background: #FCD34D;
    }


/* Animação fade-up para footer e features */
.feature-card,
.section-header,
.footer-section,
.hero-text,
.phone-mockup,
.quote-text,
.new-era-text,
.new-era-illustration,
.cta-content {
    opacity: 0;
    transform: translateY(4rem);
    animation-fill-mode: forwards;
}

    .feature-card.animate-fade-up,
    .section-header.animate-fade-up,
    .footer-section.animate-fade-up,
    .hero-text.animate-fade-up,
    .phone-mockup.animate-fade-up-delay,
    .quote-text.animate-fade-up,
    .new-era-text.animate-fade-up,
    .new-era-illustration.animate-fade-up-delay,
    .cta-content.animate-fade-up {
        animation-name: fadeUp;
        animation-duration: 1s;
        animation-timing-function: ease-out;
    }

    .feature-card.animate-fade-up {
        animation-delay: var(--delay, 0ms);
    }

/* Utility */
.text-center {
    text-align: center;
}


@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(4rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotateY-swing {
    0%, 100% {
        transform: rotateY(0deg);
    }

    50% {
        transform: rotateY(30deg);
    }

    75% {
        transform: rotateY(-30deg);
    }
}

.rotateY-swing {
    animation: rotateY-swing 6s ease-in-out infinite;
    transform-style: preserve-3d; /* importante para rotação 3D */
    backface-visibility: hidden; /* evita efeitos estranhos na volta */
}


/* Combina as duas animações no telefone */
.phone-mockup.animate-fade-up-delay {
    animation: fadeUp 1s ease forwards, rotateY-swing 6s ease-in-out infinite;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.animate-spin-slow {
    animation: spin 10s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.max-w-7xl-custom {
    max-width: 90em;
}

.mobile-menu {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center; /* <-- Centraliza horizontalmente */
    text-align: center; /* <-- Centraliza texto */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    padding: 0 1rem;
    pointer-events: none;
}

    .mobile-menu.open {
        max-height: 500px;
        opacity: 1;
        padding-top: 1rem;
        padding-bottom: 1rem;
        pointer-events: auto;
    }

@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }

    .mobile-menu a {
        display: block;
        margin: 0.5rem 0;
        font-weight: 500;
        color: #1F2937;
        text-decoration: none;
    }

    .btn-primary.full-width {
        width: 70%;
        margin-top: 1rem;
        display:flex;
        justify-content:center;
            
    }
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    opacity: 0;
    animation: fadeUp 0.8s ease-out forwards;
}

html {
    scroll-behavior: smooth;
}

