/* ==========================================
   FORSE - Contabilidade e Consultoria
   Custom CSS Styles
========================================== */

/* Importar Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* Variáveis Raiz */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-muted: #6c757d;
    --border-color: #e9ecef;
    --shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

/* Rolagem Suave */
html {
    scroll-behavior: smooth;
}

/* Cores Personalizadas do Bootstrap */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #34495e;
    border-color: #34495e;
}

/* Navigation Styles */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    color: var(--text-color) !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.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 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="1000,100 1000,0 0,100"/></svg>') no-repeat;
    background-size: cover;
}

.hero-icon {
    font-size: 15rem;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    margin-bottom: 2rem;
}

/* Icon Circles */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 23px auto 1.5rem auto;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
    transition: all 0.3s ease;
}

.icon-circle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3);
}

.icon-circle i {
    font-size: 1.8rem;
    color: white;
}

/* Team Cards */
.team-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
}

.team-avatar i {
    font-size: 1.8rem;
    color: white;
}

.team-card h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-card .text-primary {
    font-weight: 500;
    font-size: 0.95rem;
}

.team-card p.text-muted {
    font-size: 0.9rem;
    line-height: 1.5;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Service Cards */
.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

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

.service-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Feature List */
.feature-list {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.feature-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
    min-width: 24px;
}

.feature-item h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Stats Cards */
.stat-card {
    background: white;
    padding: 2rem 1rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, var(--primary-color) 100%);
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: white;
    transform: translateX(5px);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: white !important;
    text-decoration: none;
    margin-right: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px) scale(1.1);
    color: white !important;
    border-color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.social-links a i {
    font-size: 1.2rem;
    color: white !important;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

/* Garantir que os ícones Font Awesome sejam visíveis */
.social-links .fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400;
}

.social-links .fab.fa-facebook:before {
    content: "\f09a";
}

.social-links .fab.fa-instagram:before {
    content: "\f16d";
}

.social-links .fab.fa-linkedin:before {
    content: "\f08c";
}

.social-links .fab.fa-youtube:before {
    content: "\f167";
}

.social-links .fab.fa-whatsapp:before {
    content: "\f232";
}

/* Footer Limpo e Elegante */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, var(--primary-color) 100%);
}

/* Logo do footer */
.footer-brand img {
    transition: all 0.3s ease;
}

.footer-brand img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Links do footer */
footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: white;
}

/* Títulos das seções */
footer h6 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

/* Ícones de contato */
.contact-info i {
    color: var(--secondary-color);
    width: 16px;
    text-align: center;
}

/* Texto de contato em preto */
.contact-info p {
    color: black !important;
}

/* Redes sociais */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: white !important;
    text-decoration: none;
    margin-right: 0.5rem;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}


.contact-info .fa-map-marker-alt:before {
    content: "\f3c5";
}

.contact-info .fa-phone:before {
    content: "\f095";
}

