
/* ==========================================================
   GARP CONNECT — HOME ESTILO GARP CLIENTE
   ========================================================== */

.gc-home-v2 {
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
  padding: 30px 28px 42px;
  background: #f4f7fb;
}

.gc-home-intro {
  margin: 0 0 22px;
}

.gc-home-intro h1 {
  margin: 0;
  color: #09234e;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.gc-home-intro p {
  margin: 7px 0 0;
  color: #7485a0;
  font-size: 12px;
}

/* Cards superiores */

.gc-home-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 20px;
}

.gc-home-card {
  box-sizing: border-box;
  border: 1px solid #e0e8f2;
  border-radius: 21px;
  background: #fff;
  box-shadow:
    0 12px 28px rgba(34, 64, 105, .09),
    0 2px 7px rgba(34, 64, 105, .025);
}

.gc-account-card,
.gc-license-card {
  min-height: 136px;
  padding: 24px;
}

.gc-account-card {
  display: flex;
  align-items: center;
  gap: 18px;
}

.gc-card-logo,
.gc-cloud-logo {
  display: grid;
  width: 54px;
  height: 54px;
  min-width: 54px;
  place-items: center;
  overflow: hidden;
  border-radius: 15px;
  background: #edf8fd;
}

.gc-home-logo-img {
  display: block !important;
  width: 39px !important;
  height: 39px !important;
  min-width: 0 !important;
  max-width: 39px !important;
  min-height: 0 !important;
  max-height: 39px !important;
  object-fit: contain !important;
  position: static !important;
  transform: none !important;
}

.gc-mini-label {
  display: block;
  color: #7b8ca7;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.gc-account-card h2 {
  margin: 7px 0 4px;
  color: #09234e;
  font-size: 19px;
  font-weight: 700;
}

.gc-account-card p {
  margin: 0;
  color: #72839e;
  font-size: 11px;
}

/* Assinatura */

.gc-license-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.gc-license-label {
  display: block;
  margin-bottom: 5px;
  color: #7b8ca7;
  font-size: 10px;
}

.gc-license-card > strong {
  display: block;
  color: #09234e;
  font-size: 19px;
  font-weight: 700;
}

.gc-license-card > small {
  display: block;
  margin-top: 5px;
  color: #8290a7;
  font-size: 10px;
}

/* Status */

.gc-status-card {
  margin-top: 20px;
  padding: 23px;
}

.gc-status-heading h2 {
  margin: 0;
  color: #09234e;
  font-size: 19px;
  font-weight: 700;
}

.gc-status-heading p {
  margin: 5px 0 0;
  color: #7687a1;
  font-size: 11px;
}

.gc-status-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 19px;
}

.gc-status-item {
  min-height: 66px;
  box-sizing: border-box;
  border: 1px solid #dfe7f1;
  border-radius: 14px;
  padding: 14px 15px;
  background: #f8fafe;
}

.gc-status-item > span {
  display: block;
  margin-bottom: 8px;
  color: #7b8dab;
  font-size: 8px;
  font-weight: 750;
  text-transform: uppercase;
}

.gc-status-item strong {
  color: #102b57;
  font-size: 11px;
  font-weight: 650;
}

