:root {
    --primary: #5B9FD4;
    --primary-light: #87CEEB;
    --primary-dark: #4A7BA7;
    --primary-rgb: 91, 159, 212;
    --secondary: #E8B4D4;
    --secondary-light: #F0C8E0;
    --secondary-rgb: 232, 180, 212;
    --accent: #B8E6F0;
    --accent-light: #D4F1F9;
    --accent-rgb: 184, 230, 240;
    --success: #7FD4A8;
    --warning: #F5C89A;
    --danger: #B8E6F0;
    --light: #F0F8FF;
    --light-2: #F5FAFF;
    --light-3: #E8F4FF;
    --light-rgb: 240, 248, 255;
    --dark: #2C3E50;
    --dark-2: #1A252F;
    --gray: #7F8C8D;
    --gray-light: #ECF0F1;
    --white: #FFFFFF;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    color: var(--dark);
    background: linear-gradient(135deg, var(--light) 0%, var(--light-2) 50%, var(--light-3) 100%);
    overflow-x: hidden;
}

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(91, 159, 212, 0.5);
    border-radius: 50%;
    animation: float 20s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

.canvas-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--dark-2);
}

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

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

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

p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray);
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 100%;
    position: relative;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: zoomInSlow 15s ease-in-out infinite;
}

@keyframes zoomInSlow {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(91, 159, 212, 0.6) 0%, rgba(232, 180, 212, 0.5) 50%, rgba(184, 230, 240, 0.4) 100%);
    backdrop-filter: blur(2px);
    animation: fadeInOverlay 1s ease-in-out;
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    animation: slideUpHero 1s ease-out;
}

@keyframes slideUpHero {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(232, 180, 212, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(91, 159, 212, 0.7));
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: subtitleFade 1.5s ease-out 0.3s both;
}

@keyframes subtitleFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(232, 180, 212, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(232, 180, 212, 0.6);
    }
}

.carousel-indicators-custom {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 15px;
}

.carousel-indicators-custom button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.4s ease;
    animation: indicatorPop 0.5s ease;
}

