/*assets/css/premium-v2.css*/
/* Mister Suite — Refinamento UX / Correção Sticky Header / Viewport Mobile / Toast / Accordion v2.3 */
:root {
  --card-ink: #142842;
  --card-bg: #f6f8fc;
  --card-border: #d5dfeb;
}

/* Proteção contra vazamento horizontal preservando o scroll para position: sticky */
html {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  scroll-padding-top: 86px;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  position: relative;
}

*, *:before, *:after {
  box-sizing: border-box;
}

/* Header Fixo e Elevado */
.header {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  width: 100%;
  background: rgba(7, 19, 39, 0.96) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

img, svg {
  max-width: 100%;
  height: auto;
}

a, button, input, select {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #c99a51;
  outline-offset: 3px;
}

/* Faixa de Confiança (Trust Band) - Mobile Contido */
.trust-band {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: #0a182c;
  color: #758ca8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 22px;
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.trust-inner > span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #d2b37a;
  line-height: 1.4;
  white-space: normal;
}

.trust-inner > div {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-inner > div span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* Acordeom FAQ Premium */
.faq-list details {
  transition: background-color 0.2s ease, border-color 0.2s ease;
  border-bottom: 1px solid #e1e6ec;
  padding: 19px 0;
}

.faq-list details[open] {
  border-bottom-color: #d6b374;
}

.faq-list summary {
  user-select: none;
  transition: color 0.2s ease;
}

.faq-list summary:hover {
  color: #a47834;
}

.faq-list details p {
  animation: faqSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes faqSlide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Spinner de Envio */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(16, 32, 58, 0.25);
  border-top-color: #10203a;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Toast Notifier Flutuante */
.premium-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 380px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #0d2440;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  z-index: 9999;
  border-left: 5px solid #d6b374;
  transform: translateY(30px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.premium-toast.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.premium-toast.toast-success {
  border-left-color: #2ec486;
}

.premium-toast.toast-error {
  border-left-color: #e55353;
}

.toast-icon {
  font-size: 20px;
  line-height: 1;
}

.toast-success .toast-icon {
  color: #2ec486;
}

.toast-error .toast-icon {
  color: #e55353;
}

.toast-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.toast-title {
  font-size: 13px;
  font-weight: 700;
  color: #f7dfa9;
}

.toast-message {
  font-size: 12px;
  line-height: 1.4;
  color: #d1dde9;
  margin: 0;
}

/* Cards com contraste alto e feedback visível */
.solutions {
  background: linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}

.product-card {
  background: linear-gradient(150deg, #fff 0%, #f3f6fb 100%);
  border: 1px solid #cdd8e6;
  border-top: 3px solid #cda45e;
  box-shadow: 0 5px 16px rgba(13, 36, 66, 0.04);
  position: relative;
  isolation: isolate;
  border-radius: 14px;
}

.product-card:before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 75px;
  background: linear-gradient(120deg, rgba(214, 176, 112, 0.08), transparent);
  z-index: -1;
  pointer-events: none;
}

.product-card:hover,
.product-card:focus-within {
  background: #fff;
  border-color: #b9914f;
  box-shadow: 0 16px 32px rgba(16, 35, 59, 0.1);
}

.product-icon {
  background: #102740;
  color: #f8d592;
  box-shadow: 0 4px 15px rgba(21, 44, 67, 0.12);
  width: 49px;
  height: 49px;
  border-radius: 13px;
  font-size: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-icon svg {
  width: 24px;
  height: 24px;
  fill: #f8d592;
}

.product-arrow {
  font-size: 18px;
  color: #8c6935;
  background: #efe7d9;
  border-radius: 50%;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
}

.product-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.015em;
  color: #526783;
}

.product-card h3 {
  font-size: 16px;
  line-height: 1.32;
  color: #0d2440;
}

.product-card p {
  font-size: 12.5px;
  line-height: 1.6;
  color: #445875;
}

.product-link {
  font-size: 12px;
  color: #825a22;
  min-height: 28px;
  align-items: center;
}

.filter-btn {
  min-height: 42px;
  border-color: #c9d3df;
  color: #405572;
}

.filter-btn:focus-visible {
  outline-offset: 2px;
}

/* Adaptações Responsivas Mobile */
@media (max-width: 900px) {
  .hero-layout {
    min-height: initial;
    grid-template-columns: 1fr;
    padding-top: 60px;
    padding-bottom: 40px;
  }
  .nav-links {
    gap: 10px;
  }
  .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  .hero-visual {
    max-width: 100%;
    overflow: hidden;
  }
}

@media (max-width: 700px) {
  .container {
    width: calc(100% - 32px);
    max-width: 100%;
    margin-inline: auto;
  }
  .header {
    top: 0 !important;
  }
  .announcement {
    padding: 8px 14px;
    font-size: 10px;
  }
  .announcement a {
    margin: 3px 0 0 6px;
  }
  .nav {
    min-height: 65px;
  }
  .brand {
    font-size: 17px;
  }
  .brand small {
    font-size: 6px;
  }
  .brand-mark {
    transform: scale(0.88) skewY(-12deg);
    transform-origin: left center;
  }
  .nav-links {
    max-height: calc(100dvh - 65px);
    overflow-y: auto;
  }
  .nav-links a {
    padding: 15px 0;
    font-size: 14px;
  }
  
  .hero-layout {
    padding-top: 35px;
    padding-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 0;
  }
  .hero-content {
    width: 100%;
  }
  .hero h1 {
    font-size: clamp(28px, 7.8vw, 38px);
    line-height: 1.18;
    letter-spacing: -0.04em;
    margin: 16px 0 16px;
    overflow-wrap: break-word;
  }
  .hero-copy {
    font-size: 14px;
    line-height: 1.65;
  }
  .hero-cta {
    gap: 10px;
    margin: 20px 0 24px;
  }
  .hero-cta .btn {
    min-height: 50px;
    font-size: 13px;
  }
  .hero-proof {
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
  }
  .proof-item {
    gap: 7px;
  }
  .proof-item strong {
    font-size: 20px;
  }
  .proof-item span {
    font-size: 10px;
  }
  .proof-divider {
    height: 26px;
  }
  .launch-note {
    margin-top: 18px;
    font-size: 11px;
  }

  /* Mockup Visual sem estourar Viewport */
  .hero-visual {
    width: 100%;
    max-width: 100%;
    height: 290px;
    min-height: 290px;
    margin-top: 15px;
    overflow: hidden;
    position: relative;
  }
  .mock-app {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -290px;
    margin-top: -182px;
    min-width: 580px !important;
    max-width: 580px !important;
    transform: scale(0.50);
    transform-origin: center center;
  }
  .orb-a {
    left: 10%;
    right: auto;
    top: 20px;
  }
  .orb-b {
    width: 250px;
    height: 250px;
    left: 50%;
    right: auto;
    top: 0;
    transform: translateX(-50%);
  }
  .floating-card {
    transform: scale(0.65);
    max-width: 175px;
  }
  .float-one {
    right: -15px;
    top: 15px;
  }
  .float-two {
    left: -15px;
    bottom: 25px;
  }
  .visual-disclaimer {
    bottom: 4px;
    font-size: 9px;
    width: 100%;
    text-align: center;
  }

  /* Barra de Confiança em Mobile - Correção de Texto Quebrado */
  .trust-band {
    padding: 16px 0;
  }
  .trust-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 0;
    width: calc(100% - 32px);
  }
  .trust-inner > span {
    font-size: 10px;
    line-height: 1.4;
    color: #e5bc76;
    letter-spacing: 0.08em;
  }
  .trust-inner > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    width: 100%;
  }
  .trust-inner > div span {
    font-size: 10px;
    line-height: 1.35;
    white-space: normal;
    word-break: normal;
    color: #9cb3cb;
  }

  .section {
    padding-top: 55px;
    padding-bottom: 55px;
  }
  .section-header {
    margin-bottom: 22px;
  }
  .section-header h2,
  .center-heading h2,
  .benefits h2,
  .faq-layout h2,
  .lead-copy h2 {
    font-size: clamp(25px, 6.8vw, 32px);
    line-height: 1.22;
  }
  .section-header p,
  .center-heading p,
  .benefits-intro > p,
  .lead-copy > p {
    font-size: 13px;
    line-height: 1.65;
  }

  .filter-bar {
    margin: 0 -16px 20px;
    padding: 0 16px 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .filter-btn {
    scroll-snap-align: start;
    min-height: 42px;
    font-size: 12px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .product-card {
    min-width: 0;
    min-height: 225px;
    padding: 14px 12px;
    border-radius: 12px;
  }
  .product-top {
    margin-bottom: 14px;
  }
  .product-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .product-category {
    font-size: 10px;
  }
  .product-card h3 {
    font-size: 14px;
    line-height: 1.3;
  }
  .product-card p {
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 10px;
  }
  .product-link {
    font-size: 11px;
    line-height: 1.3;
  }

  .solutions-foot {
    margin-top: 20px;
    gap: 8px;
  }
  .solutions-foot p {
    font-size: 12px;
  }
  .solutions-foot a {
    font-size: 12px;
  }

  .benefits-layout,
  .faq-layout,
  .lead-layout {
    gap: 25px;
  }
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .benefit-card {
    padding: 16px 12px;
    min-height: 190px;
  }
  .benefit-card h3 {
    font-size: 13px;
    line-height: 1.35;
  }
  .benefit-card p {
    font-size: 11px;
  }

  .center-heading {
    margin-bottom: 28px;
  }
  .steps-grid {
    gap: 14px;
  }
  .steps-grid > div {
    padding: 14px 2px 7px;
  }
  .steps-grid > div span {
    font-size: 26px;
  }
  .steps-grid h3 {
    margin: 8px 0;
    font-size: 16px;
  }
  .steps-grid p {
    margin-bottom: 0;
  }

  .pricing-grid {
    gap: 20px;
  }
  .price-card {
    padding: 22px 18px;
  }
  .price-card.featured {
    order: -1;
  }
  .price {
    font-size: 44px;
  }
  .plan-list {
    gap: 10px;
  }
  .pricing-fineprint {
    font-size: 11px;
  }

  .faq-list details {
    padding: 16px 0;
  }
  .faq-list summary {
    font-size: 13px;
    line-height: 1.45;
  }

  .lead-panel {
    padding: 20px 16px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-field {
    margin-bottom: 12px;
  }
  .form-field input,
  .form-field select {
    height: 48px;
    font-size: 14px;
  }
  .form-field label {
    font-size: 12px;
  }
  .form-intro h3 {
    font-size: 21px;
  }
  .consent {
    font-size: 12px;
  }

  .footer {
    padding: 40px 0 20px;
  }
  .footer-top {
    gap: 20px;
    padding-bottom: 28px;
  }
  .footer-col {
    gap: 12px;
  }
  .footer-bottom {
    font-size: 10px;
  }
  .premium-toast {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
  }
}

@media (max-width: 380px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 28px;
  }
}