/* Importação das Fontes */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Estilos Gerais */
:root {
    --primary-color: #FFD700; /* Amarelo Caterpillar */
    --secondary-color: #000000; /* Preto */
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --body-bg: #0a0a0a;
    --text-color: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.5);
    --card-bg: rgba(0, 0, 0, 0.8);
    --border-color: rgba(255, 215, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #FFD700, #FFA500);
    --gradient-dark: linear-gradient(135deg, #000000, #1a1a1a);
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --background-color: #000000; /* Fundo preto */
    --text-secondary: #cccccc;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    letter-spacing: 0.3px;
}

/* Flaticon Styles */
.fi {
    font-size: 1.5rem;
    line-height: 1;
    vertical-align: middle;
}

.fi-br {
    font-size: 1.5rem;
    line-height: 1;
    vertical-align: middle;
}

.fi-sr {
    font-size: 1.5rem;
    line-height: 1;
    vertical-align: middle;
}

/* Navbar */
.navbar {
    background-color: rgba(0, 0, 0, 0.9);
    transition: var(--transition);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
}

.navbar-brand img {
    transition: all 0.3s ease;
    filter: brightness(0) invert(1);
}

.navbar.scrolled .navbar-brand img {
    height: 40px;
}

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

/* Hamburger Menu */
.navbar-toggler {
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    position: relative;
    background: transparent !important;
    z-index: 1100;
    display: block !important;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.hamburger-icon {
    width: 30px;
    height: 20px;
    position: relative;
    margin: 0px;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--primary-color);
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger-icon span:nth-child(1) {
    top: 0px;
}

.hamburger-icon span:nth-child(2) {
    top: 8px;
}

.hamburger-icon span:nth-child(3) {
    top: 16px;
}

.navbar-toggler:not(.collapsed) .hamburger-icon span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.navbar-toggler:not(.collapsed) .hamburger-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.navbar-toggler:not(.collapsed) .hamburger-icon span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* Estilo do Menu Dropdown */
.navbar-collapse {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
}

.navbar-collapse.show {
    right: 0;
}

.navbar-nav {
    padding: 1rem 0;
}

.nav-item {
    text-align: center;
    margin: 0.5rem 0;
}

.nav-link {
    color: var(--text-color) !important;
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem !important;
    transition: var(--transition);
    position: relative;
    display: inline-block;
}

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

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

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

/* Animação do Menu */
.navbar-collapse {
    transform-origin: top;
    animation: navbarSlideDown 0.3s ease forwards;
}

@keyframes navbarSlideDown {
    0% {
        transform: scaleY(0);
        opacity: 0;
    }
    100% {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* Seções com Gradiente */
.gradient-dark-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
    overflow: hidden;
}

.gradient-dark-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png') repeat;
    opacity: 0.05;
    pointer-events: none;
}

.gradient-dark-section .container {
    position: relative;
    z-index: 1;
}

.gradient-dark-section .card {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.gradient-dark-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.gradient-dark-section .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.gradient-dark-section .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.gradient-dark-section .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.25);
}

.bg-dark-transparent {
    background-color: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.bg-dark-transparent:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-dark);
    color: var(--text-color);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, rgba(26, 26, 26, 0.8) 100%);
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.hero-section h1 {
    font-family: var(--font-secondary);
    font-weight: 800;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section .lead {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

/* Formulário do Hero */
.hero-section .card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    transition: var(--transition);
}

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

.hero-section .form-control {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    transition: var(--transition);
}

.hero-section .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.hero-section .form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25);
}

.hero-section .btn-primary {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 10px;
    background: var(--gradient-primary);
    border: none;
    transition: var(--transition);
}

/* Sobre Section */
#sobre {
    background: var(--gradient-dark);
    padding: 5rem 0;
    color: white;
}

#sobre img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

#sobre img:hover {
    transform: scale(1.02);
}

#sobre h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

#sobre .lead {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

#sobre p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

#sobre .fa-check-circle {
    color: var(--primary-color);
    font-size: 1.2rem;
}

#sobre .d-flex span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

@media (max-width: 991px) {
    #sobre {
        text-align: center;
    }
    
    #sobre img {
        margin-top: 2rem;
    }
    
    #sobre .d-flex {
        justify-content: center;
    }
}

/* Buttons */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: var(--secondary-color);
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-2px);
}

/* Serviços */
.card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 15px;
    transition: var(--transition);
    cursor: pointer;
}

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

.card-body {
    padding: 2rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
}

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

.card-title {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.card .list-unstyled li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.card .fa-check {
    color: var(--success-color);
}

/* Portfolio */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    aspect-ratio: 16/9;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: var(--transition);
    cursor: pointer;
    flex: 1;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    text-align: center;
    color: var(--primary-color);
    transform: translateY(20px);
    transition: var(--transition);
    padding: 20px;
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
}

