/* ==============================
        RESET / BASE
============================== */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1e1e2e;
    background-color: #e8edf8;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

main {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px 80px 40px;
}


/* ==============================
        COMPONENTES REUTILIZÁVEIS
============================== */

.section-badge {
    display: inline-block;
    background: #dbeafe;
    color: #1a4fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

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

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1e1e2e;
    margin-bottom: 10px;
    line-height: 1.25;
}

.section-header p {
    font-size: 1rem;
    color: #64748b;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.btn-primary {
    display: inline-block;
    background: #1a4fff;
    color: #fff;
    padding: 14px 30px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.97rem;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(26,79,255,0.28);
}

.btn-primary:hover {
    background: #1340d4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26,79,255,0.38);
    color: #fff;
}

.btn-secondary {
    display: inline-block;
    background: #fff;
    color: #1a4fff;
    padding: 14px 30px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.97rem;
    border: 2px solid #1a4fff;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #eef2ff;
    transform: translateY(-2px);
}


/* ==============================
        CABEÇALHO
============================== */

header {
    background:
        linear-gradient(135deg, rgba(26,79,255,0.025) 25%, transparent 25%) -10px 0,
        linear-gradient(225deg, rgba(26,79,255,0.025) 25%, transparent 25%) -10px 0,
        linear-gradient(315deg, rgba(26,79,255,0.025) 25%, transparent 25%),
        linear-gradient(45deg,  rgba(26,79,255,0.025) 25%, transparent 25%);
    background-size: 20px 20px;
    background-color: #ffffff;
    border-bottom: 1px solid #dde3f0;
    padding: 14px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    display: block;
    height: 66px;
    width: auto;
}

header nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

header nav a {
    font-size: 0.91rem;
    font-weight: 500;
    color: #475569;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.18s ease;
}

header nav a:hover {
    background: #eef2ff;
    color: #1a4fff;
}

header nav a.nav-cta {
    background: #1a4fff;
    color: #ffffff !important;
    padding: 9px 20px;
    border-radius: 8px;
    font-weight: 700;
    margin-left: 8px;
}

header nav a.nav-cta:hover {
    background: #1340d4;
}

.menu-mobile {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-mobile span {
    width: 24px;
    height: 2px;
    background: #475569;
    border-radius: 2px;
    display: block;
    transition: 0.3s;
}


/* ==============================
        HERO - 2 COLUNAS
============================== */

.hero-section {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    align-items: center;
    padding: 56px 0 64px 0;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-left p {
    max-width: 100%;
}

.hero-badge {
    display: inline-block;
    background: #f0fdf4;
    color: #16a34a;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
    border: 1px solid #bbf7d0;
}

.hero-left h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #1e1e2e;
    line-height: 1.15;
    margin-bottom: 18px;
}

.hero-left h1 span {
    color: #1a4fff;
}

.hero-left p {
    font-size: 1.08rem;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}

.trust-num {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a4fff;
    line-height: 1;
    margin-bottom: 3px;
}

.trust-label {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 500;
}

.trust-divider {
    width: 1px;
    height: 32px;
    background: #e2e8f0;
}

.hero-right {
    position: relative;
}

.carousel-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin-bottom: 10px;
}

.welcome-carousel {
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 16px 48px rgba(0,0,0,0.10);
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 1.2s ease-in-out;
}

.slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    object-fit: cover;
}


/* ==============================
     3 FRENTES DE SERVIÇO
============================== */

.frentes-section {
    margin: 20px auto 80px auto;
}

.frentes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: left;
}

.frente-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 36px 28px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.frente-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    border-radius: 18px 18px 0 0;
}

