/* AVANTHY COMMERCIAL POPUP PREMIUM V2 — INÍCIO */

.avt-cp-overlay,
.avt-cp-overlay * {
  box-sizing: border-box;
}

.avt-cp-overlay {
  position: fixed;
  z-index: 99995;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 17, 37, 0.76);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 280ms ease,
    visibility 280ms ease;
}

.avt-cp-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.avt-cp-dialog {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  width: min(880px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 28px;
  box-shadow:
    0 42px 110px rgba(0, 17, 37, 0.42),
    0 2px 5px rgba(0, 17, 37, 0.08);
  transform: translateY(32px) scale(.965);
  transition: transform 420ms cubic-bezier(.2,.82,.2,1);
}

.avt-cp-overlay.is-visible .avt-cp-dialog {
  transform: translateY(0) scale(1);
}

/* Lado visual */

.avt-cp-visual {
  position: relative;
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: space-between;
  padding: 38px;
  color: #fff;
  background:
    radial-gradient(
      circle at 92% 8%,
      rgba(255, 102, 0, .52),
      transparent 28%
    ),
    linear-gradient(145deg, #00172f 0%, #003e70 62%, #006eaa 100%);
  overflow: hidden;
}

.avt-cp-visual::before {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -150px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
}

.avt-cp-logo {
  position: relative;
  z-index: 2;
  display: block;
  width: 190px;
  height: auto;
}

.avt-cp-preview {
  position: relative;
  z-index: 2;
  margin: 38px 0 30px;
}

.avt-cp-browser {
  position: relative;
  width: 100%;
  min-height: 205px;
  padding: 38px 16px 16px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 17px;
  box-shadow: 0 22px 48px rgba(0, 16, 35, .30);
  transform: rotate(-2deg);
  transition:
    transform 320ms ease,
    box-shadow 320ms ease;
}

.avt-cp-dialog:hover .avt-cp-browser {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 28px 56px rgba(0, 16, 35, .36);
}

.avt-cp-browser-top {
  position: absolute;
  top: 15px;
  left: 17px;
  display: flex;
  gap: 6px;
}

.avt-cp-browser-top span {
  width: 7px;
  height: 7px;
  background: #cad5df;
  border-radius: 50%;
}

.avt-cp-browser-top span:first-child {
  background: #ff6600;
}

.avt-cp-browser-content {
  display: grid;
  grid-template-columns: 46% 1fr;
  gap: 12px;
}

.avt-cp-mock-copy {
  padding: 10px 4px;
}

.avt-cp-mock-label {
  width: 42%;
  height: 7px;
  margin-bottom: 12px;
  background: #ff6600;
  border-radius: 999px;
}

.avt-cp-mock-title {
  width: 92%;
  height: 14px;
  margin-bottom: 8px;
  background: #00234d;
  border-radius: 999px;
}

.avt-cp-mock-title.short {
  width: 68%;
}

.avt-cp-mock-text {
  width: 84%;
  height: 6px;
  margin-top: 17px;
  background: #dbe5ec;
  border-radius: 999px;
}

.avt-cp-mock-text.short {
  width: 62%;
  margin-top: 7px;
}

.avt-cp-mock-button {
  width: 78px;
  height: 24px;
  margin-top: 20px;
  background: linear-gradient(135deg, #ff6600, #ff984d);
  border-radius: 7px;
}

.avt-cp-mock-image {
  position: relative;
  min-height: 142px;
  background:
    radial-gradient(circle at 72% 28%, rgba(255,102,0,.72), transparent 20%),
    linear-gradient(140deg, #ddecf5, #80bddc);
  border-radius: 12px;
  overflow: hidden;
}

.avt-cp-mock-image::before,
.avt-cp-mock-image::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,.88);
  border-radius: 10px;
  box-shadow: 0 9px 22px rgba(0,35,77,.13);
}

.avt-cp-mock-image::before {
  top: 22px;
  right: 16px;
  width: 66%;
  height: 55px;
}

.avt-cp-mock-image::after {
  right: 28px;
  bottom: 20px;
  width: 48%;
  height: 35px;
}

.avt-cp-visual-bottom {
  position: relative;
  z-index: 2;
}

.avt-cp-visual-bottom strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-family: Poppins, Arial, sans-serif;
  font-size: 19px;
  line-height: 1.25;
}

.avt-cp-visual-bottom span {
  color: rgba(255,255,255,.72);
  font-family: Poppins, Arial, sans-serif;
  font-size: 11px;
  line-height: 1.65;
}

/* Conteúdo */

.avt-cp-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px 50px;
}

