/* CSS Personalizado - DoisR LP */
/* Paleta baseada na Logo (Azul Ciano -> Azul Royal) */

:root {
    --brand-primary: #0072ff;
    /* Azul Royal */
    --brand-cyan: #00c6ff;
    /* Ciano */
    --brand-dark: #001e3c;
    /* Azul Noturno */
    --brand-gradient: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    --brand-gradient-hover: linear-gradient(135deg, #0072ff 0%, #00c6ff 100%);
}

/* Geral */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

html {
    scroll-padding-top: 100px;
    /* Compensa a altura do Header fixo (aprox 80px + 20px respiro) */
    scroll-behavior: smooth;
}

/* Tipografia */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Botões com Gradiente */
.btn-primary-gradient {
    background: var(--brand-gradient);
    border: none;
    color: white;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 114, 255, 0.3);
    color: white;
    background: var(--brand-gradient-hover);
}

/* Hero Section - Background Image Style */
.hero-section {
    padding: 140px 0 120px;
    background-color: var(--brand-dark);
    background-image:
        linear-gradient(135deg, rgba(0, 30, 60, 0.92) 0%, rgba(0, 21, 40, 0.95) 100%),
        url('../img/photo-1504711434969-e33886168f5c.avif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 198, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 114, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

/* Elementos decorativos animados no fundo */
.hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 198, 255, 0.1) 0%, transparent 70%);
    filter: blur(50px);
    animation: pulseGlow 8s infinite alternate;
    z-index: 0;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.hero-img-container {
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Modelos Interativos (Scroll on Hover) */
.model-card {
    border: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    background: white;
    border-radius: 16px;
}

.model-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

.model-preview {
    width: 100%;
    height: 220px;
    /* Altura da janela de visualização */
    overflow: hidden;
    position: relative;
    background-color: #f1f1f1;
    border-bottom: 1px solid #eee;
}

.model-preview img {
    width: 100%;
    height: auto;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 6s cubic-bezier(0.45, 0.05, 0.55, 0.95);
    /* Scroll mais suave */
}

/* Scroll apenas no hover */
.model-card:hover .model-preview img {
    transform: translateY(calc(-100% + 320px));
}

/* Features / Vantagens */
.feature-icon-box {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    color: var(--brand-primary);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    transition: all 0.3s;
}

.card:hover .feature-icon-box {
    background: var(--brand-gradient);
    color: white;
    transform: rotateY(180deg);
}

.card:hover .feature-icon-box i {
    transform: rotateY(-180deg);
    /* Mantém ícone legível */
}

/* Planos - Novo Design Split */
.pricing-section {
    background-color: #f8f9fa;
}

.pricing-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

/* Card Branco (Setup) */
.pricing-card-white {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    border: 1px solid #edf2f7;
    position: relative;
}

.badge-setup {
    background: #e0f2fe;
    color: #0284c7;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Card Escuro (Recorrência) */
.pricing-card-dark {
    background: #0f172a;
    /* Cor escura profunda */
    color: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.3);
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    position: relative;
    overflow: hidden;
    border: 1px solid #1e293b;
}

/* Ícone flutuante no card */
.pricing-icon-float {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    opacity: 0.8;
}

.check-green {
    color: #10b981;
}

.check-blue-dark {
    color: #38bdf8;
}

/* Azul claro para fundo escuro */

/* FAQ Accordion */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.accordion-button:not(.collapsed) {
    background-color: white;
    color: var(--brand-primary);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, .125);
}

/* Footer */
footer {
    background: #0b0f19;
}

/* Utility: Text Gradient */
.text-gradient-cyan {
    background: linear-gradient(135deg, #00c6ff 0%, #ffffff 80%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.z-index-2 {
    position: relative;
    z-index: 2;
}

#footer {
    margin-top: 0rem !important;
}

/* Background Gradient Light */
.bg-gradient-light {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

/* Hover Up Effect */
.hover-up {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-up:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

/* Problem Icon Animation */
.problem-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Solution Box */
.solution-box {
    border-left: 3px solid #10b981;
}

/* Step Number Circle */
.step-number-circle {
    width: 80px;
    height: 80px;
    background: var(--brand-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 114, 255, 0.3);
    animation: float 3s ease-in-out infinite;
}

.step-icon {
    transition: transform 0.3s ease;
}

.step-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Profile Icon Circle */
.profile-icon-circle {
    width: 70px;
    height: 70px;
    background: var(--brand-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 114, 255, 0.25);
}

/* Navbar Transparent & Scroll Effect */
#mainNav {
    transition: all 0.3s ease-in-out;
    background-color: transparent;
    backdrop-filter: blur(0px);
}

#mainNav.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

#mainNav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

#mainNav .nav-link:hover {
    color: #ffffff;
}

#mainNav.navbar-scrolled .nav-link {
    color: rgba(0, 0, 0, 0.7);
}

#mainNav.navbar-scrolled .nav-link:hover {
    color: #0072ff;
}

#navbarLogo {
    transition: all 0.3s ease;
}

/* Ajuste para mobile - navbar sempre com fundo */
@media (max-width: 991px) {
    #mainNav {
        background-color: rgba(0, 0, 0, 0.95);
    }

    #mainNav.navbar-scrolled {
        background-color: rgba(255, 255, 255, 0.98);
    }
}

/* Espaçamento maior entre seções */
.py-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

/* Ajustes de responsividade mobile */
@media (max-width: 768px) {

    /* Hero Section */
    .hero-section {
        min-height: 100vh;
        padding-top: 80px !important;
    }

    .hero-section h1 {
        font-size: 2rem !important;
    }

    .hero-section .lead {
        font-size: 1rem !important;
    }

    /* Espaçamento reduzido em mobile */
    .py-6 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    /* Cards responsivos */
    .card {
        margin-bottom: 1rem;
    }

    /* Títulos responsivos */
    .display-2 {
        font-size: 2.5rem !important;
    }

    .display-5 {
        font-size: 2rem !important;
    }

    .display-6 {
        font-size: 1.5rem !important;
    }

    /* Botões em mobile */
    .btn-lg {
        padding: 0.75rem 2rem !important;
        font-size: 1rem !important;
    }

    /* Step circles menores em mobile */
    .step-number-circle {
        width: 60px;
        height: 60px;
    }

    .step-number-circle span {
        font-size: 2rem !important;
    }

    /* Profile circles menores em mobile */
    .profile-icon-circle {
        width: 60px;
        height: 60px;
    }

    /* Pricing cards em mobile */
    .pricing-card-white,
    .pricing-card-dark {
        margin-bottom: 2rem;
    }

    /* Logo no header mobile */
    #navbarLogo {
        width: 130px !important;
    }
}

/* Ajustes para tablets */
@media (min-width: 768px) and (max-width: 991px) {
    .display-2 {
        font-size: 3rem !important;
    }

    .py-6 {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
}

/* Utility for Alerts */
.text-warning-emphasis { color: #664d03; }

/* Back to Top Button */
#btn-back-to-top { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; opacity: 0; visibility: hidden; transform: translateY(20px); }
#btn-back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); display: flex !important; }
#btn-back-to-top:hover { background: var(--brand-gradient-hover); transform: translateY(-5px); }
