/********** Template CSS **********/
:root {
    --primary: #FF800F;
    --secondary: #001064;
    --light: #F6F7F8;
    --dark: #010A35;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover,
.btn.btn-secondary,
.btn.btn-outline-secondary:hover {
    color: #FFFFFF;
}

.btn.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand img {
    max-height: 60px;
}

.navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 10px 0;
    color: #696E77;
    font-weight: 400;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-brand img {
        max-height: 45px;
    }

    .navbar .navbar-nav {
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .navbar .nav-item .dropdown-menu {
        padding-left: 30px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(1, 10, 53, .8);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--dark);
    border: 12px solid var(--dark);
    border-radius: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(1, 10, 53, .8), rgba(1, 10, 53, .8)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item a,
.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item a:hover,
.page-header .breadcrumb-item.active {
    color: var(--primary);
}


/*** Facts ***/
.facts {
    background: rgba(1, 10, 53, .8);
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .container.quote .quote-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }

    .container.quote .quote-form {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .container.quote .quote-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }

    .container.quote .quote-form  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .container.quote .quote-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }

    .container.quote .quote-form  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

.container.quote .quote-text {
    background: rgba(1, 10, 53, .8);
}

.container.quote .quote-form {
    background: rgba(255, 255, 255, .8);
}

.container.quote .quote-text .h-100,
.container.quote .quote-form .h-100 {
    padding: 6rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/*** Service ***/
.service-item .service-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item .service-icon img {
    max-width: 60px;
    max-height: 60px;
}


/*** Team ***/
.team-item .team-img::before,
.team-item .team-img::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(1, 10, 53, .8);
    transition: .5s;
}

.team-item .team-img::after {
    left: auto;
    right: 0;
}

.team-item:hover .team-img::before,
.team-item:hover .team-img::after {
    width: 50%;
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}


/*** Testimonial ***/
.animated.pulse {
    animation-duration: 1.5s;
}

.testimonial-left,
.testimonial-right {
    position: relative;
}

.testimonial-left img,
.testimonial-right img {
    position: absolute;
    border-radius: 70px;
}

.testimonial-left img:nth-child(1),
.testimonial-right img:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-left img:nth-child(2),
.testimonial-right img:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.testimonial-left img:nth-child(3),
.testimonial-right img:nth-child(1) {
    width: 50px;
    height: 50px;
    bottom: 10%;
    right: 10%;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
    border-radius: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}


/*** Footer ***/
.footer {
    color: #7F8499;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #7F8499;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #7F8499;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: #7F8499;
    border: 1px solid #7F8499;
}

.footer .btn.btn-square:hover {
    color: var(--light);
    border-color: var(--primary);
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--primary);
}

.footer .copyright a:hover {
    color: #FFFFFF;
}
/* ===== Personal Tech custom layer ===== */
:root {
    --primary: #0D6EFD;
    --secondary: #123A72;
    --light: #F4F7FB;
    --dark: #071A3D;
}

