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

:root {
    --primary-black: #000000;
    --primary-white: #ffffff;
    --accent-purple: #5c22a2;
    --accent-purple-glow: rgba(92, 34, 162, 0.4);
    --card-bg: rgba(255, 255, 255, 0.015);
    --border-color: rgba(255, 255, 255, 0.1);
    --font-main: 'Space Grotesk', sans-serif;
}

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

body {
    background: #000;
    /* Fallback for slow devices */
    background: radial-gradient(circle at top right, #1a0b2e, #000000);
    background-attachment: fixed;
    color: var(--primary-white);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


h1,
h2,
h3 {
    font-family: var(--font-main);
    font-weight: 600;
}

/* Navigation */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 90%;
    padding: 12px 30px;
    background: rgba(15, 15, 15, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, background 0.3s ease;
    z-index: 1000;
    will-change: transform, opacity;
}

/* Removendo a animação que escondia o menu para deixá-lo fixo no topo sempre */
nav.nav-hidden {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: all;
}

nav:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 120px;
    /* Reduzido de 240px para 120px para evitar sobreposição */
    width: auto;
    filter: drop-shadow(0 0 15px var(--accent-purple-glow));
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--primary-white);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.8;
    position: relative;
    display: flex;
    align-items: center;
}

.nav-links a:not(:last-child)::after {
    content: "|";
    margin-left: 20px;
    opacity: 1;
    /* Opaque as requested */
    color: var(--primary-white);
    font-weight: 300;
}

.nav-links a:hover {
    color: var(--primary-white);
    opacity: 1;
    text-shadow: 0 0 15px var(--accent-purple-glow), 0 0 30px rgba(0, 0, 0, 0.5);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 10% 80px;
    position: relative;
    overflow: hidden;
    background: #05020a;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 1.0;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    width: 100%;
    transform: translateY(-40px);
}

.hero-content>* {
    position: relative;
    z-index: 3;
}

.hero-logo-container {
    width: 100%;
    max-width: 450px;
    margin-bottom: 5px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    z-index: 1;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.8));
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 1);
    /* Full white for maximum contrast */
    max-width: 650px;
    margin-bottom: 20px;
    line-height: 1.4;
    text-shadow:
        0 4px 10px rgba(0, 0, 0, 1),
        0 2px 4px rgba(0, 0, 0, 1),
        0 0 30px rgba(0, 0, 0, 0.8),
        0 0 60px rgba(0, 0, 0, 0.6),
        0 0 100px rgba(0, 0, 0, 0.4);
}

/* Button */
.btn {
    display: inline-block;
    padding: 18px 45px;
    background-color: var(--accent-purple);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--accent-purple-glow);
}

/* WhatsApp Buttons */
.btn-whatsapp {
    background-color: #25d366;
    /* Cor oficial do WhatsApp */
    display: inline-flex;
    align-items: center;
    border-radius: 50px;
    padding: 16px 32px;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

/* Grid Section */
.info-section {
    padding: 40px 8%;
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 8px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, background 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    will-change: transform;
}

.card:hover {
    border-color: var(--accent-purple);
    background: rgba(92, 34, 162, 0.05);
    transform: translateY(-10px);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 25px;
    color: var(--accent-purple);
    filter: drop-shadow(0 0 10px var(--accent-purple-glow));
    transition: 0.3s;
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--primary-white);
}

.card h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: var(--accent-purple);
    text-align: center;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.card p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* FAQ Section - Alinhado com as Cores do Site */
