/* ============================================================
   Portal — login, área do cliente e área técnica
   Usa variáveis de digital-system-home.css: --red, --navy, --bg-soft, --rule, --muted, --ink
   ============================================================ */

body.portal {
  --portal-internal-hero-bg:
    linear-gradient(95deg, rgba(7,7,7,.92), rgba(7,7,7,.70) 52%, rgba(7,7,7,.42)),
    url("../images/banner para pagina de produtos nova.png");
  background: var(--bg, #fafafa);
}

/* ---------- LOGIN ---------- */
.portal-auth {
  padding: 72px 0;
  min-height: calc(100vh - 360px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.portal-auth__shell {
  width: min(1040px, 92vw);
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 28px 60px -28px rgba(15,17,22,.25);
}

.portal-auth__card {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.portal-auth__head h1 {
  margin: 12px 0 8px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -.01em;
}
.portal-auth__head p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}
.portal-auth__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(229,57,53,.08);
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.portal-auth__alert {
  padding: 12px 16px;
  background: #fff3f3;
  border: 1px solid rgba(229,57,53,.25);
  border-left: 3px solid var(--red);
  border-radius: 8px;
  color: #b3261e;
  font-size: 13.5px;
  font-weight: 500;
}
.portal-auth__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.portal-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.portal-field > span {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.portal-field > input {
  height: 48px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid var(--rule);
  background: #fff;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.portal-field > input:focus {
  outline: 0;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229,57,53,.15);
}
.portal-auth__submit {
  margin-top: 6px;
  height: 48px;
  font-size: 14.5px;
  letter-spacing: .03em;
  justify-content: center;
}
.portal-auth__foot {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.portal-link {
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  transition: color .2s ease;
}
.portal-link:hover { color: var(--navy); }
.portal-link--muted { color: var(--muted); font-weight: 500; }
.portal-link--muted:hover { color: var(--navy); }

/* Lateral ilustrativa */
.portal-auth__side {
  position: relative;
  padding: 56px 48px;
  background: var(--portal-internal-hero-bg);
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
}
.portal-auth__side::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 0% 100%, rgba(229,57,53,.35), transparent 60%);
  pointer-events: none;
}
.portal-auth__hl {
  position: relative;
  z-index: 1;
}
.portal-auth__hl h2 {
  margin: 0 0 22px;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -.01em;
}
.portal-auth__hl h2 span {
  color: var(--red);
}
.portal-auth__hl ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.portal-auth__hl li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: rgba(255,255,255,.78);
}
.portal-auth__hl li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(229,57,53,.18);
}

/* ---------- PORTAL CLIENTE — Hero ---------- */
.portal-hero {
  background: var(--portal-internal-hero-bg);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 96px 0 84px;
}
.portal-hero__inner {
  max-width: 760px;
}
.portal-hero h1 {
  margin: 12px 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: -.015em;
}
.portal-hero p {
  margin: 0;
  font-size: clamp(15px, 1.4vw, 17px);
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  max-width: 56ch;
}

/* ---------- PORTAL CLIENTE — Cards ---------- */
.portal-section {
  padding: 64px 0 90px;
}
.portal-section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.portal-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 16px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.portal-card:hover {
  transform: translateY(-3px);
  border-color: rgba(229,57,53,.35);
  box-shadow: 0 18px 40px -22px rgba(15,17,22,.25);
}
.portal-card__ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(229,57,53,.08);
  color: var(--red);
  margin-bottom: 4px;
}
.portal-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.005em;
}
.portal-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
  flex: 1;
}
.portal-card__link {
  margin-top: 8px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  transition: transform .2s ease, color .2s ease;
}
.portal-card:hover .portal-card__link { transform: translateX(3px); }

