/* ============================================================
   VARIÁVEIS E RESET
   ============================================================ */
:root {
    --green-deep: #0B3D22;
    --green-dark: #0F5C33;
    --green-mid: #157A43;
    --green-light: #1E9E56;
    --green-pale: #E8F5EE;
    --off: #F5FAF7;
    --slate: #6B8F7A;
    --muted: #4A6657;
    --border: #C8DED2;
    --text-body: #2E4F3A;
    --font-display: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--off);
    color: var(--text-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNav {
    background: rgba(240, 242, 240, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    padding: 0.5rem 0;
    transition: background var(--transition);
}

#mainNav .navbar-brand {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--green-deep);
}

#mainNav .navbar-brand .brand-sub {
    font-weight: 600;
    color: var(--green-mid);
}

#mainNav .nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--green-deep) !important;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: background var(--transition), color var(--transition);
}

#mainNav .nav-link:hover {
    background: rgba(11, 61, 34, 0.07);
    color: var(--green-mid) !important;
}

#mainNav .nav-link.btn-cta {
    background: var(--green-deep);
    color: #fff !important;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: background var(--transition), transform 0.2s;
}

#mainNav .nav-link.btn-cta:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
    color: #fff !important;
}

.navbar-toggler {
    border: none;
    font-size: 1.5rem;
    color: var(--green-deep);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    background: var(--green-deep);
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30,158,86,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(21,122,67,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.badge-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(30,158,86,0.15);
    border: 1px solid rgba(30,158,86,0.3);
    color: #5DD98A;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.badge-hero::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #5DD98A;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, #5DD98A, #A8F0C0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    color: rgba(255,255,255,0.7);
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    max-width: 560px;
    line-height: 1.8;
}

.hero .btn-primary {
    background: var(--green-light);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 10px;
    transition: background var(--transition), transform 0.2s, box-shadow 0.2s;
}

.hero .btn-primary:hover {
    background: #1a8a4a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30,158,86,0.3);
}

.hero .btn-outline-light {
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-weight: 500;
    padding: 0.8rem 2rem;
    border-radius: 10px;
    transition: background var(--transition), border-color var(--transition);
}

.hero .btn-outline-light:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.5);
}

.region-tag {
    color: #5DD98A;
    font-weight: 600;
    font-size: 0.9rem;
}

.region-tag i {
    font-size: 1.1rem;
    margin-right: 0.4rem;
}

.hero-illustration {
    font-size: 12rem;
    color: rgba(93,217,138,0.15);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
    background: var(--green-dark);
    border-top: 1px solid rgba(30,158,86,0.1);
    border-bottom: 1px solid rgba(30,158,86,0.1);
}

.stat-item {
    padding: 0.5rem 0;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: #5DD98A;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
    margin-top: 0.25rem;
}

/* ============================================================
   SOBRE
   ============================================================ */
#sobre {
    background: #fff;
}

.section-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--green-mid);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--green-deep);
    margin-bottom: 1rem;
}

.section-sub {
    color: var(--muted);
    font-size: 1.05rem;
}

.sobre-visual {
    background: var(--green-deep);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.sobre-visual::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(30,158,86,0.15), transparent 70%);
}

.diffs-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.diffs-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
}

.diff-icon {
    width: 28px;
    height: 28px;
    background: rgba(93,217,138,0.12);
    border: 1px solid rgba(93,217,138,0.25);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #5DD98A;
    font-size: 0.9rem;
}

/* ============================================================
   SERVIÇOS
   ============================================================ */
#servicos {
    background: var(--off);
}

.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    height: 100%;
    transition: border-color var(--transition), box-shadow var(--transition), transform 0.3s ease;
}

