:root {
  --ps-red: #f22f36;
  --ps-red-dark: #d91f28;
  --ps-ink: #111318;
  --ps-gray: #555962;
  --ps-light: #f5f6f7;
}

html { scroll-behavior: smooth; }
body {
  color: var(--ps-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
section { scroll-margin-top: 86px; }

/* Bootstrap theme adjustments */
.btn-danger {
  --bs-btn-bg: var(--ps-red);
  --bs-btn-border-color: var(--ps-red);
  --bs-btn-hover-bg: var(--ps-red-dark);
  --bs-btn-hover-border-color: var(--ps-red-dark);
  --bs-btn-active-bg: var(--ps-red-dark);
  --bs-btn-active-border-color: var(--ps-red-dark);
}
.text-danger { color: var(--ps-red) !important; }

.site-header {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(17,19,24,.07);
}
.header-inner { min-height: 86px; }
.brand { width: 245px; }
.brand img { width: 100%; height: auto; display: block; }
.navbar .nav-link {
  position: relative;
  color: #202229;
  font-size: .86rem;
  font-weight: 700;
  text-transform: uppercase;
  padding-block: 2rem;
}
.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: var(--bs-navbar-nav-link-padding-x);
  right: 100%;
  bottom: 1.35rem;
  height: 2px;
  background: var(--ps-red);
  transition: right .2s ease;
}
.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--ps-red); }
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { right: var(--bs-navbar-nav-link-padding-x); }
.header-cta { min-height: 44px; min-width: 166px; font-size: .78rem; }

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #05090d;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/hero-master-approved.png?v=11");
  background-repeat: no-repeat;
  background-position: right center;
  /* background-size: auto 100%; */
}
.hero::after {
  content: "";
  /* position: absolute; */
  inset: 0;
  background:
    linear-gradient(90deg, #05090d 0%, #05090d 30%, rgba(5,9,13,.98) 36%, rgba(5,9,13,.78) 42%, rgba(5,9,13,.34) 49%, rgba(5,9,13,.08) 56%, rgba(5,9,13,0) 62%),
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.12));
}
.min-vh-hero { min-height: 525px; }
.hero h1 { line-height: 1.08; letter-spacing: -.025em; }
.hero h1 span,
.section-heading h2 span,
.about h2 span,
.contact h2 span { color: var(--ps-red); }
.hero .lead {
  max-width: 550px;
  color: #eef0f2;
  font-size: 1.04rem;
  line-height: 1.75;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}
.hero-accent { width: 72px; height: 3px; margin-top: 17px; background: var(--ps-red); }
.hero-actions .btn { min-height: 54px; border-radius: 5px; font-size: .78rem; letter-spacing: .01em; }
.hero-actions .btn-danger { min-width: 275px; }
.hero-actions .btn-outline-light { min-width: 222px; border-width: 2px; background: rgba(4,7,10,.24); }
.hero-actions .btn-outline-light:hover { color: #fff; background: rgba(255,255,255,.10); }

.section { padding: 86px 0; }
.section-heading { max-width: 760px; }
.section-heading h2,
.about h2,
.contact h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: var(--ps-red);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.eyebrow::after { content: ""; width: 48px; height: 2px; background: var(--ps-red); }
.section-heading .eyebrow::before { content: ""; width: 0; }

.service-card {
  border-radius: .6rem;
  transition: transform .22s ease, box-shadow .22s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 1rem 3rem rgba(17,19,24,.12) !important; }
.icon-box {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--ps-red);
  font-size: 2.1rem;
}
.service-card .card-text { font-size: .92rem; }

