/* Home v2 - Open Layout */

:root {
  --home-v2-side-gap: max(1rem, min(10vw, 180px));
}

.home-v2-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 1.8rem;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  padding:
    clamp(2.2rem, 4.2vw, 4.2rem)
    var(--home-v2-side-gap);
  min-height: 620px;
  background: linear-gradient(133deg, #edf1f6 0%, #edf1f6 57%, #ffffff 57%, #ffffff 100%);
  color: #172434;
}

.home-v2-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(1rem, 2vw, 2rem);
  align-items: center;
  min-height: 540px;
}

.home-v2-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border-radius: 999px;
  border: 1px solid rgba(11, 182, 254, .25);
  background: rgba(11, 182, 254, .08);
  color: #2d5d95;
  padding: .36rem .72rem;
  font-weight: 700;
  margin-bottom: .95rem;
  font-size: .86rem;
}

.home-v2-hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.1;
  margin-bottom: .9rem;
  color: #2d4161;
  max-width: 12ch;
}

.home-v2-hero-copy p {
  max-width: 42ch;
  color: #4b6073;
  font-size: 1.12rem;
}

.home-v2-hero-template-copy {
  display: grid;
  align-content: center;
}

.home-v2-heading-accent {
  color: #4d89df;
  border-bottom: 3px solid rgba(77, 137, 223, .5);
  padding-bottom: .08em;
}

.home-v2-template-actions {
  margin-top: 1.35rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.home-v2-template-primary {
  min-width: 200px;
  justify-content: center;
  font-weight: 700;
  letter-spacing: .02em;
}

.home-v2-template-watch {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  color: #4e6074;
  font-weight: 600;
}

.home-v2-watch-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, #69a8f8 0%, #3f7fdb 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(77, 137, 223, .3);
}

.home-v2-watch-icon i {
  margin-left: 2px;
}

.home-v2-hero-template-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-v2-hero-template-media img {
  width: min(620px, 100%);
  max-height: 480px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(38, 90, 151, .16));
  animation: heroTemplateFloat 9s ease-in-out infinite;
  will-change: transform;
}

@keyframes heroTemplateFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
  100% { transform: translateY(0); }
}

.home-v2-section {
  position: relative;
  margin: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  padding:
    clamp(1.8rem, 3.4vw, 3.2rem)
    var(--home-v2-side-gap);
}

.home-v2-section.page-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-v2-section-alt {
  background: linear-gradient(180deg, #f7fbff 0%, #eff6fd 100%);
}

#como-funciona {
  background: #ffffff;
}

#seguranca {
  background: linear-gradient(180deg, #f2f6fb 0%, #ecf3fb 100%);
}

#sobre {
  background: #ffffff;
}

#faq {
  background: linear-gradient(180deg, #f4f7fb 0%, #eef3f8 100%);
}

#contato {
  background: #ffffff;
}

.home-v2-kicker {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-weight: 700;
  color: #0369a1;
  background: rgba(11, 182, 254, .14);
  border: 1px solid rgba(11, 182, 254, .22);
  border-radius: 999px;
  padding: .32rem .68rem;
  margin-bottom: .62rem;
}

.home-v2-section-head {
  margin-bottom: 1.1rem;
}

.home-v2-section-head.text-center {
  text-align: center;
}

.home-v2-section-head h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  color: #172434;
  margin-bottom: .42rem;
  line-height: 1.15;
}

.home-v2-section-head p {
  max-width: 68ch;
  color: #4a5a6b;
}

.home-v2-section-head.text-center p {
  margin-left: auto;
  margin-right: auto;
}

.home-v2-pillars-band,
.home-v2-security-band {
  background: #fff;
}

.home-v2-square-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-v2-square-card {
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, .88);
  padding: 1rem 1rem 1.1rem;
  box-shadow: 0 10px 24px rgba(24, 42, 72, .09);
  min-height: 210px;
  display: grid;
  align-content: start;
}

.home-v2-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(140deg, #0bb6fe 0%, #007caf 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: .65rem;
}

.home-v2-square-card h3 {
  font-size: 1.06rem;
  color: #172434;
  margin-bottom: .36rem;
}

.home-v2-square-card p {
  color: #4a5a6b;
}

.home-v2-security-square-grid {
  margin-top: .65rem;
}

.home-v2-timeline {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  gap: .8rem;
  position: relative;
}

.home-v2-timeline::before {
  content: "";
  position: absolute;
  left: 33px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, rgba(11, 182, 254, .5), rgba(11, 182, 254, .1));
}

.home-v2-timeline-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: .8rem;
  align-items: start;
}

.home-v2-timeline-marker {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: .35rem;
}

.home-v2-timeline-number {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #0bb6fe;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-v2-timeline-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #e9f5ff;
  color: #0b76ad;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(24, 42, 72, .12);
}

.home-v2-timeline-content {
  border: 0;
  border-radius: 14px;
  background: #fff;
  padding: .95rem 1rem;
  box-shadow: 0 10px 24px rgba(24, 42, 72, .09);
}

.home-v2-timeline-content h3 {
  font-size: 1.04rem;
  color: #172434;
  margin-bottom: .28rem;
}