/* Ajuste para garantir que os cards fiquem alinhados pelo topo */
#portfolio .row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

#portfolio .col-md-4 {
    display: flex;
    flex-direction: column;
}

/* Modal para visualização em tamanho completo */
.modal-portfolio .modal-dialog {
    max-width: 90%;
    margin: 1.75rem auto;
}

.modal-portfolio .modal-content {
    background: transparent;
    border: none;
}

.modal-portfolio .modal-body {
    padding: 0;
}

.modal-portfolio img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    object-position: top center;
}

.modal-portfolio .close {
    position: absolute;
    right: 15px;
    top: 15px;
    color: var(--primary-color);
    opacity: 1;
    text-shadow: none;
    font-size: 2rem;
    z-index: 1000;
}

.modal-portfolio .close:hover {
    color: var(--primary-color);
    opacity: 0.8;
}

/* Portfolio Section */
#portfolio {
    background: var(--gradient-dark);
    padding: 5rem 0;
}

#portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, #fff, transparent);
    pointer-events: none;
}

#portfolio .portfolio-item {
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Serviços Cards em Seção Escura */
#servicos {
    background: var(--gradient-dark);
    color: white;
    position: relative;
    padding: 5rem 0;
}

#servicos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
    pointer-events: none;
}

#servicos .card {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 215, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
}

#servicos .card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

#servicos .card-body {
    padding: 2rem;
}

#servicos .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 20px;
    transition: all 0.3s ease;
}

#servicos .icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

#servicos .card:hover .icon {
    transform: scale(1.1);
}

#servicos .card-title {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

#servicos .card-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Contato */
#contato {
    position: relative;
    background: var(--gradient-dark);
    color: white;
}

#contato .card {
    border: none;
    transition: transform 0.3s ease;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

#contato .form-control {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: white;
    padding: 1rem;
    transition: all 0.3s ease;
}

#contato .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#contato .form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25);
}

/* Footer */
footer {
    background: var(--gradient-dark);
    color: var(--text-color);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

footer h5 {
    font-family: var(--font-secondary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

footer p {
    font-family: var(--font-primary);
    font-weight: 400;
    opacity: 0.9;
}

.social-links a {
    font-size: 1.5rem;
    transition: color 0.3s ease;
    opacity: 0.8;
}

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

/* Responsividade */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-section .d-flex {
        justify-content: center;
    }
    
    .card {
        margin-bottom: 2rem;
    }

    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.75rem;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .hero-section .lead {
        font-size: 1.25rem;
    }

    .portfolio-item img {
        height: 250px;
    }

    .portfolio-content p {
        font-size: 1rem;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

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

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Scrollbar Personalizada */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gradient-dark);
}

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

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

/* Utilitários */
.text-gradient {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Particles Background */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Adiciona transição suave para todas as propriedades */
* {
    transition: var(--transition);
}

/* Melhora a legibilidade do texto */
body {
    line-height: 1.6;
    letter-spacing: 0.3px;
}

/* Melhora o contraste dos textos */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 2rem;
    line-height: 1.4;
}

.lead {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.6;
}

/* Adiciona efeito de hover nos botões */
.btn {
    position: relative;
    overflow: hidden;
    font-family: var(--font-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* Estilos para Ícones SVG */
.icon {
    width: 60px;
    height: 60px;
    display: inline-block;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.icon-primary {
    color: var(--primary-color);
}

.icon-white {
    color: var(--primary-color);
}

.icon-gradient {
    color: var(--primary-color);
}

/* Ajustes nos Cards */
.card .icon {
    margin: 0 auto 1.5rem;
    background: transparent;
}

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

/* Ajustes no Hero Section */
.hero-section .icon {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    background: transparent;
}

/* Ajustes no Footer */
.social-links .icon {
    width: 40px;
    height: 40px;
    margin: 0 0.5rem;
    background: transparent;
}

.social-links .icon:hover {
    transform: translateY(-5px);
}

/* Responsividade do Hero */
@media (max-width: 991px) {
    .hero-section {
        text-align: center;
        padding: 80px 0;
    }
    
    .hero-section .d-flex {
        justify-content: center;
    }
    
    .hero-section .card {
        margin-top: 3rem;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .hero-section .lead {
        font-size: 1.25rem;
    }
}

/* Responsividade dos Cards */
@media (max-width: 991px) {
    #servicos .card {
        margin-bottom: 2rem;
    }
    
    #servicos .icon {
        width: 60px;
        height: 60px;
    }
    
    #servicos .icon i {
        font-size: 2rem;
    }
    
    #servicos .card-title {
        font-size: 1.3rem;
    }
    
    #servicos .card-text {
        font-size: 1rem;
    }
}

/* Web Apps Section */
#webapps {
    position: relative;
    overflow: hidden;
}

