/* --- HIDDEN / MODERN SCROLLBAR --- */
html {
    scrollbar-width: thin;
    scrollbar-color: #202536 #fff;
}
html::-webkit-scrollbar {
    width: 8px;
}
html::-webkit-scrollbar-track {
    background: #fff;
}
html::-webkit-scrollbar-thumb {
    background-color: #202536;
    border-radius: 4px;
}

/* --- BASE & RESET --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
}

html, body {
    min-height: 100vh; 
    display: flex;
    flex-direction: column;
    color: #333; 
    background-color: #fff; 
    overflow-x: hidden; 
}

/* --- MENU MOBILE NO TOPO --- */
.desktop-nav.active {
    display: block;
    position: absolute;
    top: 96px; 
    left: 0;
    width: 100%;
    background-color: #000000; 
    padding: 20px 0;
    z-index: 1000;
    opacity: 0.8;
}

.desktop-nav.active ul {
    flex-direction: column; 
    gap: 15px;
    align-items: center;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; width: 100%; }

/* --- HEADER & HERO --- */
.header-bg {
	background-image: url(fundoempresa.png);
    min-height: 40px;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    color: #fff;
}

.logo-container {
    margin-left: 15px;
}

.desktop-nav { display: none; }

.desktop-nav ul {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #fff;
}

.mobile-menu-icon { 
    font-size: 1.8rem; 
    cursor: pointer; 
    color: #fff; 
    margin-right: 15px; 
    position: relative;
    top: -5px;
}

.header-socials {
    display: flex;
    align-items: center;
    gap: 32px;
    visibility: visible;
    opacity: 1;
}

/* Força os ícones do Font Awesome a aparecerem com cor branca e sem sublinhado */
.social-icon-btn i,
.social-icon-btn span {
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
}
/* --- SOBRE A EMPRESA --- */
.about-space-blue { width: 100%; height: 4px; background-color: #202536; }
.about-space-with { width: 100%; height: 4px; }
.about-section { background-image: url(fundoempresa.png); min-height:180px; background-size: 10px 10px; padding: 40px 0; color: #fff; }
.about-flex { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; margin-top: 50px; }
.about-text h2 { font-size: 1.2rem; margin-bottom: 15px; color: #323E4D; }
.about-text p { font-size: 1.0rem; line-height: 1.5; color: #323E4D; text-align: justify; }
.about-divider { border: 0; height: 1px; background: #e0e0e0; margin: 20px 0; }

/* --- CASES --- */
.cases-section {
    background-color: #fff;
    padding: 60px 0;
    text-align: center;
    overflow: hidden;
}

.section-title {
    color: #202536;
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.carousel-track {
    display: inline-flex;
    gap: 30px;
    /* 20 segundos de duração. Ajuste para mais ou menos para controlar a velocidade */
    animation: scrollCarousel 25s linear infinite;
}

/* Pausa a animação se o usuário colocar o mouse em cima */
.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-item {
    color: #202536;
    padding: 20px 40px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
}

@keyframes scrollCarousel {
    0% { transform: translateX(0); }
    /* Move exatamente 50% para a esquerda (como o conteúdo é duplicado, ele fará um loop imperceptível) */
    100% { transform: translateX(calc(-50% - 15px)); } 
}

/* --- DEPOIMENTOS --- */
.testimonials-section {
	background-color: #202536;
    padding: 60px 20px;
    text-align: center;
}

.title-light {
    color: #FFFFFF; /* Título claro contrastando com o fundo escuro */
}

.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: #FFFFFF; /* Cor dos cartões conforme solicitado */
    color: #202536; /* Texto escuro contrastando com o cartão claro */
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quote-icon {
    font-size: 2rem;
    color: #202536;
    opacity: 0.2;
}

.testimonial-card p {
    font-size: 1rem;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-card h4 {
    font-size: 1.05rem;
    font-weight: bold;
    text-align: right;
    margin-top: auto; /* Empurra o nome sempre para o final do card */
}

/* --- ORÇAMENTO & CHECKBOXES AJUSTADOS --- */
.budget-section { padding: 50px 20px; }
.budget-header { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; justify-content: center; }
.budget-icon { font-size: 2rem; color: #555; }
.budget-header h2 { font-size: 1.3rem; color: #333; }

.budget-form input[type="text"], 
.budget-form input[type="email"], 
.budget-form input[type="tel"], 
.budget-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.checkbox-col { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    font-size: 0.85rem; 
    color: #444; 
    margin-bottom: 20px; 
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    margin: 0;
}

.btn-submit {
    background: #333; color: #fff; padding: 10px 30px; border: none; border-radius: 4px;
    cursor: pointer; font-weight: bold; float: right;
}

/* --- FOOTER --- */
.site-footer { 
    background: #eaeaea; 
    padding-top: 40px; 
    color: #333;
    display: flex;          
    flex-direction: column; 
    flex-grow: 1;           
}

.footer-grid { 
    display: flex; 
    flex-direction: column; 
    gap: 30px; 
    padding-bottom: 30px; 
}

.footer-col h4 { 
    display: flex; 
    align-items: flex-start; 
    gap: 10px; 
    font-size: 0.9rem; 
    margin-bottom: 15px; 
    font-weight: bold; 
}

.footer-col h4 i { font-size: 1.2rem; color: #666; margin-top: 3px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; font-size: 0.8rem; color: #555; }

.footer-bottom { 
    background: #333; 
    color: #999; 
    text-align: center; 
    padding: 15px; 
    font-size: 0.75rem; 
    flex-grow: 1;           
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- MEDIA QUERIES (DESKTOP) --- */
@media (min-width: 600px) {
    .mobile-menu-icon { display: none; }
    .desktop-nav { display: block; }

    .about-flex { flex-direction: row; text-align: left; align-items: center; justify-content: center; gap: 40px; }
    .about-text { max-width: 700px; }
    .about-text h2 { font-size: 1.5rem; }
    .about-text p { font-size: 1.0rem; }
	
	.testimonials-grid { flex-direction: row; justify-content: space-between; }
    .testimonial-card { flex: 1; }
    
    .budget-header { justify-content: flex-start; }
    .form-row-3 { display: flex; gap: 20px; }
    .form-row-3 input { flex: 1; }
    .form-row-2 { display: flex; gap: 40px; margin-top: 10px; }
    .checkbox-col { flex: 1; }
    .textarea-col { flex: 2; display: flex; flex-direction: column; }
    .textarea-col textarea { flex-grow: 1; }
    
    .footer-grid { flex-direction: row; justify-content: space-between; }
    .footer-col { flex: 1; }
}