/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Poppins:wght@300;400;500;600&family=Inter:wght@300;400;500&display=swap');

:root {
    /* Paleta Premium */
    --primary-color: #0b1e3b;
    /* Navy Blue Profundo */
    --primary-light: #162f56;
    --secondary-color: #f4f6f9;
    /* Off-White */
    --accent-color: #c9a227;
    /* Gold */
    --accent-hover: #b08d21;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f4f6f9;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.2);

    /* Bootstrap Overrides */
    --bs-primary: #0b1e3b;
    --bs-primary-rgb: 11, 30, 59;

    --gradient-hero: linear-gradient(135deg, #0b1e3b 0%, #1a3c6e 100%);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
}

/* Global Override for Primary Color Classes */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #071429;
    border-color: #071429;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.border-primary {
    border-color: var(--primary-color) !important;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Navbar Customizada */
.navbar {
    background: var(--primary-color);
    padding: 1rem 0;
    backdrop-filter: blur(10px);
}

/* Navbar Premium */
.premium-navbar {
    background: rgba(11, 30, 59, 0.98);
    /* Deep Navy Glass */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    color: var(--text-light) !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.navbar-logo {
    height: 80px;
    /* Aumentado significativamente para leitura máxima no desktop */
    width: auto;
    margin-right: 15px;
    transition: all 0.3s ease;
}

@media (max-width: 991px) {
    .navbar-logo {
        height: 60px;
        /* Aumentado significativamente para leitura máxima no mobile */
    }
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0 10px;
    padding: 8px 16px !important;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color) !important;
    background: rgba(201, 162, 39, 0.1);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    transition: width 0.4s ease;
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Dropdown Menu Hover Effect */
.dropdown-toggle:hover {
    background: rgba(201, 162, 39, 0.1) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s ease;
    color: var(--text-dark);
    font-weight: 500;
}

.dropdown-item:hover {
    background: linear-gradient(90deg, rgba(201, 162, 39, 0.1), rgba(201, 162, 39, 0.05));
    color: var(--primary-color);
    padding-left: 30px;
    transform: translateX(5px);
}

.btn-nav-cta {
    background-color: var(--accent-color);
    color: #fff !important;
    border-radius: 50px;
    padding: 8px 25px;
    box-shadow: 0 4px 10px rgba(201, 162, 39, 0.3);
}

.btn-nav-cta:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(201, 162, 39, 0.4);
}

/* Offcanvas Mobile Menu */
.premium-offcanvas {
    background: linear-gradient(160deg, #0b1e3b 0%, #0d254e 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle border */
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.2);
}

.premium-offcanvas .offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
}

.premium-offcanvas .btn-close-white {
    opacity: 0.8;
}

.premium-offcanvas .offcanvas-body {
    padding: 1.5rem;
}

.premium-offcanvas .nav-link {
    font-size: 1.1rem;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.9) !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.premium-offcanvas .nav-link:hover {
    color: var(--accent-color) !important;
    padding-left: 10px;
    /* Efeito fluido de movimento */
    background: rgba(255, 255, 255, 0.03);
}

.premium-offcanvas .dropdown-menu {
    background: rgba(0, 0, 0, 0.2);
    border: none;
    padding: 0;
    margin-top: 0;
    border-radius: 10px;
    /* Fix for accordion style behavior */
    position: static !important;
    transform: none !important;
    float: none;
    width: 100%;
    box-shadow: none;
}

.premium-offcanvas .dropdown-item {
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 15px 10px 25px;
    /* Indentado */
}

.premium-offcanvas .dropdown-item:hover {
    background: transparent;
    color: var(--accent-color);
}

/* Hero Section Moderno */
.hero-section {
    background: linear-gradient(135deg, rgba(11, 30, 59, 0.92) 0%, rgba(13, 37, 78, 0.85) 100%), url('../img/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 0 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Removed transparent texture to let the image shine through */
    opacity: 0;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Glassmorphism Cards */
.glass-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    height: 100%;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(201, 162, 39, 0.3);
}

.card-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(11, 30, 59, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    font-size: 2rem;
    transition: all 0.3s;
}

.glass-card:hover .card-icon-wrapper {
    background: var(--primary-color);
    color: var(--accent-color);
}

/* Card Image Wrapper - Full Width Display */
.card-image-wrapper {
    width: 100% !important;
    margin: 0 0 1.5rem 0 !important;
    padding: 0 !important;
    position: relative;
    display: block !important;
    transition: all 0.3s ease;
}

.feature-image {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: cover !important;
    aspect-ratio: 16/9;
    opacity: 0.75;
    transition: all 0.3s ease;
    filter: grayscale(15%);
    display: block !important;
    border-radius: 12px;
}

.glass-card:hover .card-image-wrapper {
    transform: translateY(-3px);
}

.glass-card:hover .feature-image {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.02);
}

/* Buttons Premium */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(11, 30, 59, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 30, 59, 0.3);
}

.btn-accent {
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(201, 162, 39, 0.25);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 162, 39, 0.35);
}

/* Detail Pages */
.detail-hero {
    background: var(--bg-light);
    padding: 80px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.detail-img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s;
}

.detail-img:hover {
    transform: scale(1.02);
}

.advantage-box {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--accent-color);
    transition: 0.3s;
}

.advantage-box:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

/* Accordion Custom */
.accordion-item {
    border: none;
    margin-bottom: 10px;
    background: transparent;
}

.accordion-button {
    background-color: #fff;
    border-radius: 10px !important;
    box-shadow: var(--shadow-sm);
    color: var(--primary-color);
    font-weight: 600;
    padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    background-color: #fff;
    border-radius: 0 0 10px 10px;
    padding: 1.5rem;
    margin-top: -5px;
    box-shadow: var(--shadow-sm);
}