html { scroll-behavior: smooth; }
body { color: #46515f; }

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 1.25rem;
}
.brand-mark-light { background: rgba(255,255,255,.12); }
.brand-title { font-family: "Roboto Slab", serif; font-size: 1.26rem; font-weight: 800; color: var(--dark); }
.brand-subtitle { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: #6f7a88; }

.hero-tech {
    min-height: 700px;
    position: relative;
    overflow: hidden;
    background-image:
        linear-gradient(115deg, rgba(4, 15, 35, .88) 0%, rgba(6, 24, 55, .82) 38%, rgba(10, 42, 96, .62) 72%, rgba(13, 110, 253, .38) 100%),
        url("../img/hero-bg.webp");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.hero-tech::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
    background-size: 42px 42px;
    pointer-events: none;
}
.hero-tech .container { z-index: 1; }
.min-vh-75 { min-height: 75vh; }
.text-white-75 { color: rgba(255,255,255,.78); }
.hero-trust { color: rgba(255,255,255,.85); font-size: .95rem; }
.hero-trust i { color: #7fb3ff; }
.hero-card {
    max-width: 390px;
    margin-left: auto;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 24px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 55px rgba(0,0,0,.22);
}
.hero-card-icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    color: #fff;
    background: rgba(13,110,253,.8);
    font-size: 2rem;
}

.section-kicker {
    color: var(--primary);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: .75rem;
}
.tech-photo-card,
.video-placeholder {
    min-height: 410px;
    border-radius: 24px;
    overflow: hidden;
}
.tech-photo-card {
    background: #eef4fb;
    border: 1px solid #dbe8f7;
    box-shadow: 0 18px 42px rgba(7,26,61,.08);
}
.tech-photo-image {
    display: block;
    width: 100%;
    min-height: 410px;
    object-fit: cover;
}
.video-placeholder {
    border: 1px dashed #9fb2ca;
    background: linear-gradient(145deg, #eef4fb, #dbe8f7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: #53677e;
}
.video-placeholder i { font-size: 5rem; color: #dc3545; margin-bottom: 1.25rem; }
.feature-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    margin-right: 1rem;
    display: grid;
    place-items: center;
    background: rgba(13,110,253,.1);
    color: var(--primary);
}

.facts { background: linear-gradient(120deg, #071A3D, #123A72); }

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e5ebf2;
    border-radius: 20px;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(13,110,253,.25);
    box-shadow: 0 18px 42px rgba(7,26,61,.12);
}
.service-image-wrap {
    position: relative;
    overflow: hidden;
    background: #edf3f9;
}
.service-image {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform .35s ease;
}
.service-card:hover .service-image {
    transform: scale(1.035);
}
.service-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.65rem;
}
.service-card-body h4 {
    margin-bottom: .8rem;
}
.service-card-body p {
    flex: 1;
    color: #607086;
    margin-bottom: 1.2rem;
}
.service-card a { font-weight: 600; }
.service-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: .45rem .8rem;
    border-radius: 999px;
    background: #ffc107;
    color: #071a3d;
    font-size: .56rem;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(0,0,0,.18);
}
@media (max-width: 575.98px) {
    .service-image { height: 205px; }
}

.process-card {
    height: 100%;
    padding: 1.65rem;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(7,26,61,.06);
}
.process-card > span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
}

