* {
  box-sizing: border-box;
}

:root {
  --blue-dark: #003f68;
  --blue-mid: #005b94;
  --blue-light: #087db6;
  --blue-action: #0073b4;
  --background: #eef5f5;
  --card: #ffffff;
  --text: #29323a;
  --muted: #7e878f;
  --border: #e3e8e9;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--background);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--text);
}

button {
  font: inherit;
}

.app-shell {
  min-height: 100vh;
  background: var(--background);
  padding-bottom: 92px;
}

.top-area {
  min-height: 460px;
  padding: 26px 28px 0;
  background: linear-gradient(115deg, var(--blue-dark), var(--blue-mid) 58%, var(--blue-light));
}

.account-bar {
  max-width: 720px;
  margin: 0 auto 4px;
  display: grid;
  grid-template-columns: 146px 1fr auto;
  gap: 10px;
  align-items: center;
  color: #fff;
}

.brand-mark {
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  font-size: 29px;
  font-weight: 900;
  color: #ffffff;/*#ffb000;*/
  transform: skewX(-10deg);
}

.account-copy {
  display: flex;
  flex-direction: column;
  /*gap: 6px;*/
}

.account-copy strong {
  font-size: 21px;
}

.account-copy > span {
  font-size: 19px;
  letter-spacing: .04em;
}

.chevron {
  font-size: 24px;
}

.top-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.icon-btn {
  position: relative;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 6px;
}

.notification-dot {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #c83b3b;
  right: 2px;
  top: 3px;
}

.notice-card,
.balance-card {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  background: var(--card);
  border-radius: 17px;
  box-shadow: 0 5px 16px rgba(0, 0, 0, .10);
}

.notice-card {
  position: relative;
  padding: 26px 100px 24px 28px;
  margin-bottom: 28px;
}

.notice-card.hidden {
  display: none;
}

.notice-card h2 {
  margin: 0 0 7px;
  font-size: 25px;
}

.notice-card p {
  margin: 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.45;
}

.notice-count {
  position: absolute;
  right: 22px;
  top: 35px;
  display: flex;
  gap: 18px;
  align-items: center;
  border: 0;
  border-radius: 30px;
  padding: 10px 18px;
  background: #f1f6f6;
  color: #252b31;
  font-size: 22px;
  cursor: pointer;
}

.notice-count .close {
  font-size: 34px;
  line-height: 1;
}

.balance-card {
  overflow: hidden;
}

.balance-main {
  min-height: 150px;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.eyebrow {
  display: block;
  color: #808891;
  font-size: 20px;
  margin-bottom: 8px;
}

.balance {
  font-size: 38px;
  letter-spacing: .04em;
}

.round-arrow {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid #006ba8;
  color: #006ba8;
  background: #fff;
  font-size: 38px;
  cursor: pointer;
}

.other-bank {
  min-height: 102px;
  margin: 0 28px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 12px;
  align-items: center;
}

.bank-mini {
  color: #7a12a8;
  font-weight: 800;
  font-size: 22px;
}

.other-bank-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 18px;
}

.other-bank-copy small {
  color: #858d95;
  font-size: 17px;
}

.right-chevron {
  color: #006ba8;
  font-size: 38px;
}

.content-area {
  max-width: 760px;
  margin: 0 auto;
  /*padding: 156px 28px 28px;*/
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 65px;
}

.quick-card {
  min-height: 155px;
  border: 0;
  border-radius: 15px;
  background: #fff;
  padding: 25px 16px;
  cursor: pointer;
}

.quick-icon {
  display: block;
  font-size: 34px;
  margin-bottom: 14px;
}

