/*
 * ConordsBR - Homepage Styles
 * Desenvolvido com Flexbox, Bootstrap e CSS moderno
 * Cores: Azul (#0066FF), Cinza (#333, #666, #F5F5F5), Branco (#FFF)
 */

/* ========================================
   RESET E CONFIGURAÇÕES GLOBAIS
======================================== */
:root {
    /* Cores Principais */
    --primary-blue: #0066FF;
    --primary-dark: #0052CC;
    --primary-light: #3385FF;
    
    --secondary-dark: #1a1a1a;
    --text-dark: #333333;
    --text-medium: #666666;
    --text-light: #999999;
    
    --bg-white: #FFFFFF;
    --bg-light: #F5F5F5;
    --bg-dark: #1a1a1a;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #0066FF 0%, #3385FF 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 102, 255, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 102, 255, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 102, 255, 0.2);
    
    /* Transições */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ========================================
   UTILITÁRIOS
======================================== */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   NAVBAR
======================================== */
.navbar {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: var(--transition-normal);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--bg-white) !important;
    transition: var(--transition-fast);
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.brand-icon {
    color: var(--primary-blue);
    font-size: 1.8rem;
}

.brand-name {
    color: var(--bg-white);
}

.brand-highlight {
    color: var(--primary-blue);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    position: relative;
    transition: var(--transition-fast);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.navbar-nav .nav-link:hover {
    color: var(--bg-white) !important;
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* ========================================
   HERO SECTION
======================================== */
.hero-section {
    position: relative;
    background: var(--gradient-dark);
    color: var(--bg-white);
    padding-top: 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(51, 133, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-dark);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--bg-white);
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-normal);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--bg-white);
    color: var(--bg-white);
    transform: translateY(-3px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Hero Image */
.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.3);
}

.floating-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator a {
    color: var(--bg-white);
    font-size: 2rem;
    animation: bounce 2s infinite;
    display: inline-block;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.scroll-indicator a:hover {
    opacity: 1;
    color: var(--primary-blue);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Animações de entrada */
.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

.fade-in-delay-3 {
    animation: fadeIn 1s ease-out 0.9s both;
}

.fade-in-right {
    animation: fadeInRight 1s ease-out 0.5s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   SEÇÕES GERAIS
======================================== */
.services-section,
.about-section,
.contact-section {
    padding: 5rem 0;
}

.services-section {
    background: var(--bg-light);
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   SERVIÇOS
======================================== */
.service-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: 2rem;
    color: var(--bg-white);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-description {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li i {
    color: var(--primary-blue);
}

/* ========================================
   SOBRE NÓS
======================================== */
.about-section {
    background: var(--bg-white);
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-primary);
    color: var(--bg-white);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.about-badge i {
    font-size: 1.5rem;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.about-text strong {
    color: var(--text-dark);
}

.about-values {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--bg-light);
    border-radius: 50px;
    transition: var(--transition-fast);
}

.value-item:hover {
    background: var(--gradient-primary);
    color: var(--bg-white);
    transform: translateY(-3px);
}

.value-item i {
    color: var(--primary-blue);
    font-size: 1.25rem;
}

.value-item:hover i {
    color: var(--bg-white);
}

.value-item span {
    font-weight: 600;
}

/* ========================================
   CONTATO
======================================== */
.contact-section {
    background: var(--bg-light);
}

.contact-info {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.contact-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--bg-white);
    font-size: 1.25rem;
}

.contact-details h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.contact-details a,
.contact-details p {
    color: var(--text-medium);
    text-decoration: none;
    margin: 0;
    transition: var(--transition-fast);
}

.contact-details a:hover {
    color: var(--primary-blue);
}

.social-links-large {
    display: flex;
    gap: 1rem;
}

.social-links-large a {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.social-links-large a:hover {
    background: var(--gradient-primary);
    color: var(--bg-white);
    transform: translateY(-5px);
}

/* Formulário de Contato */
.contact-form-wrapper {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    transition: var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 255, 0.1);
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--gradient-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 1.5rem;
}

.footer-text {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-blue);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--bg-white);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.separator {
    margin: 0 0.5rem;
}

/* ========================================
   RESPONSIVIDADE
======================================== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-stats {
        justify-content: space-between;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-badge {
        position: static;
        margin-top: 1rem;
        display: inline-flex;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .contact-form-wrapper,
    .contact-info {
        padding: 2rem;
    }
    
    .about-values {
        gap: 1rem;
    }
    
    .value-item {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-item {
        flex: 1 1 calc(50% - 1rem);
    }
}
