/* Consistent navigation, stable cards and readable contact details. */
.navbar .navbar-nav .nav-link,
.navbar.scrolled .navbar-nav .nav-link{color:#dce6f4!important;opacity:1!important}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link:focus-visible,
.navbar .navbar-nav .nav-link.active{color:#38d9f5!important}
.navbar-brand .logo-default{display:block!important;opacity:1!important}
.navbar-brand .logo-scrolled{display:none!important}
.navbar-brand .logo-img{width:auto;max-width:160px;height:40px;object-fit:contain}
.navbar .header-buttons .btn-outline-primary{color:#fff!important;border-color:rgba(255,255,255,.5)!important}
.navbar .header-buttons{display:flex;align-items:center;flex-shrink:0;white-space:nowrap}
@media(min-width:992px) and (max-width:1199.98px){.navbar .navbar-nav .nav-link{padding-left:7px!important;padding-right:7px!important}.navbar .header-buttons .btn{padding-left:12px!important;padding-right:12px!important}}
.tilt-card>.tilt-card-inner,
.tilt-card:hover>.tilt-card-inner{transform:none!important}
.service-card:hover,.glass-card:hover,.glass-card-dark:hover,
.portfolio-card:hover,.process-card:hover,.testimonial-card:hover,.timeline-card:hover,.timeline-card-active{transform:none!important}

/* One rail, with dates fully inside each card. */
.timeline-section .tech-timeline{padding:0!important}
.timeline-section .tech-timeline::before,
.timeline-section .tech-timeline-item::before{content:none!important;display:none!important}
.timeline-section .tech-timeline::after{left:50%!important;top:0;bottom:0;transform:translateX(-50%);z-index:0;pointer-events:none}
.timeline-section .tech-timeline-item{position:relative;width:50%!important;margin-bottom:32px!important}
.timeline-section .tech-timeline-item:nth-child(odd){left:0!important;padding:0 32px 0 0!important}
.timeline-section .tech-timeline-item:nth-child(even){left:50%!important;padding:0 0 0 32px!important}
.timeline-section .tech-timeline-item .tech-timeline-dot{top:32px!important;transform:none!important}
.timeline-section .tech-timeline-item:nth-child(odd) .tech-timeline-dot{left:auto!important;right:-8px!important}
.timeline-section .tech-timeline-item:nth-child(even) .tech-timeline-dot{left:-8px!important;right:auto!important}
.timeline-section .timeline-card{padding:24px!important}
.timeline-section .tech-timeline-content{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.timeline-section .tech-timeline-year{position:static!important;display:inline-block;margin:0 0 16px!important;transform:none!important}
.contact-info .contact-item{display:grid;grid-template-columns:28px minmax(0,1fr);gap:14px;align-items:start;text-align:left!important}
.contact-item>i,.contact-item>.svg-inline--fa{position:static!important;width:24px!important;height:24px!important;margin:2px 0 0!important;color:#38bdf8!important;float:none!important;background:transparent!important;border:0!important;box-shadow:none!important;transform:none!important}
.contact-item h4{line-height:1.4;margin:0 0 6px}
.contact-item p{margin:0;overflow-wrap:anywhere}
.contact-item a{text-decoration:none}
.footer-contact li{display:grid!important;grid-template-columns:20px minmax(0,1fr);gap:12px;align-items:start}
.footer-contact li>i,.footer-contact li>.svg-inline--fa{position:static!important;width:18px!important;height:18px!important;margin:4px 0 0!important;float:none!important}
.footer-contact li p{margin:0!important;overflow-wrap:anywhere}
.footer-contact li a{display:block!important;padding-left:0!important}
.footer-contact li a::before{content:none!important}

.legal-page{background:radial-gradient(ellipse at top,rgba(0,119,182,.15),transparent 65%),#0d1321;padding:48px 0 72px}
.legal-card{background:#111b2d;border-color:rgba(148,163,184,.22);box-shadow:0 20px 60px rgba(0,0,0,.2);line-height:1.8}
.legal-card h1{color:#fff;font-size:clamp(1.8rem,4vw,2.6rem);line-height:1.2}
.legal-card h2{color:#38bdf8;scroll-margin-top:100px}
.legal-card p,.legal-card li,.legal-card .text-muted{color:#cbd5e1!important}
.legal-card a:not(.btn){color:#67d5ff;text-underline-offset:3px}
.legal-card code{color:#a5e4ff;overflow-wrap:anywhere}
.legal-card .text-primary{color:#38bdf8!important}
.legal-navigation{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.site-page .navbar{min-height:76px}
.service-breadcrumb{display:flex;flex-wrap:wrap;gap:12px;color:#cbd5e1;font-size:.9rem;margin-bottom:24px}
.service-intro{font-size:1.1rem;margin:24px 0}
.service-question{font-size:1.05rem;line-height:1.5;margin-top:24px;color:#fff}
.service-related{display:flex;flex-wrap:wrap;gap:10px 28px;padding-left:20px}
.service-detail .btn-outline-primary{color:#67d5ff;border-color:#38bdf8}
.service-card .service-detail-link{display:inline-flex;position:relative;z-index:2;color:#67d5ff;margin-top:8px;text-decoration:underline;text-underline-offset:4px}
.service-card .service-detail-link:hover,.service-card .service-detail-link:focus-visible{color:#fff}
#servicos{scroll-margin-top:90px}
@media(max-width:767.98px){
 .timeline-section .tech-timeline::after{left:12px!important;transform:none!important}
 .timeline-section .tech-timeline-item:nth-child(n){left:0!important;width:100%!important;padding:0 0 0 40px!important}
 .timeline-section .tech-timeline-item:nth-child(n) .tech-timeline-dot{left:5px!important;right:auto!important}
 .timeline-section .timeline-card{padding:20px!important}
 .timeline-section .tech-timeline-content h3{line-height:1.4}
 .legal-page{padding:28px 0 48px}
 .legal-card{padding:26px 20px}
 .site-page .navbar-collapse{max-height:calc(100dvh - 90px);overflow-y:auto}
}
