:root {
  --color-sicredi-green-digital: #3fa110;
  --color-sicredi-white: #ffffff;
  --color-sicredi-dark-green: #146e37;
  --color-neutral-light-1: #d7e6c8;
  --color-neutral-light-2: #f5f5f5;
  --color-neutral-dark-1: #5a645a;
  --color-neutral-dark-2: #323c32;
  --surface-default: #ffffff;
  --surface-muted: #f5f5f5;
  --surface-soft-green: #d7e6c8;
  --text-primary: #323c32;
  --text-secondary: #5a645a;
  --brand-primary: #3fa110;
  --brand-primary-dark: #146e37;
  --font-family-heading: "Exo 2", sans-serif;
  --font-family-body: "Nunito", sans-serif;
  --font-family-fallback: Calibri, Arial, sans-serif;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --max: 1180px;
  --line: rgba(20, 110, 55, 0.16);
  --shadow: 0 20px 60px rgba(50, 60, 50, 0.12);
  --box-radius: 0 18px 18px 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-primary);
  background: var(--surface-default);
  font-family: var(--font-family-body), var(--font-family-fallback);
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  min-height: 80px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  color: var(--brand-primary-dark);
  font-weight: 800;
}

.brand img {
  width: 150px;
}

.brand span {
  padding-left: 16px;
  border-left: 1px solid var(--line);
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--text-primary);
  font-size: 0.96rem;
  font-weight: 800;
}

nav a {
  transition: color 180ms ease;
}

nav a:hover {
  color: var(--brand-primary-dark);
}

.nav-cta {
  padding: 12px 18px;
  border: 1px solid var(--brand-primary);
  border-radius: var(--box-radius);
  color: var(--brand-primary-dark);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--box-radius);
  background: var(--surface-default);
}

.menu-toggle img {
  width: 24px;
  height: 24px;
}

.menu-toggle .icon-close,
.site-header.is-open .menu-toggle .icon-menu {
  display: none;
}

.site-header.is-open .menu-toggle .icon-close {
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: minmax(520px, 0.95fr) minmax(520px, 1.05fr);
  min-height: min(820px, calc(100vh - 80px));
  background: var(--brand-primary-dark);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 78px) clamp(22px, 6vw, 100px);
  color: var(--color-sicredi-white);
}

.hero-media {
  position: relative;
  min-height: min(820px, calc(100vh - 80px));
  margin: 0;
  overflow: hidden;
  border-radius: 0 0 0 72px;
  background: var(--surface-soft-green);
}

.hero-video {
  background: var(--surface-soft-green);
}

.hero-media img,
.hero-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
}

.hero-poster {
  position: absolute;
  inset: 0;
}

.hero-video-frame {
  position: absolute;
  top: 57%;
  left: 50%;
  z-index: 1;
  display: block;
  width: max(244%, calc(138vh * 16 / 9));
  height: 138%;
  aspect-ratio: 16 / 9;
  min-width: 244%;
  min-height: 138%;
  border: 0;
  opacity: 1;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.hero-video-frame {
  opacity: 0;
  transition: opacity 900ms ease;
}

.hero-video.is-video-loaded .hero-video-frame {
  opacity: 1;
}

.video-play {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 4vw, 48px);
  bottom: clamp(18px, 4vw, 48px);
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(20, 110, 55, 0.88);
  box-shadow: 0 18px 44px rgba(20, 110, 55, 0.3);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.video-play:hover {
  background: var(--brand-primary);
  transform: translateY(-2px);
}

.video-play span {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid var(--color-sicredi-white);
}

.hero-video.is-video-loaded .video-play {
  display: none;
}

.kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin: 0 0 var(--space-4);
  padding: 7px 14px;
  border: 1px solid rgba(63, 161, 16, 0.22);
  border-radius: 999px;
  background: rgba(215, 230, 200, 0.72);
  color: var(--brand-primary);
  font-family: var(--font-family-body), var(--font-family-fallback);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.hero .kicker,
.final-cta .kicker {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-sicredi-white);
}

.kicker-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--space-4);
}

.kicker-group .kicker {
  margin-bottom: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-family-heading), var(--font-family-fallback);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.03;
  text-wrap: balance;
}

