/* 
    OC Consultoria & Assessoria - Custom Styles 
    Colors: Graphite (#1a1a1a), Black (#0b0b0b), Orange (#FF6600)
    Fonts: Montserrat (Titles), Open Sans (Body)
*/

:root {
    --primary-orange: #FF6600;
    --dark-graphite: #1a1a1a;
    --deep-black: #0b0b0b;
    --light-gray: #f4f4f4;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--deep-black);
    color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Navbar Modernizada */
.navbar {
    background-color: rgba(11, 11, 11, 0.95) !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 102, 0, 0.3);
    padding: 0 !important;
    transition: all 0.4s ease;
    min-height: 50px;
}

.navbar .container {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 15px !important;
}

.navbar-brand {
    margin-right: 0 !important;
    padding: 5px 0 !important;
    height: 100px; /* Definir altura fixa para a área do logo no menu */
    display: flex;
    align-items: center;
}

.navbar-brand img {
    max-height: 100% !important;
    width: auto !important;
    object-fit: contain;
}

.navbar-collapse {
    flex-grow: 0 !important;
}

.nav-link {
    color: #ffffff !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    padding: 0 20px !important;
    position: relative;
    transition: color 0.3s ease;
}

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

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

.nav-link-igreen:hover {
    color: #32CD32 !important; /* Verde iGreen no hover */
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-contact {
    background-color: var(--primary-orange);
    color: #fff;
    border-radius: 50px;
    padding: 8px 25px;
    font-weight: 600;
    border: none;
    transition: transform 0.3s;
}

.btn-contact:hover {
    transform: scale(1.05);
    background-color: #e65c00;
    color: #fff;
}

/* Modal Styling */
.modal-content {
    border: 2px solid var(--primary-orange) !important;
}

.modal-title {
    color: var(--primary-orange);
    font-weight: 700;
}

.btn-outline-light {
    border-color: var(--primary-orange) !important;
    color: #fff !important;
}

.btn-outline-light:hover {
    background-color: var(--primary-orange) !important;
    border-color: var(--primary-orange) !important;
}

.btn-secondary {
    background-color: transparent !important;
    border-color: #6c757d !important;
}

.btn-secondary:hover {
    background-color: var(--primary-orange) !important;
    border-color: var(--primary-orange) !important;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    height: auto;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../../imagens/hero_fundo.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 0 60px 0;
}

.hero-title {
    font-size: clamp(1.8rem, 8vw, 3.5rem) !important;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    line-height: 1.2;
}

#hero p {
    font-size: clamp(1rem, 4vw, 1.5rem);
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

/* Hero Logo Principal */
.logo-main, .logo-hover {
    max-width: 100%;
    height: auto !important;
    transition: opacity 0.4s ease-in-out;
    filter: drop-shadow(0 0 15px rgba(255, 102, 0, 0.4));
}

.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
    height: auto;
    max-width: 300px;
}

@media (max-width: 720px) {
    .logo-container {
        max-width: 220px;
    }
}

.logo-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.logo-container:hover .logo-main {
    opacity: 0;
}

.logo-container:hover .logo-hover {
    opacity: 1;
}

/* Sections General */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-orange);
    margin: 15px auto 0;
}

/* Biografia */
#biografia {
    background-color: var(--dark-graphite);
}

.bio-img {
    border-radius: 20px;
    border: 5px solid var(--primary-orange);
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Modern Cards */
.service-card-modern {
    background-color: var(--dark-graphite);
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}

#servicos .card-title-modern {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8) !important;
    font-weight: 700 !important;
}

/* Footer & Rodapé */
footer {
    background-color: var(--deep-black);
}

.footer-brand img {
    max-width: 90vw !important;
    width: 80px !important;
    height: auto !important;
    margin-bottom: 25px;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-orange);
}

/* Floating WhatsApp - Moderno */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse-glow 2s infinite, float-call 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(10deg);
    background-color: #128c7e;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    animation: none; /* Para a animação ao passar o mouse */
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

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

/* ==========================================================================
   RESPONSIVIDADE
   ========================================================================== */

@media (max-width: 991.98px) {
    .navbar-brand img {
        height: 20px !important; /* Força 20px no mobile também */
    }

    .navbar-collapse {
        background: rgba(11, 11, 11, 0.98);
        margin-top: 10px;
        padding: 20px;
        border-radius: 15px;
        border: 1px solid rgba(255, 102, 0, 0.3);
    }
}

@media (max-width: 767.98px) {
    section {
        padding: 50px 0;
    }

    .logo-container {
        max-width: 80px !important;
    }
}

/* Clientes */
#clientes {
    padding-top: 50px;
}

.client-card {
    background-color: #ffffff;
    border-radius: 20px; /* Cantos arredondados no container */
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.client-card img {
    transform: scale(1.2); /* Aumenta cerca de 20% */
    border-radius: 10px; /* Cantos arredondados na imagem */
}

/* Custom Swiper Pagination */
.client-swiper .swiper-pagination {
    margin-top: 30px;
    position: relative;
}

.client-swiper .swiper-pagination-bullet {
    background-color: #ddd;
    opacity: 1;
}

.client-swiper .swiper-pagination-bullet-active {
    background-color: var(--primary-orange) !important;
}