.home-v2-timeline-content p {
  color: #4a5a6b;
}

.home-v2-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 920px;
  margin: 0 auto;
  gap: 1rem;
  align-items: start;
}

.home-v2-about-title {
  margin-top: .5rem;
  margin-bottom: .58rem;
  font-size: clamp(1.48rem, 2.3vw, 2.08rem);
  color: #172434;
}

.home-v2-about-text {
  color: #3f5366;
  margin-bottom: .75rem;
}

.home-v2-about-main {
  border: 0;
  border-radius: 16px;
  background: linear-gradient(175deg, #f7fbff 0%, #edf6ff 100%);
  padding: 1.2rem;
  box-shadow: 0 10px 24px rgba(24, 42, 72, .08);
}

.home-v2-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}

.home-v2-faq-item {
  border: 0;
  border-radius: 12px;
  background: #ffffff;
  padding: .84rem .9rem;
  box-shadow: 0 8px 22px rgba(24, 42, 72, .08);
}

.home-v2-faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: #1a2d42;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-v2-faq-item summary::-webkit-details-marker {
  display: none;
}

.home-v2-faq-item summary::after {
  content: '+';
  color: #0284c7;
  font-size: 1.15rem;
  line-height: 1;
}

.home-v2-faq-item[open] summary::after {
  content: '-';
}

.home-v2-faq-item p {
  margin-top: .55rem;
  color: #4a5a6b;
}

.home-v2-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  gap: 1rem;
}

.home-v2-contact-grid h2 {
  margin-top: .45rem;
  margin-bottom: .45rem;
  color: #172434;
}

.home-v2-contact-grid p {
  color: #4a5a6b;
}

.home-v2-contact-list {
  display: grid;
  gap: .62rem;
  margin-top: .9rem;
}

.home-v2-contact-list div {
  display: flex;
  align-items: center;
  gap: .52rem;
}

.home-v2-contact-list i {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(11, 182, 254, .14);
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-v2-contact-card {
  border: 0;
  border-radius: 14px;
  background: linear-gradient(175deg, #f8fcff 0%, #f0f9ff 100%);
  padding: 1rem;
  display: grid;
  gap: .55rem;
  align-content: start;
  box-shadow: 0 10px 24px rgba(24, 42, 72, .08);
}

.home-v2-contact-form {
  margin-top: .24rem;
}

.home-v2-contact-form .form-group {
  margin-bottom: .74rem;
}

.home-v2-contact-form .form-label {
  margin-bottom: .36rem;
  font-weight: 600;
}

.home-v2-contact-form .form-control {
  border-color: #d8e8f5;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.home-v2-final-cta {
  margin: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  border-radius: 0;
  padding:
    clamp(1.8rem, 3.3vw, 3rem)
    var(--home-v2-side-gap);
  background:
    radial-gradient(720px 260px at 90% -18%, rgba(255, 255, 255, .24), transparent 72%),
    linear-gradient(140deg, #0aa9ec 0%, #047fb4 48%, #035f86 100%);
  color: #fff;
  box-shadow: none;
}

.home-v2-final-inner {
  max-width: 980px;
  margin: 0 auto;
}

.home-v2-final-inner h2 {
  font-size: clamp(1.7rem, 2.9vw, 2.5rem);
  margin-bottom: .48rem;
}

.home-v2-final-inner p {
  opacity: .96;
}

.home-v2-actions {
  display: flex;
  gap: .72rem;
  flex-wrap: wrap;
  margin-top: .95rem;
}

.home-v2-actions.center {
  justify-content: center;
}

.btn-light {
  background: #fff;
  color: #065f86;
  border: 1px solid #fff;
}

.btn-light:hover {
  background: #ecf8ff;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .8);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, .16);
}

.home-v2-backtop {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #0bb6fe;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(11, 182, 254, .34);
  opacity: 0;
  visibility: hidden;
  transition: .22s ease;
  z-index: 950;
}

.home-v2-backtop.visible {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1080px) {
  .home-v2-square-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  :root {
    --home-v2-side-gap: 1rem;
  }

  .home-v2-hero-grid,
  .home-v2-about-grid,
  .home-v2-contact-grid,
  .home-v2-faq-grid {
    grid-template-columns: 1fr;
  }

  .home-v2-hero {
    min-height: auto;
    background: #eef2f7;
  }

  .home-v2-hero-grid {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .home-v2-hero {
    padding: 1.4rem 1rem 1.6rem;
  }

  .home-v2-hero-template-copy {
    text-align: center;
    justify-items: center;
  }

  .home-v2-template-actions {
    justify-content: center;
  }

  .home-v2-template-primary {
    min-width: 180px;
  }

  .home-v2-hero-copy h1 {
    max-width: 18ch;
  }

  .home-v2-hero-template-media img {
    max-height: 320px;
  }

  .home-v2-square-grid,
  .home-v2-faq-grid {
    grid-template-columns: 1fr;
  }

  .home-v2-square-card {
    min-height: 0;
  }

  .home-v2-timeline::before {
    left: 28px;
  }

  .home-v2-timeline-item {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: .62rem;
  }

  .home-v2-timeline-icon {
    width: 34px;
    height: 34px;
  }
}