h1 {
  max-width: 13.5ch;
  margin-bottom: var(--space-5);
  font-size: clamp(2.85rem, 4.9vw, 4.7rem);
}

h2 {
  margin-bottom: var(--space-5);
  color: var(--brand-primary-dark);
  font-size: clamp(2.25rem, 4.5vw, 4.25rem);
}

h3 {
  margin-bottom: var(--space-3);
  font-family: var(--font-family-heading), var(--font-family-fallback);
  font-size: 1.18rem;
  line-height: 1.22;
  text-wrap: balance;
}

.hero-copy p:not(.kicker) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: var(--box-radius);
  font-family: var(--font-family-body), var(--font-family-fallback);
  font-weight: 900;
  line-height: 1.1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.btn img,
.text-link img {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.btn-primary img,
.text-link img {
  display: none;
}

.btn-primary {
  border: 1px solid var(--brand-primary);
  color: var(--color-sicredi-white);
  background: var(--brand-primary);
  box-shadow: 0 16px 34px rgba(63, 161, 16, 0.24);
}

.btn-secondary {
  border: 1px solid var(--color-sicredi-white);
  color: var(--brand-primary-dark);
  background: var(--color-sicredi-white);
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 130px) 0;
}

.section-copy {
  max-width: 830px;
  margin: 0 auto var(--space-7);
  text-align: center;
}

.section-copy p:not(.kicker),
.comparison-copy p,
.product-copy p,
.final-content p,
footer p {
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.65;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--box-radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.pillar {
  min-height: 220px;
  padding: 30px;
  background: var(--surface-default);
}

.pillar img {
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-5);
}

.pillar p {
  margin-bottom: 0;
  color: var(--text-secondary);
  line-height: 1.5;
}

.products {
  background: linear-gradient(180deg, var(--surface-muted), var(--surface-default));
}

.product {
  display: grid;
  grid-template-columns: minmax(430px, 1fr) minmax(480px, 1fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.product + .product {
  border-top: 1px solid var(--line);
}

.product-flip figure {
  order: 2;
}

.product figure {
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--box-radius);
  background: var(--surface-soft-green);
  box-shadow: var(--shadow);
}

.product figure > img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.product:nth-child(1) figure > img {
  object-position: center 42%;
}

.product:nth-child(2) figure > img {
  object-position: 44% center;
}

.product:nth-child(3) figure > img {
  object-position: center;
}

.product:nth-child(4) figure > img {
  object-position: 50% 42%;
}

.product:nth-child(5) figure > img {
  object-position: 48% center;
}

.product-copy h2 {
  max-width: 30ch;
  margin-bottom: var(--space-5);
  font-size: clamp(1.95rem, 2.35vw, 2.55rem);
  line-height: 1.1;
}

.product-featured .product-copy h2 {
  max-width: 16ch;
  font-size: clamp(2.45rem, 3.35vw, 3.45rem);
  line-height: 1.03;
}

.product-copy ul {
  display: grid;
  gap: 12px;
  margin: var(--space-6) 0 var(--space-6);
  padding: 0;
  list-style: none;
}

.product-copy li {
  position: relative;
  min-height: 28px;
  padding-left: 38px;
  color: var(--text-primary);
  line-height: 1.5;
}

.product-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 28px;
  height: 28px;
  background: url("./assets/icons/ShieldCheck.svg") center / contain no-repeat;
}

.product-copy li:nth-child(2)::before {
  background-image: url("./assets/icons/Clock.svg");
}

.product-copy li:nth-child(3)::before {
  background-image: url("./assets/icons/Coins.svg");
}

.product-copy li:nth-child(4)::before {
  background-image: url("./assets/icons/TrendingUp.svg");
}

.product:nth-child(2) .product-copy li:nth-child(1)::before {
  background-image: url("./assets/icons/71 - graficos - graf barras cresc.svg");
}

.product:nth-child(2) .product-copy li:nth-child(2)::before {
  background-image: url("./assets/icons/69 - graficos - grafico pizza.svg");
}

.product:nth-child(2) .product-copy li:nth-child(3)::before {
  background-image: url("./assets/icons/70 - graficos - grafico porcentagem.svg");
}