.about {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #111318, #1a1e25);
}
.about::after {
  content: "";
  position: absolute;
  width: 520px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(242,47,54,.08);
  right: -210px;
  top: -180px;
}
.about-text { color: #c5c9cf; }
.about-highlights > div { display: flex; align-items: center; gap: .75rem; font-weight: 600; }
.about-highlights i { color: var(--ps-red); font-size: 1.7rem; }
.experience-card { border-radius: 1.2rem; padding: 1.8rem; }
.experience-symbol { height: 150px; background: var(--ps-light); overflow: hidden; }
.experience-symbol img { width: 70%; }
.experience-number { color: var(--ps-red); font-size: 4rem; font-weight: 900; line-height: 1; }
.experience-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.experience-stat + .experience-stat { border-left: 1px solid #e7e9ed; padding-left: 1.25rem; }

.tech-item {
  min-height: 120px;
  padding: 1rem .6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fff;
  border: 1px solid #e8e9ec;
}
.tech-item strong { font-size: 1.12rem; }
.tech-item small { margin-top: .35rem; color: #8e9299; font-weight: 600; }

.why-grid > div + div { border-left: 1px solid #e8e9ec; }
.why-item { min-height: 195px; padding: 1.7rem 1rem; background: #fff; }
.why-item > i { display: block; color: var(--ps-red); font-size: 2.3rem; margin-bottom: .75rem; }
.why-item strong { display: block; margin-bottom: .65rem; text-transform: uppercase; font-size: .85rem; }
.why-item p { color: var(--ps-gray); font-size: .86rem; margin: 0; }

.contact-note { border: 0; border-left: 3px solid var(--ps-red); border-radius: 0; background: #fff; box-shadow: 0 .5rem 1.5rem rgba(17,19,24,.06); }
.contact-form { border-radius: 1.2rem; }
.form-control { min-height: 48px; background: #fbfbfc; }
textarea.form-control { min-height: 140px; }
.form-control:focus {
  border-color: var(--ps-red);
  box-shadow: 0 0 0 .25rem rgba(242,47,54,.10);
}

.site-footer { background: #0c0e12; color: #c4c8cf; }
.footer-brand img { width: 260px; filter: brightness(1.08); }
.footer-brand p { color: #8f949d; }
.site-footer h3 { color: var(--ps-red); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.footer-nav .nav-link,
.footer-list li,
.footer-bottom,
.footer-bottom a { color: #a4a9b1; font-size: .86rem; }
.footer-nav .nav-link:hover,
.footer-bottom a:hover { color: #fff; }
.footer-list li { margin-bottom: .55rem; }
.footer-bottom { background: rgba(0,0,0,.08); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1199.98px) {
  .why-grid > div + div { border-left: 0; }
  .why-grid > div:nth-child(even) { border-left: 1px solid #e8e9ec; }
  .why-grid > div:nth-child(n+3) { border-top: 1px solid #e8e9ec; }
}

@media (max-width: 991.98px) {
  .header-inner { min-height: 74px; }
  .brand { width: 210px; }
  .navbar-collapse { padding: .75rem 0 1rem; }
  .navbar .nav-link { padding: .65rem .25rem; }
  .navbar .nav-link::after { left: .25rem; bottom: .35rem; }
  .navbar .nav-link:hover::after,
  .navbar .nav-link.active::after { right: calc(100% - 3rem); }
  .header-cta { display: inline-flex; width: fit-content; }
  .hero::after { background: linear-gradient(90deg, #05090d 0%, rgba(5,9,13,.97) 50%, rgba(5,9,13,.55) 100%); }
}

@media (max-width: 767.98px) {
  .experience-stats { grid-template-columns: 1fr; }
  .experience-stat + .experience-stat { border-left: 0; border-top: 1px solid #e7e9ed; padding-left: 0; padding-top: 1.25rem; }
  .section { padding: 68px 0; }
  .min-vh-hero { min-height: 540px; }
  .hero::before { opacity: .45; }
  .hero::after { background: linear-gradient(90deg, rgba(5,9,13,.99) 0%, rgba(5,9,13,.93) 66%, rgba(5,9,13,.70) 100%); }
  .hero h1 { font-size: clamp(2rem, 10vw, 2.7rem); }
  .hero .lead { font-size: .98rem; }
  .hero-actions .btn { width: 100%; min-width: 0; }
  .why-grid > div:nth-child(even),
  .why-grid > div:nth-child(n+3) { border-left: 0; border-top: 1px solid #e8e9ec; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* Ícones adicionais da seção Tecnologias */
.tech-icon {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .35rem;
  font-size: 2.7rem;
  line-height: 1;
}
.tech-icon-react { color: #087ea4; }
.tech-icon-oracle { color: #c74634; }