/* ---------- PORTAL CLIENTE — CTA ---------- */
.portal-cta {
  background: var(--bg-soft, #f7f7f8);
  padding: 56px 0 80px;
}
.portal-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 40px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 18px;
  box-shadow: 0 18px 40px -28px rgba(15,17,22,.2);
}
.portal-cta__inner h2 {
  margin: 0 0 4px;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -.01em;
}
.portal-cta__inner p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- PORTAL TÉCNICO — área logada ---------- */
.portal-internal {
  padding: 64px 0 96px;
  min-height: 70vh;
}
.portal-internal__shell { max-width: 920px; }
.portal-internal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}
.portal-internal__head h1 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 850;
  color: var(--navy);
  letter-spacing: -.01em;
}
.portal-internal__head p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 60ch;
}
.portal-internal__panel {
  padding: 36px 36px 32px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 16px;
}
.portal-internal__panel h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
}
.portal-internal__list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.portal-internal__list li {
  position: relative;
  padding: 12px 14px 12px 36px;
  background: var(--bg-soft);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.portal-internal__list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

/* ============================================================
   RESETS DE TONERS — grid de vídeos
   ============================================================ */
.portal-hero--resets { padding: 80px 0 64px; }
.resets-filter {
  margin-top: 28px;
  max-width: 480px;
}
.resets-filter__input {
  width: 100%;
  height: 50px;
  padding: 0 18px 0 46px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16' y2='16'/></svg>") no-repeat 16px center;
  background-size: 18px 18px;
  color: #fff;
  font-size: 14.5px;
  transition: border-color .2s ease, background-color .2s ease;
}
.resets-filter__input::placeholder { color: rgba(255,255,255,.5); }
.resets-filter__input:focus {
  outline: 0;
  border-color: var(--red);
  background-color: rgba(255,255,255,.14);
}

.resets-section { padding-top: 56px; }
.resets-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.reset-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.reset-card:hover {
  transform: translateY(-3px);
  border-color: rgba(229,57,53,.35);
  box-shadow: 0 18px 36px -22px rgba(15,17,22,.3);
}
.reset-card__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #111;
}
.reset-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.reset-card:hover .reset-card__thumb img { transform: scale(1.04); }
.reset-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px -6px rgba(0,0,0,.45);
  transition: transform .25s ease, background .2s ease;
}
.reset-card:hover .reset-card__play { transform: translate(-50%, -50%) scale(1.08); }
.videos-section .reset-card__play { background: rgba(229,57,53,.78); }
.reset-card__body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.reset-card__brand {
  font-size: 11px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.reset-card h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.reset-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.resets-empty {
  padding: 56px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14.5px;
}

/* ============================================================
   FAQ — Dúvidas Frequentes
   ============================================================ */
.portal-hero--faq { padding: 80px 0 64px; }
.faq-section { padding: 64px 0 96px; }
.faq-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}
.faq-nav {
  position: sticky;
  top: 108px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
}
.faq-nav h2 {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.faq-nav ul {
  margin: 0; padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.faq-nav a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
  transition: color .2s ease, background .2s ease;
}
.faq-nav a:hover {
  color: var(--red);
  background: var(--bg-soft);
}
.faq-nav a.is-active {
  color: var(--red);
  background: rgba(229,57,53,.08);
  font-weight: 700;
}

.faq-main { min-width: 0; }
.faq-group__title {
  margin: 36px 0 16px;
  padding-bottom: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  border-bottom: 2px solid var(--red);
  display: inline-block;
}
.faq-group__title:first-child { margin-top: 0; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item:hover { border-color: rgba(229,57,53,.3); }
.faq-item[open] {
  border-color: var(--red);
  box-shadow: 0 6px 18px -10px rgba(229,57,53,.3);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 50px 16px 20px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s ease, border-color .2s ease;
}
.faq-item[open] summary { color: var(--red); }
.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
  border-color: var(--red);
}
.faq-item__body {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.faq-item__body p { margin: 0; }

.faq-cta {
  margin-top: 48px;
  padding: 32px 36px;
  background: var(--bg-soft);
  border: 1px dashed rgba(229,57,53,.4);
  border-radius: 16px;
  text-align: center;
}
.faq-cta h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
}
.faq-cta p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

/* ============================================================
   FAQ TABS — sistema de abas (Frequentes / Comuns)
   ============================================================ */
.faq-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 0 0 36px;
}
.faq-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.faq-tab:hover {
  border-color: rgba(229,57,53,.4);
  transform: translateY(-2px);
}
.faq-tab.is-active {
  border-color: var(--red);
  background: linear-gradient(180deg, #fff 0%, rgba(229,57,53,.04) 100%);
  box-shadow: 0 16px 32px -18px rgba(229,57,53,.35);
}
.faq-tab__num {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: .18em;
}
.faq-tab.is-active .faq-tab__num { color: var(--red); }
.faq-tab__label {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.005em;
}
.faq-tab__hint {
  font-size: 12.5px;
  color: var(--muted);
}
.faq-panel { display: none; }
.faq-panel.is-active { display: block; }

/* ============================================================
   DRIVERS — grid de logos
   ============================================================ */
.portal-hero--drivers { padding: 80px 0 64px; }
.drivers-section { padding-top: 56px; }
.drivers-head {
  text-align: center;
  margin: 0 0 40px;
}
.drivers-head h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.01em;
}
.drivers-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}
.drivers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}
.driver-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.driver-card:hover {
  border-color: rgba(229,57,53,.5);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -22px rgba(15,17,22,.25);
}
.driver-card__logo {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 36px 26px;
  background: #fff;
  min-height: 130px;
}
.driver-card__logo img {
  max-width: 100%;
  max-height: 125px;
  object-fit: contain;
  filter: grayscale(.3);
  transition: filter .2s ease, transform .2s ease;
}
.driver-card:hover .driver-card__logo img {
  filter: grayscale(0);
  transform: scale(1.05);
}
.driver-card__linha {
  padding: 0 18px 14px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.driver-card__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .2s ease;
}
.driver-card:hover .driver-card__action { background: var(--red); }

