/* Reset and Base Styles */
body {
    margin: 0;
    font-family: sans-serif;
}

/* Layout Components */
.container-fluid {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

h1, h2, h3, h4, p {
    margin: 0;
    padding: 0;
}

.container {
    width: 80%;
    margin: 0 auto;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.row-nowrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.col-20 { width: 20%; }
.col-25 { width: 25%; }
.col-30 { width: 30%; }
.col-40 { width: 40%; }
.col-50 { width: 50%; }
.col-60 { width: 60%; }
.col-70 { width: 70%; }
.col-33 { width: 33.33%; }

.text {
    line-height: 1.6;
    padding: 0 1rem;
}

.list{
    text-align: left;
}

/* Navigation Styles */
.primary-nav {
    background-color: #f2f3f5;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.primary-nav img {
    height: 45px;
    width: auto;
}

.secondary-nav {
    background-color: #1e3799;
    padding: 0;
}

.secondary-nav .container {
    display: flex;
    justify-content: center;
}

/* Navigation Links */
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-links li {
    position: relative;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 2rem;
    display: inline-block;
    font-size: 1rem;
    text-align: center;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #e2e2e2;
}

/* Navigation Separators */
.nav-links li::before,
.nav-links li:first-child::before,
.nav-links li:last-child::after {
    content: "";
    position: absolute;
    top: 25%;
    bottom: 25%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.5);
}

.nav-links li::before,
.nav-links li:first-child::before {
    left: 0;
}

.nav-links li:last-child::after {
    right: -1px;
}

/* Banner Section */
.banner-form {
    background: url('../img/banner-catraca.webp') center/cover no-repeat;
    position: relative;
}

.hero-tagline{
    font-size: 1.5rem;
    text-align: left;
    padding:2rem 0;
}
.title-banner {
    color: #1e3799;
    font-weight: bold;
    text-align: center;
}

/* Form Styles */
.form-top {
    color: #1a2f81;
    background-color: rgb(241, 241, 241, 0.6);
    padding: 1rem;
    margin: 3rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

}

.form-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(54, 65, 129, 0.8);
    padding: 1em;
    margin-bottom: 3rem;
    border: 3px solid white;
    border-radius: 8px 0 0 8px;

}

.form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.inp-form {
    width: 100%;
    padding: 0.6rem 0;
    margin-bottom: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
    text-indent: 10px;
}

.btn-form {
    background-color: #00cdff;
    color: white;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 2rem;
}
.btn-form:hover {
    background-color: #00b3e6;
}

/* Feedback Styles */
.form-message {
    margin-top: 1rem;
    font-size: 1rem;
    text-align: center;
    font-weight: bold;
}
.form-message.error {
    color: #c0392b;
}
.form-message.success {
    color: #27ae60;
}
.input-error {
    border-color: #c0392b !important;
    background: #fff6f6;
}

/* Utility Classes */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.form-group {
    width: 100%;
}

/* Background */
.default-background {
    background-image: url('../img/background-default.webp');
    background-repeat: repeat;
}

/* Main Features */
.main-features {
    padding: 2rem 0;
}

.title-section {
    color: #1e3799;
    font-weight: bold;
    text-align: center;
}

.feature-item > img {
    width: 70px;
    height: 70px;
}

.text-list {
    width: 75%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.text-list > h3 {
    font-size: 1.2rem;
    font-weight: bold;
    width: 100%;
    text-align: left;
}

.text-list > p {
    font-weight: normal;
    font-size: 0.8rem;
    width: 100%;
    text-align: left;
}

/* Access Control Locations */
.locations {
    background-color: white;
    padding: 2rem 1rem;
    border-radius: 8px 8px 0 0;
}

.acess-control-location,.final-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 1rem;
}

.acess-control-location > h2 {
    margin: 0 0 2rem 0;
    font-size: 1rem;
}

.acess-control-location > h3{
    margin-top:0.5rem;
    color:#424345ff
}
.acess-control-location > img {
    width: 100%;
    max-width: 380px;
}

/* Equipment Section */
.equipment {
    background-color: white;
    padding: 2rem 1rem;
    border-radius: 0 0 8px 8px;
}

.blue-line {
    height: 5px;
    width: 85%;
    max-width: 600px;
    background-color: #41a4db;
}

.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    color: #444872;
    text-align: center;
}

.btn-form-2 {
    background-color: #1e3799;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.btn-form-2:hover {
    background-color: #364181;
}

/* Testimonials */
.testimonials-section {
    padding: 3rem 0;
}

.testimonial-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2%;
}

.testimonial-card {
    background-color: #f9f9f9;
    border-radius: 25px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    margin: 1rem 0;
    max-width: 300px;
}

.testimonial-stars {
    width: 100px;
    height: auto;
    margin: 1rem auto;
}

.testimonial-name {
    font-weight: bold;
    color: #1e3799;
    margin-bottom: 0.5rem;
}

.testimonial-company {
    font-size: 0.9rem;
    color: #777;
    font-style: normal;
    margin-bottom: 0.8rem;
    display: block;
}

.testimonial-card blockquote {
    font-style: italic;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
    margin: 1rem 0;
    padding: 0 1rem;
}

.final-form h2{
    font-size: 2rem;
    color: #1e3799;
    font-weight: bold;
    margin: 2rem 0;
}
.final-form img{
    position:relative;
    top:40px;
}
.line-yellow{
    width: 70%;
    height: 2px;
    background-color: #e2cb7aff;
    margin: 0.5rem 0;
}
.footer{
    /* background com efeito passando da cor #5ca9d2ff para a cor #2f3242ff de cima pra baixo */
    background: linear-gradient(to bottom, #42a4dbff, #1f3286ff);
    color: white;
    padding: 2rem 0;
    text-align: left;
}
.centralize-footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.text-footer h2{
    text-align: center;
    font-weight: normal;
}
.text-contact h2{
    font-weight: normal;
    font-size: 1rem;

}
.modal-form-bg {
    position: fixed; z-index: 9999; left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center;
}
.modal-form-content {
    background: #fff; padding: 2rem; border-radius: 10px; max-width: 400px; width: 100%; position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    animation: modalIn 0.4s cubic-bezier(.68,-0.55,.27,1.55);
}
.modal-close {
    position: absolute; top: 10px; right: 15px; background: none; border: none; font-size: 2rem; color: #1e3799; cursor: pointer;
}
@keyframes modalIn {
    0% { transform: scale(0.7) translateY(60px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}
/* Responsive */
@media (max-width: 1024px) {
    .col-50, .col-33, .col-30, .col-25, .col-20, .col-40, .col-70 {
        width: 100%;
        max-width: 100%;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
    }

    .row, .row-nowrap {
        justify-content: center;
    }

    .testimonial-cards {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .form-content {
        border-radius: 8px;
    }

    .blue-line {
        max-width: 100%;
    }

    .text-list {
        align-items: center;
        text-align: center;
    }

    .text-list > h3,
    .text-list > p {
        text-align: center;
    }
}