#webapps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(108, 99, 255, 0.1) 0%, rgba(26, 26, 26, 0.8) 100%);
    z-index: 1;
}

#webapps .container {
    position: relative;
    z-index: 2;
}

#webapps .icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 15px;
    transition: all 0.3s ease;
}

#webapps .icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

#webapps .feature-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    transition: all 0.3s ease;
}

#webapps .feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

#webapps .feature-item .icon {
    width: 50px;
    height: 50px;
}

#webapps .feature-item .icon i {
    font-size: 1.5rem;
}

/* Responsividade Web Apps */
@media (max-width: 991px) {
    #webapps {
        text-align: center;
    }
    
    #webapps .d-flex {
        justify-content: center;
    }
    
    #webapps .icon {
        margin: 0 auto 1rem;
    }
    
    #webapps .feature-item {
        margin-bottom: 1.5rem;
    }
}

/* Slider de Imagens */
#slider {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
    padding: 10px 0;
    width: 100%;
}

.slider-item {
    flex: 0 0 calc(33.333% - 14px);
    min-width: calc(33.333% - 14px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    position: relative;
    margin: 0;
}

.slider-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.slider-item:hover img {
    transform: scale(1.05);
}

.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.slider-control:hover {
    background: var(--primary-color);
    color: #000;
}

.slider-control.prev {
    left: 0;
}

.slider-control.next {
    right: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary-color);
}

/* Responsividade do Slider */
@media (max-width: 991px) {
    .slider-item {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .slider-container {
        padding: 0 30px;
    }
    
    .slider-control {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .slider-item {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .slider-item img {
        height: 250px;
    }
}

/* Modal para Imagem em Tamanho Completo */
.modal-dialog {
    max-width: 100vw;
    margin: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: transparent;
    border: none;
    width: 100%;
    height: 100%;
}

.modal-body {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
}

.modal-body img {
    max-width: 100%;
    max-height: 100vh;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: top center;
    margin: 0 auto;
    display: block;
}

.modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

/* Ajuste para telas menores */
@media (max-width: 768px) {
    .modal-dialog {
        max-width: 100vw;
        margin: 0;
    }
    
    .modal-body img {
        max-height: 90vh;
    }
}

/* Responsividade do Portfolio */
@media (max-width: 991px) {
    .portfolio-item {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .portfolio-item {
        height: 200px;
    }
    
    .portfolio-content h4 {
        font-size: 1.2rem;
    }
    
    .portfolio-content p {
        font-size: 0.9rem;
    }
}

/* Anúncios Google Section */
#anuncios {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

#anuncios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

#anuncios .container {
    position: relative;
    z-index: 2;
}

#anuncios h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.google-text {
    font-family: 'Product Sans', Arial, sans-serif;
    font-weight: 500;
}

.google-text span:nth-child(1) { color: #FFD700; }
.google-text span:nth-child(2) { color: #FFD700; }
.google-text span:nth-child(3) { color: #FFD700; }
.google-text span:nth-child(4) { color: #FFD700; }
.google-text span:nth-child(5) { color: #FFD700; }
.google-text span:nth-child(6) { color: #FFD700; }

.google-mockup {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.google-mockup:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.google-features {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.google-features .lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.google-features h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-top: 2rem;
}

.google-objectives {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.objective-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.objective-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
    border-color: var(--primary-color);
}

.objective-item i {
    font-size: 1.2rem;
}

.google-badges {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.google-badges h4 {
    font-size: 1.8rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
}

.badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.badge-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    padding: 1rem;
    transition: all 0.3s ease;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-item:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.badge-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

@media (max-width: 991px) {
    #sobre-empresa {
        text-align: center;
    }

    #sobre-empresa .d-flex {
        justify-content: center;
    }

    #sobre-empresa h2 {
        font-size: 2rem;
    }

    #sobre-empresa .lead {
        font-size: 1.2rem;
    }

    #sobre-empresa p {
        font-size: 1rem;
    }

    .about-image {
        margin-top: 3rem;
    }
}

/* Responsividade Global */
@media (max-width: 1200px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (max-width: 991px) {
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
    
    .lead {
        font-size: 1.1rem !important;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .modal-dialog {
        margin: 1rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.75rem !important;
    }
    
    p {
        font-size: 1rem !important;
    }

    .btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .navbar-brand img {
        height: 35px;
    }

    .hero-section {
        padding-top: 100px;
    }

    .form-control {
        font-size: 0.9rem;
    }

    .modal-body {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    h1 {
        font-size: 1.75rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }

    .section-padding {
        padding: 2.5rem 0;
    }

    .card {
        margin-bottom: 1.5rem;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-footer {
        padding: 1rem;
    }

    .whatsapp-float {
        right: 15px;
        bottom: 15px;
    }

    .cookie-consent {
        padding: 0.75rem;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 360px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    h1 {
        font-size: 1.5rem !important;
    }
    
    h2 {
        font-size: 1.25rem !important;
    }

    .btn {
        padding: 0.4rem 1.2rem;
        font-size: 0.85rem;
    }

    .navbar-brand img {
        height: 30px;
    }
}

/* Ajustes para dispositivos com tela alta */
@media (min-height: 800px) {
    .hero-section {
        min-height: 100vh;
    }
}

/* Ajustes para orientação paisagem em dispositivos móveis */
@media (max-height: 576px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 6rem 0;
    }

    .navbar-collapse {
        overflow-y: auto;
    }
}

/* WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulseWhatsApp 2s infinite;
}

.whatsapp-button i {
    font-size: 2rem;
    color: white;
}

.whatsapp-button:hover {
    background: #20ba5a;
    transform: scale(1.05);
}

@keyframes pulseWhatsApp {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
    }
}

/* Modal WhatsApp */
#whatsappModal .modal-content {
    background: #111B21;
    border: none;
    border-radius: 15px;
}

#whatsappModal .modal-header {
    background: #25D366;
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 1.5rem;
}

#whatsappModal .modal-title {
    font-weight: 600;
    font-size: 1.3rem;
    color: white;
}

#whatsappModal .btn-close {
    background-color: white;
    opacity: 1;
}

#whatsappModal .modal-body {
    padding: 2rem;
    background: #111B21;
}

#whatsappModal .form-label {
    font-weight: 500;
    color: #ffffff;
}

#whatsappModal .form-control {
    background: #2A3942;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    color: white;
}

#whatsappModal .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

#whatsappModal .form-control:focus {
    border-color: #25D366;
    box-shadow: 0 0 0 0.25rem rgba(37, 211, 102, 0.25);
    background: #2A3942;
}

#whatsappModal .btn-success {
    background: #25D366;
    border: none;
    padding: 1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    color: white;
}

