html { scroll-behavior: smooth; }
body { overflow-x: clip; }
.banner-content-con h1 { font-size: clamp(35px, 6vw, 126px); }
.banner-con .inner-wrap > .primary_btn { margin-bottom: clamp(18px, 2.3vw, 38px); }
.hero-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-left: 56px;
    color: #fff;
}
.hero-detail {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 12px;
    border: 1px solid #b9e7ff66;
    border-radius: 14px;
    background: #0a214180;
}
.hero-detail i { margin-top: 3px; color: #84e8fa; }
.hero-detail strong { display: block; font-size: 15px; line-height: 1.3; }
.hero-detail span { display: block; margin-top: 5px; font-size: 13px; line-height: 1.45; }
@media (max-width: 1199px) {
    .hero-details { margin-left: 0; }
}
@media (max-width: 991px) {
    .hero-details { margin-bottom: 20px; text-align: left; }
}
@media (max-width: 480px) {
    .hero-details { grid-template-columns: 1fr; }
}
#orcamento .quote-form { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.quote-grid label { display: block; color: #0a2141; font-weight: 700; }
.quote-grid input, .quote-grid select {
    width: 100%;
    min-width: 0;
    padding: 12px;
    border: 1px solid #bdc9d5;
    border-radius: 12px;
    background: #fff;
    color: #0a2141;
    font: inherit;
}
.quote-form button { margin-top: 22px; border: 0; }
.quote-form button:focus-visible, .whatsapp-flutuante:focus-visible { outline: 3px solid #0a2141; outline-offset: 3px; }
#quote-status:not(:empty) { margin-top: 12px; color: #0a2141; }
.whatsapp-flutuante {
    position: fixed;
    right: 22px;
    bottom: 91px;
    z-index: 90;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #16794a;
    color: #fff;
    box-shadow: 0 5px 16px #0a214150;
    font-size: 28px;
}
.whatsapp-flutuante:hover { color: #fff; background: #12613c; }
.whatsapp-flutuante::after {
    content:'';
    position: absolute;
    inset: 0;
    border: 2px solid #16794a;
    border-radius: inherit;
    pointer-events: none;
    animation: pulso 2.2s ease-out infinite;
}
@keyframes pulso {
    0% { transform: scale(1); opacity: .7; }
    75%, 100% { transform: scale(1.5); opacity: 0; }
}
@media (max-width: 767px) {
    .quote-grid { grid-template-columns: 1fr; }
    .banner-content-con h1 { font-size: clamp(35px, 8.3vw, 64px); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .whatsapp-flutuante::after { animation: none; }
}

.header-contact { margin-left: 18px; }
.header-contact .primary_btn { padding-right: 64px; white-space: nowrap; }
#button { right: 22px; bottom: 22px; width: 52px; height: 52px; }
.banner-content-con .banner-bottom,
.banner-content-con .inner-wrap,
.cta-inner-con .heading-title-con { min-width: 0; max-width: 100%; }
@media (max-width: 575px) {
    .banner-content-con .banner-bottom { margin-left: 0; margin-right: 0; }
    .banner-content-con .inner-wrap { width: 100%; }
    .cta-inner-con .heading-title-con > .d-flex { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 8px; }
    .cta-inner-con .primary_btn { margin-right: 0; }
    .whatsapp-flutuante, #button { right: 14px; }
}

.about-us-con { overflow: clip; }
#orcamento .quote-form { padding: clamp(18px, 3vw, 38px); background: #fff; border-radius: 20px; }
#orcamento .quote-form button { padding: 12px 22px; min-height: 48px; }
#orcamento .quote-form button i { margin-left: 5px; }
.quote-grid :is(input, select):focus-visible { outline: 2px solid #0a2141; outline-offset: 2px; }

/* Espaçamento comum às seções e aos títulos da landing. */
body { --section-space: clamp(36px, 5vw, 76px); }
body .padding-top { padding-top: var(--section-space) !important; }
body .padding-bottom { padding-bottom: var(--section-space) !important; }
body .spacer { height: clamp(16px, 2vw, 30px); }
body .heading-title-con { margin-bottom: clamp(24px, 3vw, 44px); }
body .services-con .owl-dots,
body .before-after-gallery-con .owl-dots { margin-top: 22px; }

#orcamento .quote-grid input,
#orcamento .quote-grid select { height: 52px; }
#orcamento .quote-form button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    margin: 24px auto 0;
    line-height: 1.25;
}
#orcamento .quote-form button i { margin-left: 0; }

.header-con .navbar-light .navbar-nav .nav-link {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}
@media (min-width: 992px) {
    .header-con .navbar-nav { gap: clamp(12px, 2vw, 32px); }
    .header-con .navbar-nav .nav-item { margin: 0; }
    .header-con .header-contact { margin-left: clamp(24px, 3vw, 48px); }
}
.header-contact .primary_btn { padding-left: 22px; }

.how-it-works-con .work-outer-con {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}
.how-it-works-con .inner-item { width: auto; margin: 0; }
.how-it-works-con .work-box { padding: 0 8px; }
.how-it-works-con .work-box figure { margin-bottom: 34px; }
.how-it-works-con .arrow1 {
    width: clamp(30px, 4vw, 70px);
    right: -9px;
    transform: translateX(50%);
}
@media (max-width: 991px) {
    .how-it-works-con .work-outer-con { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
    .how-it-works-con .inner-item > figure { display: none; }
}
@media (max-width: 575px) {
    .how-it-works-con .work-outer-con { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .how-it-works-con .inner-item:last-child { grid-column: 1 / -1; }
}

.services-con .service-card h3 { min-block-size: 2.4em; line-height: 1.2; }
.services-con .service-card p { min-block-size: 3em; line-height: 1.5; }

@media (max-width: 1199px) {
    .header-con .navbar-expand-lg .navbar-toggler {
        position: static;
        display: grid;
        place-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        margin-left: auto;
        padding: 0;
        border: 1px solid #cbd9e6;
        border-radius: 12px;
        transform: none;
    }
    .header-con .navbar-toggler .navbar-toggler-icon {
        width: 21px;
        height: 2px;
        margin: 0;
        background: #0a2141;
    }
    .header-con .navbar-toggler:focus-visible { outline: 2px solid #0a2141; outline-offset: 3px; }
    .header-con .navbar-expand-lg .navbar-collapse,
    .header-con .header-contact { display: none !important; }
}

html:has(#menu-lateral[open]) { overflow: hidden; }
#menu-lateral {
    position: fixed;
    inset: 0 0 0 auto;
    margin: 0;
    padding: 0;
    border: 0;
    width: min(88vw, 390px);
    max-width: 100%;
    height: 100%;
    height: 100dvh;
    max-height: none;
    overflow: hidden;
    background: #0a2141;
    color: white;
    border-radius: 22px 0 0 22px;
    box-shadow: -12px 0 40px #06132655;
}
#menu-lateral[open] { animation: menu-deslizar .25s ease-out; }
#menu-lateral::backdrop { background: #06132699; }
@keyframes menu-deslizar {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}
.menu-lateral-conteudo { display: flex; flex-direction: column; height: 100%; }
.menu-lateral-topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 22px;
    border-bottom: 1px solid #ffffff26;
}
.menu-lateral-topo img { max-width: 62%; height: auto; }
.menu-lateral-fechar {
    width: 44px;
    height: 44px;
    border: 1px solid #ffffff52;
    border-radius: 50%;
    background: transparent;
    color: white;
    font-size: 26px;
    line-height: 1;
}
#menu-lateral nav { flex: 1; min-height: 0; overflow-y: auto; padding: 24px 22px; }
#menu-lateral-titulo {
    color: #72dff5;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: .12em;
    text-transform: uppercase;
}
#menu-lateral .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid #ffffff26;
    color: white;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
}
.menu-lateral-rodape {
    padding: 16px 22px calc(16px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #ffffff26;
}
.menu-lateral-rodape a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 10px;
    border-radius: 28px;
    background: #16794a;
    color: white;
    font-weight: 700;
    text-align: center;
}
#menu-lateral :is(a, button):focus-visible { outline: 2px solid #72dff5; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
    #menu-lateral[open] { animation: none; }
}
