* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*body {*/
/*    font-family: Arial, sans-serif;*/
/*    padding-top: 30px;*/
/*    background-color: #f4f4f4;*/
/*    font-size: 16px;*/
/*}*/


#main-content {
    margin-top: 70px;
}

h1 {
    text-align: center;
    color: #333;
}

.form-banner-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.banner {
    width: 30%;
}

.banner-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.form-section {
    width: 70%;
    display: flex;
    flex-direction: column;
}

.form-fields {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.section {
    width: 45%;
}

.input-group {
    margin-bottom: 10px;
}

.input-container {
    position: relative;
}

.suggestions {
    position: absolute;
    bottom: 20%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1000;
}

.suggestions li {
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.suggestions li:hover {
    background: #f0f0f0;
}

.button-container {
    display: flex;
    gap: 10px;
}

button[type="button"] {
    background-color: #2196F3;
    color: white;
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

button[type="button"]:hover {
    background-color: #0b7dda;
}

.validate-address {
    margin-top: 10px;
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

.validate-address:hover {
    background-color: #45a049;
}

.selecionar-cotacao {
    background: linear-gradient(45deg, #00c6ff, #0072ff);
    border: none;
    padding: 8px 16px;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    margin-left: 10px;
    cursor: pointer;
    transition: 0.3s ease;
}

.selecionar-cotacao:hover {
    opacity: 0.8;
}

#resultado {
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #e3f2fd, #ffffff);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease-in-out;
}

#resultado h3 {
    text-align: center;
    color: #0d47a1;
    margin-bottom: 20px;
}

#resultado h4 {
    color: #1565c0;
    margin-top: 20px;
    margin-bottom: 10px;
}

#resultado ul {
    list-style: none;
    padding-left: 0;
}

#resultado li {
    background-color: #ffffffcc;
    margin-bottom: 12px;
    padding: 12px 18px;
    border-radius: 8px;
    border-left: 5px solid #2196F3;
    font-size: 1rem;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

#resultado li:hover {
    background-color: #e3f2fd;
}

/* FAQ Section */
section {
    display: flex;
    justify-content: center;
    padding: 0 16px;
}

.faq-conteiner-accordion {
    width: 100%;
    max-width: 800px;
    margin-top: 80px;
    margin-bottom: 60px;
}

.faq-conteiner-accordion h1 {
    text-align: center;
    color: #0d47a1;
    margin-bottom: 30px;
}

.accordion {
    background-color: #f1f1f1;
    color: #333;
    cursor: pointer;
    padding: 15px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: bold;
    transition: 0.4s;
    border-bottom: 1px solid #ddd;
    position: relative;
}

.accordion::after {
    content: '+';
    font-size: 18px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.accordion.active::after {
    content: '-';
}

.accordion.active {
    background-color: #e5e5e5;
}



.accordion {
    cursor: pointer;
    background-color: #eee;
    color: #444;
    padding: 16px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: background-color 0.3s ease;
    font-size: 16px;
    margin-top: 10px;
}

.accordion.active,
.accordion:hover {
    background-color: #ccc;
}

.panel {
    display: none;
    padding: 0 18px;
    background-color: #f9f9f9;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    margin-bottom: 10px;
}

.single-line-fields {
    display: flex;
    flex-wrap: 0.8rem;
    gap: 5px;
    align-items: center;
    margin-top: 10px;
}

.single-line-fields .input-group {
    flex: 1 1 auto;
    min-width: 125px;
}

.single-line-fields .checkbox-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

.single-line-fields input[type="number"],
.single-line-fields input[type="text"],
.single-line-fields button {
    width: 100%;
    padding: 1px 4px;
    box-sizing: border-box;
}



/* Responsive */
@media (max-width: 1024px) {
    nav ul li a {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    nav ul li a {
        font-size: 0.8rem;
    }

    .form-banner-container {
        flex-direction: column;
    }

    .banner, .form-section {
        width: 50%;
    }

    .form-container {
        flex-direction: column;
    }

    .section {
        width: 100%;
    }

    .button-container {
        flex-direction: column;
        align-items: center;
        padding-top: 5px;
    }

    body {
        padding-top: 50px;
    }

    #cotacaoForm {
        padding-top: 50px;
    }
}

@media (max-width: 600px) {
    #resultado {
        padding: 15px;
    }

    #resultado li {
        flex-direction: column;
        align-items: flex-start;
        font-size: 0.95rem;
    }

    #resultado li strong {
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    nav ul li a {
        font-size: 0.75rem;
    }
}

.video-background {
    position: relative;
    width: 100%;
    height: 70vh; /* Altura da viewport */
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover; /* Garante que o vídeo cubra toda a área */
}

/* Overlay para melhorar legibilidade do texto */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    padding-top: 20vh;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #845bfc;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #6a3df5;
}

@media (max-width: 768px) {
    .video-background {
        background: url('imagens/fallback-image.jpg') no-repeat center center;
        background-size: cover;
    }
    .video-background video {
        display: none;
    }
}