/* ============================================================
   PORTAL CLIENTE — hero com mockup
   ============================================================ */
.cliente-hero {
  background-color: #111;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 100px 0 90px;
}
.cliente-hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.cliente-hero__text h1 {
  margin: 14px 0 18px;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.06;
  font-weight: 850;
  letter-spacing: -.02em;
}
.cliente-hero__text h1 span {
  color: var(--red);
  display: inline-block;
}
.cliente-hero__text p {
  margin: 0 0 32px;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.6;
  color: rgba(255,255,255,.78);
  max-width: 52ch;
}
.cliente-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  margin-bottom: 18px;
  box-shadow: 0 12px 28px -12px rgba(229,57,53,.7);
}
.cliente-hero__cta:hover {
  background: #fff;
  color: var(--red);
  border-color: #fff;
  box-shadow: 0 16px 32px -10px rgba(255,255,255,.25);
}
.cliente-hero__hint {
  margin-top: 18px;
  font-size: 13.5px;
  color: rgba(255,255,255,.6);
}
.cliente-hero__hint a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Mockup */
.cliente-hero__visual { position: relative; }
.cliente-hero__mock {
  position: relative;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 30px 60px -28px rgba(0,0,0,.6);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
}
.cliente-hero__mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
}
.cliente-hero__mock-bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
}
.cliente-hero__mock-bar em {
  margin-left: auto;
  font-style: normal;
  font-size: 12px;
  color: rgba(255,255,255,.5);
}
.cliente-hero__mock-body {
  display: block;
  background: #f4f5f6;
}
.cliente-hero__mock-body img {
  display: block;
  width: 100%;
  height: auto;
}

.cliente-features { padding: 80px 0 64px; }
.cliente-cta__actions { display: flex; gap: 12px; }

/* ============================================================
   PORTAL TÉCNICO — área logada com tabs/grids
   ============================================================ */
.portal-tecnico__top {
  background: var(--portal-internal-hero-bg);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 56px 0 48px;
}
.portal-tecnico__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.portal-tecnico__topbar h1 {
  margin: 6px 0 4px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 850;
  letter-spacing: -.01em;
}
.portal-tecnico__topbar p {
  margin: 0;
  color: rgba(255,255,255,.65);
  font-size: 14px;
}
.btn--inverse {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
  color: #fff;
}
.btn--inverse:hover {
  background: #fff;
  color: var(--navy);
}