#whatsappModal .btn-success:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Responsividade do WhatsApp */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
    }

    .whatsapp-button i {
        font-size: 1.8rem;
    }

    #whatsappModal .modal-body {
        padding: 1.5rem;
    }
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    color: var(--text-color);
    padding: 4rem 0;
}

.footer h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 1rem;
    width: 24px;
    text-align: center;
}

.contact-info a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-color);
}

/* WhatsApp no Footer */
.contact-info .fa-whatsapp {
    color: #25D366;
    font-size: 1.4rem;
}

.contact-info a[href*="wa.me"]:hover {
    color: #25D366;
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-selector a {
    opacity: 0.6;
    transition: opacity 0.3s ease;
    position: relative;
}

.language-selector a:hover {
    opacity: 1;
}

.language-selector a.active {
    opacity: 1;
}

.language-selector a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.language-selector img {
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .language-selector {
        margin-right: 50px;
    }
}

/* Estilos para Páginas de Política e Termos */
.privacy-policy-section,
.terms-section {
    padding-top: 120px;
    background: var(--gradient-dark);
    min-height: 100vh;
    color: white;
}

.content-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-content,
.terms-content {
    line-height: 1.8;
}

.policy-content h1,
.terms-content h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.policy-content h2,
.terms-content h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-content p,
.terms-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.policy-content ul,
.terms-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.policy-content ul li,
.terms-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.policy-content ul li::before,
.terms-content ul li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

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

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Responsividade */
@media (max-width: 768px) {
    .privacy-policy-section,
    .terms-section {
        padding-top: 100px;
    }

    .content-wrapper {
        padding: 2rem;
    }

    .policy-content h1,
    .terms-content h1 {
        font-size: 2rem;
    }

    .policy-content h2,
    .terms-content h2 {
        font-size: 1.5rem;
    }

    .policy-content p,
    .terms-content p,
    .policy-content ul li,
    .terms-content ul li {
        font-size: 1rem;
    }
}

/* Cookie Consent Message */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-top: 2px solid var(--primary-color);
    padding: 1rem;
    z-index: 9999;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    color: white;
    font-size: 0.9rem;
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.cookie-content a:hover {
    text-decoration: underline;
}

.cookie-content .btn {
    white-space: nowrap;
    padding: 0.5rem 1.5rem;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content .btn {
        width: 100%;
    }
}

/* About the Company Section */
#sobre-empresa {
    position: relative;
    overflow: hidden;
    background: var(--gradient-dark);
}

#sobre-empresa::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

#sobre-empresa .container {
    position: relative;
    z-index: 2;
}

#sobre-empresa h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

#sobre-empresa .lead {
    font-size: 1.3rem;
    line-height: 1.8;
    font-weight: 500;
}

#sobre-empresa p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    position: relative;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-image:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.about-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

#sobre-empresa .fas {
    font-size: 1.2rem;
}

#sobre-empresa .d-flex span {
    font-size: 1.1rem;
} 
} 
} 