.avt-cp-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  padding: 0;
  color: #1f2937;
  background: #f1f5f8;
  border: 1px solid #dce4eb;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 22px;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.avt-cp-close:hover,
.avt-cp-close:focus-visible {
  color: #000;
  background: #e5ebf0;
  transform: rotate(8deg);
}

.avt-cp-exclusive {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 12px;
  color: #a64200;
  background: #fff2e8;
  border: 1px solid #ffd4b7;
  border-radius: 999px;
  font-family: Poppins, Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.avt-cp-exclusive::before {
  content: "";
  width: 7px;
  height: 7px;
  background: #ff6600;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255,102,0,.10);
}

.avt-cp-content h2 {
  margin: 0;
  color: #00234d;
  font-family: Poppins, Arial, sans-serif;
  font-size: clamp(29px, 3.5vw, 41px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.avt-cp-content h2 span {
  color: #ff6600;
}

.avt-cp-description {
  margin: 18px 0 0;
  color: #5c7083;
  font-family: Poppins, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.75;
}

.avt-cp-benefits {
  display: grid;
  gap: 11px;
  margin: 23px 0 0;
  padding: 0;
  list-style: none;
}

.avt-cp-benefits li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #23445f;
  font-family: Poppins, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
}

.avt-cp-benefits li::before {
  content: "✓";
  display: grid;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #0065a3, #00a3d7);
  border-radius: 7px;
  font-size: 11px;
  font-weight: 800;
}

.avt-cp-actions {
  display: grid;
  gap: 11px;
  margin-top: 28px;
}

.avt-cp-button {
  display: inline-flex;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 18px;
  border-radius: 13px;
  font-family: Poppins, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 190ms ease,
    box-shadow 190ms ease;
}

.avt-cp-button:hover,
.avt-cp-button:focus-visible {
  transform: translateY(-2px);
}

.avt-cp-button-primary {
  color: #fff;
  background: linear-gradient(135deg, #ff6600, #ff963f);
  box-shadow: 0 13px 30px rgba(255,102,0,.25);
}

.avt-cp-button-primary:hover,
.avt-cp-button-primary:focus-visible {
  box-shadow: 0 17px 36px rgba(255,102,0,.34);
}

.avt-cp-button-secondary {
  color: #fff;
  background: linear-gradient(135deg, #00234d, #0079b7);
  border: 0;
  box-shadow: 0 12px 28px rgba(0,67,111,.18);
}

.avt-cp-note {
  margin: 16px 0 0;
  color: #8796a4;
  font-family: Poppins, Arial, sans-serif;
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}

body.avt-cp-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .avt-cp-overlay {
    align-items: end;
    padding: 10px;
  }

  .avt-cp-dialog {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 20px);
    border-radius: 23px;
  }

  .avt-cp-visual {
    min-height: auto;
    padding: 24px;
  }

  .avt-cp-logo {
    width: 155px;
  }

  .avt-cp-preview {
    display: none;
  }

  .avt-cp-visual-bottom {
    margin-top: 35px;
    max-width: calc(100% - 40px);
  }

  .avt-cp-visual-bottom strong {
    font-size: 18px;
  }

  .avt-cp-visual-bottom span {
    display: none;
  }

  .avt-cp-content {
    padding: 31px 23px 25px;
  }

  .avt-cp-close {
    top: 15px;
    right: 15px;
    color: #1f2937;
    background: rgba(255,255,255,.95);
  }

  .avt-cp-content h2 {
    font-size: 29px;
    letter-spacing: -1px;
  }
}

@media (max-width: 390px) {
  .avt-cp-overlay {
    padding: 6px;
  }

  .avt-cp-visual {
    padding: 20px;
  }

  .avt-cp-visual-bottom {
    margin-top: 27px;
  }

  .avt-cp-content {
    padding: 27px 19px 21px;
  }

  .avt-cp-description {
    font-size: 12px;
  }

  .avt-cp-benefits {
    margin-top: 18px;
  }

  .avt-cp-actions {
    margin-top: 22px;
  }

  .avt-cp-button {
    min-height: 47px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .avt-cp-overlay,
  .avt-cp-dialog,
  .avt-cp-browser,
  .avt-cp-button,
  .avt-cp-close {
    transition: none;
  }
}

/* AVANTHY COMMERCIAL POPUP PREMIUM V2 — FIM */
