@import url("https://fonts.googleapis.com/css2?family=Finger+Paint&family=Montserrat:wght@500;700&family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
  --red: #fe646f;
  --green: #389274;
  --white: #fff;
  --black: #000;
  --prime-navy: #10233e;
  --prime-blue: #0878e8;
  --prime-muted: #53657b;
  --prime-page: #f8fbff;
  --prime-light-blue: #eaf5ff;
}

html,
body {
  margin: 0;
  padding: 0 !important;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 1.1;
  overflow-x: hidden !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: never;
}

a:hover {
  color: #000000;
}

/* Adstrategy */
#section-ads {
  text-align: center;
  padding: 30px 0;
  filter: brightness(0);
}
/* nav */
.nav-outer {
  width: 100%;
  max-width: 100%;
  background: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: -30px;
  /* mesmo espaçamento lateral do hero, para o logo alinhar com o conteúdo */
  padding: 25px 100px;
}
.nav {
  width: 100%;
  max-width: 1440px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}
/* Prime page */
.prime-page {
  --prime-card-shadow: 0 5px 18px rgba(10, 41, 77, 0.08);
  width: 100%;
  min-height: 100vh;
  padding-bottom: 30px;
  background: var(--prime-page);
  color: var(--prime-navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.prime-page,
.prime-page *,
.prime-page *::before,
.prime-page *::after {
  box-sizing: border-box;
}
.prime-page img {
  display: block;
  max-width: 100%;
}
.prime-page button,
.prime-page a {
  font-family: inherit;
}
.prime-hero {
  width: 100%;
  min-height: 622px;
  padding: 90px 100px;
  position: relative;
  background-color: var(--prime-page);
  /* --prime-hero-bg: imagem escolhida no editor (style no <section>); sem ela, a foto do design */
  background: var(--prime-hero-bg, url("/comparador/img/hero-photo.png"));
  background-position: center 80%;
  background-size: cover;
  background-repeat: no-repeat;
}
.prime-hero-inner {
  width: 100%;
  max-width: 1440px;
  min-height: 522px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.prime-hero-left {
  flex: 1 1 610px;
  max-width: 610px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 25px;
}
.prime-logo {
  display: flex;
  align-items: flex-start;
}
.prime-logo > img {
  width: 51px;
  height: 44px;
  flex: 0 0 auto;
}
.prime-logo__text {
  margin-left: 7px;
  color: var(--prime-navy);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.prime-logo__text > span {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.prime-logo__text > span span,
.prime-footer__logo strong span {
  color: var(--prime-blue);
}
.prime-logo__text small {
  font-size: 13.75px;
  line-height: 1;
}
.prime-badge {
  margin: 0;
  padding: 2px 20px;
  border-radius: 33px;
  background: var(--prime-navy);
  color: var(--white);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}
.prime-title {
  max-width: 610px;
  margin: 0;
  color: var(--prime-blue);
  font-size: 54px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  text-shadow:
    0 0 20px #fff,
    0 0 50px #fff;
}
.prime-title span {
  display: block;
  color: var(--prime-navy);
}
.prime-intro {
  max-width: 450px;
  margin: 0;
  color: var(--prime-navy);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  text-shadow:
    0 0 20px #fff,
    0 0 50px #fff;
}
.prime-hero-right {
  flex: 0 1 620px;
  max-width: 620px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 51px;
}
.prime-online-badge {
  padding: 9px 19px;
  border-radius: 18px;
  background: var(--prime-light-blue);
  box-shadow: var(--prime-card-shadow);
  display: flex;
  align-items: center;
  gap: 10px;
}
.prime-online-badge img {
  width: 28px;
  height: 28px;
}
.prime-online-badge span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  white-space: nowrap;
  line-height: 1.15;
}
.prime-online-badge strong {
  color: var(--prime-navy);
  font-size: 15px;
  font-weight: 500;
}
.prime-online-badge small {
  color: var(--prime-muted);
  font-size: 13px;
}
.prime-offer-grid {
  width: 100%;
  max-width: 620px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(200px, auto);
  gap: 10px;
  justify-content: end;
}
.prime-offer--car {
  grid-column: 1;
  grid-row: 1;
}
.prime-offer--multi-risk {
  grid-column: 2;
  grid-row: 1;
}
.prime-offer--energy {
  grid-column: 3;
  grid-row: 1;
}
.prime-offer--health {
  grid-column: 1;
  grid-row: 2;
}
.prime-offer--credit {
  grid-column: 2;
  grid-row: 2;
}
.prime-offer--home {
  grid-column: 3;
  grid-row: 2;
}
.prime-offer {
  min-width: 0;
  padding: 15px;
  border: 1px solid #e5edf5;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--prime-card-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  transition: all 0.6s ease;
}
.prime-offer:hover,
.prime-offer.is-selected {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(10, 41, 77, 0.14);
}
.prime-offer__icon {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prime-offer--car .prime-offer__icon {
  background: #eaf3ff;
}
.prime-offer--multi-risk .prime-offer__icon {
  background: #e5f8f5;
}
.prime-offer--energy .prime-offer__icon {
  background: #fff5d7;
}
.prime-offer--health .prime-offer__icon {
  background: #fff0f4;
}
.prime-offer--credit .prime-offer__icon {
  background: #f2eeff;
}
.prime-offer--home .prime-offer__icon {
  background: #fff0e8;
}
/* páginas das LPs (ofertas do offerwall): fundo cinza; a cor escolhida para o ícone no offerwall
   vem num style="" e ganha. As cores por posição acima ficam só na página inicial de exemplo. */
.prime-offer-grid--auto .prime-offer__icon {
  background: #f6f6f6;
}
.prime-offer__icon img {
  width: 38px;
  height: 38px;
}
.prime-offer__title {
  width: 100%;
  min-height: 49px;
  margin: 0;
  color: var(--prime-navy);
  display: flex;
  align-items: center;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}
.prime-offer--multi-risk .prime-offer__title,
.prime-offer--credit .prime-offer__title {
  font-size: 15px;
}
.prime-offer__button {
  width: 100%;
  min-height: 40px;
  padding: 0 15px;
  border: 0;
  border-radius: 66px;
  background: var(--prime-light-blue);
  color: var(--prime-blue);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}
.prime-offer__button:hover,
.prime-offer__button:focus-visible {
  background: #d7eaff;
  transform: translateX(2px);
}
.prime-offer__button:focus-visible {
  outline: 3px solid rgba(8, 120, 232, 0.28);
  outline-offset: 2px;
}
.prime-offer__button img {
  width: 15px;
  height: 15px;
}
.prime-google-review {
  width: 290px;
  height: 75px;
  padding: 17px 15px;
  border-radius: 16px;
  background: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}
.prime-google-review__logo {
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
}
.prime-google-review__rating {
  width: 140px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #172a3d;
  font-family: "Montserrat", sans-serif;
}
.prime-google-review__rating > span {
  font-size: 14px;
  line-height: 1;
}
.prime-google-review__rating > div {
  display: flex;
  align-items: center;
}
.prime-google-review__rating strong {
  font-size: 15.5px;
  line-height: 1;
}
.prime-google-review__rating div img {
  width: 91px;
  height: 16px;
}
.prime-google-review__divider {
  width: 1px;
  height: 38px;
  max-width: none;
}
.prime-google-review__count {
  width: 56px;
  color: #172a3d;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  line-height: 1.1;
}
.prime-trust {
  width: calc(100% - 200px);
  max-width: 1440px;
  min-height: 76px;
  padding: 23px 50px;
  border-radius: 28px;
  background: #f2f8fe;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.prime-trust__item {
  display: flex;
  align-items: center;
  gap: 9px;
}
.prime-trust__item > img {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}
.prime-trust__item h2,
.prime-trust__item p {
  margin: 0;
}
.prime-trust__item h2 {
  color: var(--prime-navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
}
.prime-trust__item p {
  color: #2b3e56;
  font-size: 12px;
  line-height: 1;
}
.prime-trust__item:last-of-type p {
  font-size: 10.5px;
}
.prime-trust__divider {
  width: 1px;
  height: 60px;
  background: #d8e5f0;
}
.prime-value {
  width: calc(100% - 200px);
  max-width: 1440px;
  min-height: 118px;
  padding: 40px 50px;
  position: relative;
  border-radius: 34px;
  background: #eaf5ff;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.prime-value__copy {
  width: 850px;
  position: relative;
  z-index: 2;
}
.prime-value__copy h2 {
  margin: 0 0 10px;
  color: var(--prime-navy);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
}
.prime-value__copy p {
  width: 386px;
  margin: 0;
  color: var(--prime-muted);
  font-size: 16px;
  line-height: 1.2;
}
.prime-value__organic {
  width: 685px;
  height: 685px;
  position: absolute;
  top: -251px;
  left: 55%;
  max-width: none;
}
.prime-value__arrow {
  width: 303px;
  height: 44px;
  position: absolute;
  top: 80px;
  left: 44%;
  max-width: none;
}
.prime-value__annotation {
  width: 343px;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 71%;
  z-index: 2;
  color: var(--prime-blue);
  transform: translateY(-50%) rotate(5deg);
  font-family: "Finger Paint", cursive;
  font-size: 25px;
  line-height: 1;
}
.prime-value__annotation span {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}
.prime-page .prime-value__mobile-circle {
  display: none;
}
.prime-footer {
  width: 100%;
  min-height: 106px;
  padding: 31px 100px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.prime-footer__logo {
  display: flex;
  align-items: flex-start;
}
.prime-footer__logo > img {
  width: 35px;
  height: 31px;
}
.prime-footer__logo > div {
  margin-left: 5px;
  display: flex;
  flex-direction: column;
  color: var(--prime-navy);
}
.prime-footer__logo strong {
  font-size: 18px;
  line-height: 1;
}
.prime-footer__logo small {
  font-size: 9.5px;
  line-height: 1.1;
}
.prime-footer > a {
  width: 250px;
  color: var(--prime-muted);
  font-size: 13px;
  line-height: 1.2;
  text-align: right;
  text-decoration: none;
}
.prime-footer > a:hover {
  color: var(--prime-blue);
  text-decoration: underline;
}

/* Media Queries */
@media only screen and (max-width: 1400px) {
  .nav-outer {
    padding-right: 60px;
    padding-left: 60px;
  }
  .prime-hero {
    background-position: 40% bottom;
    background-size: 120%;
    padding-right: 60px;
    padding-left: 60px;
  }
  .prime-title {
    font-size: 45px;
  }
  .prime-intro {
    font-size: 16px;
  }
  .prime-trust__item {
    padding: 0 10px;
    max-width: 22%;
  }
  .prime-trust__item h2,
  .prime-trust__item p {
    white-space: unset;
  }
  .prime-trust {
    padding: 20px;
  }
  .prime-trust__item h2 {
    font-size: 14px;
  }
  .prime-trust__item p {
    font-size: 10px;
  }
  .prime-value__organic,
  .prime-value__arrow {
    max-width: 250px;
    height: auto;
    top: 54%;
  }
}
@media only screen and (max-width: 1200px) {
  .prime-hero {
    background-position: 45% bottom;
    background-size: 140%;
  }
  .prime-offer {
    padding: 12px;
  }
  .prime-offer__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }
  .prime-offer__icon img {
    width: 32px;
    height: 32px;
  }
  .prime-offer__title {
    font-size: 15px;
  }
  .prime-offer--multi-risk .prime-offer__title,
  .prime-offer--credit .prime-offer__title {
    font-size: 13px;
  }
  .prime-offer__button {
    padding: 4px 8px;
    gap: 4px;
    font-size: 11px;
    text-align: center;
  }
  .prime-trust,
  .prime-value {
    width: calc(100% - 120px);
  }
  .prime-trust {
    padding-right: 30px;
    padding-left: 30px;
  }
  .prime-value__annotation {
    left: 68%;
  }
  .prime-value__organic,
  .prime-value__arrow {
    max-width: 200px;
  }
}
@media only screen and (min-width: 992px) and (max-width: 1100px) {
  .prime-value__copy {
    width: 42%;
  }
  .prime-value__copy p {
    width: auto;
  }
  .prime-value__arrow {
    width: 160px;
    height: 44px;
    top: 80px;
    left: auto;
    right: 300px;
  }
  .prime-value__annotation {
    width: 250px;
    left: auto;
    right: 40px;
    font-size: 19.5px;
  }
}
@media only screen and (max-width: 991px) {
  .nav-outer {
    padding-right: 30px;
    padding-left: 30px;
  }
  .prime-page {
    padding: 0 20px 30px;
    gap: 21px;
  }
  .prime-hero {
    width: 100vw;
    min-height: 0;
    margin-left: 0;
    padding: 30px 30px 20px;
    background-image: linear-gradient(180deg, #fff 0%, #f1f8ff 100%);
  }
  .prime-hero-inner {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 0;
  }
  .prime-hero-left,
  .prime-hero-right {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    gap: 20px;
  }
  .prime-hero-left {
    justify-content: flex-start;
  }
  .prime-hero-right {
    align-items: flex-start;
  }
  .prime-online-badge {
    display: none;
  }
  .prime-logo > img {
    width: 42px;
    height: 36px;
  }
  .prime-logo__text {
    margin-left: 5px;
  }
  .prime-logo__text > span {
    font-size: 18px;
  }
  .prime-logo__text small {
    font-size: 9.5px;
  }
  .prime-badge {
    padding: 4px 10px;
    background: #e5f3ff;
    color: var(--prime-blue);
    font-size: 11px;
  }
  .prime-title {
    max-width: none;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: 0;
    text-shadow: none;
  }
  .prime-title span {
    display: inline;
  }
  .prime-title span::after {
    content: "";
    display: block;
  }
  .prime-intro {
    max-width: 324px;
    font-size: 15px;
    line-height: 1.35;
    text-shadow: none;
  }
  .prime-offer-grid {
    width: 100%;
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: auto;
    justify-content: stretch;
  }
  .prime-offer--car,
  .prime-offer--multi-risk,
  .prime-offer--energy,
  .prime-offer--health,
  .prime-offer--credit,
  .prime-offer--home {
    grid-column: auto;
    grid-row: auto;
  }
  .prime-offer {
    min-height: 154px;
    padding: 15px;
    border-radius: 18px;
    gap: 2px;
    box-shadow: 0 3px 12px rgba(10, 41, 77, 0.07);
  }
  .prime-offer__icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }
  .prime-offer__icon img {
    width: 30px;
    height: 30px;
  }
  .prime-offer__title,
  .prime-offer--multi-risk .prime-offer__title,
  .prime-offer--credit .prime-offer__title {
    min-height: 36px;
    font-size: 14px;
  }
  .prime-offer--multi-risk .prime-offer__title,
  .prime-offer--credit .prime-offer__title {
    font-size: 13px;
  }
  .prime-offer__button {
    height: 40px;
    min-height: 40px;
    padding: 0 15px;
    gap: 5px;
    font-size: 12px;
  }
  .prime-google-review {
    width: auto;
    height: 50px;
    padding: 8px 12px;
    position: static;
    border-radius: 14px;
    gap: 8px;
  }
  .prime-google-review__logo {
    width: 30px;
    height: 30px;
  }
  .prime-google-review__rating {
    width: auto;
    flex: 0 0 auto;
  }
  .prime-google-review__rating > span {
    font-size: 12px;
  }
  .prime-google-review__rating strong {
    font-size: 13px;
  }
  .prime-google-review__rating div img {
    width: 72px;
    height: 13px;
  }
  .prime-google-review__divider {
    height: 30px;
  }
  .prime-google-review__count {
    width: 50px;
    font-size: 8.5px;
  }
  .prime-trust {
    width: 100%;
    max-width: none;
    padding: 30px;
    border-radius: 0;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }
  .prime-trust__item {
    max-width: 45%;
    width: 45%;
  }
  .prime-trust__divider {
    display: none;
  }
  .prime-value {
    width: 100%;
    height: 100px;
    min-height: 100px;
    padding: 35px 30px;
    border-radius: 28px;
  }
  .prime-value__copy,
  .prime-value__organic,
  .prime-value__arrow {
    display: none !important;
  }
  .prime-page .prime-value__mobile-circle {
    width: 522px;
    height: 522px;
    max-width: none;
    display: block;
    position: absolute;
    top: -12px;
    left: -9px;
  }
  .prime-value__annotation {
    width: 250px;
    top: 50%;
    left: 50%;
    font-size: 19.5px;
    transform: translate(-50%, -50%) rotate(-5deg);
  }
  .prime-footer {
    display: none;
  }
}
@media only screen and (max-width: 550px) {
  .prime-trust {
    flex-direction: column;
  }
  .prime-trust__item {
    max-width: 100%;
    width: 100%;
    align-items: center;
  }
}
@media only screen and (max-width: 390px) {
  .nav-outer {
    padding-right: 20px;
    padding-left: 20px;
  }
  .prime-hero {
    padding-right: 20px;
    padding-left: 20px;
  }
  .prime-offer__button {
    padding-right: 10px;
    padding-left: 10px;
    gap: 8px;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .prime-page *,
  .prime-page *::before,
  .prime-page *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Pré-visualização do rascunho (link do editor no offerwall) */
.prime-preview-bar {
    position: fixed;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 6px 14px;
    border-radius: 999px;
    background: #1f2937;
    color: #fff;
    font: 600 13px/1.3 system-ui, sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
    pointer-events: none;
    white-space: nowrap;
}
