:root {
    --hi-font-body: 'Source Sans 3', system-ui, sans-serif;
    --hi-font-display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
    --hi-black: #0d0d0f;
    --hi-graphite: #1a1a1e;
    --hi-red: #e50914;
    --hi-red-dark: #b80710;
    --hi-white: #fff;
    --hi-ice: #f5f5f7;
}
body { font-family: var(--hi-font-body); color: var(--hi-graphite); }
.hi-loading-screen {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 16px;
    background: var(--hi-black);
    color: var(--hi-white);
    font-size: 0.9375rem;
}
body:has(> .hi-loading-screen) { overflow: hidden; }
.hi-loading-screen img { object-fit: contain; }
.hi-loading-track {
    position: relative;
    width: 120px;
    height: 3px;
    overflow: hidden;
    border-radius: 3px;
    background: #38383d;
}
.hi-loading-track::after {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 45%;
    border-radius: inherit;
    background: var(--hi-red);
    animation: hi-loading-sweep 1s ease-in-out infinite alternate;
}
@keyframes hi-loading-sweep {
    to { transform: translateX(122%); }
}
@media (prefers-reduced-motion: reduce) {
    .hi-loading-track::after { animation: none; }
}
.hi-loyalty-notice {
    width: min(420px, calc(100% - 32px));
    max-height: calc(100% - 32px);
    padding: clamp(22px, 5vw, 36px);
    border: 1px solid #48484e;
    border-top: 3px solid var(--hi-red);
    border-radius: 16px;
    background: var(--hi-graphite);
    color: var(--hi-white);
    box-shadow: 0 20px 60px #0006;
}
.hi-loyalty-notice::backdrop { background: rgba(13, 13, 15, .7); }
.hi-loyalty-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border: 1px solid #78343d;
    border-radius: 12px;
    background: linear-gradient(145deg, #54232b, #32171c);
    color: #ff8d96;
    font-size: 25px;
}
.hi-loyalty-notice h2 { margin: 0 0 10px; font-size: clamp(30px, 6vw, 40px); }
.hi-loyalty-notice p { margin: 0; font-size: 18px; line-height: 1.45; }
.hi-loyalty-notice strong { color: #ffb2b9; }
.hi-loyalty-notice button {
    width: 100%;
    margin-top: 24px;
    padding: 11px 16px;
    border: 0;
    border-radius: 8px;
    background: var(--hi-red-dark);
    color: var(--hi-white);
    font-weight: 700;
}
.hi-loyalty-notice button:hover { background: #990912; }
.hi-loyalty-notice button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
h1, h2, h3, h4, h5, .aboutleft h3 {
    font-family: var(--hi-font-display);
    font-weight: 700;
    letter-spacing: .01em;
}
h1, h2, .banner_text h3, .w3l-heading h3, .statbottom h3 { font-weight: 800; }
html { scroll-padding-top: 84px; }
.banner .header {
    position: fixed;
    inset: 0 0 auto;
    border-bottom: 1px solid #38383d;
}
body .header:has(.hi-navbar) {
    padding: 0;
    background: #1a1a1e;
    border-bottom: 1px solid #38383d;
}
.hi-navbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 68px;
}
.hi-navbar a { text-decoration: none; }
.hi-navbar :is(a, button):focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}
.hi-nav-brand {
    justify-self: start;
    color: #f5f5f7;
    white-space: nowrap;
    font: 800 34px/1 var(--hi-font-display);
    letter-spacing: -.035em;
}
.hi-nav-brand:hover, .hi-nav-brand:focus { color: #fff; }
.hi-nav-brand span { color: var(--hi-red); }
.hi-nav-toggle { display: none; }
.hi-nav-links {
    grid-column: 2;
    display: flex;
    gap: clamp(12px, 2vw, 32px);
    margin: 0;
    padding: 0;
    list-style: none;
}
.hi-nav-links a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 8px;
    color: #d2d2d7;
    font-size: 16px;
    font-weight: 600;
}
.hi-nav-links a:hover,
.hi-nav-links a[aria-current] { color: #fff; }
.hi-nav-links a[aria-current]::after {
    position: absolute;
    right: 8px;
    bottom: 4px;
    left: 8px;
    height: 2px;
    background: var(--hi-red);
    content: "";
}
.hi-nav-quote {
    grid-column: 3;
    justify-self: end;
}
.hi-nav-quote, .hi-welcome-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 6px;
    background: #c40a15;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}
:is(.hi-nav-quote, .hi-welcome-cta):is(:hover, :focus) {
    background: #a90710;
    color: #fff;
}
.hi-welcome-contact { margin: 14px 0 20px; }
.hi-welcome-contact p {
    margin: 0 0 10px;
    font: inherit;
    text-transform: none;
}
.hi-welcome-cta { text-decoration: none; }
@media (min-width: 768px) {
    .hi-navbar .hi-nav-menu {
        display: contents;
    }
}
@media (max-width: 767px) {
    .hi-navbar {
        grid-template-columns: 1fr auto;
        grid-template-rows: minmax(64px, auto) auto;
    }
    .hi-nav-brand { font-size: 30px; }
    .hi-nav-toggle {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        min-height: 44px;
        padding: 0 12px;
        border: 1px solid #54545b;
        border-radius: 6px;
        background: transparent;
        color: #fff;
        font-weight: 600;
    }
    .hi-nav-icon {
        width: 16px;
        height: 9px;
        border-block: 2px solid currentColor;
    }
    .hi-nav-toggle[aria-expanded="true"] { background: #35353a; }
    .hi-nav-menu { grid-column: 1 / -1; }
    .hi-nav-links {
        flex-direction: column;
        gap: 0;
        padding-top: 6px;
        border-top: 1px solid #38383d;
    }
    .hi-nav-links a[aria-current]::after {
        right: auto;
        width: 26px;
    }
    .hi-nav-quote {
        display: flex;
        width: 100%;
        margin: 8px 0 14px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hi-nav-menu.collapsing { transition: none; }
}

.banner1 { background: #151519; }
.hi-about .banner1 { background: linear-gradient(120deg, #0d0d0f 42%, #3c1218); }
.hi-contact .banner1 {
    min-height: 0;
    background: #101014;
}
.hi-contact .banner1 .wthree-different-dot1 { min-height: 0; }
.hi-contact .contact-hero {
    position: relative;
    padding-top: clamp(112px, 14vw, 176px);
    padding-bottom: clamp(40px, 6vw, 78px);
}
.hi-contact .banner1 .wthree-different-dot1 {
    background: linear-gradient(90deg, #10101455, transparent 62%),
        url("../images/banner-contatos-panoramico.jpg") 78% center / cover no-repeat #101014;
    min-height: 22vw;
}
.hi-contact .contact-hero h2 {
    margin: 0;
    padding: 0;
    color: #fff;
    text-align: left;
    font-size: clamp(48px, 8vw, 90px);
    line-height: 1;
}
.hi-contact .contact-hero p {
    max-width: 26ch;
    margin: 10px 0 0;
    color: #f5f5f7;
    font-size: clamp(17px, 2.2vw, 24px);
    line-height: 1.35;
}
.banner1 .wthree-different-dot1 { background: none; }
#slider4 > li#callbacks1_s0 { background: url(../images/hero-hi-tech.jpg) 72% center / cover no-repeat; }
#slider4 > li#callbacks1_s1 { background: url(../images/tela.jpg) center / cover no-repeat; }
#slider4 > li#callbacks1_s2 { background: url(../images/carga.jpg) center / cover no-repeat; }
#slider4 > li#callbacks1_s3 { background: url(../images/diagnostico.jpg) center / cover no-repeat; }
.hi-index .banner .banner-top .wthree-different-dot {
    background: linear-gradient(90deg, rgba(13,13,15,.98) 3%, rgba(13,13,15,.8) 42%, rgba(13,13,15,.23) 100%);
}
.banner_text { text-align: left; padding: clamp(150px, 22vw, 270px) 0 clamp(120px, 15vw, 220px); }
.banner_text h2, .banner_text h3 {
    max-width: 630px;
    font-size: clamp(42px, 7vw, 100px);
    line-height: .94;
}
.banner_text .more-button { text-align: left; }
.banner_text span { border-bottom: 2px solid var(--hi-red); }
.about, .services, .team-section { padding: clamp(48px, 7vw, 100px) 0; }
.aboutright img { width: 100%; margin: 20px 0 0; }
.services {
    background: radial-gradient(ellipse at 50% 0%, #302126, #111114 68%);
}
.wthree-services-icon, .services .wthree-services-icon {
    background: #29191e;
    border: 1px solid #71333b;
}
.services .wthree-services-icon i.fa { color: #ff6068; }
.team-section { background: var(--hi-ice); }
.team-section .team-img img.peripheral-render {
    transition: transform .3s ease;
}
@media (hover: hover) {
    .team-section .team-grids:hover .peripheral-render { transform: translateY(-6px) scale(1.03); }
}
.team-section .team-grids .captn { display: none; }
.aboutpage h3, .agileits_agile_about h3 { color: var(--hi-graphite); }
.aboutpage .quote-banner { width: min(100%, 520px); height: auto; }
.aboutpageleft, .aboutpagemiddle, .aboutpageright {
    padding: 24px;
    border-top: 2px solid var(--hi-red);
    color: #4c4c53;
    font-size: 16px;
    line-height: 1.65;
}
.agileits_agile_about_mail td { vertical-align: top; }
.agileits_agile_about_mail input, .agileits_agile_about_mail textarea { border-radius: 8px; }
@media (max-width: 767px) {
    .banner_text { padding-inline: 24px; }
    .agileits_agile_about_mail table, .agileits_agile_about_mail tbody,
    .agileits_agile_about_mail tr, .agileits_agile_about_mail td { display: block; width: 100%; }
}
@keyframes hi-arrive {
    from { opacity: .3; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes hi-service-icon-arrive {
    0% { opacity: .35; transform: translateY(12px) scale(.95); }
    55% { opacity: 1; transform: translateY(0) scale(1.04); filter: drop-shadow(0 0 10px #e50914); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: none; }
}
@keyframes hi-scroll-uncover {
    from { opacity: 0; transform: translateY(30px); clip-path: inset(0 0 100%); }
    to { opacity: 1; transform: translateY(0); clip-path: inset(0 0 0); }
}
@media (prefers-reduced-motion: no-preference) {
    .hi-arrive { animation: hi-arrive .6s ease both; }
    .hi-scroll-reveal:not(.hi-arrive) { opacity: 0; }
    .hi-scroll-reveal.hi-arrive {
        animation: hi-scroll-uncover .75s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms) backwards;
    }
    #welcome .container > h3 + h3, .statbottom p { --reveal-delay: 90ms; }
    #welcome .aboutright img, .statbottom p + p { --reveal-delay: 160ms; }
    .statbottom p + p + p { --reveal-delay: 230ms; }
    #services .wthree-services-grid:nth-child(2n) { --reveal-delay: 90ms; }
    @media (min-width: 992px) {
        #services .wthree-services-grid:nth-child(3) { --reveal-delay: 180ms; }
        #services .wthree-services-grid:nth-child(4) { --reveal-delay: 270ms; }
    }
    #services .hi-arrive .service-art {
        animation: hi-service-icon-arrive .58s ease-out var(--reveal-delay, 0ms) both;
    }
    .callbacks1_on .banner_text h2, .callbacks1_on .banner_text h3 { animation: hi-arrive .55s ease both; }
}
@media (prefers-reduced-motion: reduce) {
    .peripheral-render, .banner_text a { transition: none; }
}

/* Altura comum aos slides e controles do carrossel */
#slider4 {
    height: clamp(540px, 56vw, 700px);
}
#slider4 > li,
#slider4 > li > .wthree-different-dot {
    height: 100%;
}
#slider4 .banner_text {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 84px 0 68px;
}
#slider4 .banner_text h2,
#slider4 .banner_text h3 {
    font-size: clamp(40px, 6.4vw, 92px);
}
.hi-index .callbacks_container .callbacks_tabs {
    inset: auto auto 18px 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 4px;
    width: auto;
    margin: 0;
    padding: 0;
}
.hi-index .callbacks_tabs li { display: block; margin: 0; }
.hi-index .callbacks_tabs a {
    visibility: visible;
    font-size: 0;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
}
.hi-index .callbacks_tabs a::after {
    content: "";
    display: block;
    width: 20px;
    height: 3px;
    border: 0;
    border-radius: 4px;
    background: rgba(255,255,255,.55);
}
.hi-index .callbacks_tabs .callbacks_here a::after {
    width: 25px;
    background: var(--hi-red);
}
@media (max-width: 767px) {
    #slider4 { height: 520px; }
    #slider4 .banner_text { padding-inline: 20px; }
}

/* Serviços: duas fileiras no desktop e quatro no celular e tablet. */
#services .services-grids {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(36px, 6vw, 80px) 16px;
}
#services .services-bottom-grids { display: contents; }
#services .services-grids .clearfix { display: none; }
#services .wthree-services-grid {
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
    padding-inline: 4px;
}
#services .wthree-services-info h5 {
    line-height: 1.3;
    overflow-wrap: anywhere;
}
@media (max-width: 991px) {
    #services .services-grids {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

#slider4 .hero-logo {
    display: block;
    width: clamp(58px, 7vw, 88px);
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
}

.team-section .team-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}
.team-section .team-row > .clearfix { display: none; }
.team-section .team-row > .team-grids {
    flex: 0 0 calc((100% - 64px) / 5);
    float: none;
    width: auto;
    height: auto;
    min-width: 0;
    margin: 0;
}
.hi-index .team-section .team-row .team-img {
    border-radius: 16px 16px 0 0;
    background: rgba(245, 245, 247, .25);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    box-shadow:
        inset 0 0 0 1px rgba(102, 102, 110, .2),
        inset 2px 2px 2px rgba(255, 255, 255, .9),
        inset -1px -1px 2px rgba(255, 255, 255, .65);
}
.hi-index .team-section .team-row .peripheral-render {
    background: transparent;
}
@supports (backdrop-filter: url("#parts-glass-distortion")) {
    .hi-index .team-section .team-row .team-img {
        backdrop-filter: blur(3px) url("#parts-glass-distortion");
    }
}
.team-section .team-row .peripheral-render {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
}
@media (max-width: 991px) {
    .team-section .team-row > .team-grids {
        flex-basis: calc((100% - 32px) / 3);
    }
}
@media (max-width: 599px) {
    .team-section .team-row > .team-grids {
        flex-basis: calc((100% - 16px) / 2);
    }
}

/* O segundo conjunto completa a volta na mesma posição do primeiro. */
.parts-carousel.is-looping {
    overflow: hidden;
    overflow: clip;
    padding-block: 6px;
}
@media (prefers-reduced-motion: no-preference) {
    .parts-carousel.is-looping {
        position: relative;
        --carousel-fade: clamp(20px, 6vw, 88px);
    }
    .parts-carousel.is-looping::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        background: linear-gradient(
            to right,
            #fff,
            transparent var(--carousel-fade),
            transparent calc(100% - var(--carousel-fade)),
            #fff
        );
    }
}
.parts-carousel.is-looping .team-row {
    --parts-gap: 16px;
    width: max-content;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: var(--parts-gap);
    animation: parts-loop 48s linear infinite;
}
.parts-carousel.is-looping .team-row > .team-grids {
    flex: 0 0 clamp(144px, 24vw, 220px);
}
.parts-carousel.is-paused .team-row {
    animation-play-state: paused;
}
.parts-carousel-control {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.parts-carousel-control:focus-visible {
    outline: 2px solid var(--hi-red);
    outline-offset: -3px;
}

@keyframes parts-loop {
    to { transform: translateX(calc(-50% - var(--parts-gap) / 2)); }
}
@media (prefers-reduced-motion: reduce) {
    .parts-carousel.is-looping { overflow-x: auto; }
    .parts-carousel.is-looping .team-row { animation: none; }
    .parts-carousel [data-part-copy] { display: none; }
}

/* Mostra apenas os losangos da arte, sobre o fundo atual da seção. */
#services .wthree-services-grid .service-art,
#services .wthree-services-grid:hover .service-art {
    width: clamp(96px, 13vw, 128px);
    height: auto;
    aspect-ratio: 1;
    margin: 0 auto 24px;
    padding: 0;
    border: 0;
    border-radius: 0;
    transform: none;
    background-color: transparent;
    background-image: url(../images/servicos-icones.png);
    background-repeat: no-repeat;
    clip-path: polygon(
        41% 5%, 45% 2%, 50% 1%, 55% 2%, 59% 5%,
        95% 41%, 98% 45%, 99% 50%, 98% 55%, 95% 59%,
        59% 95%, 55% 98%, 50% 99%, 45% 98%, 41% 95%,
        5% 59%, 2% 55%, 1% 50%, 2% 45%, 5% 41%
    );
}
#services .service-art--display {
    background-size: 847.783% 450.246%;
    background-position: 10.870% 24.332%;
}
#services .service-art--touch {
    background-size: 843.627% 448.039%;
    background-position: 37.113% 24.366%;
}
#services .service-art--software {
    background-size: 839.512% 448.039%;
    background-position: 63.852% 24.366%;
}
#services .service-art--desbloqueio {
    background-size: 843.627% 448.039%;
    background-position: 89.914% 24.366%;
}
#services .service-art--conector {
    background-size: 847.783% 452.475%;
    background-position: 11.067% 76.826%;
}
#services .service-art--desoxidacao {
    background-size: 839.512% 450.246%;
    background-position: 37.071% 76.934%;
}
#services .service-art--recuperacao {
    background-size: 843.627% 450.246%;
    background-position: 63.810% 76.934%;
}
#services .service-art--diagnostico {
    background-size: 843.627% 450.246%;
    background-position: 89.782% 76.934%;
}

