/*
 * Landing Page CSS - SevenDay Gestão
 * Paleta: Navy #0B2570 | Blue #1565C0 | Cyan #00B4D8
 */

:root {
    --navy:  #0B2570;
    --blue:  #1565C0;
    --cyan:  #00B4D8;
    --light: #F0F6FF;
}

/* ===== GLOBAL STYLES ===== */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    color: #333;
}

.text-muted {
    color: #6c757d !important;
}

h1, h2, h3, h4, h5, h6 {
    color: #212529;
}

p {
    color: #495057;
}

/* ===== TEXTO BRANCO EM FUNDOS ESCUROS ===== */
.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6,
.hero-section p,
.hero-section small,
.hero-section label,
.stats-section h1,
.stats-section h2,
.stats-section h3,
.stats-section p,
.stats-section div,
.final-cta-section h1,
.final-cta-section h2,
.final-cta-section h3,
.final-cta-section h4,
.final-cta-section p,
.final-cta-section small,
.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer p,
.verse-card h1,
.verse-card h2,
.verse-card h3,
.verse-card h4,
.verse-card p,
.verse-card small {
    color: inherit;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: rgba(255,255,255,0.08) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(11, 37, 112, 0.97) !important;
    padding: 0.5rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
}

.navbar-brand img {
    max-height: 40px;
    width: auto;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #00B4D8 !important;
    transform: translateY(-2px);
}

.btn-outline-light {
    border-width: 2px;
    font-weight: 600;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.3);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(160deg, #0B2570 0%, #1565C0 70%, #1976D2 100%);
    color: white;
    padding: 8rem 0 5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.06"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.06"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.06"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.06"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.06"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-title .accent {
    color: #00B4D8;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button {
    background: #28a745;
    border: none;
    border-radius: 15px;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.3);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button:hover {
    background: #218838;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(40, 167, 69, 0.4);
}

.pricing-preview {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out 0.8s both;
    border: 1px solid rgba(0, 180, 216, 0.3);
}

.price-tag {
    font-size: 2rem;
    font-weight: 700;
    color: #00B4D8;
}

.demo-video {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    animation: fadeInUp 1s ease-out 0.4s both;
    transition: all 0.3s ease;
}

.demo-video:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.45);
}

