/* Cores do Projeto */
:root {
    --azul-escuro: #1a1a2e;       /* Azul escuro quase preto */
    --roseo-claro: #ffd1dc;        /* Roseo claro */
    --amarelo: #fff8dc;          /* Amarelo claro suave */
    --laranja-claro: #ffe4b5;      /* Laranja claro */
    --branco: #ffffff;
    --cinza-claro: #f8f9fa;
    --cinza-escuro: #6c757d;
    --texto-principal: #333333;
}

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--texto-principal);
    overflow-x: hidden;
}

/* Header e Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--azul-escuro) 0%, #16213e 100%);
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../bacground-cartas/bg-site.jpg') center/cover;
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
}

.navbar {
    background: rgba(26, 26, 46, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 50px;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    color: var(--branco) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.nav-link:hover {
    color: var(--roseo-claro) !important;
    transform: translateY(-2px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--branco);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--roseo-claro);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(45deg, var(--roseo-claro), #ffb6c1);
    border: none;
    color: var(--azul-escuro);
    box-shadow: 0 4px 15px rgba(255, 182, 193, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 182, 193, 0.6);
    background: linear-gradient(45deg, #ffb6c1, var(--roseo-claro));
}

.btn-outline-light {
    border: 2px solid var(--branco);
    color: var(--branco);
}

.btn-outline-light:hover {
    background: var(--branco);
    color: var(--azul-escuro);
    transform: translateY(-3px);
}

/* Seções */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--azul-escuro);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--cinza-escuro);
    text-align: center;
    margin-bottom: 3rem;
}

/* Feature Cards */
.feature-card {
    background: var(--branco);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--roseo-claro);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--roseo-claro), var(--laranja-claro));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--azul-escuro);
    font-size: 2rem;
}

.feature-card h4 {
    color: var(--azul-escuro);
    margin-bottom: 15px;
    font-weight: 600;
}

/* Testimonial Section */
.testimonial-section {
    background: linear-gradient(135deg, var(--amarelo) 0%, var(--laranja-claro) 100%);
}

.testimonial-card {
    background: var(--branco);
    padding: 50px 40px;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
}

.testimonial-text {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--texto-principal);
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    font-size: 1.1rem;
    color: var(--cinza-escuro);
    font-weight: 600;
}

/* Pricing Cards */
.pricing-card {
    background: var(--branco);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    border: 3px solid transparent;
}

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

.pricing-card.featured {
    border-color: var(--roseo-claro);
    transform: scale(1.05);
}

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

.badge-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, var(--roseo-claro), #ff69b4);
    color: var(--branco);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header h4 {
    color: var(--azul-escuro);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--azul-escuro);
    margin-bottom: 10px;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.pricing-features li {
    padding: 10px 0;
    color: var(--texto-principal);
    font-size: 1rem;
}

.pricing-features .fa-check {
    color: #28a745;
    margin-right: 10px;
}

.free-trial-badge {
    background: linear-gradient(45deg, var(--amarelo), var(--laranja-claro));
    padding: 20px 30px;
    border-radius: 15px;
    display: inline-block;
    font-size: 1.1rem;
    color: var(--azul-escuro);
    font-weight: 600;
}

/* Formulário */
.carta-form {
    background: var(--branco);
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.form-label {
    color: var(--azul-escuro);
    font-weight: 600;
    margin-bottom: 8px;
}

.form-control, .form-select {
    border: 2px solid var(--roseo-claro);
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--roseo-claro);
    box-shadow: 0 0 0 0.2rem rgba(255, 209, 220, 0.25);
}

.form-control:focus {
    background-color: var(--amarelo);
}

/* Testimonial Cards Small */
.testimonial-card-small {
    background: var(--branco);
    padding: 30px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.stars {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.testimonial-card-small p {
    font-style: italic;
    color: var(--texto-principal);
    margin-bottom: 15px;
    line-height: 1.6;
}

.testimonial-card-small cite {
    color: var(--cinza-escuro);
    font-weight: 600;
    font-style: normal;
}

/* Footer */
.footer {
    background: var(--azul-escuro);
    color: var(--branco);
}

.footer h5, .footer h6 {
    color: var(--roseo-claro);
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--branco);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--roseo-claro);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--roseo-claro);
    color: var(--azul-escuro);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

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

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .carta-form {
        padding: 30px 20px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
        margin: 20px 0;
    }
    
    .pricing-card.featured:hover {
        transform: scale(1) translateY(-15px);
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .price {
        font-size: 2.5rem;
    }
    
    section {
        padding: 60px 0;
    }
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Alertas personalizados */
.alert-custom {
    border-radius: 15px;
    border: none;
    padding: 20px;
    margin-bottom: 20px;
}

.alert-success {
    background: linear-gradient(45deg, #d4edda, #c3e6cb);
    color: #155724;
}

.alert-info {
    background: linear-gradient(45deg, #d1ecf1, #bee5eb);
    color: #0c5460;
}

.alert-warning {
    background: linear-gradient(45deg, #fff3cd, #ffeaa7);
    color: #856404;
}

/* Checkbox Customizado */
.form-check-input {
    border: 2px solid var(--roseo-claro);
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.2em;
}

.form-check-input:checked, termos{
    background-color: var(--roseo-claro);
    border-color: var(--roseo-claro);
}

.form-check-input:focus {
    border-color: var(--roseo-claro);
    box-shadow: 0 0 0 0.25rem rgba(255, 209, 220, 0.25);
}