.portal-tecnico__section { padding-top: 48px; }
.portal-tecnico__tabs { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

/* ============= Portal Técnico — layout com sidebar ============= */
.portal-tecnico__grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.portal-aside {
  position: sticky;
  top: 100px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 18px 16px;
  box-shadow: 0 14px 30px -22px rgba(17,17,17,.18);
}
.portal-aside__block + .portal-aside__block { margin-top: 18px; }
.portal-aside__block h2 {
  margin: 0 0 14px;
  padding: 0 4px 12px;
  border-bottom: 1px solid var(--rule);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.portal-aside__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
/* ----- Linha (botão principal + toggle de expand) ----- */
.portal-aside__row {
  display: flex;
  align-items: stretch;
  gap: 4px;
  border-radius: 8px;
}
.portal-aside__list > li.is-active > .portal-aside__row {
  background: rgba(226,27,27,.08);
}

.portal-aside__btn {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--navy);
  font-family: inherit;
  font-size: 14px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.portal-aside__btn:hover {
  background: var(--bg-soft, #f7f7f8);
  color: var(--red);
}
.portal-aside__num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--red);
  min-width: 22px;
}
.portal-aside__label { flex: 1; }

.portal-aside__list > li.is-active > .portal-aside__row .portal-aside__btn {
  background: transparent;
  color: var(--red);
}
.portal-aside__list > li.is-active > .portal-aside__row .portal-aside__btn::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--red);
}

/* ----- Toggle (chevron) ----- */
.portal-aside__toggle {
  width: 34px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s ease;
}
.portal-aside__toggle:hover { background: var(--bg-soft, #f7f7f8); }
.portal-aside__chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .2s ease, border-color .2s ease;
}
.portal-aside__list > li.is-open > .portal-aside__row .portal-aside__chevron {
  transform: rotate(-135deg);
}
.portal-aside__list > li.is-active > .portal-aside__row .portal-aside__chevron {
  border-color: var(--red);
}

/* ----- Sub-itens (fabricantes) ----- */
.portal-aside__sub {
  list-style: none;
  padding: 4px 0 6px 14px;
  margin: 4px 0 6px 8px;
  border-left: 1px dashed var(--rule);
  display: none;
}
.portal-aside__list > li.is-open > .portal-aside__sub { display: block; }
.portal-aside__sub li { margin: 2px 0; }
.portal-aside__sub button {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  padding: 7px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.portal-aside__sub button:hover {
  background: var(--bg-soft, #f7f7f8);
  color: var(--navy);
}
.portal-aside__sub li.is-active button {
  background: rgba(226,27,27,.08);
  color: var(--red);
  font-weight: 700;
}

.portal-tecnico__main { min-width: 0; }

/* ----- Botões dentro do catalog-tree no portal técnico ----- */
.portal-tecnico__section .tree-link,
.portal-tecnico__section .tree-sub-link,
.resets-section .tree-link,
.resets-section .tree-sub-link,
.videos-section .tree-link {
  width: 100%;
  border: 0;
  background: transparent;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.portal-tecnico__section .tree-sub-link,
.resets-section .tree-sub-link {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 18px 10px 30px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  transition: color .2s ease, background .2s ease;
}
.portal-tecnico__section .tree-sub-link::before,
.resets-section .tree-sub-link::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  opacity: .4;
  margin-right: 10px;
  flex: 0 0 5px;
  transition: opacity .2s ease;
}
.portal-tecnico__section .tree-sub-link:hover,
.resets-section .tree-sub-link:hover {
  color: var(--red);
  background: #fff;
}
.portal-tecnico__section .tree-sub-link:hover::before,
.resets-section .tree-sub-link:hover::before { opacity: 1; }
.portal-tecnico__section .tree-sub li.is-active > .tree-sub-link {
  color: var(--red);
  background: #fff;
  font-weight: 600;
}
.portal-tecnico__section .tree-sub li.is-active > .tree-sub-link::before { opacity: 1; }

@media (max-width: 1024px) {
  .portal-tecnico__grid { grid-template-columns: 1fr; gap: 18px; }
  .portal-aside { position: static; padding: 14px; }
  .portal-aside__list { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .portal-aside__list li { flex: 1 1 calc(50% - 6px); }
  .portal-aside__list li button { padding: 10px 12px; font-size: 13px; }
  .portal-aside__list li.is-active button::before { display: none; }
}
.portal-tecnico__head {
  margin: 28px 0 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}
.portal-tecnico__head h2 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
}
.portal-tecnico__head p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

.tecnico-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.tecnico-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.tecnico-card:hover {
  border-color: rgba(229,57,53,.35);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -22px rgba(15,17,22,.2);
}
.tecnico-card__pill {
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(229,57,53,.1);
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tecnico-card__pill--blue {
  background: rgba(26,31,46,.08);
  color: var(--navy);
}
.tecnico-card__pill[style*="--marca-cor"] {
  background: color-mix(in srgb, var(--marca-cor) 12%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--marca-cor) 24%, transparent);
  color: var(--marca-cor);
}
.tecnico-card__media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  height: auto;
  margin-bottom: 6px;
  background: linear-gradient(180deg, #f8f9fb 0%, #fff 100%);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}
.tecnico-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}
.tecnico-card__media span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(229,57,53,.08);
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tecnico-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.tecnico-card__type {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.tecnico-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
}
.tecnico-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}
.tecnico-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  align-self: flex-start;
  transition: background .2s ease, transform .15s ease;
}
.tecnico-card__btn:hover { background: var(--red); transform: translateX(2px); }

.tecnico-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tecnico-doc {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  color: var(--navy);
  transition: border-color .2s ease, background .2s ease;
}
.tecnico-doc:hover {
  border-color: var(--red);
  background: rgba(229,57,53,.03);
}
.tecnico-doc__ico {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(229,57,53,.08);
  color: var(--red);
  display: grid;
  place-items: center;
  flex: 0 0 42px;
}
.tecnico-doc strong { display: block; font-size: 14.5px; color: var(--navy); }
.tecnico-doc span { display: block; font-size: 12.5px; color: var(--muted); }
.tecnico-doc__arrow {
  margin-left: auto;
  color: var(--red);
  font-size: 20px;
  font-weight: 700;
  transition: transform .2s ease;
}
.tecnico-doc:hover .tecnico-doc__arrow { transform: translateX(4px); }

/* ============================================================
   BLOG — list + detail + aside (padrão MW7 com nosso visual)
   ============================================================ */
.portal-hero--blog { padding: 72px 0 60px; }
.blog-section { padding: 56px 0 96px; }
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.blog-main { min-width: 0; }
.blog-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.blog-context__tag {
  font-size: 13px;
  color: var(--muted);
}
.blog-context__tag strong { color: var(--navy); }
.blog-context__clear {
  margin-left: auto;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(229,57,53,.35);
  box-shadow: 0 20px 40px -22px rgba(15,17,22,.22);
}
.blog-card__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-soft);
}
.blog-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.blog-card:hover .blog-card__thumb img { transform: scale(1.04); }
.blog-card__cat {
  position: absolute;
  left: 14px; top: 14px;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(229,57,53,.92);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.blog-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.blog-card__body time {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .04em;
}
.blog-card__body h3 {
  margin: 0;
  font-size: 17.5px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--navy);
  letter-spacing: -.005em;
}
.blog-card__body h3 a { color: inherit; transition: color .2s ease; }
.blog-card__body h3 a:hover { color: var(--red); }
.blog-card__body p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}
.blog-card__link {
  margin-top: 6px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  transition: transform .2s ease;
}
.blog-card:hover .blog-card__link { transform: translateX(3px); }