.frente-card.agro::before      { background: #16a34a; }
.frente-card.industria::before { background: #1a4fff; }
.frente-card.web::before       { background: #7c3aed; }

.frente-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.10);
}

.frente-icon {
    font-size: 2.8rem;
    margin-bottom: 14px;
    display: block;
}

.frente-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.frente-card.agro      .frente-tag { color: #16a34a; background: #dcfce7; }
.frente-card.industria .frente-tag { color: #1a4fff; background: #dbeafe; }
.frente-card.web       .frente-tag { color: #7c3aed; background: #ede9fe; }

.frente-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e1e2e;
    margin-bottom: 10px;
    line-height: 1.3;
}

.frente-card p {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 18px;
}

.frente-bullets {
    list-style: none;
    margin-bottom: 26px;
    padding: 0;
}

.frente-bullets li {
    font-size: 0.87rem;
    color: #475569;
    padding: 4px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.frente-bullets li::before {
    content: "✓";
    font-weight: 800;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.frente-card.agro      .frente-bullets li::before { color: #16a34a; }
.frente-card.industria .frente-bullets li::before { color: #1a4fff; }
.frente-card.web       .frente-bullets li::before { color: #7c3aed; }

.frente-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 9px;
    font-size: 0.87rem;
    font-weight: 700;
    border: 2px solid;
    transition: all 0.2s;
}

.frente-card.agro      .frente-btn { color: #16a34a; border-color: #16a34a; }
.frente-card.industria .frente-btn { color: #1a4fff; border-color: #1a4fff; }
.frente-card.web       .frente-btn { color: #7c3aed; border-color: #7c3aed; }

.frente-card.agro      .frente-btn:hover { background: #16a34a; color: #fff; }
.frente-card.industria .frente-btn:hover { background: #1a4fff; color: #fff; }
.frente-card.web       .frente-btn:hover { background: #7c3aed; color: #fff; }


/* ==============================
          SOBRE
============================== */

.about-strip {
    margin: 0 auto 80px auto;
    padding: 52px 48px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    text-align: center;
}

.about-header {
    margin-bottom: 36px;
}

.about-strip h2 {
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #1e1e2e;
}

.about-header p {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1rem;
    color: #64748b;
    line-height: 1.7;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 36px;
}

.about-item {
    background: #eef2ff;
    border-radius: 14px;
    padding: 26px 20px;
    border: 1px solid #c7d4f8;
    box-shadow: 0 2px 10px rgba(26,79,255,0.08);
}

.about-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.about-item h4 {
    font-size: 0.97rem;
    font-weight: 700;
    color: #1e1e2e;
    margin-bottom: 7px;
}

.about-item p {
    font-size: 0.86rem;
    color: #64748b;
    line-height: 1.6;
}

.about-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f0f4ff;
    border-radius: 14px;
    padding: 22px 32px;
    flex-wrap: wrap;
    gap: 0;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 32px;
}

.stat-num {
    font-size: 1.9rem;
    font-weight: 800;
    color: #1a4fff;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: #cbd5e1;
}


/* ==============================
        SERVIÇOS – CARDS
============================== */

.services-section {
    margin: 0 auto 60px auto;
}

.services-container {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.service-card {
    width: 160px;
    height: 145px;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
    cursor: pointer;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: #93aeff;
    box-shadow: 0 8px 22px rgba(26,79,255,0.12);
}

.service-icon {
    font-size: 2.1rem;
    margin-bottom: 10px;
}

.service-card h3 {
    font-size: 0.84rem;
    font-weight: 600;
    color: #1e1e2e;
    line-height: 1.3;
}

.service-card.active {
    border-color: #1a4fff;
    background: #eef2ff;
    box-shadow: 0 8px 22px rgba(26,79,255,0.14);
}


/* ==============================
   DETALHE SERVIÇO (HOME)
============================== */

.detalhe-servico {
    display: none;
    opacity: 0;
    transform: translateY(16px);
    transition: 0.35s;
    margin: 16px auto 20px;
    width: 100%;
    padding: 36px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    flex-direction: row;
    gap: 36px;
    align-items: center;
}

.detalhe-servico.active {
    display: flex !important;
    opacity: 1;
    transform: translateY(0);
}

.detalhe-servico .info-img img {
    width: 280px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.09);
}

.detalhe-servico .info-text h2 {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: #1e1e2e;
}

.detalhe-servico .info-text p {
    font-size: 0.97rem;
    line-height: 1.65;
    color: #64748b;
    margin-bottom: 8px;
}


/* ==============================
     SERVIÇOS – SEÇÕES DETALHADAS
============================== */

.info-section {
    display: none;
    opacity: 0;
    transform: translateY(16px);
    transition: 0.35s ease;
    width: 100%;
    margin: 30px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    flex-direction: row;
    gap: 40px;
    align-items: center;
}

.info-section.active {
    display: flex !important;
    opacity: 1;
    transform: translateY(0);
}

.info-img img {
    width: 320px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.09);
}

.info-text { max-width: 580px; }

.info-text h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: #1e1e2e;
}

.info-text p {
    font-size: 0.97rem;
    line-height: 1.65;
    color: #64748b;
    margin-bottom: 10px;
}


/* ==============================
        CTA FINAL
============================== */

.cta-section {
    background: linear-gradient(135deg, #1a4fff 0%, #0e2fb0 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    margin-top: 20px;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 28px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-section .btn-primary {
    background: #fff;
    color: #1a4fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.cta-section .btn-primary:hover {
    background: #f0f4ff;
    color: #1a4fff;
}


/* ==============================
     PÁGINA DE LEADS
============================== */

.leads-page {
    max-width: 640px;
    margin: 0 auto;
    padding: 50px 20px 80px;
    text-align: center;
}

.leads-badge {
    display: inline-block;
    background: #dbeafe;
    color: #1a4fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.leads-page h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1e1e2e;
    margin-bottom: 12px;
    line-height: 1.2;
}

.leads-page h1 span { color: #1a4fff; }

.leads-sub {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 32px;
    line-height: 1.65;
}

.leads-form {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.07);
    padding: 36px;
    text-align: left;
}

.form-group { margin-bottom: 16px; }

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    font-size: 0.93rem;
    font-family: inherit;
    color: #1e1e2e;
    background: #f9fafb;
    transition: all 0.18s;
    outline: none;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1a4fff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(26,79,255,0.09);
}

.form-group textarea {
    resize: vertical;
    min-height: 95px;
}

.btn-leads {
    width: 100%;
    padding: 15px;
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.02rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
    margin-top: 6px;
    box-shadow: 0 4px 16px rgba(37,211,102,0.3);
    font-family: inherit;
}

.btn-leads:hover {
    background: #1db954;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(37,211,102,0.42);
}

.leads-trust {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.leads-trust span {
    font-size: 0.82rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}


/* ==============================
        RODAPÉ
============================== */

footer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    margin-top: 60px;
    padding: 22px 40px;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: #64748b;
}

.footer-company {
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1e1e2e;
    margin-bottom: 3px;
    font-size: 0.9rem;
}

.footer-legal {
    margin-bottom: 3px;
    font-size: 0.82rem;
}

.footer-phone a { color: #1a4fff; font-weight: 500; }
.footer-phone a:hover { text-decoration: underline; }


/* ==============================
      WHATSAPP FLOAT
============================== */

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    transition: transform 0.2s ease;
    filter: drop-shadow(0 4px 10px rgba(37,211,102,0.4));
}

.whatsapp-float:hover { transform: translateY(-3px) scale(1.07); }

.whatsapp-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}


/* ==============================
        RESPONSIVO
============================== */

@media (max-width: 1024px) {
    .frentes-grid { grid-template-columns: 1fr 1fr; }
    .hero-left h1 { font-size: 2.4rem; }
}

@media (max-width: 900px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding: 36px 0 48px;
        gap: 32px;
    }

    .hero-left { align-items: center; text-align: center; }
    .hero-left p { max-width: 100%; }
    .hero-btns { justify-content: center; }

    .about-cards { grid-template-columns: 1fr; }

    .info-section,
    .detalhe-servico {
        flex-direction: column;
        text-align: center;
        padding: 28px;
    }

    .info-img img,
    .detalhe-servico .info-img img { width: 90%; }
}

@media (max-width: 768px) {
    header { padding: 12px 20px; }
    .logo-img { height: 48px; }

    header nav {
        position: absolute;
        top: 76px;
        right: 16px;
        background: #ffffff;
        padding: 12px;
        border-radius: 14px;
        flex-direction: column;
        align-items: flex-start;
        border: 1px solid #e2e8f0;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        display: none;
        min-width: 200px;
    }

    header nav.active { display: flex; }
    .menu-mobile { display: flex; }

    .hero-left h1 { font-size: 1.9rem; }
    .welcome-carousel { height: 220px; }
    .frentes-grid { grid-template-columns: 1fr; }
    main { padding: 0 16px 60px; }

    .about-strip { padding: 32px 20px; }
    .about-stats { gap: 10px; }
    .stat { padding: 0 16px; }

    .cta-section { padding: 40px 24px; }
    .cta-content h2 { font-size: 1.6rem; }

    .footer-content { flex-direction: column; align-items: flex-start; gap: 10px; }
    .leads-form { padding: 24px 18px; }
}