.product:nth-child(2) .product-copy li:nth-child(4)::before,
.product:nth-child(3) .product-copy li:nth-child(4)::before,
.product:nth-child(4) .product-copy li:nth-child(5)::before {
  background-image: url("./assets/icons/44 - canais - aplicativo.svg");
}

.product:nth-child(2) .product-copy li:nth-child(5)::before,
.product:nth-child(3) .product-copy li:nth-child(3)::before,
.product:nth-child(4) .product-copy li:nth-child(4)::before {
  background-image: url("./assets/icons/80 - conceitos e objetos - objetivos metas.svg");
}

.product:nth-child(2) .product-copy li:nth-child(6)::before,
.product:nth-child(5) .product-copy li:nth-child(2)::before {
  background-image: url("./assets/icons/TrendingUp.svg");
}

.product:nth-child(3) .product-copy li:nth-child(1)::before {
  background-image: url("./assets/icons/Clock.svg");
}

.product:nth-child(3) .product-copy li:nth-child(2)::before {
  background-image: url("./assets/icons/Coins.svg");
}

.product:nth-child(3) .product-copy li:nth-child(5)::before {
  background-image: url("./assets/icons/Users.svg");
}

.product:nth-child(3) .product-copy li:nth-child(6)::before {
  background-image: url("./assets/icons/ShieldCheck.svg");
}

.product:nth-child(3) .product-copy li:nth-child(7)::before,
.product:nth-child(5) .product-copy li:nth-child(7)::before {
  background-image: url("./assets/icons/ArrowRight.svg");
}

.product:nth-child(4) .product-copy li:nth-child(1)::before {
  background-image: url("./assets/icons/Like.svg");
}

.product:nth-child(4) .product-copy li:nth-child(2)::before {
  background-image: url("./assets/icons/Clock.svg");
}

.product:nth-child(4) .product-copy li:nth-child(3)::before {
  background-image: url("./assets/icons/Coins.svg");
}

.product:nth-child(5) .product-copy li:nth-child(1)::before {
  background-image: url("./assets/icons/69 - graficos - grafico pizza.svg");
}

.product:nth-child(5) .product-copy li:nth-child(3)::before {
  background-image: url("./assets/icons/67 - graficos - pessoa - grafico.svg");
}

.product:nth-child(5) .product-copy li:nth-child(4)::before {
  background-image: url("./assets/icons/26 - produtos - investimento.svg");
}

.product:nth-child(5) .product-copy li:nth-child(5)::before {
  background-image: url("./assets/icons/FileText.svg");
}

.product:nth-child(5) .product-copy li:nth-child(6)::before {
  background-image: url("./assets/icons/80 - conceitos e objetos - objetivos metas.svg");
}

.legal {
  max-width: 520px;
  margin: var(--space-3) 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.78rem !important;
  font-style: italic;
  line-height: 1.45 !important;
}

.text-link {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border: 1px solid var(--brand-primary);
  border-radius: var(--box-radius);
  color: var(--color-sicredi-white);
  background: var(--brand-primary);
  font-weight: 900;
  line-height: 1.1;
  box-shadow: 0 16px 34px rgba(63, 161, 16, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.text-link + .text-link {
  margin-top: 12px;
}

.text-link-secondary {
  color: var(--brand-primary-dark);
  background: var(--surface-soft-green);
  border-color: var(--surface-soft-green);
  box-shadow: none;
}

.comparison {
  position: relative;
  display: grid;
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(390px, 0.72fr) minmax(640px, 1.28fr);
  gap: clamp(72px, 8vw, 128px);
  align-items: center;
  padding-top: clamp(72px, 7vw, 108px);
  padding-bottom: clamp(72px, 7vw, 108px);
  padding-inline: max(18px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at 16% 58%, rgba(215, 230, 200, 0.75), transparent 30rem),
    var(--surface-default);
  overflow: hidden;
}

.comparison::before {
  content: "";
  position: absolute;
  left: max(54px, calc((100vw - var(--max)) / 2 + 42px));
  bottom: -160px;
  width: min(28vw, 360px);
  aspect-ratio: 1;
  background: url("./assets/catavento.png") center / contain no-repeat;
  opacity: 0.1;
  pointer-events: none;
}

.comparison > * {
  position: relative;
  z-index: 1;
}

.comparison-copy {
  position: relative;
  top: auto;
  max-width: 480px;
  min-width: 0;
}

.comparison-copy h2 {
  max-width: 460px;
  overflow: visible;
  font-size: clamp(2.35rem, 3.25vw, 3.45rem);
  line-height: 1.04;
}

.comparison-table {
  display: grid;
  grid-template-rows: 58px repeat(5, 78px);
  gap: 12px;
  overflow: visible;
  border: 0;
  border-radius: var(--box-radius);
  background: transparent;
  box-shadow: none;
}

.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 218px;
  gap: 20px;
  align-items: center;
  min-height: 78px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--box-radius);
  background: var(--surface-default);
  box-shadow: 0 14px 36px rgba(50, 60, 50, 0.08);
}