.team-section .accessories-heading {
    margin-top: clamp(34px, 6vw, 68px);
}
.parts-carousel.is-looping .team-row[data-direction="right"] {
    animation: accessories-loop 42s linear infinite;
}
.parts-carousel.is-paused .team-row[data-direction="right"] {
    animation-play-state: paused;
}
@keyframes accessories-loop {
    from { transform: translateX(calc((100% + var(--parts-gap)) / -3)); }
    to { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
    .parts-carousel.is-looping .team-row[data-direction="right"] { animation: none; }
}

.hi-index .team-section {
    background: #fff;
}
.hi-index .statbottom {
    background-image: linear-gradient(rgba(13, 13, 15, .58), rgba(13, 13, 15, .72)), url(../images/historia-hi-tech.jpg);
}
.hi-index .statbottom p {
    padding-bottom: 0;
}
.hi-index .statbottom p + p {
    border-top: 0;
}

.hi-footer {
    overflow: hidden;
    padding-top: clamp(36px, 6vw, 72px);
    background: var(--hi-black);
    color: var(--hi-ice);
}
.hi-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .75fr 1fr;
    gap: 28px;
}
.hi-footer h2 {
    margin: 0 0 10px;
    color: var(--hi-white);
    font-size: 19px;
}
.hi-footer a {
    display: block;
    width: fit-content;
    margin-bottom: 6px;
    color: var(--hi-ice);
}
.hi-footer a:hover, .hi-footer a:focus-visible {
    color: #ff737a;
    text-decoration: underline;
}
.hi-footer .hi-footer-brand {
    font-family: var(--hi-font-display);
    font-size: 28px;
    font-weight: 700;
}
.hi-footer-logo {
    display: block;
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 8px;
}
@media (min-width: 621px) {
    .hi-footer-grid > :not(:first-child) { padding-top: 68px; }
}
.hi-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.hi-footer-socials a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0;
    border: 1px solid #414146;
    border-radius: 10px;
    background: var(--hi-graphite);
    font-size: 19px;
}
.hi-footer-socials a:hover,
.hi-footer-socials a:focus-visible {
    border-color: var(--hi-red);
    text-decoration: none;
}
.hi-footer p { color: #bcbcc4; }
.hi-footer .hi-footer-legal {
    margin: 24px 0 0;
    padding-top: 14px;
    border-top: 1px solid #34343a;
    font-size: 13px;
}
.hi-footer-credit { white-space: nowrap; }
.hi-footer .hi-footer-credit a {
    display: inline;
    color: #f5f5f7;
    text-decoration: underline;
    text-underline-offset: .2em;
}
.hi-footer .hi-footer-credit a:hover { color: #ff8b90; }
.hi-footer-wordmark {
    position: relative;
    margin: 8px 0 -.15em;
    color: #ed5059;
    font-family: var(--hi-font-display);
    font-size: clamp(62px, 22vw, 280px);
    font-weight: 800;
    line-height: .9;
    letter-spacing: -.055em;
    text-align: center;
    white-space: nowrap;
    user-select: none;
}
.hi-footer-wordmark.is-interactive {
    color: transparent;
    background: none;
}
.hi-footer-wordmark canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
@supports (background-clip: text) {
    .hi-footer-wordmark {
        background: radial-gradient(circle, #ed5059 1.1px, transparent 1.4px) 0 0 / 3.5px 3.5px;
        background-clip: text;
        color: transparent;
    }
}
@media (max-width: 620px) {
    .hi-footer-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
    .hi-footer-grid > :first-child { grid-column: 1 / -1; }
    .hi-footer-wordmark { font-size: 21vw; }
}

/* O plugin controla a visibilidade e a rolagem. A seta é desenhada em CSS. */
#toTop {
    right: clamp(16px, 2.5vw, 32px);
    bottom: 24px;
    width: 48px;
    height: 48px;
    border: 1px solid #414148;
    border-radius: 14px;
    background: var(--hi-graphite);
    color: #fff;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(13, 13, 15, .2);
    transition: background-color .2s ease, border-color .2s ease;
}
#toTop::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 53%;
    width: 12px;
    height: 12px;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
    transform: translate(-50%, -35%) rotate(45deg);
}
#toTopHover { display: none; }
#toTop:hover, #toTop:focus-visible {
    background: var(--hi-red-dark);
    border-color: var(--hi-red);
}
#toTop:focus-visible {
    outline: 2px solid var(--hi-red);
    outline-offset: 3px;
}

