:root {
    --bg-primary: #0a1318;
    --bg-secondary: #10212b;
    --bg-card: #162c38;
    --accent-color: #00d2ff;
    --accent-hover: #00a8cc;
    --text-main: #f0f4f8;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
}

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

.section-padding {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2.5rem;
    color: #ffffff;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

/* Header & Nav */
.header {
    background: rgba(10, 19, 24, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    border-radius: 6px;
}

.logo-text {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-text span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero */
.hero {
    background: linear-gradient(rgba(10, 19, 24, 0.85), rgba(10, 19, 24, 0.95)),
        url('logo.jpeg') center/cover no-repeat;
    padding: 8rem 0 6rem;
    text-align: center;
}

.hero-badge {
    background: rgba(0, 210, 255, 0.15);
    color: var(--accent-color);
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    border: 1px solid rgba(0, 210, 255, 0.3);
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 2.5rem;
}

.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

/* Clientes / Marcas */
.clients-section {
    background: var(--bg-secondary);
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.clients-title {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    font-weight: 600;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1.5rem;
    align-items: center;
}

.client-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    transition: all 0.3s ease;
}

.client-card img {
    max-width: 100%;
    max-height: 45px;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.2);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.15);
}

.client-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Sobre & Serviços */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.sobre-content p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.diferenciais-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.diferenciais-list li {
    background: var(--bg-card);
    padding: 1rem 1.2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-card,
.service-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.feature-card h3,
.service-card h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

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

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

/* Coverage / Hubs */
.coverage-subtitle {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.hubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.hub-card {
    background: linear-gradient(145deg, #162c38, #0d1b22);
    border-left: 5px solid var(--accent-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.hub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.hub-header h3 {
    color: #ffffff;
    font-size: 1.3rem;
}

.badge {
    background: rgba(0, 210, 255, 0.15);
    color: var(--accent-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    border: 1px solid rgba(0, 210, 255, 0.3);
}

.hub-cities {
    color: #e2e8f0;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.hub-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Form de Contato */
.contact-wrapper {
    display: flex;
    justify-content: center;
}

/* Seção de Clientes / Logos com Fundo Branco Ampliado */
.clients-grid {
    display: grid;
    /* Aumentado a largura mínima das colunas para 160px para preencher melhor o espaço */
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    align-items: center;
}

.client-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    padding: 1.2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    /* Altura aumentada de 80px para 100px */
    transition: all 0.3s ease;
    overflow: hidden;
}

.client-card img {
    max-width: 90%;
    /* Aumentado a escala da imagem dentro da caixa */
    max-height: 65px;
    /* Altura máxima da imagem aumentada de 50px para 65px */
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: all 0.3s ease;
}

.client-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.2);
}

.client-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.contact-form {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    max-width: 650px;
    width: 100%;
}

/* Container dos Botões Flutuantes */
.floating-buttons {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    /* Empilha os botões verticalmente */
    gap: 12px;
    z-index: 9999;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, background 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
    border: none;
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-wa {
    background-color: #25d366;
}

/* Botão de Voltar ao Topo (Fixo e Visível) */
.float-top {
    background-color: var(--bg-card);
    color: var(--accent-color);
    border: 1px solid var(--border-color);
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.tag-b2b {
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    border: 1px solid rgba(0, 210, 255, 0.2);
}

.form-header h3 {
    margin-top: 1rem;
    font-size: 1.8rem;
    color: #fff;
}

.form-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
}

.btn-submit {
    width: 100%;
    background: #25d366;
    color: #fff;
    padding: 1.1rem;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-submit:hover {
    background: #1ebc57;
}

.form-footer-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Rodapé & Botões Flutuantes */
.footer {
    background-color: #060c10;
    border-top: 1px solid var(--border-color);
    padding-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    position: relative;
}

.footer-col h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
    margin-top: 0.4rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a,
.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover,
.footer-col a:hover {
    color: var(--accent-color);
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.footer-bottom {
    background-color: #030608;
    padding: 1.2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.floating-buttons {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
    border: none;
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-wa {
    background-color: #25d366;
}

.float-top {
    background-color: var(--bg-card);
    color: var(--accent-color);
    border: 1px solid var(--border-color);
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

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