/* Reset e configurações globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

.container.main-container {
    padding: 0 24px;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.top-bar {
    background: #efedea;
    border-bottom: 1px solid white;
    padding: 8px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    width: 100%;
    transition: top 0.3s ease;
}

.top-bar.scrolled {
    top: -37px;
}

.top-bar .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.accessibility {
    color: #0066cc;
    font-size: 14px;
    margin-right: 5px;
}

.dropdown-icon {
    color: #0066cc;
    font-size: 12px;
    display: inline-block;
    width: 12px;
    text-align: center;
}

.main-header {
    background: #f5f3f0;
    padding: 4px 0;
    border-bottom: 1px solid #ffd400;
    position: fixed;
    top: 37px;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    transition: top 0.3s ease;
}

.main-header.scrolled {
    top: 0;
}

.header-content {
    display: flex;
    align-items: center;
    height: 40px;
    position: relative;
    width: 100%;
}

.hamburger-menu {
    display: flex;
    flex-direction: column;
    gap: 3px;
    cursor: pointer;
    position: absolute;
    left: 20px;
    z-index: 2;
}

.hamburger-menu span {
    width: 20px;
    height: 3px;
    background-color: #3388dd;
    display: block;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.logo-img {
    height: 25px;
    width: auto;
    max-height: 30px;
}

/* Main Content */
.main-content {
    background: #f8f9fa;
    padding: 30px 0;
    min-height: calc(100vh - 200px);
    margin-top: 87px;
    transition: margin-top 0.3s ease;
}

.main-content.scrolled {
    margin-top: 50px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
    margin-left: 5px;
    margin-top: -44px;
}

.arrow {
    color: #0066cc;
    font-size: 46px;
    font-weight: 50;
    transform: translateY(-3px) translateX(4px);
}

.breadcrumb-text {
    color: #000000;
    font-size: 16px;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: #00416b;
    margin-bottom: 20px;
    margin-top: -44px;
}

/* Tracking Form */
.tracking-form {
    background: #e9ecef;
    padding: 1px 8px;
    border-radius: 2px;
    margin-bottom: 0px;
    max-width: 600px;
    margin-top: -12px;
}

.instruction {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.2;
}

.input-group {
    margin-bottom: 15px;
}

.tracking-input {
    width: 100%;
    padding: 11px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    box-shadow: 0 0 0 0 transparent;
}

.tracking-input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 1px #0066cc;
}

.input-limit {
    font-size: 16px;
    color: #000000;
    margin-top: -1px;
}

/* Captcha Section */
.captcha-section {
    margin-bottom: 25px;
    margin-top: -20px;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 0px;
    margin-bottom: 3px;
}

.captcha-image {
    background: transparent;
    padding: 0;
    border-radius: 0;
    width: 236px;
    height: 112px;
    object-fit: contain;
    border: none;
}

.captcha-controls {
    display: flex;
    flex-direction: column;
    gap: -5px;
}

.captcha-audio,
.captcha-refresh {
    background: transparent;
    border: none;
    color: white;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transform: translateY(5px);
}

.captcha-refresh {
    transform: translateY(-7px);
}

.captcha-audio:hover,
.captcha-refresh:hover {
    background: rgba(0, 102, 204, 0.1);
}

/* SVG dos ícones */
.captcha-audio svg,
.captcha-refresh svg {
    width: 20px;
    height: 20px;
}


.captcha-instruction {
    font-size: 16px;
    color: #000000;
    margin-bottom: 3px;
}

.captcha-input {
    width: 100%;
    padding: 11px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    box-shadow: 0 0 0 0 transparent;
}

.captcha-input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 1px #0066cc;
}

.consult-btn {
    background: #0066cc;
    color: white;
    border: 1px solid #3388dd;
    padding: 8px 15px;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    margin: -16px auto 25px auto;
    transform: translateY(10px);
}

.consult-btn:hover {
    background: #0052a3;
}

/* Banner Slider */
.banner-slider {
    position: relative;
    max-width: 600px;
    margin: 0 auto 30px auto;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    width: 300%;
    height: auto;
    transition: transform 0.5s ease-in-out;
}

.slide {
    width: 33.333%;
    height: auto;
    flex-shrink: 0;
    display: none;
}

.slide.active {
    display: block;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #333;
    font-size: 24px;
    font-weight: bold;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
}

.slider-arrow:hover {
    color: #666;
}

.slider-arrow.prev {
    left: 10px;
}

.slider-arrow.next {
    right: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Footer */
.footer {
    background: #ffe600;
    padding: 40px 0 0px;
}

.footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 26px;
    font-weight: 700;
    color: #003157;
    margin-bottom: 20px;
}

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

.footer-links li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #003157;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-links li:hover {
    color: #0066cc;
}

.footer-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.footer-copyright {
    background: #ffe600;
    border-top: 1px solid #ffe600;
    padding: 20px 0;
    text-align: center;
}

.footer-copyright p {
    color: #003157;
    font-size: 14px;
}

.footer-copyright {
    position: relative;
}

.footer-triangles {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 120px;
    pointer-events: none;
}

.triangle {
    position: absolute;
    width: 0;
    height: 0;
}

.triangle-1 {
    bottom: 0;
    right: 0;
    border-left: 80px solid transparent;
    border-bottom: 120px solid rgba(230, 184, 0, 0.4);
    z-index: 1;
}

.triangle-2 {
    bottom: 0;
    right: 30px;
    border-left: 50px solid transparent;
    border-bottom: 50px solid rgba(255, 204, 0, 0.4);
    z-index: 2;
}

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0066cc;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 9999;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9998;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hamburger-menu {
        left: 15px;
    }
    
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1;
    }
    
    .logo-img {
        height: 25px;
        max-height: 25px;
    }
    
    .tracking-form {
        padding: 8px;
    }
    
    .banner-slider {
        margin-bottom: 20px;
    }
    
    .slider-container {
        height: auto;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .slider-arrow.prev {
        left: 5px;
    }
    
    .slider-arrow.next {
        right: 5px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .footer .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .page-title {
        font-size: 24px;
    }
}