.blog-empty {
  padding: 64px 24px;
  text-align: center;
  border: 1px dashed var(--rule);
  border-radius: 14px;
  color: var(--muted);
}
.blog-empty h3 {
  margin: 0 0 6px;
  font-size: 19px;
  color: var(--navy);
  font-weight: 800;
}
.blog-empty p { margin: 0 0 18px; }

/* ASIDE */
.blog-aside {
  position: sticky;
  top: 108px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.blog-aside__block {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
}
.blog-aside__block h3 {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.blog-search {
  position: relative;
  display: flex;
}
.blog-search input {
  flex: 1;
  height: 42px;
  padding: 0 44px 0 14px;
  border-radius: 10px;
  border: 1px solid var(--rule);
  background: #fff;
  font-size: 13.5px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.blog-search input:focus {
  outline: 0;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229,57,53,.12);
}
.blog-search button {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 0;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s ease;
}
.blog-search button:hover { background: var(--red); }

.blog-aside__list {
  margin: 0; padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.blog-aside__list li a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
  transition: color .2s ease, background .2s ease;
}
.blog-aside__list li a:hover {
  color: var(--red);
  background: var(--bg-soft);
}
.blog-aside__list li.is-active a {
  color: var(--red);
  background: rgba(229,57,53,.08);
  font-weight: 700;
}

.blog-aside__recent {
  margin: 0; padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.blog-aside__recent a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  transition: color .2s ease;
}
.blog-aside__recent a:hover { color: var(--red); }
.recent-thumb {
  flex: 0 0 64px;
  width: 64px; height: 48px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-soft);
}
.recent-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.recent-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.recent-body strong {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}
.recent-body time {
  font-size: 11.5px;
  color: var(--muted);
}

.blog-aside__cta {
  padding: 22px;
  background: linear-gradient(135deg, var(--navy) 0%, #0f1117 100%);
  color: #fff;
  border-radius: 14px;
  border: 1px solid var(--rule);
}
.blog-aside__cta h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0;
  text-transform: none;
}
.blog-aside__cta p {
  margin: 0 0 14px;
  font-size: 13px;
  color: rgba(255,255,255,.7);
}

/* Detail */
.blog-detail-hero {
  padding: 64px 0 24px;
  background: var(--portal-internal-hero-bg);
  background-size: cover;
  background-position: center;
}
.blog-back { margin-bottom: 18px; color: #fff; }
.blog-detail__cat {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.blog-detail-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 850;
  color: #fff;
  letter-spacing: -.015em;
  max-width: 22ch;
}
.blog-detail__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255,255,255,.72);
  font-weight: 500;
}
.blog-detail__sep { color: rgba(255,255,255,.38); }