.review-placeholder {
    height: 100%;
    padding: 2rem;
    border-radius: 18px;
    color: rgba(255,255,255,.85);
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
}
.review-placeholder .stars { color: #ffc107; letter-spacing: .12em; margin-bottom: 1rem; }

.catalog-card {
    padding: 3rem;
    border-radius: 24px;
    background: linear-gradient(135deg, #f1f6fd, #e8f0fb);
    border: 1px solid #dbe8f7;
}
.cta-tech { background: linear-gradient(120deg, #0d6efd, #123a72); }
.footer-contact { color: #9fa6b2; }
.footer-contact:hover { color: #fff; }

.whatsapp-float {
    position: fixed;
    right: 30px;
    bottom: 90px;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    font-size: 1.8rem;
    z-index: 100;
    box-shadow: 0 12px 30px rgba(0,0,0,.22);
    transition: transform .2s ease;
}
.whatsapp-float:hover { color: #fff; transform: translateY(-3px); }

@media (max-width: 991.98px) {
    .hero-tech { min-height: 620px; }
    .hero-tech h1 { font-size: 2.6rem; }
    .catalog-card { padding: 2rem; }
}

@media (max-width: 575.98px) {
    .brand-title { font-size: 1.25rem; }
    .brand-mark { width: 40px; height: 40px; }
    .hero-tech { min-height: 650px; }
    .hero-tech h1 { font-size: 2.2rem; }
    .hero-trust > div { margin-bottom: .35rem; }
    .tech-photo-placeholder, .video-placeholder { min-height: 300px; }
    .whatsapp-float { right: 18px; bottom: 82px; width: 54px; height: 54px; }
}

/* Personal Tech logo */
.navbar .navbar-brand .site-logo {
    width: 54px;
    height: 54px;
    max-height: none;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(7, 26, 61, .10);
    flex-shrink: 0;
}

.footer-logo {
    width: 78px;
    height: 78px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .20);
    flex-shrink: 0;
}

@media (max-width: 991.98px) {
    .navbar .navbar-brand .site-logo {
        width: 50px;
        height: 50px;
        max-height: none;
        border-radius: 50%;
    }
    .brand-name { font-size: 1.08rem; }
    .brand-tagline { font-size: .60rem; letter-spacing: .08em; }
}

@media (max-width: 575.98px) {
    .brand-name { font-size: .94rem; }
    .brand-tagline { font-size: .56rem; margin-top: .20rem; }
    .footer-brand-name { font-size: 1.22rem; }
    .footer-brand-tagline { font-size: .64rem; }
    .footer-logo { width: 68px; height: 68px; }
}


/* Google review summary */
.google-review-summary {
    max-width: 680px;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: rgba(255,255,255,.05);
}
.google-review-summary .stars {
    color: #fbbc04;
    letter-spacing: .15rem;
}
.google-rating {
    color: #fff;
    font-family: 'Roboto Slab', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1;
}


.review-grid {
    margin-top: 1.25rem;
}
.review-card {
    height: 100%;
    padding: 1.5rem;
    border-radius: 18px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 14px 30px rgba(0,0,0,.12);
}
.review-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.review-card h5 {
    color: #fff;
    font-size: 1.05rem;
}
.review-card small {
    color: rgba(255,255,255,.65);
}
.review-stars {
    color: #fbbc04;
    letter-spacing: .08rem;
    white-space: nowrap;
    font-size: .95rem;
}
.review-card p {
    color: rgba(255,255,255,.88);
    margin-bottom: 0;
    line-height: 1.7;
}
@media (max-width: 575.98px) {
    .review-card-top {
        flex-direction: column;
    }
}


/* Open ticket form */
.ticket-info {
    padding: 2.25rem;
    border-radius: 22px;
    background: linear-gradient(145deg, #071a3d, #0b2d66);
    color: rgba(255,255,255,.86);
}
.ticket-info h2,
.ticket-info strong {
    color: #fff;
}
.ticket-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.15rem;
}
.ticket-step > span {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
}
.ticket-step div {
    display: flex;
    flex-direction: column;
}
.ticket-step small {
    color: rgba(255,255,255,.66);
    margin-top: .15rem;
}
.ticket-privacy {
    padding: 1rem;
    border-radius: 14px;
    background: rgba(255,255,255,.08);
    font-size: .9rem;
}
.ticket-form {
    height: 100%;
    padding: 2.25rem;
    border: 1px solid #e8edf4;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(7,26,61,.08);
}
.ticket-form .form-control,
.ticket-form .form-select {
    min-height: 54px;
    border-radius: 10px;
    border-color: #dbe3ee;
}
.ticket-form textarea.form-control {
    min-height: 145px;
}
.ticket-form .form-control:focus,
.ticket-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .12);
}
@media (max-width: 575.98px) {
    .ticket-info, .ticket-form {
        padding: 1.5rem;
        border-radius: 18px;
    }
}

.payment-inline {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    align-items: center;
}
.payment-chip,
.payment-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 38px;
    padding: .55rem .9rem;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    color: #e9edf3;
    font-size: .9rem;
    line-height: 1.1;
    white-space: nowrap;
}
.payment-chip i,
.payment-brand i {
    font-size: 1rem;
}
.payment-chip-pix {
    font-weight: 800;
    letter-spacing: .02em;
    color: #7ff0c9;
}
.payment-brand {
    font-weight: 700;
}
@media (max-width: 575.98px) {
    .tech-photo-card, .video-placeholder, .tech-photo-image { min-height: 300px; }
    .payment-chip, .payment-brand { font-size: .82rem; padding: .5rem .8rem; }
}


/* Online diagnostic promo */
.diagnostic-promo {
    padding: 2.5rem;
    border-radius: 24px;
    background: linear-gradient(135deg, #f4f8fd 0%, #e5eef9 100%);
    border: 1px solid #d7e4f3;
    box-shadow: 0 16px 42px rgba(7, 26, 61, .07);
}
.diagnostic-note {
    color: #617187;
    font-size: .92rem;
}

/* Diagnostics page */
.diagnostic-hero {
    background: linear-gradient(120deg, #071A3D, #123A72);
    padding: 5.5rem 0 4.5rem;
}
.diagnostic-hero .lead { color: rgba(255,255,255,.78); }
.diagnostic-alert {
    border: 1px solid #d6e4f5;
    border-radius: 18px;
    background: #f5f9ff;
    color: #40516a;
    padding: 1.2rem 1.4rem;
}
.diag-card {
    height: 100%;
    border: 1px solid #e4ebf3;
    border-radius: 22px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(7,26,61,.07);
}
.diag-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem 1.5rem;
    border-bottom: 1px solid #e8eef5;
    background: #f7faff;
}
.diag-card-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: rgba(13,110,253,.11);
    color: var(--primary);
    font-size: 1.35rem;
}
.diag-card-body { padding: 1.5rem; }
.diag-status {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 34px;
    padding: .45rem .75rem;
    border-radius: 999px;
    background: #eef3f8;
    color: #52657b;
    font-size: .86rem;
    font-weight: 600;
}
.diag-status.ok { background: #e8f7ee; color: #18733d; }
.diag-status.warn { background: #fff4d8; color: #8b6200; }
.diag-status.error { background: #fdeaea; color: #a52d2d; }

.keyboard-board {
    display: grid;
    gap: .45rem;
    padding: 1rem;
    border-radius: 18px;
    background: #101b2e;
    overflow-x: auto;
}
.keyboard-row {
    display: flex;
    gap: .4rem;
    min-width: 760px;
}
.keyboard-key {
    min-width: 42px;
    height: 42px;
    padding: 0 .55rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.13);
    background: #182944;
    color: #dbe7f6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .76rem;
    font-weight: 600;
    transition: .12s ease;
    white-space: nowrap;
}
.keyboard-key.wide { min-width: 76px; }
.keyboard-key.xwide { min-width: 110px; }
.keyboard-key.space { flex: 1 0 260px; }
.keyboard-key.tested { background: #176a3a; border-color: #2aa458; color: #fff; }
.keyboard-key.active { transform: translateY(2px); background: var(--primary); border-color: #6aa9ff; color: #fff; }
.keyboard-readout {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1rem;
}
.keyboard-readout > div {
    padding: .75rem 1rem;
    border-radius: 12px;
    background: #f5f8fc;
    color: #40516a;
}

.mouse-test-area {
    min-height: 190px;
    border: 2px dashed #b9c9dc;
    border-radius: 18px;
    background: #f6f9fd;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 1.25rem;
    user-select: none;
    cursor: crosshair;
}
.mouse-indicators { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.mouse-indicator {
    padding: .5rem .8rem;
    border-radius: 999px;
    background: #eef3f8;
    color: #607086;
    font-size: .85rem;
}
.mouse-indicator.on { background: #e7f6ed; color: #18733d; }

.level-meter {
    height: 18px;
    border-radius: 999px;
    background: #e8eef5;
    overflow: hidden;
}
.level-meter-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #0d6efd, #26b56f);
    transition: width .08s linear;
}
.media-preview {
    width: 100%;
    min-height: 220px;
    border-radius: 16px;
    background: #0b1424;
    object-fit: cover;
}
.audio-playback { width: 100%; }

.screen-test-swatches {
    display: grid;
    grid-template-columns: repeat(6, minmax(44px, 1fr));
    gap: .65rem;
}
.screen-swatch {
    height: 54px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.14);
    cursor: pointer;
}
#screenOverlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem;
    background: #fff;
}
#screenOverlay.show { display: flex; }
#screenOverlay .screen-overlay-controls {
    display: flex;
    gap: .65rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: .75rem;
    border-radius: 16px;
    background: rgba(0,0,0,.66);
    backdrop-filter: blur(10px);
}
.diag-privacy {
    padding: 1.15rem 1.25rem;
    border-radius: 16px;
    background: #eef8f2;
    color: #2d6142;
    border: 1px solid #d5ebdd;
}

@media (max-width: 767.98px) {
    .diagnostic-promo { padding: 1.75rem; }
    .diagnostic-hero { padding: 4rem 0 3.5rem; }
    .screen-test-swatches { grid-template-columns: repeat(3, 1fr); }
}


/* Diagnostic v2: keyboard, mouse, touch and device information */
.keyboard-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .8rem;
    align-items: stretch;
}
.keyboard-layout > .keyboard-board {
    min-width: 0;
}
.numpad-board {
    width: 245px;
    min-width: 245px;
}
.numpad-board .keyboard-row {
    min-width: 0;
}
.numpad-board .keyboard-key {
    flex: 1 1 42px;
}
.numpad-board .keyboard-key.numpad-zero {
    flex: 2 1 88px;
}
.mouse-test-area {
    position: relative;
    overflow: hidden;
    outline: none;
}
.mouse-test-area:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(13,110,253,.10);
}
.mouse-indicator.on {
    background: #e7f6ed;
    color: #18733d;
    border: 1px solid #bfe4cc;
    font-weight: 600;
}
.touch-test-area {
    position: relative;
    min-height: 220px;
    border: 2px dashed #b9c9dc;
    border-radius: 18px;
    background: #f6f9fd;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 1.25rem;
    overflow: hidden;
    touch-action: none;
    user-select: none;
}
.touch-test-copy {
    pointer-events: none;
}
.touch-dot {
    position: absolute;
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    border-radius: 50%;
    background: rgba(13,110,253,.25);
    border: 3px solid var(--primary);
    pointer-events: none;
    box-shadow: 0 4px 14px rgba(13,110,253,.25);
}
.device-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: .45rem .75rem;
    border-radius: 999px;
    background: #f2f5f9;
    color: #52657b;
    font-size: .86rem;
}
.device-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}
.device-info-grid > div {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: .9rem 1rem;
    border-radius: 14px;
    background: #f5f8fc;
    color: #40516a;
}
.device-info-grid span {
    color: #75849a;
    font-size: .56rem;
}
.device-info-grid strong {
    color: #1f3047;
    font-size: .92rem;
}

@media (max-width: 991.98px) {
    .keyboard-layout {
        display: block;
    }
    .numpad-board {
        width: 100%;
        min-width: 0;
        margin-top: .8rem;
    }
    .numpad-board .keyboard-row {
        min-width: 220px;
    }
}

@media (max-width: 575.98px) {
    .device-info-grid {
        grid-template-columns: 1fr;
    }
}


/* Diagnostic keyboard anomaly indicator */
.keyboard-key.suspect,
.keyboard-key.suspect.tested,
.keyboard-key.suspect.active {
    background: #b42318 !important;
    border-color: #ff7b72 !important;
    color: #fff !important;
    box-shadow: 0 0 0 3px rgba(220,53,69,.22);
}
.keyboard-legend {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem 1.1rem;
    color: #607086;
    font-size: .84rem;
}
.keyboard-legend span { display: inline-flex; align-items: center; gap: .45rem; }
.legend-box { width: 15px; height: 15px; border-radius: 4px; display: inline-block; }
.legend-box.tested { background: #176a3a; }
.legend-box.active { background: var(--primary); }
.legend-box.suspect { background: #b42318; }

.speaker-warning {
    padding: .85rem 1rem;
    border-radius: 12px;
    background: #fff8df;
    color: #785b00;
    border: 1px solid #f4df9e;
}
.speaker-test.active-speaker-test {
    background: #176a3a !important;
    border-color: #176a3a !important;
    color: #fff !important;
}

.device-info-wide { grid-column: 1 / -1; }
.model-help {
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: #f7faff;
    border: 1px solid #dce8f6;
    color: #4f6178;
}
.model-help code { color: #0d6efd; }
.model-help kbd {
    background: #071a3d;
    border-radius: 5px;
    padding: .12rem .38rem;
}


.brand-lockup {
    gap: 0;
    text-decoration: none;
}
.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.brand-name {
    font-family: "Roboto Slab", serif;
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -.02em;
}
.brand-tagline {
    margin-top: .28rem;
    font-size: .56rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #6f7a88;
}
.footer-brand {
    text-decoration: none;
}
.footer-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.footer-brand-name {
    font-family: "Roboto Slab", serif;
    font-size: 1.26rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
}
.footer-brand-tagline {
    margin-top: .32rem;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.7);
}

.facts-number {
    display: inline-flex;
    align-items: baseline;
    gap: .08em;
}
.facts-prefix {
    font-size: .8em;
    color: #7fb3ff;
}

.facts .facts-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.facts .facts-item > i {
    display: block;
    margin-bottom: 1rem !important;
}
.facts-title,
.facts-number {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 2rem;
    line-height: 1;
}
.facts-label {
    display: block;
    max-width: 150px;
    margin-inline: auto;
    line-height: 1.35;
}
@media (max-width: 575.98px) {
    .facts-title,
    .facts-number { min-height: 42px; font-size: 1.5rem; }
    .facts-label { max-width: 135px; font-size: .92rem; }
}


@media (min-width: 992px) {
    .navbar {
        display: flex;
        align-items: center;
    }
    .navbar .navbar-brand {
        min-width: 180px;
        margin-right: 1rem;
    }
    .navbar .navbar-collapse {
        display: flex !important;
        align-items: center;
        flex: 1 1 auto;
    }
    .navbar .navbar-nav {
        flex: 1 1 auto;
        justify-content: center;
        align-items: center;
        background: transparent !important;
        padding-right: 0 !important;
        margin: 0 auto;
    }
    .navbar .navbar-nav .nav-link {
        margin-left: 18px;
        margin-right: 0;
        font-size: .95rem;
    }
    .navbar .navbar-cta {
        min-width: 180px;
        justify-content: center;
        margin-left: 1rem;
    }
}


.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}
.social-links .btn {
    margin: 0 !important;
}
.qr-support-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.6rem 1.8rem;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.055);
}
.qr-support-copy {
    max-width: 720px;
}
.qr-support-copy p {
    color: rgba(255,255,255,.62);
}
.qr-support-kicker {
    display: inline-block;
    margin-bottom: .7rem;
    color: #7fb3ff;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.qr-support-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    padding: .7rem;
    border-radius: 18px;
    background: #fff;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(0,0,0,.22);
}
.qr-support-code img {
    display: block;
    width: 150px;
    height: 150px;
    object-fit: contain;
}
.qr-support-code span {
    margin-top: .35rem;
    color: #168a45;
    font-weight: 700;
    font-size: .9rem;
}
@media (max-width: 767.98px) {
    .qr-support-card {
        flex-direction: column;
        text-align: center;
    }
    .qr-support-code img {
        width: 140px;
        height: 140px;
    }
}


