:root {
    --primary: #059669;
    --primary-hover: #047857;
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 0px 0px 0px;
}

/* Header */
header {
    position: fixed;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
    padding: 0;
    transition: padding 0.3s;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0;
    transition: padding 0.3s;
}

.logo-box {
    background: var(--primary);
    padding: 2px;
    border-radius: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #ffffff;
    border-radius: 40px;
}

.logo-text {
    flex: 1;
    min-width: 0;
}

.logo-text b {
    font-weight: 800;
    font-size: 1.1rem;
}

.logo-text span {
    color: var(--primary);
}

.logo-sub {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-top: -4px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Botão Entrar - Desktop vs Mobile */
.btn-login-desktop {
    display: block;
}

.btn-login-mobile {
    display: none;
    width: 100%;
    margin-top: 0.5rem;
}

.mobile-login {
    display: none;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    position: relative;
    width: 28px;
    height: 22px;
    cursor: pointer;
    z-index: 1001;
    flex-shrink: 0;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text-dark);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all 0.3s ease-in-out;
}

.menu-toggle span:nth-child(1) {
    top: 0px;
}

.menu-toggle span:nth-child(2) {
    top: 9px;
}

.menu-toggle span:nth-child(3) {
    top: 18px;
}

.menu-toggle.active span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg);
}

/* Hero Section */
.hero {
    padding: 140px 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    background: #d1fae5;
    color: #065f46;
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 1.2rem;
    white-space: nowrap;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1.2rem;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.8rem;
    max-width: 500px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.8rem;
    border-radius: var(--radius);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 2rem;
    box-shadow: var(--shadow);
    object-fit: cover;
}

/* Services */
.services {
    padding: 60px 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 1.5rem;
    transition: all 0.3s;
    border: 1px solid #f1f5f9;
}

.service-card:hover {
    background: white;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(5, 150, 105, 0.1);
    color: var(--primary);
    border-radius: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.icon-box svg {
    width: 24px;
    height: 24px;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Tracking Section */
.tracking {
    background: #064e3b;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.tracking h2 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
}

.tracking > div > p {
    color: #a7f3d0;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.track-input-group {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    gap: 8px;
}

.track-input-group input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    outline: none;
    min-width: 0;
}

.track-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.track-input-group .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Contact Section */
#contato {
    padding: 80px 0;
}

#contato .container {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

#contato .section-title {
    margin-bottom: 2rem;
}

#contato .section-title h2 {
    font-size: 2rem;
}

#contato form {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
}

#contato form > div {
    margin-bottom: 1.2rem;
}

#contato label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: var(--text-dark);
}

#contato input,
#contato textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.7rem;
    border: 1px solid #e2e8f0;
    outline: none;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#contato input:focus,
#contato textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

#contato textarea {
    resize: vertical;
    min-height: 100px;
}

#contato button[type="submit"] {
    width: 100%;
    margin-top: 0.5rem;
}

/* Footer */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 50px 0;
    text-align: center;
}

footer .container {
    padding: 0 1.5rem;
}

footer h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

footer p {
    font-size: 0.85rem;
}

/* Responsive - Tablet */
@media (max-width: 952px) {
      .container {
        padding: 0px 2px 0px 2px;
    }

    /* Botão Entrar: esconde no header, mostra no menu */
    .btn-login-desktop {
        display: none;
    }

    .btn-login-mobile {
        display: block;
    }

    .mobile-login {
        display: block;
        margin-top: 0.5rem;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
        gap: 2rem;
    }

    .hero p {
        margin: 0 auto 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-visual {
        order: -1;
    }

    .hero-img {
        max-width: 350px;
        margin: 0 auto;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.2rem;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        display: flex;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .track-input-group {
        flex-direction: column;
        padding: 6px;
    }

    .track-input-group input {
        padding: 0.7rem;
        text-align: center;
    }

    .track-input-group .btn {
        width: 100%;
    }
}

/* Responsive - Mobile pequeno */
@media (max-width: 500px) {
    .container {
        padding: 0px 2px 0px 2px;
    }

    header {
        height: 70px;
    }

    .logo-box {
        width: 45px;
        height: 45px;
    }

    .logo-text b {
        font-size: 0.9rem;
    }

    .logo-text span {
        font-size: 0.9rem;
    }

    .logo-sub {
        font-size: 7px;
        letter-spacing: 0.5px;
    }

    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .badge {
        font-size: 11px;
        padding: 4px 10px;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .hero-img {
        max-width: 250px;
        border-radius: 1.5rem;
    }

    .section-title {
        margin-bottom: 2rem;
    }

    .section-title h2 {
        font-size: 1.4rem;
    }

    .section-title p {
        font-size: 0.9rem;
    }

    .services {
        padding: 40px 0;
    }

    .service-card {
        padding: 1.5rem;
        border-radius: 1.2rem;
    }

    .icon-box {
        width: 45px;
        height: 45px;
        margin-bottom: 1rem;
    }

    .icon-box svg {
        width: 22px;
        height: 22px;
    }

    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .service-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .tracking {
        padding: 50px 0;
    }

    .tracking h2 {
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
    }

    .tracking > div > p {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .track-input-group {
        padding: 5px;
        gap: 5px;
    }

    .track-input-group input {
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    .track-input-group input::placeholder {
        font-size: 0.85rem;
    }

    .track-input-group .btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    #contato {
        padding: 50px 0;
    }

    #contato .container {
        padding: 0 1rem;
    }

    #contato .section-title h2 {
        font-size: 1.4rem;
    }

    #contato form {
        padding: 1.5rem;
        border-radius: 1.2rem;
    }

    #contato label {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }

    #contato input,
    #contato textarea {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
        border-radius: 0.6rem;
    }

    footer {
        padding: 35px 0;
    }

    footer h3 {
        font-size: 1.1rem;
    }

    footer p {
        font-size: 0.75rem;
    }

    /* Menu mobile */
    .nav-links {
        top: 70px;
        padding: 1.5rem;
        gap: 0.8rem;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 0.6rem 0;
    }
}

/* Ajustes extras para telas muito pequenas */
@media (max-width: 350px) {
    .hero h1 {
        font-size: 1.3rem;
    }

    .badge {
        font-size: 10px;
    }

    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .logo-text b,
    .logo-text span {
        font-size: 0.8rem;
    }
}

/* Utilitários */
@media (max-width: 500px) {
    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-btns .btn {
        flex: 1;
    }
}