.gc-green,
.gc-gray {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gc-green {
  color: #15945f !important;
}

.gc-gray {
  color: #718199 !important;
}

.gc-green i,
.gc-gray i {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
}

/* Renovação */

.gc-renew-card {
  display: flex;
  min-height: 79px;
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  border: 1px solid #dfe7f1;
  border-radius: 20px;
  padding: 16px 20px;
  background: #f8fafe;
}

.gc-renew-card h2 {
  margin: 0;
  color: #09234e;
  font-size: 14px;
  font-weight: 700;
}

.gc-renew-card p {
  margin: 5px 0 0;
  color: #70819b;
  font-size: 10px;
}

.gc-renew-action {
  min-width: 150px;
  min-height: 36px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: #1d70e8;
  font-size: 10px;
  font-weight: 650;
  opacity: .6;
}

/* Card Garp Cloud */

.gc-cloud-card {
  box-sizing: border-box;
  margin-top: 20px;
  border: 1px solid #e0e8f2;
  border-radius: 21px;
  padding: 23px;
  background: #fff;
  box-shadow:
    0 12px 28px rgba(34, 64, 105, .08),
    0 2px 7px rgba(34, 64, 105, .025);
}

.gc-cloud-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gc-cloud-heading > div:nth-child(2) {
  min-width: 0;
}

.gc-cloud-heading > div:nth-child(2) > span {
  display: block;
  color: #196ce7;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gc-cloud-heading h2 {
  margin: 5px 0 0;
  color: #09234e;
  font-size: 22px;
  font-weight: 700;
}

.gc-cloud-heading .status-badge {
  margin-left: auto;
}

.gc-cloud-card > p {
  margin: 15px 0 0;
  color: #536b8d;
  font-size: 12px;
}

/* Responsivo */

@media (max-width: 900px) {
  .gc-home-summary,
  .gc-status-items {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .gc-home-v2 {
    padding: 24px 18px 34px;
  }

  .gc-renew-card {
    align-items: stretch;
    flex-direction: column;
  }

  .gc-renew-action {
    width: 100%;
  }
}


/* LOGO HOME — LIMITE DEFINITIVO */

.gc-home-v2 .gc-card-logo,
.gc-home-v2 .gc-cloud-logo {
  display: grid !important;
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  max-width: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  place-items: center !important;
  overflow: hidden !important;
  border-radius: 15px !important;
  background: #eef9fd !important;
}

.gc-home-v2 .gc-card-logo img,
.gc-home-v2 .gc-cloud-logo img,
.gc-home-v2 img.gc-home-logo-img,
.gc-home-v2 img[src="/assets/garp-logo.png"] {
  display: block !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  object-fit: contain !important;
  position: static !important;
  inset: auto !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.gc-home-v2 .gc-card-logo .brand,
.gc-home-v2 .gc-cloud-logo .brand,
.gc-home-v2 .gc-card-logo .brand-name,
.gc-home-v2 .gc-cloud-logo .brand-name {
  display: none !important;
}


/* ==========================================================
   GARP CONNECT SINGLE DASHBOARD V2
   ========================================================== */

.gc-single-dashboard-page {
  min-height: 100vh;

  background:
    linear-gradient(
      90deg,
      #1f3f7a 0%,
      #1457c5 48%,
      #1da6df 100%
    );

  background-attachment: fixed;
}


.gc-single-portal {
  width: 100%;
  min-height: 100vh;

  background: transparent;
}


.gc-portal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: min(1180px, calc(100% - 48px));

  margin: 0 auto;

  padding:
    20px 0;

  border-bottom:
    1px solid #dce5ef;
}


.gc-portal-identity {
  display: flex;
  align-items: center;

  gap: 13px;
}


.gc-portal-logo {
  display: flex;
  align-items: center;
}


.gc-portal-logo img {
  width: 38px;
  height: 38px;

  object-fit: contain;
}


.gc-portal-title {
  display: flex;
  flex-direction: column;

  gap: 2px;
}


.gc-portal-title strong {
  color: #ffffff;

  font-size: 17px;
  line-height: 1.1;
}


.gc-portal-title span {
  color: rgba(255, 255, 255, .78);

  font-size: 10px;
}


.gc-portal-account {
  display: flex;
  align-items: center;

  gap: 16px;
}


.gc-portal-account-data {
  display: flex;
  flex-direction: column;

  text-align: right;
}


.gc-portal-account-data strong {
  color: #17385f;

  font-size: 12px;
}


.gc-portal-account-data span {
  margin-top: 2px;

  color: #7b8fa7;

  font-size: 9px;
}


.gc-portal-logout {
  margin: 0;
}


.gc-portal-logout-button {
  min-width: 72px;
  height: 36px;

  padding:
    0 15px;

  border:
    1px solid #d6e0eb;

  border-radius: 10px;

  color: #365574;
  background: #ffffff;

  font: inherit;
  font-size: 10px;
  font-weight: 700;

  cursor: pointer;
}


.gc-portal-logout-button:hover {
  background: #f4f7fa;
}


.gc-portal-content {
  width: min(1180px, calc(100% - 48px));

  margin: 0 auto;

  padding:
    30px 0
    50px;
}


.gc-single-portal .dashboard-main,
.gc-single-portal .gc-home-v2 {
  width: 100%;
  max-width: none;

  margin: 0;
  padding: 0;

  background: transparent;
}


.gc-single-portal .gc-home-intro {
  margin-bottom: 22px;
}


.gc-home-actions {
  display: grid;

  grid-template-columns:
    minmax(0, 1.25fr)
    minmax(0, .75fr);

  gap: 15px;

  margin-bottom: 18px;
}


.gc-home-action {
  display: flex;
  align-items: center;

  gap: 14px;

  min-height: 88px;

  padding:
    18px 21px;

  border-radius: 17px;

  text-decoration: none;

  transition:
    transform .16s ease,
    box-shadow .16s ease,
    border-color .16s ease;
}


.gc-home-action:hover {
  transform:
    translateY(-2px);
}


.gc-home-action-icon {
  display: grid;

  flex:
    0 0 44px;

  width: 44px;
  height: 44px;

  place-items: center;

  border-radius: 13px;

  font-size: 20px;
  font-weight: 800;
}


.gc-home-action > span:last-child {
  display: flex;
  flex-direction: column;

  gap: 4px;
}


.gc-home-action strong {
  font-size: 14px;
}


.gc-home-action small {
  font-size: 10px;
  line-height: 1.45;
}


.gc-home-action-primary {
  border:
    1px solid #103e75;

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      #0b3262 0%,
      #115796 100%
    );

  box-shadow:
    0 13px 30px
    rgba(10, 54, 102, .18);
}


.gc-home-action-primary:hover {
  box-shadow:
    0 16px 34px
    rgba(10, 54, 102, .24);
}


.gc-home-action-primary
.gc-home-action-icon {
  color: #ffffff;

  background:
    rgba(255, 255, 255, .13);
}


.gc-home-action-primary small {
  color:
    rgba(255, 255, 255, .73);
}


.gc-home-action-secondary {
  border:
    1px solid #d9e3ed;

  color: #173a62;
  background: #ffffff;

  box-shadow:
    0 9px 24px
    rgba(34, 66, 105, .06);
}


.gc-home-action-secondary:hover {
  border-color: #c5d4e3;

  box-shadow:
    0 13px 29px
    rgba(34, 66, 105, .10);
}


.gc-home-action-secondary
.gc-home-action-icon {
  color: #13568f;
  background: #edf5fc;
}


.gc-home-action-secondary small {
  color: #7187a2;
}


@media (max-width: 760px) {

  .gc-portal-header {
    width:
      min(100% - 28px, 1180px);

    padding:
      16px 0;
  }


  .gc-portal-content {
    width:
      min(100% - 28px, 1180px);

    padding-top: 22px;
  }


  .gc-portal-account-data {
    display: none;
  }


  .gc-home-actions {
    grid-template-columns:
      1fr;
  }


  .gc-home-action {
    min-height: 78px;
  }

}


@media (max-width: 480px) {

  .gc-portal-title span {
    display: none;
  }


  .gc-portal-title strong {
    font-size: 15px;
  }


  .gc-portal-logo img {
    width: 34px;
    height: 34px;
  }

}


/* ==========================================================
   GARP CONNECT HEADER CLEAN V1
   Remove texto duplicado do renderBrand e preserva a logo
   ========================================================== */

.gc-portal-identity {
  gap: 10px;
}


.gc-portal-logo .brand {
  display: flex;
  align-items: center;

  margin: 0;
  padding: 0;

  text-decoration: none;
}


/* O renderBrand já traz "Garp Connect".
   No novo portal esse texto é duplicado, então fica oculto. */
.gc-portal-logo .brand-name {
  display: none !important;
}


.gc-portal-logo .brand-mark {
  display: grid;
  flex: 0 0 42px;

  width: 42px;
  height: 42px;

  margin: 0;
  padding: 0;

  place-items: center;
}


.gc-portal-logo .brand-mark img {
  display: block;

  width: 38px;
  height: 38px;

  margin: 0;

  object-fit: contain;
}


.gc-portal-title {
  justify-content: center;

  min-height: 42px;
}


.gc-portal-title strong {
  margin: 0;

  color: #102f59;

  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
}


.gc-portal-title span {
  margin-top: 2px;

  color: #7187a2;

  font-size: 9px;
  font-weight: 500;
  line-height: 1.2;
}


@media (max-width: 480px) {

  .gc-portal-logo .brand-mark {
    width: 38px;
    height: 38px;

    flex-basis: 38px;
  }


  .gc-portal-logo .brand-mark img {
    width: 34px;
    height: 34px;
  }


  .gc-portal-title {
    min-height: 38px;
  }

}

/* ==========================================================
   AJUSTE VISUAL FINAL - PORTAL GARP CONNECT
   Fundo azul: textos principais em branco
   ========================================================== */

.gc-single-dashboard-page .gc-portal-title strong,
.gc-single-dashboard-page .gc-portal-logo .brand-name,
.gc-single-dashboard-page .gc-home-intro h1 {
  color: #ffffff;
}

.gc-single-dashboard-page .gc-portal-title span,
.gc-single-dashboard-page .gc-home-intro p {
  color: rgba(255, 255, 255, .86);
}

.gc-single-dashboard-page .gc-portal-header {
  border-bottom-color: rgba(255, 255, 255, .28);
}


/* Conta do topo sobre fundo azul */
.gc-single-dashboard-page .gc-portal-account-data strong {
  color: #ffffff;
}

.gc-single-dashboard-page .gc-portal-account-data span {
  color: rgba(255, 255, 255, .82);
}



/* GARP HOME - WHATSAPP CLOUD ACTION */

.gc-single-dashboard-page .gc-home-actions {
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
}

.gc-home-action-form {
  display: flex;
  margin: 0;
}

.gc-home-action-form .gc-home-action {
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.gc-home-action-whatsapp {
  border: 1px solid #128c63;
  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      #0d7555 0%,
      #128c63 52%,
      #20aa78 100%
    );

  box-shadow:
    0 12px 28px
    rgba(5, 88, 61, .20);
}

.gc-home-action-whatsapp:hover {
  border-color: #18a775;

  box-shadow:
    0 16px 34px
    rgba(5, 88, 61, .28);
}

.gc-home-action-whatsapp .gc-home-action-icon {
  color: #ffffff;

  background:
    rgba(255, 255, 255, .15);
}

.gc-home-action-whatsapp strong {
  color: #ffffff;
}

.gc-home-action-whatsapp small {
  color:
    rgba(255, 255, 255, .82);
}

@media (max-width: 920px) {
  .gc-single-dashboard-page .gc-home-actions {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .gc-home-action-form {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .gc-single-dashboard-page .gc-home-actions {
    grid-template-columns: 1fr;
  }

  .gc-home-action-form {
    grid-column: auto;
  }
}

/* ==========================================================
   GARP HOME - ORDEM MOBILE
   Conta > Assinatura > Ações > Status > Renovação
   Desktop permanece inalterado
   ========================================================== */

@media (max-width: 760px) {

  .gc-single-dashboard-page .gc-home-v2 {
    display: flex;
    flex-direction: column;
  }

  /* Qualquer bloco não previsto fica depois dos blocos principais. */
  .gc-single-dashboard-page .gc-home-v2 > * {
    order: 10;
  }

  .gc-single-dashboard-page .gc-home-intro {
    order: 1;
  }

  .gc-single-dashboard-page .gc-home-summary {
    order: 2;
  }

  .gc-single-dashboard-page .gc-home-actions {
    order: 3;
  }

  .gc-single-dashboard-page .gc-status-card {
    order: 4;
  }

  .gc-single-dashboard-page .gc-renew-card {
    order: 5;
  }
}

/* ==========================================================
   GARP HOME - AJUSTE MOBILE
   Remove saudação e cria respiro antes das ações
   ========================================================== */

@media (max-width: 760px) {

  .gc-single-dashboard-page .gc-home-intro {
    display: none;
  }

  .gc-single-dashboard-page .gc-home-summary {
    margin-bottom: 16px;
  }
}

/* ==========================================================
   GARP HOME - AÇÕES MOBILE
   Primeiros Passos > Baixar Cliente > WhatsApp
   Download em card branco
   ========================================================== */

@media (max-width: 760px) {

  /* Ordem das ações */
  .gc-single-dashboard-page
  .gc-home-actions > .gc-home-action-secondary {
    order: 1;
  }

  .gc-single-dashboard-page
  .gc-home-actions > .gc-home-action-primary {
    order: 2;
  }

  .gc-single-dashboard-page
  .gc-home-actions > .gc-home-action-whatsapp,
  .gc-single-dashboard-page
  .gc-home-actions > .gc-home-action-form {
    order: 3;
  }

  /* Baixar Garp Cliente passa a usar visual branco */
  .gc-single-dashboard-page
  .gc-home-action-primary {
    border: 1px solid #d9e3ed;
    color: #173a62;
    background: #ffffff;
    box-shadow:
      0 9px 24px
      rgba(34, 66, 105, .06);
  }

  .gc-single-dashboard-page
  .gc-home-action-primary strong {
    color: #173a62;
  }

  .gc-single-dashboard-page
  .gc-home-action-primary small {
    color: #7187a2;
  }

  .gc-single-dashboard-page
  .gc-home-action-primary
  .gc-home-action-icon {
    color: #13568f;
    background: #edf5fc;
  }
}

/* ==========================================================
   GARP HOME - VIDEO INICIAL
   ========================================================== */

.gc-home-guide-video {
  display: grid;
  grid-template-columns:
    minmax(0, .8fr)
    minmax(320px, 1.2fr);
  gap: 24px;
  align-items: center;

  margin-bottom: 18px;
  padding: 24px;

  border: 1px solid rgba(255,255,255,.28);
  border-radius: 20px;

  background:
    rgba(255,255,255,.96);

  box-shadow:
    0 14px 34px
    rgba(5, 39, 89, .12);
}

.gc-home-guide-copy h2 {
  margin: 5px 0 8px;

  color: #102f59;

  font-size: 22px;
  line-height: 1.2;
}

.gc-home-guide-copy p {
  margin: 0;

  color: #6e829d;

  font-size: 13px;
  line-height: 1.55;
}

.gc-home-guide-video-frame {
  width: 100%;
}

.gc-home-guide-video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  aspect-ratio: 16 / 9;

  padding: 24px;

  border: 1px solid #d7e4f0;
  border-radius: 17px;

  background:
    linear-gradient(
      135deg,
      #edf6ff 0%,
      #f8fbff 100%
    );

  text-align: center;
}

.gc-home-guide-play {
  display: grid;
  place-items: center;

  width: 54px;
  height: 54px;

  margin-bottom: 12px;

  border-radius: 50%;

  color: #ffffff;
  background: #155eb7;

  font-size: 20px;
}

.gc-home-guide-video-placeholder strong {
  color: #173a62;
  font-size: 14px;
}

.gc-home-guide-video-placeholder small {
  margin-top: 4px;

  color: #7187a2;
  font-size: 10px;
}

@media (max-width: 760px) {

  .gc-home-guide-video {
    order: 1;

    grid-template-columns: 1fr;

    gap: 16px;

    padding: 18px;

    margin-bottom: 16px;
  }

  .gc-home-summary {
    order: 2 !important;
  }

  .gc-home-actions {
    order: 3 !important;
  }

  .gc-status-card {
    order: 4 !important;
  }

  .gc-renew-card {
    order: 5 !important;
  }

  .gc-home-guide-copy h2 {
    font-size: 18px;
  }
}

/* ==========================================================
   GARP CONNECT - VISUAL PROFISSIONAL V1
   ========================================================== */

/* Fundo geral limpo */
.gc-single-dashboard-page {
  background: #eef1f4 !important;
  background-image: none !important;
}

.gc-single-dashboard-page .dashboard-main,
.gc-single-dashboard-page .gc-home-v2 {
  background: transparent !important;
}

/* Cabeçalho branco */
.gc-single-dashboard-page .gc-portal-header {
  background: #ffffff !important;
  border-bottom: 1px solid #dfe5ec !important;
  box-shadow: 0 2px 12px rgba(23, 46, 77, .04);
}

/* Textos do cabeçalho */
.gc-single-dashboard-page .gc-portal-title strong,
.gc-single-dashboard-page .gc-portal-logo .brand-name {
  color: #102f59 !important;
}

.gc-single-dashboard-page .gc-portal-title span {
  color: #78899f !important;
}

.gc-single-dashboard-page .gc-portal-account-data strong {
  color: #173a62 !important;
}

.gc-single-dashboard-page .gc-portal-account-data span {
  color: #7c8da3 !important;
}

/* Saudação */
.gc-single-dashboard-page .gc-home-intro h1 {
  color: #102f59 !important;
}

.gc-single-dashboard-page .gc-home-intro p {
  color: #78899f !important;
}

/* Cards mais refinados */
.gc-single-dashboard-page .gc-home-card {
  border: 1px solid #dfe5ec !important;
  border-radius: 16px !important;

  box-shadow:
    0 5px 18px rgba(28, 52, 82, .055) !important;
}

/* Vídeo como destaque principal */
.gc-single-dashboard-page .gc-home-guide-video {
  grid-template-columns:
    minmax(220px, .55fr)
    minmax(0, 1.45fr);

  gap: 28px;

  padding: 26px;

  border: 1px solid #dfe5ec;
  border-radius: 16px;

  background: #ffffff;

  box-shadow:
    0 6px 22px rgba(28, 52, 82, .06);
}

.gc-single-dashboard-page .gc-home-guide-video-placeholder {
  border: 1px solid #d8e1ea;
  border-radius: 14px;

  background: #f6f8fa;
}

.gc-single-dashboard-page .gc-home-guide-copy h2 {
  color: #102f59;
  font-size: 21px;
}

.gc-single-dashboard-page .gc-home-guide-copy p {
  color: #74859b;
}

/* Ações com visual um pouco mais limpo */
.gc-single-dashboard-page .gc-home-action {
  border-radius: 15px;
}

.gc-single-dashboard-page .gc-home-action-secondary {
  border-color: #dfe5ec;

  box-shadow:
    0 5px 16px rgba(28, 52, 82, .055);
}

/* Mobile */
@media (max-width: 760px) {

  .gc-single-dashboard-page .gc-home-guide-video {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .gc-single-dashboard-page .gc-portal-header {
    background: #ffffff !important;
  }
}


/* ==========================================================
   DASHBOARD - DOWNLOAD GAR P CLIENTE LARGURA TOTAL
   ========================================================== */

.gc-single-dashboard-page .gc-home-actions {
  grid-template-columns: 1fr !important;
}

.gc-single-dashboard-page .gc-home-actions > * {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.gc-single-dashboard-page .gc-home-action {
  width: 100%;
  box-sizing: border-box;
}


/* ==========================================================
   DASHBOARD - CABECALHO ARREDONDADO
   ========================================================== */

.gc-single-dashboard-page .gc-portal-header {
  border: 1px solid #dfe6ee !important;
  border-radius: 18px !important;
  overflow: hidden !important;
}


/* ==========================================================
   DASHBOARD - ESPACAMENTO DO CABECALHO
   ========================================================== */

.gc-single-dashboard-page .gc-portal-header {
  width: min(1180px, calc(100% - 48px)) !important;
  margin: 18px auto 0 !important;
  padding: 16px 22px !important;
  box-sizing: border-box !important;
}

.gc-single-dashboard-page .gc-portal-account {
  padding-right: 4px !important;
}

@media (max-width: 760px) {
  .gc-single-dashboard-page .gc-portal-header {
    width: calc(100% - 24px) !important;
    margin-top: 12px !important;
    padding: 14px 14px !important;
  }

  .gc-single-dashboard-page .gc-portal-account {
    padding-right: 0 !important;
  }
}


/* ==========================================================
   DASHBOARD - REMOVE FAIXA AZUL SUPERIOR
   ========================================================== */

.gc-single-dashboard-page,
.gc-single-dashboard-page .gc-single-portal {
  background: #eef1f4 !important;
  background-image: none !important;
  background-attachment: initial !important;
}


/* ==========================================================
   DASHBOARD - TOPO CINZA SEM FAIXA AZUL
   ========================================================== */

/* O espaço acima do cabeçalho pertence ao fundo cinza */
.gc-single-dashboard-page .gc-single-portal {
  padding-top: 18px !important;
  background: #eef1f4 !important;
}

/* Remove o margin que estava expondo o fundo azul do HTML */
.gc-single-dashboard-page .gc-portal-header {
  margin: 0 auto !important;
}

/* Garante que nem o canvas externo apareça azul nesta página */
html:has(body.gc-single-dashboard-page),
body.gc-single-dashboard-page {
  background: #eef1f4 !important;
  background-image: none !important;
}

@media (max-width: 760px) {
  .gc-single-dashboard-page .gc-single-portal {
    padding-top: 12px !important;
  }

  .gc-single-dashboard-page .gc-portal-header {
    margin: 0 auto !important;
  }
}


/* ==========================================================
   MOBILE - BAIXAR GARP CLIENTE IGUAL AO DESKTOP
   ========================================================== */

@media (max-width: 760px) {

  .gc-single-dashboard-page
  .gc-home-actions
  .gc-home-action-primary {
    color: #ffffff !important;

    border-color: #103e75 !important;

    background:
      linear-gradient(
        135deg,
        #0b3262 0%,
        #115796 100%
      ) !important;

    box-shadow:
      0 13px 30px
      rgba(10, 54, 102, .18) !important;
  }

  .gc-single-dashboard-page
  .gc-home-actions
  .gc-home-action-primary
  .gc-home-action-icon {
    color: #ffffff !important;
    background: rgba(255,255,255,.13) !important;
  }

  .gc-single-dashboard-page
  .gc-home-actions
  .gc-home-action-primary strong {
    color: #ffffff !important;
  }

  .gc-single-dashboard-page
  .gc-home-actions
  .gc-home-action-primary small {
    color: rgba(255,255,255,.73) !important;
  }
}


/* ==========================================================
   MOBILE - VIDEO PRIMEIRO + DOWNLOAD LOGO ABAIXO
   ========================================================== */

@media (max-width: 760px) {

  .gc-single-dashboard-page .gc-home-v2 {
    display: flex !important;
    flex-direction: column !important;
  }

  .gc-single-dashboard-page .gc-home-v2 > .gc-home-guide-video {
    order: 1 !important;
  }

  .gc-single-dashboard-page .gc-home-v2 > .gc-home-actions {
    order: 2 !important;
  }

  .gc-single-dashboard-page .gc-home-v2 > .gc-home-summary {
    order: 3 !important;
  }

  .gc-single-dashboard-page .gc-home-v2 > .gc-status-card {
    order: 4 !important;
  }

  .gc-single-dashboard-page .gc-home-v2 > .gc-renew-card {
    order: 5 !important;
  }
}


/* ==========================================================
   DOWNLOAD GARP CLIENTE - TEXTO CENTRALIZADO
   ========================================================== */

.gc-single-dashboard-page
.gc-home-actions
.gc-home-action-primary {
  position: relative !important;
  justify-content: center !important;
}

.gc-single-dashboard-page
.gc-home-actions
.gc-home-action-primary
.gc-home-action-icon {
  position: absolute !important;
  left: 18px !important;
}

.gc-single-dashboard-page
.gc-home-actions
.gc-home-action-primary
> span:last-child {
  width: 100% !important;
  align-items: center !important;
  text-align: center !important;
}


/* ==========================================================
   DOWNLOAD GARP CLIENTE - CENTRALIZAR SETA + TEXTO
   ========================================================== */

.gc-single-dashboard-page
.gc-home-actions
.gc-home-action-primary {
  justify-content: center !important;
  gap: 14px !important;
}

.gc-single-dashboard-page
.gc-home-actions
.gc-home-action-primary
.gc-home-action-icon {
  position: static !important;
  left: auto !important;
  flex: 0 0 44px !important;
}

.gc-single-dashboard-page
.gc-home-actions
.gc-home-action-primary
> span:last-child {
  width: auto !important;
  align-items: center !important;
  text-align: center !important;
}


/* ==========================================================
   CARD DO VIDEO - AZUL IGUAL AO DOWNLOAD
   ========================================================== */

.gc-single-dashboard-page .gc-home-guide-video {
  border: 1px solid #103e75 !important;

  background:
    linear-gradient(
      135deg,
      #0b3262 0%,
      #115796 100%
    ) !important;

  box-shadow:
    0 13px 30px rgba(10, 54, 102, .18) !important;
}

/* Textos do lado esquerdo */

.gc-single-dashboard-page .gc-home-guide-video .gc-mini-label {
  color: rgba(255,255,255,.72) !important;
}

.gc-single-dashboard-page .gc-home-guide-copy h2 {
  color: #ffffff !important;
}

.gc-single-dashboard-page .gc-home-guide-copy p {
  color: rgba(255,255,255,.78) !important;
}

/* Área onde ficará o vídeo */

.gc-single-dashboard-page .gc-home-guide-video-placeholder {
  border: 1px solid rgba(255,255,255,.20) !important;
  background: rgba(255,255,255,.08) !important;
}

/* Play */

.gc-single-dashboard-page .gc-home-guide-play {
  color: #155eb7 !important;
  background: #ffffff !important;
}

/* Textos dentro da área do vídeo */

.gc-single-dashboard-page .gc-home-guide-video-placeholder strong {
  color: #ffffff !important;
}

.gc-single-dashboard-page .gc-home-guide-video-placeholder small {
  color: rgba(255,255,255,.72) !important;
}


/* ==========================================================
   VIDEO PRIMEIROS PASSOS - CAPA
   ========================================================== */

.gc-single-dashboard-page .gc-home-guide-video-placeholder {
  position: relative !important;
  overflow: hidden !important;

  background-image:
    linear-gradient(
      rgba(5, 31, 65, .18),
      rgba(5, 31, 65, .18)
    ),
    url('/assets/video-primeiros-passos.png') !important;

  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* Play centralizado sobre a capa */
.gc-single-dashboard-page .gc-home-guide-play {
  position: relative !important;
  z-index: 2 !important;

  width: 62px !important;
  height: 62px !important;

  margin: 0 !important;

  color: #155eb7 !important;
  background: rgba(255,255,255,.94) !important;

  box-shadow:
    0 8px 24px rgba(0,0,0,.22) !important;
}

/* Remove os textos antigos de placeholder */
.gc-single-dashboard-page
.gc-home-guide-video-placeholder strong,
.gc-single-dashboard-page
.gc-home-guide-video-placeholder small {
  display: none !important;
}


/* ==========================================================
   PRIMEIROS PASSOS - PLAYER REAL
   ========================================================== */

.gc-single-dashboard-page .gc-home-guide-video-player {
  display: block !important;

  width: 100% !important;
  aspect-ratio: 16 / 9 !important;

  border: 1px solid rgba(255,255,255,.20) !important;
  border-radius: 14px !important;

  background: #071e3d !important;

  object-fit: cover !important;
  overflow: hidden !important;
}


/* ==========================================================
   VIDEO - PLAY GRANDE CENTRALIZADO
   ========================================================== */

.gc-home-guide-video-shell {
  position: relative;
  width: 100%;
}

.gc-single-dashboard-page .gc-home-guide-video-player {
  width: 100% !important;
  display: block !important;
}

.gc-home-guide-video-play {
  position: absolute;
  z-index: 5;

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  display: grid;
  place-items: center;

  width: 78px;
  height: 78px;

  padding: 0;
  border: 0;
  border-radius: 50%;

  color: #155eb7;
  background: rgba(255,255,255,.96);

  font-size: 28px;
  cursor: pointer;

  box-shadow:
    0 10px 32px rgba(0,0,0,.32);

  transition:
    transform .16s ease,
    box-shadow .16s ease;
}

.gc-home-guide-video-play:hover {
  transform:
    translate(-50%, -50%)
    scale(1.07);

  box-shadow:
    0 14px 38px rgba(0,0,0,.38);
}

.gc-home-guide-video-play[hidden] {
  display: none !important;
}

@media (max-width: 760px) {
  .gc-home-guide-video-play {
    width: 64px;
    height: 64px;
    font-size: 23px;
  }
}