.blog-detail__cover {
  margin: 0 0 32px;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--bg-soft);
}
.blog-detail__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.blog-detail__article {
  font-size: 16px;
  line-height: 1.78;
  color: var(--ink);
}
.blog-detail__article h2,
.blog-detail__article h3 {
  margin: 36px 0 14px;
  color: var(--navy);
  font-weight: 800;
}
.blog-detail__article h2 { font-size: 24px; }
.blog-detail__article h3 { font-size: 19px; }
.blog-detail__article p { margin: 0 0 18px; }
.blog-detail__article ul,
.blog-detail__article ol { padding-left: 22px; margin: 0 0 18px; }
.blog-detail__article ul li { list-style: disc; margin-bottom: 8px; }
.blog-detail__article ol li { list-style: decimal; margin-bottom: 8px; }
.blog-detail__article strong { color: var(--navy); }
.blog-detail__article a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

.blog-detail__share {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 40px 0 0;
  padding: 18px 22px;
  background: var(--bg-soft);
  border-radius: 12px;
}
.blog-detail__share span {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.blog-detail__share a {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  transition: color .2s ease;
}
.blog-detail__share a:hover { color: var(--red); }

.blog-related {
  margin-top: 64px;
  padding-top: 36px;
  border-top: 1px solid var(--rule);
}
.blog-related h2 {
  margin: 0 0 22px;
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
}

/* ============================================================
   RESET CARDS — variante DOWNLOAD (catálogo de arquivos)
   ============================================================ */
.resets-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.reset-card--file {
  text-align: left;
}
.reset-card--file .reset-card__cover {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #f7f7f8 0%, #ececef 100%);
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--rule);
}
.reset-card--file .reset-card__icon {
  color: var(--navy);
  opacity: .25;
  transition: transform .25s ease, opacity .2s ease, color .2s ease;
}
.reset-card--file:hover .reset-card__icon {
  color: var(--red);
  opacity: .85;
  transform: scale(1.08);
}
.reset-card--file .reset-card__pill {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 100px;
  background: #fff;
  border: 1px solid var(--rule);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.reset-card--file .reset-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.reset-card--file .reset-card__body h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  min-height: 38px;
}
.reset-card--file .reset-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--navy);
  color: #fff;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  transition: background .2s ease, transform .15s ease;
}
.reset-card--file .reset-card__btn:hover { background: var(--red); }
.reset-card--file:hover .reset-card__btn { transform: translateY(-1px); }

/* Imagem opcional no card de reset */
.reset-card--img .reset-card__cover {
  background: #fff;
  padding: 0;
  overflow: hidden;
}
.reset-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.reset-card--file:hover .reset-card__img { transform: scale(1.04); }