/* Footer Premium */
footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
    font-size: 0.9rem;
}

footer h5 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.text-accent {
    color: var(--accent-color) !important;
}

/* Footer Logo */
.footer-logo img {
    height: 80px;
    /* Igual ao header no desktop */
    width: auto;
    transition: all 0.3s ease;
}

@media (max-width: 991px) {
    .footer-logo img {
        height: 60px;
        /* Igual ao header no mobile */
    }
}

/* Footer Links with Icons */
.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 0;
}

.footer-links a i {
    font-size: 0.7rem;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 8px;
}

.footer-links a:hover i {
    opacity: 1;
    color: var(--accent-color);
}

/* Footer Contact */
.footer-contact li {
    display: flex;
    align-items: center;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent-color);
}

.footer-contact i {
    min-width: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
    color: #fff;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 5px 15px rgba(201, 162, 39, 0.3);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    animation: whatsapp-shake 7s ease-in-out infinite;
}

@keyframes whatsapp-shake {

    /* Parado por 6 segundos (0% a 85.7%) */
    0%,
    85.7% {
        transform: translateX(0) rotate(0deg);
    }

    /* Tremendo por 1 segundo (85.7% a 100%) */
    87%,
    93%,
    99% {
        transform: translateX(-3px) rotate(-3deg);
    }

    89%,
    95% {
        transform: translateX(3px) rotate(3deg);
    }

    100% {
        transform: translateX(0) rotate(0deg);
    }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    color: #fff;
    animation: none;
}

.whatsapp-float .tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    right: 70px;
    top: 15px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
}

.whatsapp-float:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-section {
        padding: 60px 0;
        text-align: left;
    }

    .detail-hero {
        text-align: center;
    }

    .detail-img {
        margin-top: 30px;
    }
}

/* Credentials Bar - Prominent and Elegant */
.credentials-bar {
    background: linear-gradient(135deg, rgba(11, 30, 59, 0.02) 0%, rgba(201, 162, 39, 0.03) 100%);
    border: 1px solid rgba(201, 162, 39, 0.15);
    border-radius: 16px;
    padding: 25px 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.credentials-bar:hover {
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.1);
    transform: translateY(-2px);
}

.cert-icon-large {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #b08d21 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.25);
    transition: all 0.3s ease;
}

.credentials-bar:hover .cert-icon-large {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(201, 162, 39, 0.35);
}

.cert-label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
    margin-bottom: 2px;
}

.cert-badge {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.3px;
}

.credential-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(201, 162, 39, 0.3), transparent);
    margin: 0 20px;
}

@media (max-width: 768px) {
    .credentials-bar {
        padding: 20px;
    }

    .credentials-bar .row {
        row-gap: 20px;
    }
}

/* Founder Credibility Section */
.founder-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.founder-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.founder-image-wrapper {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.founder-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
}

.founder-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #b08d21 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 8px 20px rgba(201, 162, 39, 0.3);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
}

.founder-badge i {
    font-size: 1.2rem;
}

.founder-decoration {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(11, 30, 59, 0.05) 0%, rgba(201, 162, 39, 0.08) 100%);
    border-radius: 20px;
    z-index: 1;
}

.founder-content {
    padding: 0 20px;
}

.founder-quote-icon {
    color: var(--accent-color);
    font-size: 3rem;
    opacity: 0.3;
    margin-bottom: -20px;
}

.founder-title {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
}

.founder-quote {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    border-left: 4px solid var(--accent-color);
    padding-left: 25px;
    margin: 0;
}

.founder-info {
    border-top: 2px solid rgba(201, 162, 39, 0.2);
    padding-top: 25px;
}

.founder-name strong {
    display: block;
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.founder-role {
    display: block;
    color: var(--accent-color);
    font-size: 0.95rem;
    font-weight: 500;
}

.founder-stats {
    background: linear-gradient(135deg, rgba(11, 30, 59, 0.02) 0%, rgba(201, 162, 39, 0.03) 100%);
    border-radius: 15px;
    padding: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

@media (max-width: 991px) {
    .founder-title {
        font-size: 1.75rem;
    }

    .founder-quote {
        font-size: 1rem;
    }

    .founder-image-wrapper {
        max-width: 300px;
    }
}

/* Partners Logo Slider */
.partners-section {
    background-color: #fff;
    padding: 40px 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.logo-slider {
    overflow: hidden;
    padding: 20px 0;
    width: 100%;
}

.logo-track {
    display: flex;
    flex-wrap: nowrap !important;
    width: calc(200px * var(--logo-count) * 2);
    /* Dynamic width based on logo count */
    animation: scroll calc(var(--logo-count) * 3s) linear infinite;
    /* Adjusted speed: 3s per logo */
    align-items: center;
}

.logo-item {
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    flex-shrink: 0;
}

.logo-item img {
    max-width: 160px;
    max-height: 60px;
    width: auto !important;
    height: auto !important;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s ease;
    display: block;
}

.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-200px * var(--logo-count)));
    }
}

/* Pause animation on hover */
.logo-slider:hover .logo-track {
    animation-play-state: paused;
}

/* Legal Disclaimer */
.legal-disclaimer {
    background-color: #fcfcfc;
    padding: 40px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.disclaimer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
}

.disclaimer-item {
    font-size: 0.7rem;
    color: #999;
    line-height: 1.5;
}

.disclaimer-item strong {
    color: #888;
}

.disclaimer-full {
    grid-column: 1 / -1;
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 10px;
    text-align: center;
    font-style: italic;
}

@media (max-width: 768px) {
    .disclaimer-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .logo-item {
        width: 180px;
        padding: 0 15px;
    }

    .logo-item img {
        max-height: 65px;
        filter: none;
        opacity: 1;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-180px * var(--logo-count)));
        }
    }
}