.quick-card strong {
  display: block;
  font-size: 21px;
  line-height: 1.25;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-heading h2 {
  margin: 0;
  font-size: 28px;
}

.section-heading button {
  border: 0;
  background: transparent;
  color: #0070ae;
  font-weight: 700;
  font-size: 25px;
  cursor: pointer;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 18px;
}

.service-item {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.service-card {
  height: 114px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 16px;
  margin-bottom: 14px;
}

.service-card span {
  font-size: 37px;
  filter: grayscale(1);
  opacity: .58;
}

.service-label {
  font-size: 20px;
  color: #4f5961;
}

.bottom-nav {
  position: fixed;
  z-index: 10;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 88px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(248, 251, 251, .98);
  border-top: 1px solid #e4e9ea;
  padding: 8px 10px 10px;
}

.nav-item {
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 16px;
  cursor: pointer;
}

.nav-icon {
  width: 54px;
  height: 38px;
  border-radius: 30px;
  display: grid;
  place-items: center;
  font-size: 27px;
}

.nav-item.active {
  font-weight: 700;
}

.nav-item.active .nav-icon {
  background: #0075b8;
  color: #fff;
}

@media (max-width: 640px) {
  .top-area {
    min-height: 460px;
    padding: 20px 16px 0;
  }

  .account-bar {
    grid-template-columns: 146px 1fr auto;
    gap: 10px;
    margin-bottom: 36px;
  }

  .account-copy strong {
    font-size: 16px;
  }

  .account-copy > span {
    font-size: 14px;
  }

  .top-actions {
    gap: 6px;
  }

  .icon-btn {
    font-size: 19px;
  }

  .notice-card {
    padding: 20px 76px 20px 20px;
  }

  .notice-card h2 {
    font-size: 20px;
  }

  .notice-card p {
    font-size: 16px;
  }

  .notice-count {
    right: 14px;
    top: 25px;
    padding: 8px 14px;
    gap: 10px;
    font-size: 18px;
  }

  .notice-count .close {
    font-size: 27px;
  }

  .balance-main {
    min-height: 126px;
    padding: 22px 20px;
  }

  .eyebrow {
    font-size: 16px;
  }

  .balance {
    font-size: 29px;
  }

  .round-arrow {
    width: 48px;
    height: 48px;
    font-size: 30px;
  }

  .other-bank {
    margin: 0 20px;
    grid-template-columns: 28px 1fr auto;
  }

  .other-bank-copy {
    font-size: 15px;
  }

  .other-bank-copy small {
    font-size: 14px;
  }

  .content-area {
    /*padding: 132px 16px 24px;*/
  }

  .quick-actions {
    gap: 12px;
    margin-bottom: 50px;
  }

  .quick-card {
    min-height: 128px;
    padding: 18px 10px;
  }

  .quick-card strong {
    font-size: 17px;
  }

  .section-heading h2 {
    font-size: 23px;
  }

  .section-heading button {
    font-size: 19px;
  }

  .service-grid {
    gap: 24px 12px;
  }

  .service-card {
    height: 92px;
  }

  .service-label {
    font-size: 16px;
  }

  .nav-item {
    font-size: 13px;
  }
}

/* =====================================================
   PÁGINA PIX
   ===================================================== */

.pix-page {
    min-height: 100vh;
    background: #eef5f5;
}


/* Cabeçalho */

.pix-header {
    height: 110px;

    display: flex;
    align-items: center;

    padding: 30px 28px 20px;

    color: #ffffff;

    background: linear-gradient(
        115deg,
        var(--blue-dark),
        var(--blue-mid) 58%,
        var(--blue-light)
    );
}


.pix-header h1 {
    margin: 0;

    font-size: 27px;
    font-weight: 600;
}


/* Botão voltar */

.pix-back-button {
    width: 45px;
    height: 45px;

    margin-right: 15px;

    border: none;
    background: transparent;

    color: #ffffff;

    font-size: 42px;
    line-height: 1;

    cursor: pointer;
}


/* Conteúdo */

.pix-content {
    width: 100%;
    max-width: 720px;

    margin: 0 auto;

    padding: 32px 28px;
}


/* Botões Pix */

.pix-option {
    width: 100%;
    min-height: 92px;

    display: grid;

    grid-template-columns: 55px 1fr 30px;

    align-items: center;

    gap: 14px;

    margin-bottom: 18px;

    padding: 20px 22px;

    border: none;
    border-radius: 15px;

    background: #ffffff;

    color: var(--text);

    text-align: left;

    cursor: pointer;

    box-shadow:
        0 2px 7px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}


.pix-option:hover {
    transform: translateY(-2px);

    box-shadow:
        0 6px 15px rgba(0, 0, 0, 0.10);
}


.pix-option:active {
    transform: translateY(0);
}


/* Ícone */

.pix-option-icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #e8f5fa;

    color: var(--blue-action);

    font-size: 25px;
    font-weight: bold;
}


/* Texto */

.pix-option-text {
    font-size: 20px;
    font-weight: 600;
}


/* Seta */

.pix-option-arrow {
    justify-self: end;

    color: var(--blue-action);

    font-size: 36px;
    font-weight: 300;
}


/* =====================================================
   RESPONSIVIDADE PIX
   ===================================================== */

@media (max-width: 640px) {

    .pix-header {
        height: 90px;

        padding:
            20px
            16px
            15px;
    }


    .pix-header h1 {
        font-size: 22px;
    }


    .pix-back-button {
        width: 38px;
        height: 38px;

        margin-right: 10px;

        font-size: 36px;
    }


    .pix-content {
        padding: 25px 16px;
    }


    .pix-option {
        min-height: 82px;

        grid-template-columns:
            48px
            1fr
            25px;

        padding: 17px 18px;

        margin-bottom: 14px;
    }


    .pix-option-icon {
        width: 42px;
        height: 42px;

        font-size: 21px;
    }


    .pix-option-text {
        font-size: 17px;
    }


    .pix-option-arrow {
        font-size: 31px;
    }

}

/* =====================================================
   PÁGINA PIX A RECEBER
   ===================================================== */

.pix-receber-page {
    min-height: 100vh;
    background: var(--background);
}


.pix-receber-content {
    width: 100%;
    max-width: 1000px;

    margin: 0 auto;

    padding: 32px 28px;
}


/* Card da tabela */

.pix-table-card {
    background: #ffffff;

    border-radius: 16px;

    overflow: hidden;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.08);
}