.diagnostic-support {
    padding: 2.25rem;
    border: 1px solid #dbe8f7;
    border-radius: 24px;
    background: linear-gradient(135deg, #f5f9ff 0%, #e9f2fc 100%);
    box-shadow: 0 16px 42px rgba(7,26,61,.07);
}
.diagnostic-qr-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    padding: 1rem;
    border-radius: 18px;
    background: #fff;
    color: #314257;
    text-decoration: none;
    border: 1px solid #dbe5f0;
    box-shadow: 0 12px 28px rgba(7,26,61,.08);
}
.diagnostic-qr-link:hover { color: var(--primary); transform: translateY(-2px); }
.diagnostic-qr-link img { width: 190px; max-width: 100%; height: auto; border-radius: 10px; }
.diagnostic-qr-link span { font-weight: 700; }
@media (max-width: 575.98px) {
    .diagnostic-support { padding: 1.5rem; }
    .diagnostic-qr-link img { width: 170px; }
}

.youtube-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 24px;
    background: #071A3D;
}
.youtube-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


.youtube-local-fallback {
    position: absolute;
    inset: 0;
    display: block;
    color: #fff;
    text-decoration: none;
    background: #071A3D;
}
.youtube-local-fallback img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .68;
}
.youtube-local-fallback::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4,15,35,.08), rgba(4,15,35,.55));
}
.youtube-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #ff0033;
    color: #fff;
    font-size: 2.2rem;
    z-index: 2;
    box-shadow: 0 12px 30px rgba(0,0,0,.28);
}
.youtube-fallback-text {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 2;
    padding: .55rem 1rem;
    border-radius: 999px;
    background: rgba(0,0,0,.62);
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}
.speaker-frequency-fixed {
    display: inline-flex;
    align-items: center;
    padding: .65rem 1rem;
    border-radius: 12px;
    background: #f3f7fc;
    border: 1px solid #dbe6f2;
    color: #29466d;
}


