html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
}

body {
    padding-top: 100px;
    padding-bottom: 0;
    background: linear-gradient(180deg, #edf3f8 0%, #f8fbfe 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #24384f;
}

.navbar {
    padding-top: 10px;
    padding-bottom: 10px;
    min-height: 90px;
}

.navbar-brand {
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
}

/* .hero-section {
    display: flex;
    align-items: stretch;
    gap: 30px;
    min-height: 620px;
    margin: 0 auto;
    padding: 24px 40px 40px;
    width: 100%;
    max-width: none;
}

.hero-left {
    height: 20%;
}

.hero-right {
    align-items: center;
    justify-content: center;
    padding-left: 10px;
    height: 80%;
} */

.hero-section {
    display: flex;
    align-items: stretch;
    gap: 20px;
    min-height: 480px;
    margin: 0 auto;
    padding: 16px 30px 30px;
    width: 95%;
    max-width: none;
}

.hero-left {
    flex: 1.5;
}

.hero-right {
    flex: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 10px;

}

.banner {
    width: 100%;
    min-height: 620px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(24, 55, 93, 0.95), rgba(58, 100, 146, 0.86)),
        url('images/caminhao.jpg') center center/cover no-repeat;
    display: flex;
    align-items: flex-start;
    padding-top: 20px;
    justify-content: flex-start;
    padding: 60px 58px;
    color: #fff;
    box-shadow: 0 24px 60px rgba(19, 43, 75, 0.16);
}

.banner::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -140px;
    top: -120px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 72%);
    animation: floatSoft 8s ease-in-out infinite;
}

.banner::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    left: -120px;
    bottom: -120px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0) 72%);
    animation: floatSoft 10s ease-in-out infinite reverse;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.banner-content {
    max-width: 680px;
    position: relative;
    z-index: 2;
    text-align: left;
    margin: 0;
}

.hero-badge {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
    backdrop-filter: blur(8px);
}

.banner h1 {
    font-size: 44px;
    line-height: 1.08;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.banner p {
    font-size: 18px;
    line-height: 1.75;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.92);
    max-width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #326496;
    padding: 15px 30px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.btn:hover {
    transform: translateY(-3px);
    background: #f8fbff;
    color: #214369;
    text-decoration: none;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.22);
}

.modulos {
    width: 100%;
    padding: 34px 40px 30px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(210, 220, 232, 0.95);
    border-radius: 30px;
    box-shadow: 0 24px 60px rgba(29, 52, 84, 0.10);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.modulos::before {
    content: "";
    position: absolute;
    inset: 0 0 auto auto;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(50, 100, 150, 0.08) 0%, rgba(50, 100, 150, 0) 72%);
    pointer-events: none;
}

