/* Importação da Fonte Poppins no topo do arquivo */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');

/* Configurações Globais e Variáveis de Cor */
:root {
    --primary-color: #4a7c45;
    --secondary-color: #8db942;
    --accent-color: #8c6239;
    --text-color: #333;
    --text-color-light: #f4f4f4;
    --bg-color: #ffffff;
    --bg-color-alt: #f9f9f9;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}
body.internal-page,
body.detail-page {
    padding-top: 70px;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
section {
    padding: 80px 0;
}
section:nth-child(even) {
    background-color: var(--bg-color-alt);
}
h1, h2, h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}
h2 {
    font-size: 2.5rem;
    text-align: center;
}
p {
    margin-bottom: 15px;
}
a {
    color: var(--secondary-color);
    text-decoration: none;
}
/* Header e Navegação */
header {
    background: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
}
.logo-image {
    display: none;
}
.nav-menu ul {
    display: flex;
    list-style: none;
    align-items: center;
}
.nav-menu li {
    margin-left: 10px;
}
.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.nav-menu a:hover {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    border-color: var(--primary-color);
}
/* Seção Hero */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}
.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3); 
    z-index: 2;
}
#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    object-fit: cover;
}
.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 10vh;
}
.hero-logo-title {
    display: none;
}
.cta-button {
    background: var(--primary-color);
    color: var(--text-color-light);
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.cta-button:hover {
    background: var(--accent-color);
}

/* Seção Sobre */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
}
.about-title-block {
    text-align: center;
    margin-bottom: 40px;
}
.about-pre-title {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
}
.about-logo-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.2;
}
.about-logo-title span {
    font-size: 2rem;
    vertical-align: middle;
    font-weight: 400;
}
.about-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0;
}
/* Seção Serviços */
#servicios {
    background-color: var(--bg-color-alt);
}
.services-intro-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.7;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 40px 30px;
    max-width: 900px;
    margin: 0 auto;
}
.service-item {
    display: flex;
    align-items: center;
    gap: 20px;
}
.service-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    flex-shrink: 0;
}
.service-text h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.service-text p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
    color: #555;
}
/* Seção Equipe */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.team-member {
    background: var(--bg-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
}
.team-member h3 {
    font-size: 1.1rem;
    color: var(--text-color);
}
.team-member p {
    font-size: 0.9rem;
    color: var(--accent-color);
    margin: 0;
}
/* Seção Clientes */
.logo-scroller {
    max-width: 100%;
    overflow: hidden;
    padding: 40px 0;
    -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}
.scroller__inner {
    display: flex;
    flex-wrap: nowrap;
    gap: 60px;
    width: max-content;
    animation: scroll 40s linear infinite;
}
@keyframes scroll {
    to {
        transform: translateX(calc(-50% - 30px));
    }
}
.scroller__inner img {
    height: 80px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.scroller__inner img:hover {
    transform: scale(1.1);
}
/* Seção Contato */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.contact-info, .contact-addresses {
    flex: 1;
    min-width: 300px;
}
.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.contact-addresses h3 {
    margin-bottom: 25px;
}
.address-link {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    padding-left: 30px;
    transition: color 0.3s ease;
}
.address-link::before {
    content: '📍';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2rem;
}
.address-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}
/* Footer */
footer.detail-footer {
    background-color: var(--bg-color);
    padding: 40px 0 20px 0;
    text-align: center;
    border-top: 1px solid #eee;
}
.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}
.footer-logo {
    height: 60px;
    width: auto;
    opacity: 0.7;
}
.footer-logo-text {
    height: 100px;
    width: auto;
    opacity: 0.7;
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.social-icons img {
    height: 35px;
    width: 35px;
    transition: transform 0.3s ease;
}
.social-icons a:hover img {
    transform: scale(1.1);
}
.copyright-bar {
    background-color: #333;
    color: #aaa;
    text-align: center;
    padding: 15px 0;
    font-size: 0.9rem;
}
.copyright-bar p {
    margin: 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-color);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    body.nav-open .nav-menu {
        display: block;
    }
    .nav-menu ul {
        flex-direction: column;
    }
    .nav-menu li {
        margin: 0; 
        width: 100%;
    }
    .nav-menu a {
        border: none;
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
    }
    .nav-toggle {
        display: block;
    }
    h2 {
        font-size: 2rem;
    }
    .header-logo {
        height: 45px;
    }
    .logo-container {
        gap: 10px;
    }
    .hero {
        min-height: 60vh !important; 
    }
    .footer-logo-text {
        height: 30px; 
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-item {
        flex-direction: column;
        text-align: center;
    }
    .scroller__inner img {
        height: 60px;
    }
    .contact-content {
        flex-direction: column;
    }
    .address-link::before {
        top: 2px;
    }
}