/* Botão "Assistir vídeo" — vermelho de cara */
.reset-card__btn--video {
  background: var(--red);
  cursor: pointer;
}
.reset-card__btn--video:hover {
  background: #c11a1a;
}

/* ============================================================
   CONTATO — página
   ============================================================ */
.portal-hero--contato { padding: 80px 0 64px; }
.contato-section { padding: 56px 0 72px; }
.contato-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contato-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 30px;
  background: linear-gradient(135deg, var(--navy) 0%, #0f1117 100%);
  color: #fff;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.06);
}
.contato-info__block {
  display: flex;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.contato-info__block:last-of-type { border-bottom: 0; padding-bottom: 0; }
.contato-info__ico {
  width: 42px; height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
  background: rgba(229,57,53,.15);
  color: var(--red);
  display: grid;
  place-items: center;
}
.contato-info__block > div { flex: 1; min-width: 0; }
.contato-info__block span:first-child {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,.55);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contato-info__block a {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  transition: color .2s ease;
}
.contato-info__block a:hover { color: var(--red); }
.contato-info__sep { color: rgba(255,255,255,.4); font-size: 15px; font-weight: 700; margin: 0 4px; }
.contato-info__block p {
  margin: 0;
  color: rgba(255,255,255,.85);
  font-size: 14px;
  line-height: 1.55;
}
.contato-info__wa { margin-top: 8px; justify-content: center; gap: 10px; }

/* Botão WhatsApp — verde oficial */
.btn--whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  border: 1px solid #25D366;
  box-shadow: 0 10px 24px -12px rgba(37,211,102,.65);
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease, color .2s ease;
}
.btn--whatsapp:hover {
  background: #1ebd5a;
  border-color: #1ebd5a;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -10px rgba(37,211,102,.55);
}
.btn--whatsapp svg { flex: 0 0 18px; }

.contato-form {
  padding: 36px 36px 40px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 18px;
  box-shadow: 0 20px 40px -28px rgba(15,17,22,.16);
}
.contato-form h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
}
.contato-form__lede {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
}
.contato-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contato-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.contato-field > label {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.contato-field > label span { color: var(--red); }
.contato-field input,
.contato-field select,
.contato-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--rule);
  background: #fff;
  font-size: 14.5px;
  color: var(--ink);
  font-family: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contato-field input:focus,