@keyframes indicatorPop {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

.carousel-indicators-custom button.active {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    border-color: var(--white);
    width: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(232, 180, 212, 0.6);
}

.carousel-indicators-custom button:hover {
    transform: scale(1.3);
    border-color: var(--white);
}



.navbar-floating {
    background: transparent !important;
    border-bottom: none;
    box-shadow: none;
    animation: slideDownNav 0.6s ease-out;
    transition: all 0.3s ease;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 1040;
}

.navbar-floating.scrolled {
    background: rgba(240, 248, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(91, 159, 212, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    top: 0;
}

@keyframes slideDownNav {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

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

.nav-link {
    font-weight: 600;
    color: var(--white) !important;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-floating.scrolled .nav-link {
    color: var(--dark-2) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
    transition: width 0.3s ease;
    border-radius: 2px;
}

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

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

.btn-whatsapp {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    border: none;
    color: var(--white) !important;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(232, 180, 212, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(232, 180, 212, 0.5);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    color: var(--white);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(91, 159, 212, 0.3);
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(91, 159, 212, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: var(--white);
    background: transparent;
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.gallery-section {
    background: linear-gradient(135deg, var(--light) 0%, var(--light-2) 100%);
    position: relative;
    overflow: hidden;
}

.gallery-img {
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(91, 159, 212, 0.2);
    transition: transform 0.3s ease;
    max-height: 500px;
    object-fit: cover;
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

.service-card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(91, 159, 212, 0.15);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(91, 159, 212, 0.25);
}

.service-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(91, 159, 212, 0.3) 0%, rgba(232, 180, 212, 0.2) 100%);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(91, 159, 212, 0.3);
    z-index: 10;
}

.service-card h4 {
    padding: 20px 20px 10px;
    color: var(--dark-2);
}

.service-card p {
    padding: 0 20px 20px;
    color: var(--gray);
    font-size: 0.95rem;
}

.service-card .btn {
    margin-bottom: 20px;
}

/* Gallery Styles */
.hero-section-small {
    margin-top: 80px;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(91, 159, 212, 0.15);
    transition: all 0.3s ease;
    height: 300px;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(91, 159, 212, 0.8) 0%, rgba(232, 180, 212, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.overlay-content {
    text-align: center;
    color: var(--white);
    animation: slideUpHero 0.3s ease-out;
}

.overlay-content h5 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.overlay-content p {
    font-size: 0.95rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.gallery-item {
    transition: all 0.3s ease;
    opacity: 1;
}

.filter-btn {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 5px;
}

.filter-btn:hover {
    background: var(--primary);
    color: var(--white) !important;
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-color: transparent !important;
    color: var(--white) !important;
    box-shadow: 0 5px 20px rgba(91, 159, 212, 0.3);
}

/* Estilo do Rodapé com Fundo Gradiente */
.footer {
    /* Fundo gradiente linear */
    background: linear-gradient(135deg, #1d2b4b 0%, #34496e 100%);
    
    /* Remove a cor de fundo sólida, se houver */
    background-color: transparent; 
}

/* Opcional: Melhora a legibilidade e a aparência dos links */
.footer .footer-links li a,
.footer .text-light {
    color: #e0e0e0 !important; /* Um branco um pouco mais suave */
    transition: color 0.3s ease;
}

.footer .footer-links li a:hover {
    color: #ffffff !important; /* Branco total ao passar o rato */
    text-decoration: underline;
}

/* Garante que o título se destaque */
.footer h5.text-white {
    color: #ffffff !important;
}

/* A linha divisória (hr) fica melhor com uma opacidade */
.footer hr {
    opacity: 0.2;
}
/* --- Estilo Impactante para o Botão Flutuante do WhatsApp --- */

.whatsapp-float {
    position: fixed;
    width: 65px;      /* Aumenta o tamanho */
    height: 65px;     /* Aumenta o tamanho */
    bottom: 40px;
    right: 40px;
    background-color: #25D366; /* Cor oficial do WhatsApp */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;  /* Ícone maior */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25); /* Sombra mais forte para efeito 3D */
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
    animation: pulse 2s infinite; /* Animação de pulsação */
}

.whatsapp-float:hover {
    transform: scale(1.1); /* Aumenta de tamanho ao passar o rato */
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5); /* Sombra colorida no hover */
    animation: none; /* Para a pulsação no hover para uma interação mais suave */
}

/* Animação de pulsação para chamar a atenção */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}


/* --- Estilo Impactante para o Modal de Contacto --- */

/* Fundo do modal com mais destaque */
.modal-content {
    border: none;
    border-radius: 15px; /* Bordas mais arredondadas */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden; /* Garante que os elementos filhos respeitem a borda arredondada */
}

/* Cabeçalho do modal com um fundo gradiente */
.modal-header {
    background: linear-gradient(135deg, #1d2b4b 0%, #34496e 100%); /* Reutilizando o gradiente do footer para consistência */
    color: #ffffff;
    border-bottom: none;
    padding: 25px;
}

.modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%); /* Torna o botão 'X' branco */
}

.modal-title {
    font-weight: 600;
    font-size: 1.5rem; /* Título maior */
}

/* Corpo do modal */
.modal-body {
    padding: 40px; /* Mais espaço interno */
}

/* Botões de ação com estilo aprimorado */
.modal-body .btn-lg {
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.modal-body .btn-lg:hover {
    transform: translateY(-3px); /* Efeito de elevação */
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2); /* Sombra mais pronunciada no hover */
}

/* Estilo específico para o botão de Email */
#sendEmail {
    background-color: #0d6efd; /* Cor primária do Bootstrap */
}

/* Estilo específico para o botão de WhatsApp */
#sendWhatsApp {
    background-color: #198754; /* Cor de sucesso do Bootstrap */
}