.service-card:hover {
    border-color: var(--green-mid);
    box-shadow: 0 12px 40px rgba(11,61,34,0.08);
    transform: translateY(-6px);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.ic-a { background: #E6F5EC; color: #0F5C33; }
.ic-b { background: #EAF3FD; color: #1A7AC8; }
.ic-c { background: #F0ECFD; color: #6840CC; }
.ic-d { background: #E8F5EE; color: #157A43; }
.ic-e { background: #FEF4E5; color: #B86A00; }
.ic-f { background: #F5F0FD; color: #7530C8; }
.ic-g { background: #FDE8F0; color: #B83060; }
.ic-h { background: #E4F5EC; color: #0D7A3A; }

.service-tag {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--green-mid);
    opacity: 0.7;
}

.service-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green-deep);
    margin: 0.25rem 0 0.5rem;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.service-features {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.service-features li {
    font-size: 0.8rem;
    color: #4A6657;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.service-features li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green-mid);
    flex-shrink: 0;
    margin-top: 8px;
    opacity: 0.5;
}

/* ============================================================
   DIFERENCIAIS
   ============================================================ */
#diferenciais {
    background: var(--green-deep);
    position: relative;
    overflow: hidden;
}

#diferenciais::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(93,217,138,0.06), transparent 70%);
    pointer-events: none;
}

.diff-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(93,217,138,0.1);
    border-radius: 16px;
    padding: 1.75rem;
    height: 100%;
    transition: border-color var(--transition), background var(--transition), transform 0.3s;
}

.diff-card:hover {
    border-color: rgba(93,217,138,0.3);
    background: rgba(255,255,255,0.07);
    transform: translateY(-4px);
}

.diff-num {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: #5DD98A;
    opacity: 0.5;
    margin-bottom: 0.5rem;
}

.diff-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.diff-text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
}

.tech-row {
    border-top: 1px solid rgba(93,217,138,0.1);
    padding-top: 2rem;
    margin-top: 2rem;
}

.tech-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.3);
    margin-bottom: 1rem;
}

.tech-tag {
    display: inline-block;
    background: rgba(93,217,138,0.08);
    border: 1px solid rgba(93,217,138,0.15);
    color: #5DD98A;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.3rem 0.9rem;
    border-radius: 100px;
    margin: 0 0.25rem 0.5rem 0;
}

/* ============================================================
   CONTATO
   ============================================================ */
#contato {
    background: #fff;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-body);
    background: #fff;
    transition: border-color var(--transition), background var(--transition), transform 0.2s;
}

.contact-link:hover {
    transform: translateX(6px);
    background: var(--off);
    color: var(--text-body);
}

.contact-link.whatsapp:hover { border-color: #22C55E; }
.contact-link.email:hover { border-color: #3B82F6; }
.contact-link.instagram:hover { border-color: #E1306C; }

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.ci-whatsapp { background: #F0FDF4; color: #22C55E; }
.ci-email { background: #EFF6FF; color: #3B82F6; }
.ci-instagram { background: #FDF2F8; color: #E1306C; }

.contact-link-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--slate);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-link-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--green-deep);
}

.form-card {
    background: var(--off);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--green-deep);
    margin-bottom: 1.5rem;
}

.form-control, .form-select {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--green-mid);
    box-shadow: 0 0 0 3px rgba(21,122,67,0.1);
}

.btn-primary {
    background: var(--green-deep);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 10px;
    transition: background var(--transition), transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11,61,34,0.15);
    color: #fff;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: var(--green-deep);
    border-top: 1px solid rgba(93,217,138,0.08);
}

.brand-footer {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    letter-spacing: -0.5px;
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    margin-top: 0.25rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
    margin-left: 0.4rem;
}

.social-btn:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(93,217,138,0.3);
    color: #5DD98A;
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: #22C55E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 6px 30px rgba(34,197,94,0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    color: #fff;
    font-size: 2rem;
    animation: wa-pop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1s both;
}

@keyframes wa-pop {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 40px rgba(34,197,94,0.5);
    color: #fff;
}

.wa-tooltip {
    position: absolute;
    right: 72px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--green-deep);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.wa-float:hover .wa-tooltip {
    opacity: 1;
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 992px) {
    .hero {
        text-align: center;
        min-height: auto;
        padding: 5rem 0;
    }
    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }
    .hero .d-flex {
        justify-content: center;
    }
    .region-tag {
        justify-content: center;
    }
    .hero-illustration {
        display: none;
    }
}

@media (max-width: 768px) {
    .stat-item {
        padding: 0.25rem 0;
    }
    .stat-number {
        font-size: 1.6rem;
    }
    .sobre-visual {
        padding: 1.5rem;
    }
    .form-card {
        padding: 1.5rem;
    }
    .wa-float {
        width: 52px;
        height: 52px;
        font-size: 1.6rem;
        bottom: 20px;
        right: 20px;
    }
    .wa-tooltip {
        display: none;
    }
}

@media (max-width: 576px) {
    #mainNav .navbar-brand {
        font-size: 1.1rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero .btn {
        width: 100%;
        justify-content: center;
    }
    .contact-link {
        padding: 0.7rem 1rem;
    }
}