/* ========================================
   CONVITES VIRTUAIS - SITE DE DIVULGAÇÃO
   ======================================== */

:root {
    --primary: #667eea;
    --primary-dark: #5a67d8;
    --secondary: #764ba2;
    --accent: #f093fb;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --success: #28a745;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.py-6 {
    padding: 6rem 0;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary) !important;
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary);
}

.navbar .btn-primary {
    background: var(--gradient);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary {
    background: var(--gradient);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    background: var(--gradient);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge.bg-primary-soft {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #fff;
    margin-left: -10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.avatar:first-child {
    margin-left: 0;
}

/* Hero Image / Phone Mockup */
.hero-image {
    position: relative;
    padding: 2rem;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #1a1a2e;
    border-radius: 40px;
    padding: 10px;
    margin: 0 auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 25px;
    background: #000;
    border-radius: 20px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.convite-preview {
    text-align: center;
    color: #fff;
    padding: 2rem;
}

.preview-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.convite-preview h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.convite-preview p {
    opacity: 0.9;
    margin-bottom: 1rem;
}

.preview-date {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
}

.floating-card {
    position: absolute;
    background: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.floating-card.card-1 {
    top: 20%;
    right: 0;
}

.floating-card.card-2 {
    bottom: 25%;
    left: 0;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
}

/* ========================================
   EVENT TYPE CARDS
   ======================================== */
.event-type-card {
    text-align: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.event-type-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.event-type-card .icon-box {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.event-type-card .icon-box i {
    font-size: 1.5rem;
    color: #fff;
}

.event-type-card h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin: 0;
    color: #333;
}

/* ========================================
   TEMPLATE SECTION
   ======================================== */
.template-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid #e9ecef;
    background: #fff;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.template-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.template-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.template-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.template-badge.premium {
    background: linear-gradient(135deg, #d4af37, #f4e4bc);
    color: #333;
}

.template-badge.free {
    background: var(--success);
    color: #fff;
}

.template-preview {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.template-content {
    text-align: center;
    color: #fff;
    padding: 1rem;
}

.template-content i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.template-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.template-content p {
    font-size: 0.875rem;
    opacity: 0.9;
    margin: 0;
}

.template-info {
    padding: 1.5rem;
}

.template-info h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.template-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.template-features span {
    font-size: 0.75rem;
    color: #666;
}

.template-features i {
    color: var(--success);
}

.template-actions {
    display: flex;
    gap: 0.5rem;
}

.template-actions .btn {
    flex: 1;
    padding: 0.5rem;
    font-size: 0.875rem;
}

/* ========================================
   FEATURE CARDS
   ======================================== */
.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 1.75rem;
    color: var(--primary);
}

.feature-card h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing-card {
    background: #fff;
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    background: var(--gradient);
    color: #fff;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #f093fb;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.25rem;
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.price .amount {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-card.featured .pricing-features li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pricing-features li.disabled {
    opacity: 0.5;
}

.pricing-card .btn {
    padding: 1rem 2rem;
}

.pricing-card.featured .btn-primary {
    background: #fff;
    color: var(--primary);
}

.pricing-card.featured .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* ========================================
   DEMO SECTION
   ======================================== */
.demo-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.demo-preview {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-info {
    padding: 1.5rem;
}

.demo-info h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.demo-info p {
    margin-bottom: 1rem;
}

/* ========================================
   ORÇAMENTO FORM
   ======================================== */
.bg-gradient-primary {
    background: var(--gradient);
}

.orcamento-form {
    background: #fff;
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.orcamento-form .form-label {
    color: #333;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.orcamento-form .form-control,
.orcamento-form .form-select {
    border-radius: 10px;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
}

.orcamento-form .form-control:focus,
.orcamento-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

.orcamento-form .btn-light {
    background: var(--gradient);
    color: #fff;
    border: none;
    padding: 1rem;
    font-weight: 600;
}

.orcamento-form .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.25rem;
    color: var(--primary);
}

.contact-item h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.contact-item a {
    color: var(--primary);
}

.contact-cta img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   FAQ ACCORDION
   ======================================== */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 15px !important;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    background: #fff;
}

.accordion-button:not(.collapsed) {
    background: var(--primary);
    color: #fff;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    padding: 1.5rem;
    color: #666;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--dark);
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

/* ========================================
   WHATSAPP FLOAT BUTTON
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.75rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
}

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

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 991px) {
    .hero .row {
        min-height: auto;
        padding: 8rem 0 4rem;
    }

    .hero-image {
        margin-top: 3rem;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }

    .floating-card {
        display: none;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 767px) {
    .py-6 {
        padding: 4rem 0;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .display-6 {
        font-size: 1.75rem;
    }

    .navbar-collapse {
        background: #fff;
        padding: 1rem;
        border-radius: 15px;
        margin-top: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .navbar .btn-primary {
        width: 100%;
        margin-top: 1rem;
    }
}

/* Animation for template filter */
.template-item {
    transition: all 0.4s ease;
}

.template-item.hide {
    opacity: 0;
    transform: scale(0.8);
    display: none !important;
}