/* Página de Serviços */
.hi-about .banner1 {
    min-height: 22vw;
    background: linear-gradient(90deg, #10101455, transparent 62%),
        url("../images/banner-servicos-panoramico.jpg") 78% center / cover no-repeat #101014;
}
.hi-about .wthree-different-dot1 { min-height: 0; }
.hi-about .service-hero {
    padding-top: clamp(114px, 14vw, 180px);
    padding-bottom: clamp(36px, 6vw, 78px);
}
.hi-about .service-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(48px, 8vw, 90px);
}
.hi-about .service-hero p {
    max-width: 26ch;
    margin: 10px 0 0;
    color: #f5f5f7;
    font-size: clamp(17px, 2.2vw, 24px);
    line-height: 1.35;
}
@media (max-width: 991px) {
    .hi-about .banner1,
    .hi-contact .banner1 .wthree-different-dot1 {
        min-height: 0;
        background: #101014;
    }
    .hi-about .banner1 .wthree-different-dot1,
    .hi-contact .banner1 .wthree-different-dot1 {
        padding-top: 74px;
    }
    .hi-about .service-hero,
    .hi-contact .contact-hero {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        min-height: clamp(146px, 31vw, 300px);
        padding: 16px clamp(14px, 5vw, 48px);
        background: linear-gradient(90deg, #101014aa, transparent 64%),
            var(--mobile-banner-photo) 78% center / cover no-repeat #101014;
    }
    .hi-about .service-hero { --mobile-banner-photo: url("../images/banner-servicos-panoramico.jpg"); }
    .hi-contact .contact-hero { --mobile-banner-photo: url("../images/banner-contatos-panoramico.jpg"); }
    .hi-about .service-hero h1,
    .hi-contact .contact-hero h2 {
        font-size: clamp(30px, 6.4vw, 64px);
        line-height: 1.05;
    }
    .hi-about .service-hero p,
    .hi-contact .contact-hero p {
        width: 54%;
        margin-top: 6px;
        font-size: clamp(13px, 2.35vw, 21px);
    }
}
.hi-about .aboutpage { background: var(--hi-ice); padding-block: clamp(42px, 7vw, 92px); }
.hi-about .service-intro { margin-bottom: clamp(30px, 5vw, 56px); }
.hi-about .service-intro h2 { font-size: clamp(30px, 4vw, 48px); margin: 0 0 10px; }
.hi-about .service-intro p { color: #4c4c53; }
.hi-about .service-quote {
    display: inline-block;
    margin: 16px 0 8px;
    padding: 12px 20px;
    border-radius: 8px;
    background: var(--hi-red-dark);
    color: #fff;
    font-weight: 700;
}
.hi-about .service-quote:hover { background: #990912; }
.hi-about .service-quote-note { font-size: 14px; }
.hi-about .service-categories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.hi-about .service-categories article {
    margin: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid #dedee3;
    border-top: 3px solid var(--hi-red-dark);
    border-radius: 12px;
}
.hi-about .service-categories i { color: var(--hi-red-dark); font-size: 26px; }
.hi-about .service-categories h3 { margin: 12px 0 8px; font-size: 26px; text-transform: none; }
.hi-about .service-categories p { margin: 0; color: #4c4c53; font-size: 16px; line-height: 1.6; text-transform: none; }
@media (max-width: 767px) {
    .hi-about .service-categories { grid-template-columns: 1fr; }
}

.hi-about .service-photos .service-photo-card {
    padding: 0;
    overflow: hidden;
}
.hi-about .service-photo-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.hi-about .service-photo-copy { padding: 22px; }
.hi-about .service-photo-copy h3 { margin-top: 0; }

.hi-about .service-photo-focus { overflow: hidden; }
.hi-about .service-photo-focus img {
    transform: scale(1.12);
    transform-origin: 47% 56%;
}

/* Contact page */
.hi-contact-panel {
    background: #f5f5f7;
    padding: clamp(44px, 7vw, 88px) 0;
    color: #1a1a1e;
}
.hi-contact-panel h3 {
    margin: 0 0 24px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1;
}
.hi-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
    gap: 18px;
}
.hi-contact-details,
.hi-contact-form {
    min-width: 0;
    padding: clamp(20px, 3vw, 36px);
    border-radius: 16px;
}
.hi-contact-details {
    display: flex;
    flex-direction: column;
    background: #1a1a1e;
    color: #fff;
    border-top: 3px solid #e50914;
}
.hi-contact-channel,
.hi-contact-loyalty {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 14px 0;
}
.hi-contact-channel + .hi-contact-channel {
    border-top: 1px solid #45454d;
}
.hi-contact-channel > i,
.hi-contact-loyalty > i {
    display: grid;
    place-items: center;
    height: 34px;
    border-radius: 8px;
    background: #392127;
    color: #ff747a;
    font-size: 17px;
}
.hi-contact-details h4 {
    margin: 0 0 4px;
    color: #d6d6dd;
    font-size: 16px;
}
.hi-contact-details a {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    overflow-wrap: anywhere;
}
.hi-contact-details a:hover { text-decoration: underline; }
.hi-contact-loyalty { margin-top: auto; }
.hi-contact-loyalty p {
    margin: 0;
    color: #d6d6dd;
    line-height: 1.55;
}
.hi-contact-form {
    background: #fff;
    border: 1px solid #dedee4;
}
.hi-contact-form h4 {
    margin: 0 0 8px;
    color: #1a1a1e;
    font-size: 28px;
}
.hi-contact-form p {
    margin: 0 0 20px;
    color: #66666e;
    line-height: 1.55;
}
.hi-contact-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.hi-contact-fields label {
    display: block;
    min-width: 0;
    margin: 0;
    font-size: 14px;
}
.hi-contact-wide { grid-column: 1 / -1; }
.hi-contact-fields input,
.hi-contact-fields textarea {
    display: block;
    width: 100%;
    margin-top: 5px;
    padding: 10px 12px;
    border: 1px solid #92929c;
    border-radius: 8px;
    background: #f5f5f7;
    color: #1a1a1e;
    font: inherit;
    font-weight: 400;
}
.hi-contact-fields textarea { resize: vertical; }
.hi-contact-form button {
    min-height: 44px;
    margin-top: 18px;
    padding: 10px 18px;
    border: 0;
    border-radius: 8px;
    background: #d30812;
    color: #fff;
    font-weight: 700;
}
.hi-contact-form button:hover { background: #b80710; }
.hi-contact-panel :focus-visible {
    outline: 2px solid #d30812;
    outline-offset: 3px;
}
.hi-contact-details :focus-visible { outline-color: #ff747a; }
@media (max-width: 767px) {
    .hi-contact-grid { grid-template-columns: minmax(0, 1fr); }
    .hi-contact-form button { width: 100%; }
}
@media (max-width: 479px) {
    .hi-contact-fields { grid-template-columns: minmax(0, 1fr); }
}
.hi-map-section {
    background: #f5f5f7;
    padding-bottom: clamp(36px, 5vw, 64px);
}
.hi-map-card {
    max-width: 900px;
    margin-inline: auto;
    padding: clamp(12px, 2vw, 18px);
    border-top: 3px solid #e50914;
    border-radius: 16px;
    background: #1a1a1e;
    color: #fff;
}
.hi-map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 16px;
    padding: 2px 4px 12px;
}
.hi-map-header h3 {
    margin: 0;
    color: #fff;
    font-size: 24px;
}
.hi-map-header h3 i { color: #ff747a; }
.hi-map-header a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.hi-map-header a:focus-visible {
    outline: 2px solid #ff747a;
    outline-offset: 3px;
}
.hi-map-card iframe {
    display: block;
    width: 100%;
    height: clamp(200px, 29vw, 290px);
    border-radius: 10px;
    background: #303038;
}