.faq-section {
    padding: 100px 8%;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(10, 10, 10, 0.2);
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item:hover {
    border-color: rgba(92, 34, 162, 0.4);
}

.faq-item.faq-open {
    border-color: var(--accent-purple);
    background: rgba(92, 34, 162, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.faq-question {
    padding: 26px 40px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--primary-white);
    font-family: var(--font-main);
    font-size: 1.15rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.4s ease;
}

.faq-item.faq-open .faq-question {
    color: var(--accent-purple);
}

.faq-question:hover {
    background: rgba(92, 34, 162, 0.05);
}

.faq-icon {
    width: 20px;
    height: 20px;
    fill: var(--primary-white);
    /* Ícone branco */
    opacity: 0.5;
    transition: 0.4s ease;
}

.faq-item.faq-open .faq-icon {
    transform: rotate(180deg);
    fill: var(--accent-purple);
    /* Ícone roxo quando ativo */
    opacity: 1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    /* Suaviza a abertura do container */
}

.faq-item.faq-open .faq-answer {
    max-height: 1000px;
    /* Garante espaço para o conteúdo descer */
}

.faq-answer-content {
    padding: 0 40px 32px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    font-size: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
    opacity: 0;
    transform: translateY(-20px);
    /* Começa um pouco acima para o efeito de descida */
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
    /* Animação de descida e surgimento */
}

.faq-item.faq-open .faq-answer-content {
    opacity: 1;
    transform: translateY(0);
    /* Desce para a posição final */
}

footer {
    padding: 60px 8%;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.2, 0.6, 0.3, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Methodology Section */
.methodology-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
}

.methodology-title,
.section-title {
    font-size: 3rem;
    margin-bottom: 50px;
    text-align: center;
    line-height: 1.1;
    width: 100%;
    font-family: var(--font-main);
    font-weight: 600;
    text-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 4px 10px rgba(0, 0, 0, 0.3);
}

.methodology-title {
    margin-bottom: 50px;
}

.tabs-container {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.tab-btn {
    width: 45px;
    height: 45px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-main);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.tab-btn.active {
    background: var(--accent-purple);
    color: white;
    border-color: var(--accent-purple);
    box-shadow: 0 0 15px var(--accent-purple-glow);
}

.step-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 1100px;
    margin: 0 auto;
    min-height: 450px;
}

.step-visual {
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 1px solid var(--border-color);
    background: radial-gradient(circle at center, rgba(92, 34, 162, 0.15), transparent 75%);
    position: relative;
}

/* Methodology Dial Model */
.dial-container {
    position: relative;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dial-ticks {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.tick {
    position: absolute;
    width: 2px;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    left: 50%;
    transform-origin: bottom center;
    bottom: 50%;
    transition: 0.3s;
}

.tick.active {
    background: var(--accent-purple);
    box-shadow: 0 0 8px var(--accent-purple);
    height: 15px;
}

.dial-numbers {
    position: absolute;
    width: 100%;
    height: 100%;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

.dial-numbers span {
    position: absolute;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    transition: 0.3s;
}

.dial-numbers span.active {
    color: var(--accent-purple);
    font-size: 1.5rem;
}

.n1 {
    top: -5%;
    left: -5%;
}

.n2 {
    top: -5%;
    left: 105%;
}

.n3 {
    top: 105%;
    left: 105%;
}

.n4 {
    top: 105%;
    left: -5%;
}

.dial-center {
    width: 110px;
    height: 110px;
    background: #000;
    border: 1px solid rgba(161, 109, 247, 0.4);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    z-index: 10;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(161, 109, 247, 0.3);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
}

.dial-logo-orb {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-white);
}

.nebula {
    position: absolute;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(161, 109, 247, 0.4), transparent 40%);
    animation: rotateNebula 6s linear infinite;
    filter: blur(30px);
    opacity: 1.0;
}

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

    to {
        transform: rotate(360deg);
    }
}

.dial-icon-svg {
    width: 48px;
    height: 48px;
    color: #a16df7;
    z-index: 2;
    filter: drop-shadow(0 0 15px rgba(161, 109, 247, 0.9));
    animation: iconPulse 4s infinite ease-in-out;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.step-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
}

.step-nav-arrows {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.nav-arrow {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    width: 30px;
    height: 30px;
    padding: 0;
    transition: 0.3s;
}

.nav-arrow:hover {
    color: white;
}

.nav-arrow svg {
    width: 100%;
    height: 100%;
}

.step-info {
    display: none;
}

.step-info.active {
    display: block;
    animation: fadeInContent 0.5s ease;
}

.step-info h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: white;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.step-info ul {
    list-style: none;
}

.step-info li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.step-info li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--accent-purple);
    border-radius: 50%;
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media screen and (max-width: 992px) {
    .step-card {
        grid-template-columns: 1fr;
        backdrop-filter: none;
        /* Mobile performance */
        -webkit-backdrop-filter: none;
    }

    .step-visual {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 30px;
        /* Reduced padding */
    }

    .step-content {
        padding: 30px;
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    nav {
        top: 15px;
        padding: 10px 20px;
        width: 90%;
    }

    .nav-links a {
        margin: 0 10px;
        font-size: 0.75rem;
    }

    .hero {
        padding: 120px 5% 60px;
    }

    .hero-logo-container {
        max-width: 250px;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .info-section {
        padding: 50px 5%;
    }

    h2[style*="font-size: 3rem"] {
        font-size: 2rem !important;
        margin-bottom: 30px !important;
    }

    .section-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card {
        padding: 30px 20px;
    }

    .card h3 {
        font-size: 1.5rem;
    }

    .faq-question {
        padding: 20px;
        font-size: 1rem;
    }

    .faq-answer-content {
        padding: 0 20px 20px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 25px;
        height: 25px;
    }
}