:root {
  --bg-start: #284ce9;
  --bg-end: #2f5be9;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.88);
  --btn-bg: #ffffff;
  --btn-text: #1c2f92;
  --card-bg: #040303;
  --card-border: #dfe3ea;
  --muted: #6d6d75;
  --shadow-lg: 0 24px 50px rgba(9, 20, 82, 0.28);
  --shadow-sm: 0 10px 22px rgba(14, 23, 55, 0.22);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #fff;
  color: #151515;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg, var(--bg-start), var(--bg-end));
  min-height: 88vh;
  padding-bottom: 3.5rem;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.448) 1px, transparent 1px) 0 0 / 20px 20px;
  opacity: 0.32;
  transform: translateX(22%);
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26, 66, 216, 0) 58%, rgba(18, 44, 143, 0.24) 100%);
  z-index: -1;
}

.container {
  width: min(1280px, 97vw);
  margin-inline: auto;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  color: #f8fbff;
  width: 100vw;
  margin-left: calc(51% - 50vw);
  margin-right: calc(51% - 50vw);
  padding-inline: 16px;
  margin-top: 6px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-right: 16px;
}

.logo {
  display: flex;
  align-items: center;
  margin-right: 0.2rem;
}

.logo-img {
  width: 168px;
  height: auto;
  display: block;
}

.menu-link {
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1;
}

.menu-link--dropdown::after {
  content: " \25BE";
  display: inline-block;
  font-size: 0.68rem;
  margin-left: 5px;
  transform: translateY(-1px);
  opacity: 0.85;
}

.menu-link:hover {
  color: #ffffff;
}

