/* ===== Variáveis de Cores ===== */
:root {
    --primary-green: #6BAE2F;
    --primary-yellow: #FFD700;
    --primary-orange: #F5A623;
    --primary-red: #E74C3C;
    --dark-bg: #1F2937;
    --light-bg: #F9FAFB;
    --text-dark: #111827;
    --text-light: #6B7280;
    --border-color: #E5E7EB;
    --white: #FFFFFF;
}

/* ===== Reset e Estilos Globais ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

/* ===== Loading Screen ===== */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-orange));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-logo {
    width: 80px;
    height: 80px;
    animation: spinBounce 1.5s ease-in-out infinite;
    margin-bottom: 30px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.loading-text {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
}

.loading-dots {
    display: inline-block;
    width: 20px;
}

.loading-dots::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes spinBounce {
    0%, 100% { 
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(90deg) scale(0.9);
    }
    50% { 
        transform: rotate(180deg) scale(1.1);
    }
    75% {
        transform: rotate(270deg) scale(0.9);
    }
}

@keyframes dots {
    0% { content: ''; }
    25% { content: '.'; }
    50% { content: '..'; }
    75% { content: '...'; }
    100% { content: ''; }
}

/* ===== Header e Navegação ===== */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 80px;
    width: auto;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 15px;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: var(--primary-green);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--light-bg) 0%, #F3F4F6 100%);
    padding: 40px 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content .subtitle {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.hero-content .description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* ===== Botões ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #5a9620;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 174, 47, 0.3);
}

.btn-secondary {
    background-color: var(--primary-orange);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #E89A1F;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 166, 35, 0.3);
}

/* ===== Seção Sobre ===== */
.sobre {
    padding: 80px 20px;
    background-color: var(--white);
}

.sobre p {
    line-height: 1.8;
}

.sobre h2,
.solucoes h2,
.tecnologia h2,
.empresas h2,
.contato h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-dark);
}

.sobre > .container > p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
    line-height: 1.8;
}

.valores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.valor {
    text-align: center;
    padding: 30px;
    background-color: var(--light-bg);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.valor:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.valor i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.valor h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.valor p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== Seção Soluções ===== */
.solucoes {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

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

.solucao-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-green);
}

.solucao-card:nth-child(2) {
    border-top-color: var(--primary-yellow);
}

.solucao-card:nth-child(3) {
    border-top-color: var(--primary-orange);
}

.solucao-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.solucao-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.solucao-card:nth-child(1) .icon {
    color: var(--primary-green);
}

.solucao-card:nth-child(2) .icon {
    color: var(--primary-yellow);
}

.solucao-card:nth-child(3) .icon {
    color: var(--primary-orange);
}

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

.solucao-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ===== Seção Tecnologia ===== */
.tecnologia {
    padding: 80px 20px;
    background-color: var(--white);
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

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

.tech-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.tech-text .mt-4 {
    margin-top: 30px;
}

.tech-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background-color: var(--light-bg);
    border-radius: 8px;
}

.feature i {
    color: var(--primary-green);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature span {
    color: var(--text-dark);
    font-weight: 500;
}

/* ===== Seção Empresas ===== */
.empresas {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

.intro-text {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.empresa-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.empresa-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.empresa-logo {
    height: 60px;
    margin: 0 auto 20px;
    object-fit: contain;
}

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

.empresa-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
    flex-grow: 1;
    font-size: 0.95rem;
}

/* ===== Seção Contato ===== */
.contato {
    padding: 80px 20px;
    background-color: var(--white);
}

.contato > .container > p {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-top: 5px;
    flex-shrink: 0;
}

.info-item h4 {
    color: var(--text-dark);
    margin-bottom: 5px;
}

.info-item p,
.info-item a {
    color: var(--text-light);
    text-decoration: none;
}

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

.mapa-container {
    background: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 600px;
}

.mapa-container iframe {
    width: 100%;
    height: 100%;
}

/* ===== Seção Depoimentos ===== */
.depoimentos {
    background-color: var(--light-bg);
    padding: 80px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.depoimento-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.depoimento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.depoimento-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    color: #ffd700;
    font-size: 1.2rem;
}

.depoimento-texto {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    padding-left: 1.5rem;
}

.depoimento-texto::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-green);
    position: absolute;
    top: -1rem;
    left: -0.5rem;
    font-family: serif;
}

.depoimento-autor {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.autor-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.autor-info h4 {
    color: var(--text-dark);
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.autor-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== Seção Contato Atualizada ===== */
.contato {
    padding: 80px 20px;
    background-color: var(--white);
}

.contato .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.atendimento-24h {
    background: var(--primary-green);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 2rem;
}

.atendimento-24h h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.atendimento-24h i {
    margin-right: 0.5rem;
}

.atendimento-24h p {
    margin: 0;
}

.contato-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-btn:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-green);
}

.contact-btn i {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.whatsapp i {
    background: #25D366;
}

.phone i {
    background: var(--primary-green);
}

.email i {
    background: var(--primary-orange);
}

.btn-content {
    display: flex;
    flex-direction: column;
}

.btn-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.btn-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
}

.enderecos h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1.3rem;
}

.endereco-item {
    display: flex;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--light-bg);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.endereco-item:hover {
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.endereco-item i {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.endereco-item strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.25rem;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo .logo-card {
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.footer-logo .logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.footer-logo img {
    height: 55px;
    display: block;
}

.footer-logo p {
    color: #adb5bd;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a:hover {
    color: var(--primary-green);
    transform: translateX(5px);
}

.footer-contact p {
    color: #adb5bd;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-contact i {
    margin-right: 0.5rem;
    color: var(--primary-green);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #adb5bd;
    font-size: 0.9rem;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--white);
    font-size: 1.3rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    color: var(--primary-green);
    background: rgba(107, 174, 47, 0.2);
    transform: translateY(-3px);
}

/* ===== Botão Flutuante WhatsApp ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    background: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
    }
}

/* ===== Responsividade ===== */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .logo img {
        height: 45px;
        max-width: 140px;
        object-fit: contain;
    }

    .header .container {
        padding: 8px 10px;
    }

    .nav {
        position: absolute;
        top: 62px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        display: none;
        z-index: 999;
    }

    .nav.active {
        display: flex;
    }

    .nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .subtitle {
        font-size: 1.2rem;
    }

    .sobre h2,
    .solucoes h2,
    .tecnologia h2,
    .empresas h2,
    .contato h2 {
        font-size: 2rem;
    }

    .tech-content {
        grid-template-columns: 1fr;
    }

    .tech-features {
        grid-template-columns: 1fr;
    }

    .contato-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-logo img {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-links ul {
        text-align: center;
    }

    .footer-contact {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .depoimentos-grid {
        grid-template-columns: 1fr;
    }

    .solucoes-grid,
    .empresas-grid {
        grid-template-columns: 1fr;
    }

    .valores {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 40px;
        max-width: 120px;
        object-fit: contain;
    }

    .header .container {
        padding: 8px 10px;
    }

    .nav {
        top: 58px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .subtitle {
        font-size: 1rem;
    }

    .hero-content .description {
        font-size: 0.95rem;
    }

    .sobre h2,
    .solucoes h2,
    .tecnologia h2,
    .empresas h2,
    .contato h2 {
        font-size: 1.5rem;
    }

    .nav a {
        font-size: 0.9rem;
    }

    .solucao-card,
    .empresa-card {
        padding: 25px 20px;
    }
}