.contato-field select:focus,
.contato-field textarea:focus {
  outline: 0;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229,57,53,.12);
}
.contato-field textarea {
  min-height: 130px;
  resize: vertical;
}
.contato-form__submit {
  width: 100%;
  margin-top: 8px;
  height: 50px;
  justify-content: center;
}
.contato-form__legal {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.contato-form__error {
  padding: 12px 16px;
  margin: 0 0 16px;
  background: #fff3f3;
  border: 1px solid rgba(229,57,53,.25);
  border-left: 3px solid var(--red);
  border-radius: 8px;
  color: #b3261e;
  font-size: 13.5px;
}

.contato-map {
  margin-top: 32px;
  background: #111;
  line-height: 0;
}
.contato-map iframe {
  display: block;
  width: 100%;
}

/* Página de sucesso */
.contato-ok {
  padding: 96px 0 80px;
  text-align: center;
}
.contato-ok__inner { max-width: 520px; margin: 0 auto; }
.contato-ok__check {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(40,167,69,.12);
  color: #28a745;
  margin: 0 0 22px;
}
.contato-ok h1 {
  margin: 8px 0 12px;
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 850;
  color: var(--navy);
}
.contato-ok p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.contato-ok__actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- PÁGINAS LEGAIS — Política / Termos ---------- */
.portal-hero--legal { padding: 80px 0 64px; }
.legal-doc { max-width: 860px; }
.legal-doc__meta {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.legal-doc h2:not(:first-child) { margin-top: 36px; }

/* ---------- Responsivo ---------- */
/* tablet */
@media (max-width: 1100px) {
  .blog-layout { grid-template-columns: 1fr; gap: 40px; }
  .blog-aside { position: static; }
  .contato-layout { grid-template-columns: 1fr; gap: 32px; }
  .cliente-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .cliente-hero__visual { max-width: 520px; }
  .resets-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .resets-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-nav { position: static; }
}

/* mobile */
@media (max-width: 820px) {
  .portal-hero { padding: 56px 0 48px; }
  .portal-hero h1 { font-size: clamp(26px, 7vw, 34px); }
  .portal-section { padding: 48px 0 64px; }

  .portal-auth { padding: 32px 0; }
  .portal-auth__shell { grid-template-columns: 1fr; border-radius: 16px; }
  .portal-auth__card { padding: 32px 24px; }
  .portal-auth__side { display: none; }

  .portal-cta__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 22px;
    gap: 16px;
  }
  .portal-cta__inner h2 { font-size: 19px; }

  .portal-internal__head { flex-direction: column; gap: 18px; align-items: flex-start; }
  .portal-tecnico__topbar { flex-direction: column; align-items: flex-start; gap: 16px; }

  .resets-grid,
  .resets-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .reset-card--file .reset-card__body { padding: 14px 14px 16px; }
  .reset-card--file .reset-card__body h3 { font-size: 13.5px; min-height: auto; }
  .reset-card--file .reset-card__btn { padding: 9px 12px; font-size: 11.5px; }

  .drivers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .driver-card__logo { padding: 26px 18px; min-height: 110px; }

  .faq-tabs { grid-template-columns: 1fr; gap: 10px; margin-bottom: 24px; }
  .faq-tab { padding: 18px 20px; }
  .faq-item summary { font-size: 14px; padding: 14px 44px 14px 16px; }

  .contato-form { padding: 28px 24px 32px; }
  .contato-grid-2 { grid-template-columns: 1fr; gap: 0; }
  .contato-info { padding: 26px 24px; }
  .contato-map iframe { height: 380px; }

  .cliente-hero { padding: 72px 0 56px; }
  .cliente-hero__visual { display: none; }
  .cliente-cta__actions { width: 100%; flex-direction: column; }
  .cliente-cta__actions .btn { width: 100%; justify-content: center; }

  .tecnico-grid { grid-template-columns: 1fr; }
  .tecnico-doc { padding: 14px 16px; }
  .tecnico-doc__ico { width: 36px; height: 36px; flex-basis: 36px; }

  .blog-grid { grid-template-columns: 1fr; }
  .blog-card__body { padding: 18px; }
  .blog-card__body h3 { font-size: 16px; }
  .blog-detail-hero { padding: 48px 0 18px; }
  .blog-detail-hero h1 { font-size: clamp(24px, 6.5vw, 32px); }
  .blog-detail__share { flex-wrap: wrap; gap: 10px; padding: 14px 18px; }
  .blog-related { margin-top: 48px; padding-top: 28px; }
}

@media (max-width: 520px) {
  .resets-grid,
  .resets-grid--4 { grid-template-columns: 1fr; }
  .drivers-grid { grid-template-columns: 1fr; }
  .portal-section { padding: 40px 0 56px; }
  .contato-ok { padding: 64px 0; }
  .contato-ok__actions { flex-direction: column; width: 100%; }
  .contato-ok__actions .btn { width: 100%; justify-content: center; }
}

/* ==========================================================
   Página de busca
   ========================================================== */
.busca-form {
  display: flex;
  gap: 8px;
  max-width: 620px;
  margin: 26px auto 0;
  padding: 8px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(0,0,0,.22);
}
.busca-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--navy);
  background: transparent;
}
.busca-form button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  border: 0;
  border-radius: 8px;
  padding: 12px 22px;
  background: var(--red);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease;
}
.busca-form button:hover { background: var(--red-bright); }

.busca-contagem { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.busca-grupo { margin-bottom: 38px; }
.busca-grupo__titulo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
  padding-bottom: 10px;
  margin: 0 0 14px;
  border-bottom: 1px solid var(--rule);
}
.busca-grupo__titulo span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 20px;
  background: rgba(226,27,27,.1);
  color: var(--red);
  font-size: 11px;
  letter-spacing: 0;
}
.busca-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.busca-lista a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.busca-lista a:hover {
  border-color: var(--red);
  background: rgba(226,27,27,.03);
  transform: translateX(3px);
}
.busca-lista strong { display: block; color: var(--navy); font-size: 15.5px; font-weight: 700; }
.busca-lista span { display: block; margin-top: 4px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }

.busca-vazio { color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 620px; }
.busca-vazio--dica { margin-bottom: 22px; }