.cta-top {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 4px;
  padding: 0.52rem .8rem;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: .5px;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.cta-top:hover {
  background: rgba(250, 250, 250, 0.049);
}

.cta-top:active {
  transform: translateY(0);
}

.nav-right .menu-link {
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .5px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(390px, 510px) minmax(520px, 790px);
  column-gap: clamp(0.45rem, 1.4vw, 1.1rem);
  align-items: start;
  justify-content: center;
  padding-top: clamp(5.6rem, 4.3vw, 4.7rem);
  margin-left: 0;
}

.hero-grid > div:first-child {
  padding-top: 0.85rem;
  max-width: 430px;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.35rem;
  font-size: 0.9rem;
}

.rating-icon {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  box-shadow: 0 5px 15px rgba(10, 22, 70, 0.3);
}

.rating span {
  font-size: 14px;
  color: #fff;
  letter-spacing: .5px;
}

h1 {
  font-family: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 5.625rem);
  line-height: 0.97;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.lead {
  color: var(--text-secondary);
  font-size: 21px;
  line-height: 1.42;
  max-width: 33ch;
  margin-bottom: 2rem;
}

.cta-main {
  display: inline-block;
  background: var(--btn-bg);
  color: #4d63d3;
  border-radius: 4px;
  font-weight: 400;
  font-size: 1.05rem;
  padding: 0.9rem 2rem;
  box-shadow: 0 10px 28px rgba(9, 16, 45, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.cta-main:hover {
  background: #e8edff;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(9, 16, 45, 0.3);
}

.cta-main:active {
  transform: translateY(0);
}

.visual {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  min-height: auto;
  margin-top: 0.15rem;
}

.hero-mockup {
  width: min(730px, 100%);
  height: auto;
  display: block;
  margin-left: -52px;
  filter: drop-shadow(0 22px 42px rgba(9, 20, 82, 0.3));
}

/* Ajustes quando a pagina roda dentro de iframe (especialmente mobile). */
html.is-embedded-iframe .container {
  width: min(100%, 100vw);
}

html.is-embedded-iframe .nav {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-inline: 12px;
}

html.is-embedded-iframe .nav-left .menu-link {
  display: none;
}

html.is-embedded-iframe .nav-right .menu-link {
  display: inline-flex;
  font-size: 1rem;
}

html.is-embedded-iframe .logo-img {
  width: 122px;
}

html.is-embedded-iframe .hero {
  min-height: 100dvh;
  padding-bottom: 1.8rem;
}

html.is-embedded-iframe .hero-grid {
  grid-template-columns: 1fr;
  row-gap: 1rem;
  max-width: 100%;
  margin-left: 0;
  padding-top: 1.5rem;
}

html.is-embedded-iframe .hero-grid > div:first-child {
  max-width: 100%;
  padding-top: 0;
}

html.is-embedded-iframe h1 {
  font-size: clamp(2.5rem, 13vw, 3.8rem);
  margin-bottom: 0.9rem;
}

html.is-embedded-iframe .lead {
  font-size: 1rem;
  line-height: 1.38;
  margin-bottom: 1.4rem;
}

html.is-embedded-iframe .hero-mockup {
  width: 100%;
  max-width: 560px;
  margin-left: 0;
}

.card {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.panel-main {
  width: min(480px, 96%);
  height: 295px;
  top: 95px;
  left: 70px;
  overflow: hidden;
}

.panel-main .header-bar {
  height: 36px;
  border-bottom: 1px solid #eceff4;
  background: #fafbfd;
}

.panel-main .content-grid {
  display: grid;
  grid-template-columns: 116px 1fr;
  height: calc(100% - 36px);
}

.panel-main .sidebar {
  border-right: 1px solid #eceff4;
  padding: 16px 10px;
  background: #fbfcff;
}

.dot-line {
  height: 8px;
  background: #e3e8f3;
  border-radius: 99px;
  margin-bottom: 8px;
}

.panel-main .preview {
  padding: 16px;
  background: #ffffff;
  display: grid;
  grid-template-columns: 1fr 112px;
  gap: 12px;
}

.text-placeholder {
  height: 11px;
  border-radius: 8px;
  background: #e8ebf2;
  margin-bottom: 10px;
}

.photo-placeholder {
  border-radius: 8px;
  background: linear-gradient(135deg, #4d596f, #8a7265 56%, #392f2f);
  min-height: 96px;
}

.panel-left {
  width: 165px;
  height: 258px;
  top: 120px;
  left: 0;
  padding: 12px;
}

.panel-left .mini-block {
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #ecf1f8;
  padding: 8px 9px;
  margin-bottom: 8px;
}

.panel-left .uptime {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 11px;
  border-top: 1px solid #e9ecf2;
  padding-top: 9px;
  font-size: 0.74rem;
  color: #5d6374;
  font-weight: 600;
}

.panel-left .uptime strong {
  display: block;
  color: #18a84f;
  font-size: 1.8rem;
  line-height: 1.05;
  margin-top: 2px;
}

.panel-right-top {
  width: 265px;
  height: 98px;
  right: -4px;
  top: 48px;
  padding: 14px 16px;
}

.panel-right-top .time {
  margin-top: 8px;
  font-weight: 600;
  color: #1f2735;
  font-size: 1.15rem;
}

.panel-right-bottom {
  width: 295px;
  height: 258px;
  right: -18px;
  top: 132px;
  padding: 12px 14px;
}

.service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf0f5;
  padding: 10px 0;
  color: #2c3442;
  font-size: 0.87rem;
}

.badge {
  background: #e9faef;
  color: #199149;
  border: 1px solid #caeed6;
  border-radius: 999px;
  font-size: 0.73rem;
  padding: 3px 9px;
  font-weight: 600;
}

.next-section {
  background: #f2f2f2;
  min-height: 22vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 2.2rem;
  color: #1b1b1b;
  font-family: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
  overflow: hidden;
}

@media (max-width: 1020px) {
  .hero {
    min-height: auto;
    padding-bottom: 2.5rem;
  }

  .nav-left .menu-link {
    display: none;
  }

  .nav {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-inline: 14px;
  }

  .nav-right {
    gap: 0.85rem;
    margin-right: 0;
  }

  .nav-right .menu-link {
    display: inline-flex;
    font-size: 0.95rem;
  }

  .cta-top {
    font-size: 0.92rem;
    padding: 0.5rem 0.72rem;
  }

  .logo-img {
    width: 140px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    row-gap: 1.25rem;
    padding-top: 1.9rem;
    max-width: 620px;
    margin-inline: auto;
  }

  .lead {
    max-width: 100%;
    font-size: 1.05rem;
  }

  .visual {
    justify-content: center;
    margin-top: 0;
  }

  .hero-mockup {
    width: min(640px, 100%);
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 100dvh;
    padding-bottom: 1.8rem;
  }

  .nav {
    padding: 0.45rem 12px;
    margin-top: 0;
  }

  .nav-right {
    gap: 0.7rem;
  }

  .nav-right .menu-link {
    display: inline-flex;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.2px;
  }

  .logo-img {
    width: 118px;
  }

  .cta-top {
    font-size: 0.86rem;
    padding: 0.45rem 0.62rem;
    letter-spacing: 0;
  }

  .hero-grid {
    padding-top: 1.45rem;
    row-gap: 1rem;
    max-width: 100%;
  }

  .hero-grid > div:first-child {
    padding-top: 0;
    max-width: 100%;
  }

  .rating {
    margin-bottom: 1rem;
  }

  .rating-icon {
    width: 38px;
    height: 38px;
  }

  .rating span {
    font-size: 12px;
  }

  h1 {
    font-size: clamp(2.5rem, 13vw, 3.8rem);
    margin-bottom: 0.9rem;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.38;
    margin-bottom: 1.4rem;
  }

  .hero-mockup {
    width: 100%;
    max-width: 560px;
  }

  .cta-main {
    font-size: 0.98rem;
    padding: 0.75rem 1.35rem;
  }
}
