/* Variáveis de Cores */
:root {
    --primary-blue: #3A86FF;      /* Azul Principal */
    --secondary-blue: #00B4D8;    /* Azul Destaque/Links */
    --light-blue-bg: #E0F2F7;     /* Fundo Azul Claro */
    --text-dark: #023E8A;         /* Texto Principal Escuro */
    --text-light: #5B7A8B;        /* Texto Secundário */
    --white: #FFFFFF;
    --gray-line: #CFD8DC;
}

/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	width: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden; /* Evita scroll horizontal */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

a:hover {
    color: white;
}

h1, h2, h3 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.5rem; margin-bottom: 40px; text-align: center; }
h3 { font-size: 1.8rem; margin-bottom: 15px; }
p { margin-bottom: 15px; color: var(--text-light); }

.img_prg {
	width: 55px;
	border-radius: 0.3rem !important;
	overflow: clip;
}

/* Botões Modernos */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap; /* Evita quebra de linha */
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    border: 2px solid var(--primary-blue);
    margin-right: 15px;
}

.btn-primary:hover {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(58, 134, 255, 0.2);
	
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(58, 134, 255, 0.2);
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 1px;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin-right: 30px; /* Espaço entre links e botão */
}

.navbar .nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px; /* Para o efeito de sublinhado */
}

.navbar .nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-blue-bg) 0%, #BBDEFB 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px; /* Para não ficar abaixo da navbar */
    position: relative;
    overflow: hidden;
}

.hero-content {
    /*max-width: 800px;*/
    animation: fadeIn 1s ease-out forwards;
}

.hero-content h1 {
    font-size: 3.8rem;
    margin-bottom: 25px;
    line-height: 1.1;
    color: var(--text-dark);
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    color: var(--text-light);
    font-weight: 300;
    
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}


.about-div-rt { 
	display: ruby-text;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-dark);
}
.about-text h3 {
    color: var(--primary-blue);
    font-size: 1.6rem;
    margin-bottom: 25px;
}
.about-text p {
    margin-bottom: 20px;
	padding-left: 10px; 
}

.about-image {
    background-image: url('https://gesccon.com.br/wp-content/uploads/2021/08/logo-gesccon-1.png'); /* Usando a imagem do seu site */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 300px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--light-blue-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-bottom: 5px solid var(--primary-blue); /* Destaque na borda */
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(58, 134, 255, 0.2);
    border-color: var(--secondary-blue);
}

.service-card .icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.service-card:hover .icon {
    transform: scale(1.6);
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
}

/* Contact Section 
.contact-section {
    padding: 100px 0;
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-info {
    padding: 30px;
    background-color: var(--light-blue-bg);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.contact-info h3 {
    margin-bottom: 25px;
    color: var(--text-dark);
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: var(--text-light);
}

.contact-info p strong {
    color: var(--text-dark);
    margin-right: 8px;
}

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

.contact-map iframe {
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
*/

.contact-map {
    position: relative;
    overflow: hidden;
    padding-bottom: 20px;
}

.contact-map iframe {
    transition: transform 0.3s ease;
}

/* Efeito de destaque ao passar o rato na área do mapa */
.contact-map:hover iframe {
    transform: scale(1.01);
}

/* Seção de Contato */
.contact-section {
    padding: 100px 0;
    background-color: #f0f7ff; /* Azul ultra claro */
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.subtitle {
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.section-title {
    padding-bottom: 5px;
    margin-bottom: 15px;
  }

.text-blue { color: var(--primary-blue); }

.info-items { margin-top: 20px; } 

/*40px */

.item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    font-size: 1.2rem;
}

/* Formulário Card */
.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(58, 134, 255, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.input-group input, textarea {
    padding: 12px 15px;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    background: #fcfdfe;
    transition: 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.1);
}

.btn-whatsapp {
    background-color: #25D366; /* Cor oficial WhatsApp */
    color: white;
    padding: 18px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

@media (max-width: 992px) {
    .contact-wrapper { grid-template-columns: 1fr; }
    .contact-info { text-align: center; }
    .item { justify-content: center; }
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
}

footer p {
    color: var(--white);
    margin: 0;
}

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

@keyframes slideRight {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

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

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

/* Classes para controlar as animações via JS */
.animate-fade-in { opacity: 0; }
.animate-slide-right { opacity: 0; }
.animate-slide-left { opacity: 0; }
.animate-zoom-in { opacity: 0; }

.animated.animate-fade-in { animation: fadeIn 0.8s ease-out forwards; }
.animated.animate-slide-right { animation: slideRight 0.8s ease-out forwards; }
.animated.animate-slide-left { animation: slideLeft 0.8s ease-out forwards; }
.animated.animate-zoom-in { animation: zoomIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1.2) forwards; }

/* Atrasos para animações em sequência */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }

/* Responsividade */
@media (max-width: 992px) {
    .navbar .nav-links { display: none; } /* Oculta links para mobile, pode ser substituído por menu hamburguer */
    .navbar .btn-primary { margin-left: auto; } /* Centraliza botão */

    .hero-content h1 { font-size: 2.8rem; }
    .hero-content p { font-size: 1.2rem; }
    .hero-buttons { 
		flex-direction: column; 
		gap: 15px;
		
		max-width: 300px;
		display: inline-flex;
		
	}

    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-text h2 { text-align: center; }
    .about-image { min-height: 250px; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero-content p { font-size: 1rem; }
    .btn-primary, .btn-secondary { padding: 12px 25px; }
}

@media (max-width: 576px) {
    .navbar .logo { 
		font-size: 1rem; 
	}
    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 0.9rem; }
    h2 { font-size: 1.8rem; }
    .service-card { padding: 30px; }
}

.gallery-section {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.carousel-container {
    max-width: 900px;
    margin: 0 auto;
}

.main-view {
    width: 100%;
    height: 450px;
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background-color: var(--light-blue-bg);
}

.main-view img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease-in-out;
	width: fit-content;
}

.thumbnails-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.thumbnails-slider {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: none; /* Firefox */
}

.thumbnails-slider::-webkit-scrollbar { display: none; } /* Chrome/Safari */

.thumb {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    flex-shrink: 0;
}

.thumb:hover, .thumb.active {
    opacity: 1;
    border-color: var(--primary-blue);
    transform: translateY(-5px);
}

.nav-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .main-view { height: 250px; }
    .thumb { width: 80px; height: 60px; }
}

/* Estilo do Botão Flutuante */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse-green 2s infinite;
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: white;
}

/* Tooltip lateral */
.whatsapp-float .tooltip {
    position: absolute;
    right: 75px;
    /*background-color: #333;*/
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.whatsapp-float .tooltip::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
}

.whatsapp-float:hover .tooltip {
    opacity: 1;
    visibility: visible;
    right: 80px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1d8cfe;
	
}

/* Animação de Pulso */
@keyframes pulse-green {
    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);
    }
}

/* Ajuste para mobile para não sobrepor conteúdo importante */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float .tooltip {
        display: none; /* Esconde tooltip no mobile */
    }
}