.demo-video img {
    width: 100%;
    height: auto;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #1565C0;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.play-button:hover {
    background: white;
    transform: translate(-50%, -50%) scale(1.1);
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: linear-gradient(135deg, #0B2570 0%, #1565C0 100%);
    color: white;
    padding: 3rem 0;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #00B4D8;
    margin-bottom: 0.5rem;
}

/* ===== BRAND STORY SECTION ===== */
.brand-story-section {
    background: #F0F6FF;
    padding: 5rem 0;
}

.verse-card {
    background: linear-gradient(135deg, #0B2570 0%, #1565C0 100%);
    color: white;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 15px 40px rgba(11, 37, 112, 0.25);
}

.verse-card .verse-text {
    font-size: 1.15rem;
    font-style: italic;
    opacity: 0.95;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.verse-card .verse-ref {
    color: #00B4D8;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 180, 216, 0.08), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1565C0 0%, #0B2570 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

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

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 5rem 0;
    background: white;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border-left: 5px solid #00B4D8;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    color: #333;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-left-color: #28a745;
}

/* ===== PRICING SECTION ===== */
.pricing-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.pricing-cards {
    position: relative;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    position: relative;
    height: 100%;
    color: #333;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

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

.pricing-card.featured {
    border-color: #00B4D8;
    transform: scale(1.05);
    position: relative;
    padding-top: 2.8rem;
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #1565C0 0%, #0B2570 100%);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1565C0;
    margin: 1rem 0;
}

.price span {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 400;
}

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

.pricing-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.pricing-features li i {
    color: #28a745;
    margin-right: 0.5rem;
    width: 20px;
}

.pricing-features li i.fa-crown {
    color: #00B4D8;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 5rem 0;
    background: white;
}

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    color: #333;
    border: 1px solid #e9ecef;
}

.contact-info {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1565C0 0%, #0B2570 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.contact-form .form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    color: #333;
    background-color: white;
}

.contact-form .form-control:focus {
    border-color: #00B4D8;
    box-shadow: 0 0 0 0.2rem rgba(0, 180, 216, 0.2);
    color: #333;
}

.contact-form .form-label {
    color: #212529 !important;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-form .form-check-label {
    color: #495057 !important;
}

.contact-form small {
    color: #6c757d !important;
}

/* ===== ACESSIBILIDADE ===== */
.alert {
    color: #333 !important;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24 !important;
}

.badge {
    color: white !important;
}

.text-decoration-none {
    color: #1565C0 !important;
}

.text-decoration-none:hover {
    color: #0B2570 !important;
}

/* ===== FINAL CTA SECTION ===== */
.final-cta-section {
    background: linear-gradient(135deg, #0B2570 0%, #1565C0 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

/* ===== FOOTER ===== */
.footer {
    background: #0a1628;
    color: white;
    padding: 3rem 0 1rem;
}

.footer h5, .footer h6 {
    color: #00B4D8;
    margin-bottom: 1rem;
}

.footer p {
    color: #adb5bd;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer ul li a:hover {
    color: white;
    padding-left: 0.5rem;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: #1e3a6e;
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: #00B4D8;
    transform: translateY(-2px);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .pricing-card.featured {
        transform: none;
        margin-top: 1rem;
    }

    .feature-card {
        margin-bottom: 2rem;
    }

    .contact-card {
        padding: 2rem 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 6rem 0 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .pricing-preview .price-tag {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }

    .navbar-nav .nav-link {
        margin: 0.2rem 0;
    }
}

/* ===== UTILITY CLASSES ===== */
.bg-gradient-primary {
    background: linear-gradient(135deg, #0B2570 0%, #1565C0 100%);
}

.text-gradient {
    background: linear-gradient(135deg, #1565C0 0%, #00B4D8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-lg-custom {
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.border-radius-xl {
    border-radius: 20px;
}

/* ===== CONTRASTE ===== */
.features-section h2,
.features-section h4,
.features-section p {
    color: #212529;
}

.testimonials-section h2,
.testimonials-section p {
    color: #212529;
}

.pricing-section h2,
.pricing-section h3,
.pricing-section p {
    color: #212529;
}

.contact-section h2,
.contact-section h4,
.contact-section p,
.contact-section label {
    color: #212529;
}

.feature-card,
.testimonial-card,
.pricing-card,
.contact-card {
    color: #333 !important;
}

.feature-card h4,
.testimonial-card .fw-bold,
.pricing-card h3 {
    color: #212529 !important;
}

.feature-card p,
.testimonial-card p,
.pricing-card p {
    color: #495057 !important;
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===== LOADING STATES ===== */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ===== BOOTSTRAP PRIMARY COLOR OVERRIDES ===== */

/* btn-primary */
.btn-primary {
    background-color: #1565C0;
    border-color: #1565C0;
    color: #fff;
}
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background-color: #0d47a1;
    border-color: #0d47a1;
    color: #fff;
}
.btn-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(21, 101, 192, 0.35);
}

/* btn-outline-primary */
.btn-outline-primary {
    color: #1565C0;
    border-color: #1565C0;
}
.btn-outline-primary:hover {
    background-color: #1565C0;
    border-color: #1565C0;
    color: #fff;
}
.btn-outline-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(21, 101, 192, 0.3);
}
.btn-check:checked + .btn-outline-primary,
.btn-check:active + .btn-outline-primary {
    background-color: #1565C0;
    border-color: #1565C0;
    color: #fff;
}

/* Utilities */
.text-primary {
    color: #1565C0 !important;
}
.bg-primary {
    background-color: #1565C0 !important;
}
.border-primary {
    border-color: #1565C0 !important;
}
.link-primary {
    color: #1565C0;
}
.link-primary:hover {
    color: #0B2570;
}

/* Accordion */
.accordion-button:not(.collapsed) {
    color: #1565C0;
    background-color: #e8f0fd;
    box-shadow: inset 0 -1px 0 rgba(21, 101, 192, 0.2);
}
.accordion-button:focus {
    border-color: #00B4D8;
    box-shadow: 0 0 0 0.25rem rgba(0, 180, 216, 0.2);
}

/* Form focus */
.form-control:focus,
.form-select:focus {
    border-color: #00B4D8;
    box-shadow: 0 0 0 0.25rem rgba(0, 180, 216, 0.2);
}
.form-check-input:checked {
    background-color: #1565C0;
    border-color: #1565C0;
}
.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(21, 101, 192, 0.25);
}