.pix-table-header {
    padding: 26px 28px;

    border-bottom: 1px solid var(--border);
}


.pix-table-header h2 {
    margin: 0 0 6px;

    font-size: 24px;

    color: var(--text);
}


.pix-table-header p {
    margin: 0;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.5;
}


/* Área rolável */

.table-responsive {
    width: 100%;

    overflow-x: auto;
}


/* Tabela */

.pix-table {
    width: 100%;

    border-collapse: collapse;

    min-width: 760px;
}


.pix-table thead {
    background: #f4f8f8;
}


.pix-table th {
    padding: 18px 20px;

    text-align: left;

    font-size: 14px;

    font-weight: 700;

    color: #56616a;

    border-bottom: 1px solid var(--border);
}


.pix-table td {
    padding: 20px;

    font-size: 16px;

    color: var(--text);

    border-bottom: 1px solid #edf1f2;

    vertical-align: middle;
}


.pix-table tbody tr:last-child td {
    border-bottom: none;
}


.pix-table tbody tr:hover {
    background: #f9fbfb;
}


/* Badge parcelas */

.remaining-badge {
    display: inline-block;

    padding: 6px 10px;

    border-radius: 18px;

    background: #e8f5fa;

    color: var(--blue-action);

    font-size: 14px;

    font-weight: 600;
}


/* Botão detalhes */

.btn-details {
    border: 1px solid var(--blue-action);

    border-radius: 8px;

    background: #ffffff;

    color: var(--blue-action);

    padding: 9px 14px;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.15s ease,
        color 0.15s ease;
}


.btn-details:hover {
    background: var(--blue-action);

    color: #ffffff;
}


/* =====================================================
   RESPONSIVIDADE
   ===================================================== */

@media (max-width: 640px) {

    .pix-receber-content {
        padding: 22px 16px;
    }


    .pix-table-card {
        background: transparent;

        box-shadow: none;
    }


    .pix-table-header {
        background: #ffffff;

        border-radius: 14px;

        margin-bottom: 15px;

        padding: 20px;
    }


    .pix-table-header h2 {
        font-size: 21px;
    }


    .table-responsive {
        overflow: visible;
    }


    .pix-table {
        min-width: 0;

        display: block;
    }


    .pix-table thead {
        display: none;
    }


    .pix-table tbody,
    .pix-table tr,
    .pix-table td {
        display: block;

        width: 100%;
    }


    .pix-table tr {
        background: #ffffff;

        border-radius: 14px;

        margin-bottom: 14px;

        padding: 8px 18px;

        box-shadow:
            0 2px 7px rgba(0, 0, 0, 0.06);
    }


    .pix-table td {
        display: grid;

        grid-template-columns:
            minmax(120px, 45%)
            1fr;

        gap: 10px;

        padding: 12px 0;

        border-bottom: 1px solid #edf1f2;

        font-size: 15px;
    }


    .pix-table td:last-child {
        border-bottom: none;
    }


    .pix-table td::before {
        content: attr(data-label);

        font-size: 13px;

        font-weight: 700;

        color: var(--muted);
    }


    .btn-details {
        width: 100%;
    }

}