.modulos-header {
    text-align: left;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.modulos-header h2 {
    font-size: 28px;
    color: #1f4368;
    font-weight: 800;
    margin-bottom: 8px;
    margin-top: 20px;
}

.modulos-header p {
    font-size: 15px;
    color: #627387;
    margin: 0;
}

.modulos-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.modulo-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    border: 1px solid #dbe6f0;
    border-radius: 24px;
    padding: 20px 18px;
    min-height: 225px;
    box-shadow: 0 10px 24px rgba(35, 56, 86, 0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.modulo-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    background: linear-gradient(90deg, #326496, #6c91bb);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.28s ease;
}

.modulo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 34px rgba(35, 56, 86, 0.10);
    border-color: #c4d6e7;
    text-decoration: none;
    color: inherit;
}

.modulo-card:hover::after {
    transform: scaleX(1);
}

.modulo-card i {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 29px;
    color: #3a6492;
    background: linear-gradient(180deg, #edf4fb 0%, #dfeaf7 100%);
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, color 0.3s ease;
}

.modulo-card:hover i {
    transform: translateY(-2px) scale(1.05);
    color: #2f5683;
}

.modulo-card i.fa-barcode::after {
    content: "";
    position: absolute;
    left: -5px;
    right: -5px;
    top: 50%;
    height: 2px;
    background: #2f5d90;
    animation: scan 2s infinite;
}

.modulo-card h3 {
    font-size: 16px;
    color: #1f3f60;
    font-weight: 800;
    margin-bottom: 6px;
}

.sub-itens {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sub-itens li {
    font-size: 14.5px;
    color: #41586e;
    margin: 0;
    padding-left: 20px;
    line-height: 1.6;
    position: relative;
    text-align: left;
}

.sub-itens li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(180deg, #4f79a8 0%, #2f5d90 100%);
    box-shadow: 0 0 0 4px rgba(79, 121, 168, 0.12);
}

/* .aviso-wrapper {
    width: 95%;
    max-width: none;
    margin: 20px 0 0 0;
    border-radius: 24px;
    padding: 28px 30px 28px 34px;
    font-size: 15px;
    line-height: 1.8;
    box-shadow: 0 18px 36px rgba(24, 47, 81, 0.08);
    position: relative;
    color: #54687d !important;
    overflow: hidden;
    background: #fff;
}
  */

.aviso-wrapper {
    width: calc(100% + 50px);
    max-width: none;
    height: auto;
    margin: 20px 0 0 0;
    line-height: 2;
    position: relative;
    left: -25px;
}

.aviso-coletor {
    max-width: 90%;
    margin: auto;
    border-radius: 24px;
    /* padding: 28px 30px 28px 34px; */
    font-size: 15px;
    line-height: 1.8;
    box-shadow: 0 18px 36px rgba(24, 47, 81, 0.08);
    position: relative;
    color: #54687d !important;
    overflow: hidden;
}

.aviso-linha {
    position: absolute;
    left: 0;
    top: 22px;
    bottom: 22px;
    width: 5px;
    border-radius: 0 10px 10px 0;
    background: linear-gradient(180deg, #326496 0%, #6d8fb7 100%);
}

.modulos-detalhes {
    padding: 30px 32px 52px;
}

.modulos-detalhes .container {
    max-width: 1450px;
    margin: 0 auto;
}

.detalhes-topo {
    text-align: center;
    margin-bottom: 30px;
}

.detalhes-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #e9f1f9;
    color: #326496;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.detalhes-topo h2 {
    font-size: 38px;
    line-height: 1.15;
    color: #1f4368;
    font-weight: 800;
    margin-bottom: 10px;
}

.detalhes-topo p {
    margin: 0;
    color: #66788d;
    font-size: 16px;
}

.detalhe-modulo {
    display: grid;
    grid-template-columns: minmax(360px, 42%) 58%;
    gap: 32px;
    align-items: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 251, 255, 0.98) 100%);
    border: 1px solid #dbe6f0;
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 18px 40px rgba(29, 52, 84, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.detalhe-modulo:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 46px rgba(29, 52, 84, 0.10);
}

.detalhe-modulo::before {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    right: -90px;
    top: -90px;
    background: radial-gradient(circle, rgba(50, 100, 150, 0.08) 0%, rgba(50, 100, 150, 0) 72%);
}

.detalhe-modulo.destaque {
    border-color: #c7d8e8;
    box-shadow: 0 22px 48px rgba(29, 52, 84, 0.11);
}

.detalhe-imagem {
    min-height: 340px;
    border-radius: 20px;
    background: linear-gradient(135deg, #edf4fb 0%, #dfeaf7 100%);
    border: 1px solid #d5e2ef;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 26px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.detalhe-imagem::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.32);
    top: -80px;
    right: -70px;
}

.imagem-icone {
    width: 92px;
    height: 92px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.58);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.imagem-icone i {
    font-size: 44px;
    color: #326496;
}

.imagem-texto {
    position: relative;
    z-index: 1;
    color: #57728f;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    max-width: 240px;
}

.detalhe-conteudo {
    position: relative;
    z-index: 1;
}

.detalhe-tag {
    display: inline-block;
    margin-bottom: 14px;
    background: #edf4fb;
    color: #326496;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.detalhe-conteudo h3 {
    font-size: 34px;
    line-height: 1.14;
    font-weight: 800;
    color: #1f4368;
    margin-bottom: 14px;
}

.detalhe-conteudo p {
    font-size: 17px;
    line-height: 1.85;
    color: #4a6078;
    margin: 0 0 18px;
    max-width: 620px;
}

.detalhe-pontos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detalhe-pontos span {
    display: inline-flex;
    align-items: center;
    padding: 11px 16px;
    border-radius: 999px;
    background: #f0f5fb;
    border: 1px solid #d9e4ef;
    color: #325271;
    font-size: 13px;
    font-weight: 700;
}

.btn-whats-banner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-whats-banner i {
    font-size: 18px;
    color: #25d366;
}

.btn-topo,
.btn-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(180deg, #326496 0%, #244c78 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(28, 58, 94, 0.24);
    z-index: 998;
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.btn-topo i {
    font-size: 18px;
}

.btn-whatsapp i {
    font-size: 30px;
}

.btn-topo:hover {
    transform: translateY(-4px);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 18px 34px rgba(28, 58, 94, 0.32);
    background: linear-gradient(180deg, #3b6ea3 0%, #244c78 100%);
}

.footer {
    width: 100%;
    background: #326496;
    color: #fff;
    padding: 16px 0;
    margin-top: 14px;
}

.footer-container {
    display: flex;
    justify-content: center;
    gap: 42px;
}

.footer-item {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.footer-item i {
    transition: transform 0.25s ease, color 0.25s ease;
}

.footer-item:hover {
    color: #dbe9f7;
    transform: translateY(-2px);
    text-decoration: none;
}

.footer-item:hover i {
    transform: scale(1.15);
    color: #ffffff;
}

.footer-item .fa-whatsapp {
    color: #25d366;
}

.footer-item:hover .fa-whatsapp {
    color: #25d366;
}

.box-cookies {
    position: fixed;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 999;
    width: min(96%, 720px);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(50, 100, 150, 0.14);
    border-radius: 18px;
    box-shadow: 0 18px 38px rgba(19, 44, 85, 0.12);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.box-cookies.hide {
    display: none;
}

.box-cookies p {
    margin: 0;
    font-size: 14px;
    color: #33475a;
    line-height: 1.5;
}

.btn-cookies {
    border: 0;
    background: #326496;
    color: #fff;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.btn-cookies:hover {
    background: #214369;
    transform: translateY(-1px);
}

.btn-whatsapp {
    right: 85px;
    background: #25d366;
    color: #fff !important;
}

.btn-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
    color: #fff !important;
}


.footer-credit {
    font-size: 13px;
    color: #0059ff;
}

@media (max-width: 768px) {
    .whatsapp-float-text span {
        display: none;
    }

    .whatsapp-float-text {
        width: 56px;
        height: 56px;
        padding: 0;
        border-radius: 50%;
    }
}

@media (max-width: 1280px) {
    .hero-section {
        flex-direction: column;
    }

    .banner,
    .modulos {
        min-height: auto;
    }

    .modulos-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .detalhe-modulo {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 90px;
    }

    .hero-section {
        padding: 14px 12px 26px;
        gap: 18px;
    }

    .banner {
        min-height: 490px;
        padding: 40px 26px;
        border-radius: 24px;
    }

    .banner h1 {
        font-size: 34px;
    }

    .banner p {
        font-size: 16px;
    }

    .modulos {
        padding: 24px 18px 22px;
        border-radius: 24px;
    }

    .modulos-header h2 {
        font-size: 24px;
    }

    .modulos-grid {
        grid-template-columns: 1fr;
    }

    .detalhes-topo h2 {
        font-size: 28px;
    }

    .detalhe-modulo {
        padding: 20px;
        border-radius: 24px;
    }

    .detalhe-imagem {
        min-height: 220px;
        border-radius: 20px;
    }

    .detalhe-conteudo h3 {
        font-size: 26px;
    }

    .detalhe-conteudo p {
        font-size: 15px;
    }




    .btn-topo,
    .btn-whatsapp {
        bottom: 16px;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-topo {
        right: 16px;
    }

    .btn-whatsapp {
        right: 76px;
    }

    .btn-topo i,
    .btn-whatsapp i {
        font-size: 22px;
        line-height: 1;
    }

    /* ajuste fino do ícone */
    .btn-whatsapp i {
        transform: translateY(-1px);
    }

    .footer-container {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .footer-item {
        font-size: 14px;
    }

    .box-cookies {
        flex-direction: column;
        align-items: flex-start;
    }



}

@keyframes scan {
    0% {
        transform: translateY(-12px);
        opacity: 0.3;
    }

    50% {
        transform: translateY(12px);
        opacity: 1;
    }

    100% {
        transform: translateY(-12px);
        opacity: 0.3;
    }
}

@keyframes floatSoft {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(0px);
    }
}