.contact-info .fa-envelope:before {
    content: "\f0e0";
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero-icon {
        font-size: 8rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .feature-item {
        text-align: center;
        flex-direction: column;
    }
    
    .feature-item i {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* Responsividade dos ícones de contato */
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .contact-item {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .social-icons-elegant {
        gap: 0.8rem;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
    
    .social-icon i {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Responsividade adicional para ícones de contato */
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .contact-item {
        padding: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .contact-details h5 {
        font-size: 1rem;
    }
    
    .contact-details p {
        font-size: 0.9rem;
    }
    
    .social-icons-elegant {
        gap: 0.6rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon i {
        font-size: 1.1rem;
    }
}

/* 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); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Form Styles */
.form-control {
    border-radius: 10px;
    border: 2px solid var(--border-color);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.shadow-custom {
    box-shadow: var(--shadow-lg);
}

.border-radius-custom {
    border-radius: 15px;
}

/* Pricing Cards */
.pricing-card {
    background: white;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.pricing-badge {
    position: absolute;
    top: 20px;
    right: -25px;
    background: var(--accent-color);
    color: white;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 1;
}

.pricing-header {
    text-align: center;
    padding: 2rem 1.5rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.pricing-header h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.currency {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-body {
    padding: 2rem 1.5rem;
}

.pricing-body ul li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.pricing-footer {
    padding: 1rem 1.5rem 2rem;
}

/* Process Steps */
.process-step {
    padding: 2rem 1rem;
    position: relative;
}

.process-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
}

.process-step h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.process-step p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Team Cards */
.team-card {
    padding: 2rem 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Certification Cards */
.cert-card {
    transition: all 0.3s ease;
    border: 1px solid var(--border-color) !important;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
    border-color: var(--primary-color) !important;
}

/* Contact Page Styles */
.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.contact-info {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: 15px;
    height: fit-content;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-right: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: 50%;
    z-index: 1;
}

.contact-icon i {
    position: relative;
    z-index: 2;
    color: white;
}

/* Ícones específicos com cores diferentes */
.contact-icon.location {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.contact-icon.location:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.contact-icon.phone {
    background: linear-gradient(135deg, #27ae60, #229954);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.contact-icon.phone:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.contact-icon.email {
    background: linear-gradient(135deg, #3498db, #2980b9);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.contact-icon.email:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.contact-icon.clock {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.contact-icon.clock:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

.contact-details h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-details p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.social-links-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: 8px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: inherit;
    transition: all 0.3s ease;
    z-index: 1;
}

.social-link:hover {
    transform: translateX(5px);
    color: white;
}

.social-link:hover::before {
    left: 0;
}

.social-link i {
    margin-right: 0.75rem;
    font-size: 1.1rem;
    width: 20px;
    position: relative;
    z-index: 2;
}

.social-link span {
    position: relative;
    z-index: 2;
}

/* Ícones elegantes das redes sociais - apenas logos */
.social-icons-elegant {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: 50%;
    z-index: 1;
}

.social-icon i {
    font-size: 1.3rem;
    color: white;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
}

.social-icon:hover i {
    transform: scale(1.1);
}

/* Cores específicas das redes sociais */
.social-icon.facebook {
    background: linear-gradient(135deg, #1877f2, #0d47a1);
}

.social-icon.facebook:hover {
    background: linear-gradient(135deg, #0d47a1, #1877f2);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

.social-icon.instagram {
    background: linear-gradient(135deg, #e4405f, #fd1d1d, #fcb045);
}

.social-icon.instagram:hover {
    background: linear-gradient(135deg, #fcb045, #fd1d1d, #e4405f);
    box-shadow: 0 8px 25px rgba(228, 64, 95, 0.4);
}

.social-icon.linkedin {
    background: linear-gradient(135deg, #0077b5, #004471);
}

.social-icon.linkedin:hover {
    background: linear-gradient(135deg, #004471, #0077b5);
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
}

.social-icon.youtube {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}

.social-icon.youtube:hover {
    background: linear-gradient(135deg, #cc0000, #ff0000);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

.social-icon.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.social-icon.whatsapp:hover {
    background: linear-gradient(135deg, #128c7e, #25d366);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Accordion Styles */
.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 10px !important;
    overflow: hidden;
}

.accordion-button {
    background: white;
    color: var(--text-color);
    font-weight: 600;
    border: none;
    padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: var(--light-color);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(44, 62, 80, 0.25);
}

.accordion-body {
    padding: 1.5rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Carousel Styles */
.carousel-bg {
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.carousel-item {
    min-height: 600px;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.8) 0%, rgba(52, 152, 219, 0.6) 100%);
}

.carousel-content {
    position: relative;
    z-index: 2;
    padding: 3rem 0;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Garantir que o carrossel seja visível */
#heroCarousel {
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

#heroCarousel .carousel-inner {
    min-height: 600px;
    width: 100%;
    height: 100%;
}

#heroCarousel .carousel-item {
    min-height: 600px;
    width: 100%;
    display: flex;
    align-items: center;
}

/* Estilos específicos dos slides */

.carousel-item {
    transition: transform 0.8s ease-in-out;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

.carousel-indicators {
    bottom: 2rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background-color: transparent;
    margin: 0 0.5rem;
}

.carousel-indicators button.active {
    background-color: white;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
    background-size: 100%, 100%;
}

/* Fallback para quando as imagens não carregam */
.carousel-bg {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Garantir que as imagens de fundo sejam carregadas corretamente */
.carousel-bg-1,
.carousel-bg-2,
.carousel-bg-3 {
    background-attachment: fixed;
    background-blend-mode: multiply;
}

/* Para dispositivos móveis, usar scroll em vez de fixed */
@media (max-width: 768px) {
    .carousel-bg-1,
    .carousel-bg-2,
    .carousel-bg-3 {
        background-attachment: scroll;
    }
}

/* Específicos para cada slide */
.carousel-bg-1 {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.7) 0%, rgba(52, 152, 219, 0.6) 100%), 
                url('../img/carousel/slide1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-bg-2 {
    background: linear-gradient(45deg, rgba(52, 73, 94, 0.7) 0%, rgba(41, 128, 185, 0.6) 100%), 
                url('../img/carousel/slide2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-bg-3 {
    background: linear-gradient(225deg, rgba(52, 152, 219, 0.7) 0%, rgba(44, 62, 80, 0.6) 100%), 
                url('../img/carousel/slide3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Fallback para logo */
.navbar-brand img,
footer img {
    display: inline-block;
}

/* Esconder imagens que não carregam */
.navbar-brand img[src*="logo-forse.png"],
footer img[src*="logo-forse.png"] {
    max-width: 0;
    max-height: 0;
    opacity: 0;
}

/* Mostrar ícone quando logo não carrega */
.navbar-brand:before {
    content: "🏢";
    font-size: 1.8em;
    margin-right: 0.5rem;
    display: inline-block;
}

footer h5:before {
    font-size: 1.2em;
    margin-right: 0.5rem;
    display: inline-block;
}

/* Logo styles */
.navbar-brand img {
    transition: all 0.3s ease;
}

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

/* Modern Clients Section */
.clients-section {
    position: relative;
    overflow: hidden;
    padding: 0 !important;
}

.clients-background {
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        rgba(52, 152, 219, 0.9) 50%, 
        rgba(44, 62, 80, 0.95) 100%);
    position: relative;
    padding: 3rem 0;
}

.clients-background::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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

.clients-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0 1.5rem 0;
    position: relative;
    z-index: 2;
}

.client-item {
    display: flex;
    justify-content: center;
}

.client-card {
    position: relative;
    width: 100%;
    max-width: 180px;
    height: 120px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

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

.client-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

.client-img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    filter: grayscale(0.3);
    transition: all 0.4s ease;
    z-index: 2;
    position: relative;
    display: block;
}

.client-card:hover .client-img {
    filter: grayscale(0);
    transform: scale(1.1);
}

/* Fallback para imagens que não carregam */
.client-img:not([src]),
.client-img[src=""],
.client-img[src*="undefined"] {
    display: none;
}

/* Garantir que as imagens sejam carregadas */
.client-img {
    opacity: 0;
    animation: fadeInImage 0.5s ease-in-out forwards;
}

@keyframes fadeInImage {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Melhorar o carregamento das imagens */
.client-img[src] {
    opacity: 1;
    animation: none;
}

.client-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 0.5rem;
    text-align: center;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 0 0 15px 15px;
}

.client-card:hover .client-overlay {
    opacity: 1;
}

.client-name {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Trust Statistics */
.trust-stats {
    position: relative;
    z-index: 2;
}

.trust-item {
    text-align: center;
    color: white;
}

.trust-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
        margin: 1.5rem 0 1rem 0;
    }
    
    .clients-badge {
        padding: 0.6rem 1.5rem;
        font-size: 0.8rem;
        letter-spacing: 1.5px;
        margin-bottom: 2rem;
    }
    
    .client-card {
        max-width: 150px;
        height: 100px;
        padding: 0.75rem;
    }
    
    .client-img {
        max-height: 70px;
        max-width: 100%;
    }
    
    .trust-number {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin: 1rem 0;
    }
    
    .clients-badge {
        padding: 0.5rem 1.2rem;
        font-size: 0.75rem;
        letter-spacing: 1px;
        margin-bottom: 1.5rem;
    }
    
    .client-card {
        max-width: 130px;
        height: 90px;
        padding: 0.5rem;
    }
    
    .client-img {
        max-height: 60px;
        max-width: 100%;
    }
    
    .trust-number {
        font-size: 1.8rem;
    }
    
    .trust-label {
        font-size: 0.8rem;
    }
}

/* CTA Section Styles */
.cta-section {
    background: #1a252f;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.cta-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 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="1000,100 1000,0 0,100"/></svg>') no-repeat;
    background-size: cover;
    opacity: 0.3;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-section .btn {
    font-weight: 600;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-section .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
}

.cta-section .btn:hover::before {
    left: 100%;
}

.cta-section .btn-light {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.cta-section .btn-light:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-section .btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-section .btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* CTA Statistics */
.cta-stat {
    padding: 1rem 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.cta-stat:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive CTA */
@media (max-width: 768px) {
    .cta-section {
        padding: 3rem 0;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
    
    .cta-section .btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .cta-section .d-flex {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .cta-stat-number {
        font-size: 1.75rem;
    }
    
    .cta-stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .cta-section {
        padding: 2.5rem 0;
    }
    
    .cta-section h2 {
        font-size: 1.75rem;
    }
    
    .cta-section p {
        font-size: 0.95rem;
    }
    
    .cta-stat {
        padding: 0.75rem 0.25rem;
        margin-bottom: 0.75rem;
    }
    
    .cta-stat-number {
        font-size: 1.5rem;
    }
    
    .cta-stat-label {
        font-size: 0.75rem;
    }
}

/* ==========================================
   LOGIN PAGE STYLES - Design Moderno e Minimalista
========================================== */

.login-page {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 6rem 0 3rem 0;
    width: 100%;
}

.login-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(52, 152, 219, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(44, 62, 80, 0.2) 0%, transparent 50%);
    animation: backgroundShift 15s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { transform: translateX(0px) translateY(0px); }
    25% { transform: translateX(-20px) translateY(-10px); }
    50% { transform: translateX(20px) translateY(-20px); }
    75% { transform: translateX(-10px) translateY(10px); }
}

.login-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    overflow: hidden;
    display: flex;
    min-height: 600px;
    backdrop-filter: blur(20px);
    width: 90%;
    max-width: 1000px;
}

.login-sidebar {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
    flex: 0 0 50%;
    overflow: hidden;
}

.login-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: sidebarGlow 12s ease-in-out infinite;
}

@keyframes sidebarGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.login-form-section {
    padding: 4rem 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    position: relative;
}

.login-form-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" fill="rgba(44,62,80,0.02)"><circle cx="50" cy="50" r="1"/></svg>') repeat;
    opacity: 0.5;
}

.login-form {
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 2;
}

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

.features-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 1.2rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: all 0.6s ease;
}

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

.feature-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

.feature-item span {
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.form-subtitle {
    color: #6c757d;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #495057;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
}

.input-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-input:focus {
    border-color: #2c3e50;
    box-shadow: 
        0 0 0 3px rgba(44, 62, 80, 0.1),
        0 4px 12px rgba(44, 62, 80, 0.15);
    transform: translateY(-1px);
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.form-input:focus + .input-icon {
    color: #2c3e50;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 0.5rem;
    accent-color: #2c3e50;
    transform: scale(1.05);
}

.checkbox-label {
    color: #495057;
    font-size: 0.9rem;
    cursor: pointer;
    font-weight: 500;
}

.forgot-link {
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.forgot-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2c3e50;
    transition: all 0.3s ease;
}

.forgot-link:hover::after {
    width: 100%;
}

.login-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3);
    letter-spacing: 0.01em;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.4);
}

.login-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
}

.login-button:hover::before {
    left: 100%;
}

/* Indicador de carregamento - apenas texto */
.login-button.loading {
    pointer-events: none;
    opacity: 0.8;
    transform: none !important;
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3) !important;
}

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

.contact-section {
    text-align: center;
    margin-top: 2rem;
}

.contact-section small {
    color: #6c757d;
    font-size: 0.9rem;
}

.contact-section a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.contact-section a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2c3e50;
    transition: all 0.3s ease;
}

.contact-section a:hover::after {
    width: 100%;
}

.back-to-site {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1000;
}

.back-to-site a {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.back-to-site a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Login Responsividade */
@media (max-width: 768px) {
    .login-page {
        padding: 4rem 0 2rem 0;
        min-height: calc(100vh - 180px);
    }

    .login-wrapper {
        margin: 0;
    }

    .login-container {
        flex-direction: column;
        min-height: calc(100vh - 180px);
        border-radius: 0;
        width: 100%;
    }

    .login-sidebar {
        flex: none;
        padding: 3rem 2rem;
    }

    .login-form-section {
        padding: 3rem 2rem;
    }

    .back-to-site {
        top: 0.5rem;
        left: 0.5rem;
    }

    .back-to-site a {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

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

    .form-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .login-page {
        padding: 3rem 0 1.5rem 0;
        min-height: calc(100vh - 160px);
    }

    .login-wrapper {
        margin: 0;
    }

    .login-container {
        min-height: calc(100vh - 160px);
        width: 100%;
    }

    .login-sidebar,
    .login-form-section {
        padding: 2rem 1.5rem;
    }

    .form-input {
        padding: 1rem 1rem 1rem 3rem;
    }

    .login-button {
        padding: 1rem;
    }

    .features-title {
        font-size: 1.8rem;
    }

    .form-title {
        font-size: 1.6rem;
    }
}

/* Counter Animation Styles */
.counter {
    transition: all 0.3s ease;
    font-weight: 700;
}

.counter.animating {
    color: var(--secondary-color);
    transform: scale(1.05);
}

/* Smooth counter animation */
@keyframes counterPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.counter.animating {
    animation: counterPulse 0.3s ease-in-out;
}

/* ==========================================
   FORGOT PASSWORD MODAL STYLES
========================================== */

/* Modal personalizada para recuperação de senha */
#forgotPasswordModal .modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
    overflow: hidden;
}

#forgotPasswordModal .modal-header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    border: none;
    padding: 1.5rem 2rem;
    position: relative;
    overflow: hidden;
}

#forgotPasswordModal .modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: modalHeaderGlow 8s ease-in-out infinite;
}

@keyframes modalHeaderGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

#forgotPasswordModal .modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 2;
    letter-spacing: -0.01em;
}

#forgotPasswordModal .modal-title i {
    color: rgba(255, 255, 255, 0.9);
}

#forgotPasswordModal .btn-close {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    opacity: 0.8;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

#forgotPasswordModal .btn-close:hover {
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    transform: scale(1.1);
}

#forgotPasswordModal .modal-body {
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

#forgotPasswordModal .modal-body::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" fill="rgba(44,62,80,0.02)"><circle cx="50" cy="50" r="1"/></svg>') repeat;
    opacity: 0.5;
}

.forgot-password-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.forgot-password-icon {
    width: 80px;
    height: 80px;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.forgot-password-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.forgot-password-icon:hover::before {
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%) scale(1.1);
}

.forgot-password-icon:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4);
}

.forgot-password-icon i {
    font-size: 1.8rem;
    color: white;
    position: relative;
    z-index: 3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.forgot-password-text {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

#forgotPasswordModal .form-group {
    margin-bottom: 2rem;
    text-align: left;
}

#forgotPasswordModal .form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #495057;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
}

#forgotPasswordModal .input-group {
    position: relative;
}

#forgotPasswordModal .form-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#forgotPasswordModal .form-input:focus {
    border-color: #2c3e50;
    box-shadow: 
        0 0 0 3px rgba(44, 62, 80, 0.1),
        0 4px 12px rgba(44, 62, 80, 0.15);
    transform: translateY(-1px);
}

#forgotPasswordModal .input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

#forgotPasswordModal .form-input:focus + .input-icon {
    color: #2c3e50;
}

.forgot-password-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3);
    letter-spacing: 0.01em;
}

.forgot-password-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.4);
}

.forgot-password-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
}

.forgot-password-button:hover::before {
    left: 100%;
}

.forgot-password-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3) !important;
}

.forgot-password-button.loading {
    pointer-events: none;
}

#forgotPasswordModal .modal-footer {
    background: rgba(248, 249, 250, 0.8);
    border: none;
    padding: 1rem 2rem;
    text-align: center;
}

#forgotPasswordModal .modal-footer small {
    color: #6c757d;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

#forgotPasswordModal .modal-footer i {
    color: #3498db;
}

/* Responsividade da modal */
@media (max-width: 576px) {
    #forgotPasswordModal .modal-dialog {
        margin: 1rem;
    }
    
    #forgotPasswordModal .modal-header {
        padding: 1.25rem 1.5rem;
    }
    
    #forgotPasswordModal .modal-title {
        font-size: 1.2rem;
    }
    
    #forgotPasswordModal .modal-body {
        padding: 2rem 1.5rem;
    }
    
    #forgotPasswordModal .modal-footer {
        padding: 1rem 1.5rem;
    }
    
    .forgot-password-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.25rem;
    }
    
    .forgot-password-icon::before {
        width: 35px;
        height: 35px;
    }
    
    .forgot-password-icon i {
        font-size: 1.6rem;
    }
    
    .forgot-password-text {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn,
    .carousel {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
    }
} 