.row span[role="cell"] {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  line-height: 1.35;
}

.row span[role="cell"] img {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.row:first-child {
  border-top: 0;
}

.row.head {
  min-height: 58px;
  border-color: var(--brand-primary-dark);
  color: var(--color-sicredi-white);
  background: var(--brand-primary-dark);
  font-weight: 900;
  box-shadow: none;
}

.row strong {
  display: inline-flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: var(--box-radius);
  color: var(--brand-primary-dark);
  background: var(--surface-soft-green);
  font-size: 1.08rem;
  text-align: center;
  text-wrap: balance;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(420px, 0.94fr) minmax(520px, 1.06fr);
  overflow: hidden;
  background: var(--brand-primary-dark);
}

.final-cta figure {
  min-height: 620px;
  margin: 0;
}

.final-cta figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.final-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 7vw, 96px);
  color: var(--color-sicredi-white);
}

.final-content h2 {
  max-width: 640px;
  color: var(--color-sicredi-white);
}

.final-content p {
  color: rgba(255, 255, 255, 0.86);
}

.final-content .btn {
  align-self: flex-start;
  margin-top: var(--space-5);
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 40px 0 46px;
  text-align: center;
}

footer img {
  width: 150px;
}

footer p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
}

.footer-disclaimer {
  max-width: 980px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 680ms ease, transform 680ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    min-height: 74px;
  }

  .brand img {
    width: 132px;
  }

  .brand span {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  nav {
    position: fixed;
    top: 84px;
    left: 18px;
    right: 18px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--box-radius);
    background: var(--surface-default);
    box-shadow: var(--shadow);
  }

  .site-header.is-open nav {
    display: grid;
  }

  .hero,
  .comparison,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    order: 2;
    padding: 34px 18px 46px;
  }

  .hero-media {
    min-height: 36vh;
    border-radius: 0 0 0 42px;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.55rem, 10.8vw, 3.35rem);
  }

  .pillar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product,
  .product-flip {
    grid-template-columns: 1fr;
  }

  .product-flip figure {
    order: 0;
  }

  .product figure,
  .product figure > img {
    min-height: 430px;
  }

  .comparison-copy {
    position: static;
  }

  .final-cta figure {
    min-height: 420px;
  }

  .final-cta figure img {
    object-position: center 28%;
  }

  footer {
    display: grid;
    justify-items: center;
  }

  .footer-disclaimer {
    padding-top: 0;
  }
}

@media (max-width: 560px) {
  .hero-actions {
    display: grid;
  }

  .pillar-grid {
    grid-template-columns: 1fr;
  }

  .pillar {
    min-height: auto;
  }

  .product figure,
  .product figure > img {
    min-height: 350px;
  }

  .row.head {
    display: none;
  }

  .comparison {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .comparison-table {
    grid-template-rows: none;
    gap: 14px;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
    min-height: auto;
    padding: 18px;
  }

  .row span[role="cell"] {
    align-items: flex-start;
    gap: 12px;
    font-size: 0.98rem;
  }

  .row span[role="cell"] img {
    width: 30px;
    height: 30px;
  }

  .row strong {
    width: auto;
    min-height: 38px;
    justify-self: start;
    margin-left: 42px;
    padding-inline: 18px;
    font-size: 0.98rem;
  }

  .final-content .btn {
    align-self: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