/* v28 - dicas/blog na página inicial */
.home-blog-card{background:#fff;border:1px solid #e3ebf5;border-radius:22px;overflow:hidden;box-shadow:0 14px 34px rgba(7,26,61,.07);transition:.2s;display:flex;flex-direction:column}.home-blog-card:hover{transform:translateY(-4px);box-shadow:0 20px 42px rgba(7,26,61,.1)}.home-blog-image{display:block;aspect-ratio:16/9;background:#eef3f8;overflow:hidden}.home-blog-image img{width:100%;height:100%;object-fit:cover}.home-blog-body{padding:1.35rem;display:flex;flex-direction:column;flex:1}.home-blog-body small{color:#0d6efd;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.home-blog-body h3{font-size:1.25rem;margin:.55rem 0}.home-blog-body h3 a{color:#102a50;text-decoration:none}.home-blog-body p{color:#66758a;flex:1}.home-blog-link{font-weight:700;color:#0d6efd;text-decoration:none}


/* v34 - Dicas Personal Tech em carrossel horizontal */
.home-blog-carousel-shell{position:relative;padding:0 48px}
.home-blog-carousel{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:6px 4px 20px;overscroll-behavior-inline:contain;scrollbar-width:none}
.home-blog-carousel::-webkit-scrollbar{display:none}
.home-blog-carousel .home-blog-card{flex:0 0 300px;scroll-snap-align:start;min-width:0}
.home-blog-carousel .home-blog-image{height:155px;aspect-ratio:auto}
.home-blog-carousel .home-blog-body{padding:1rem 1.05rem 1.1rem}
.home-blog-carousel .home-blog-body h3{font-size:1.08rem;margin:.4rem 0 .55rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.home-blog-carousel .home-blog-body p{font-size:.9rem;line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:.8rem}
.home-blog-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:40px;height:40px;border-radius:50%;border:1px solid #d9e4f1;background:#fff;color:#0d6efd;box-shadow:0 8px 24px rgba(6,35,73,.12);display:grid;place-items:center}
.home-blog-nav:hover{background:#0d6efd;color:#fff}
.home-blog-prev{left:0}.home-blog-next{right:0}.home-blog-loading{width:100%}
@media(max-width:767.98px){.home-blog-carousel-shell{padding:0}.home-blog-carousel{gap:14px;padding-left:2px;padding-right:24px}.home-blog-carousel .home-blog-card{flex-basis:78vw;max-width:300px}.home-blog-carousel .home-blog-image{height:140px}.home-blog-nav{display:none}}

/* v37 - seletor de layout no teste de teclado */
.keyboard-layout-picker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .9rem 1rem;
    border: 1px solid #dce5f0;
    border-radius: 14px;
    background: #f7f9fc;
}
.keyboard-layout-picker > div:first-child { display: flex; flex-direction: column; gap: .15rem; }
.keyboard-layout-picker small { color: #718198; }
.keyboard-layout-picker .btn.active { color: #fff; background: var(--primary); border-color: var(--primary); }
@media (max-width: 575.98px) {
    .keyboard-layout-picker { align-items: stretch; flex-direction: column; }
    .keyboard-layout-picker .btn-group { width: 100%; }
    .keyboard-layout-picker .btn { flex: 1 1 50%; }
}


/* Diagnostic v44 - physical arrow-key cluster */
.keyboard-row:last-child {
    align-items: flex-end;
}
.keyboard-arrow-cluster {
    display: grid;
    grid-template-columns: repeat(3, 42px);
    grid-template-rows: repeat(2, 42px);
    gap: .4rem;
    flex: 0 0 auto;
    margin-left: .15rem;
    align-self: flex-end;
}
.keyboard-arrow-cluster .keyboard-key {
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
}
.keyboard-arrow-cluster .arrow-up {
    grid-column: 2;
    grid-row: 1;
}
.keyboard-arrow-cluster .arrow-left {
    grid-column: 1;
    grid-row: 2;
}
.keyboard-arrow-cluster .arrow-down {
    grid-column: 2;
    grid-row: 2;
}
.keyboard-arrow-cluster .arrow-right {
    grid-column: 3;
    grid-row: 2;
}
@media (max-width: 991.98px) {
    .keyboard-board {
        scrollbar-width: thin;
    }
    .keyboard-arrow-cluster {
        grid-template-columns: repeat(3, 40px);
        grid-template-rows: repeat(2, 40px);
    }
    .keyboard-arrow-cluster .keyboard-key {
        width: 40px;
        min-width: 40px;
        height: 40px;
    }
}
