*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body{
    background: #f5f5f5;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== HEADER ===== */
.menu-principal{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .8rem 1rem;
    background: #fff;
    box-shadow: 0 1px 8px rgba(0,0,0,.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.menu-principal img{
    height: 52px;
}

.menu-icone img{
    height: 28px;
    padding: 4px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.pesquisa{
    padding: .6rem 1rem;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.pesquisa select{
    margin-bottom: 5px;
    border: none;
    font-size: .75rem;
    color: #888;
}

.barra-pesquisa{
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.barra-pesquisa input{
    height: 36px;
    width: 100%;
    padding: 5px 12px;
    font-size: .8rem;
    border: none;
    outline: none;
    background: #fafafa;
}

.barra-pesquisa img{
    height: 36px;
    width: 36px;
    background: #e30613;
    padding: .5rem;
    cursor: pointer;
}

/* ===== RASTREIO ===== */
.rastreio{
    padding: 1.2rem 1rem;
    background: linear-gradient(135deg, #c21230, #e30613);
}

.rastreio input{
    height: 44px;
    width: 100%;
    padding: 8px 14px;
    font-size: .85rem;
    border-radius: 8px;
    border: none;
    outline: none;
    background: #fff;
    font-family: 'Montserrat', sans-serif;
}

.rastreio span{
    color: #fff;
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: -.3px;
}

.padding-padrao{
    padding: 0;
}

.formulario-consulta{
    display: flex;
    margin-top: 10px;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
}

.formulario-consulta input{
    border-radius: 8px 0 0 8px;
}

.formulario-consulta button{
    min-width: 110px;
    color: #fff;
    font-weight: 700;
    font-size: .8rem;
    background: #1a1a1a;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: background .2s;
    letter-spacing: .3px;
}

.formulario-consulta button:active{
    background: #333;
}

/* ===== BANNER ===== */
.banner-container {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 3 / 1;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    margin: 1rem auto;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

.banner-wrapper {
    display: flex;
    transition: transform 1s ease-in-out;
    height: 100%;
}

.banner-slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== SOBRE ===== */
.sobre{
    padding: 0 1.2rem;
    margin: 1.5rem 0;
}

.sobre img{
    height: 280px;
    border-radius: 16px;
    object-fit: cover;
}

.sobre header h1{
    margin: .8rem 0 1rem;
    letter-spacing: -1px;
    font-size: 1.4rem;
    line-height: 1.3;
    text-align: center;
    font-weight: 700;
    color: #1a1a1a;
}

.sobre-nos p{
    font-weight: 450;
    text-align: left;
    font-size: .85rem;
    color: #444;
    padding: .15rem 0;
    line-height: 1.5;
}

.sobre-nos{
    margin-bottom: 2rem;
}

.sobre-nos button{
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
    padding: .8rem;
    border: none;
    width: 100%;
    background: linear-gradient(135deg, #971533, #c21230);
    border-radius: 10px;
    cursor: pointer;
    margin-top: .8rem;
}

/* ===== NOTICIAS ===== */
.noticias{
    padding: 0 1.2rem;
    margin-bottom: 1rem;
}

.noticias img{
    width: 100%;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.noticias h1{
    font-size: 1.1rem;
    letter-spacing: -1px;
    font-weight: 700;
    text-align: left;
    margin-bottom: .8rem;
    color: #1a1a1a;
}

.noticias p{
    font-size: .8rem;
    text-align: left;
    color: #666;
}

/* ===== PARCEIROS ===== */
.parceiros{
    padding: 1.5rem 1.2rem;
}

.parceiros h1{
    font-size: 1.1rem;
    letter-spacing: -1px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.parceiros img{
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ===== FOOTER ===== */
footer{
    background: #1a1a1a;
    margin-top: 2rem;
}

.rodape{
    padding: 1.5rem 1.2rem 1rem;
    display: flex;
    flex-direction: column;
}

.rodape img{
    width: 80px;
    height: auto;
    margin-bottom: .8rem;
    opacity: .9;
}

.rodape a{
    text-decoration: none;
    color: #aaa;
    margin-bottom: .7rem;
    font-size: .78rem;
    transition: color .2s;
}

.rodape a:hover{
    color: #fff;
}

.rodape hr{
    border: none;
    border-top: 1px solid #333;
    margin-top: .5rem;
}

.rodape-fim{
    text-align: center;
    font-size: .7rem;
    padding: .8rem 1.2rem 1.2rem;
    color: #e30613;
}

/* ===== TRACKING CONTAINER ===== */
:root {
    --jadlog-primary: #e30613;
    --jadlog-secondary: #22c55e;
    --jadlog-light: #f8f9fa;
    --jadlog-dark: #1a1a1a;
    --jadlog-gray: #6b7280;
}

.jadlog-tracking-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 1.2rem;
    background: #fff;
    border-radius: 0;
    box-shadow: none;
}

.jadlog-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: .8rem;
    border-bottom: 1px solid #f0f0f0;
}

.jadlog-header h2 {
    color: var(--jadlog-primary);
    margin: 0;
    font-size: .95rem;
    text-align: center;
    font-weight: 800;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: -.3px;
}

.jadlog-tracking-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
}

.jadlog-tracking-number .label {
    font-weight: 500;
    font-size: .78rem;
    color: #555;
    line-height: 1.7;
}

.jadlog-tracking-number .label b {
    color: #1a1a1a;
    font-weight: 700;
}

/* ===== TIMELINE ===== */
.jadlog-tracking-timeline {
    position: relative;
    margin: 1.5rem 0;
}

.jadlog-tracking-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15px;
    height: 100%;
    width: 3px;
    background: linear-gradient(to top, var(--jadlog-secondary) 80%, var(--jadlog-primary) 80%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-left: 42px;
    margin-bottom: 1.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    font-size: 13px;
    color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

.timeline-item.completed .timeline-icon {
    background: var(--jadlog-secondary);
}

.timeline-item.current .timeline-icon {
    background: var(--jadlog-primary);
    animation: iconPulse 1.5s infinite;
}

@keyframes iconPulse {
    0% { box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.5); }
    70% { box-shadow: 0 0 0 8px rgba(227, 6, 19, 0); }
    100% { box-shadow: 0 0 0 0 rgba(227, 6, 19, 0); }
}

.timeline-content {
    padding: 0 0 0 .8rem;
}

.timeline-content h4 {
    margin: 0 0 2px;
    font-weight: 700;
    font-size: .85rem;
}

.timeline-item.completed .timeline-content h4 {
    color: var(--jadlog-secondary);
}

.timeline-item.current .timeline-content h4 {
    color: var(--jadlog-primary);
}

.timeline-content p {
    margin: 0 0 2px;
    color: #666;
    font-size: .78rem;
}

.timeline-date {
    font-size: .72rem;
    color: #999;
    font-weight: 500;
}

/* ===== FOOTER BUTTONS ===== */
.jadlog-footer {
    display: flex;
    justify-content: center;
    margin: 1.2rem 0;
    padding: 0;
    border: none;
}

.jadlog-btn {
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    background: #fff;
    color: var(--jadlog-gray);
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    text-align: center;
}

.jadlog-btn-primary {
    background: linear-gradient(135deg, #c21230, #e30613);
    color: white;
    box-shadow: 0 4px 15px rgba(227,6,19,.3);
    width: 100%;
    font-size: .95rem;
}

.jadlog-btn-primary:active {
    transform: scale(.98);
    box-shadow: 0 2px 8px rgba(227,6,19,.2);
}

/* ===== ALERT BAR ===== */
.alert-bar {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #fff;
    text-align: center;
    padding: .6rem 1rem;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .2px;
}

/* ===== INFO CARD ===== */
.info-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.2rem;
    margin: 1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
    border: 1px solid #f0f0f0;
}

.info-card h3 {
    font-size: .9rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: .8rem;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.info-card .row {
    display: flex;
    justify-content: space-between;
    padding: .4rem 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: .8rem;
}

.info-card .row:last-child {
    border-bottom: none;
}

.info-card .row .lbl {
    color: #888;
}

.info-card .row .val {
    color: #1a1a1a;
    font-weight: 600;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

/* ===== SUCCESS BADGE ===== */
.success-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    background: #f0fdf4;
    color: #16a34a;
    font-size: .72rem;
    font-weight: 700;
    padding: .3rem .7rem;
    border-radius: 20px;
    border: 1px solid #bbf7d0;
}

.pending-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    background: #fefce8;
    color: #ca8a04;
    font-size: .72rem;
    font-weight: 700;
    padding: .3rem .7rem;
    border-radius: 20px;
    border: 1px solid #fde68a;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .jadlog-tracking-info {
        flex-direction: column;
        align-items: flex-start;
    }
    .jadlog-footer {
        flex-direction: column;
    }
    .jadlog-btn {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .banner-container {
        height: 300px;
    }
    .jadlog-tracking-container {
        border-radius: 16px;
        margin: 1rem auto;
        box-shadow: 0 2px 20px rgba(0,0,0,.06);
    }
}

@media (min-width: 1024px) {
    .banner-container {
        height: 400px;
    }
}

/* ===== LOADING ===== */
#loading-overlay {
    position: fixed;
    inset: 0;
    background: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    flex-direction: column;
    gap: 20px;
}

.truck-track {
    width: 280px;
    height: 80px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.truck {
    width: 100px;
    height: 50px;
    position: absolute;
    bottom: 0;
    left: -120px;
    animation: truck-move 1.6s ease-in-out infinite;
}

.truck svg { width: 100px; height: 50px; display: block; }

@keyframes truck-move {
    0% { transform: translateX(-120px) rotateY(0deg); }
    25% { transform: translateX(70px) rotateY(0deg); }
    50% { transform: translateX(260px) rotateY(0deg); }
    60% { transform: translateX(260px) rotateY(180deg); }
    75% { transform: translateX(70px) rotateY(180deg); }
    100% { transform: translateX(-120px) rotateY(180deg); }
}

.loading-text {
    font-size: .95rem;
    color: #1a1a1a;
    font-weight: 700;
    text-align: center;
}

.sub-text {
    font-size: .78rem;
    color: #888;
    text-align: center;
}
