:root{--cg-purple:#5c2a9d;--cg-dark:#161616;--cg-light:#f6f3fb;--cg-yellow:#ffd54a}
body{background:#faf9fc;color:#171717}.bg-purple{background:linear-gradient(135deg,#5c2a9d,#7c4dd7)!important}.footer-site{background:#fff;border-top:1px solid #ece8f4}.hero-section{background:radial-gradient(circle at top right,#8c66da 0,#5c2a9d 35%,#2c1848 100%);color:#fff}.hero-card{background:#fff}.metric-card{background:#f8f5ff;border:1px solid #eee5ff;padding:1rem;border-radius:1rem;height:100%}.table>:not(caption)>*>*{padding:.9rem .85rem}
.btn-login-custom{
    display:flex;
    align-items:center;
    gap:8px;
    padding:10px 18px;
    background:var(--cg-yellow);
    border:1px solid rgba(255,255,255,.2);
    backdrop-filter:blur(10px);
    color:#2c1848;
    border-radius:12px;
    font-weight:600;
    text-decoration:none;
    transition:.25s;
}

.btn-login-custom:hover{
    background:var(--cg-purple);;
    color:var(--cg-yellow);
}


.navbar-brand{
    font-size:1.7rem;
    font-weight:800;
}

.navbar .nav-link{
    color:rgba(255,255,255,.85)!important;
}

.navbar .nav-link:hover{
    color:#fff!important;
}



/* logo */

.brand-topmais{
    text-decoration:none;
    display:flex;
    flex-direction:column;
    line-height:1.1;
}

.brand-main{
    color:#fff;
    font-size:2rem;
    font-weight:800;
}

.brand-sub{
    display:flex;
    align-items:center;
    gap:6px;
    color:rgba(255,255,255,.75);
    font-size:.75rem;
    font-weight:500;
    margin-top:2px;
}

.brand-sub img{
    height:18px;
    width:auto;
}
/* logo */

/* footer */


.footer-purple{
    background:linear-gradient(135deg,#2c1848,#5c2a9d 55%,#7c4dd7);
    color:#fff;
    padding:56px 0 28px;
    border-top:none;
}

.footer-brand-card{
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.16);
    border-radius:24px;
    padding:28px;
}

.footer-brand-card h5{
    font-size:1.6rem;
    font-weight:800;
    margin-bottom:14px;
}

.footer-brand-card p{
    color:rgba(255,255,255,.82);
    line-height:1.7;
    margin:0;
}

.footer-heading{
    color:var(--cg-yellow);
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.05em;
    margin-bottom:16px;
}

.footer-links{
    list-style:none;
    padding:0;
    margin:0;
}

.footer-links li{
    margin-bottom:10px;
}

.footer-links a{
    color:#fff;
    text-decoration:none;
    font-weight:600;
}

.footer-links a:hover{
    color:var(--cg-yellow);
}

.footer-contact-yellow{
    display:inline-flex;
    align-items:center;
    gap:10px;
    background:var(--cg-yellow);
    color:#2c1848;
    padding:13px 18px;
    border-radius:16px;
    font-weight:800;
    text-decoration:none;
    box-shadow:0 10px 25px rgba(255,213,74,.25);
}

.footer-contact-yellow:hover{
    background:#fff;
    color:#5c2a9d;
}

.footer-bottom{
    margin-top:36px;
    padding-top:22px;
    border-top:1px solid rgba(255,255,255,.16);
    display:flex;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
    color:rgba(255,255,255,.72);
    font-size:.9rem;
}
/* footer */


/* onde comprar */
.company-store-card{
    transition:.25s;
}

.company-store-card:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 40px rgba(92,42,157,.12)!important;
}

.company-icon{
    width:60px;
    height:60px;
    background:rgba(92,42,157,.08);
    color:var(--cg-purple);
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.6rem;
}

.company-badge{
    background:var(--cg-yellow);
    color:#2c1848;
    font-weight:700;
    padding:.55rem .9rem;
}

.company-points{
    color:var(--cg-purple);
    font-weight:700;
}



/*  */


.company-card{
    transition:.25s ease;
    background:#fff;
}

.company-card:hover{
    transform:translateY(-5px);
    box-shadow:0 18px 40px rgba(92,42,157,.12)!important;
}

.company-icon{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--cg-purple);
    background:rgba(92,42,157,.08);
    border-radius:14px;
    font-size:1.35rem;
}

.company-points{
    color:#212529;
    font-weight:800;
}
/* onde comprar */



/* admin pages */
.institutional-page {
    background: #faf7ff;
  }
  
  .institutional-content {
    background: #fff;
    border: 1px solid rgba(91, 63, 136, .14);
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 18px 50px rgba(47, 22, 78, .08);
    color: #352b42;
    font-size: 1rem;
    line-height: 1.75;
  }
  
  .institutional-content h2 {
    color: #2b164f;
    font-weight: 800;
    margin: 30px 0 14px;
  }
  
  .institutional-content h2:first-child {
    margin-top: 0;
  }
  
  .institutional-content h3 {
    color: #4d2a7a;
    font-weight: 700;
    margin: 24px 0 10px;
  }
  
  .institutional-content p {
    margin-bottom: 16px;
  }
  
  .institutional-content ul,
  .institutional-content ol {
    margin-bottom: 20px;
    padding-left: 22px;
  }
  
  .institutional-content li {
    margin-bottom: 8px;
  }
  
  .institutional-content a {
    color: #6f42c1;
    font-weight: 700;
    text-decoration: none;
  }
  
  .institutional-content a:hover {
    text-decoration: underline;
  }
  
  .institutional-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 22px 0;
  }
  
  .institutional-content table th,
  .institutional-content table td {
    border: 1px solid #eadff8;
    padding: 12px;
  }
  
  .institutional-content table th {
    background: #f5effd;
    color: #2b164f;
  }
/* admin pages */
/* Logo das empresas participantes */
.company-logo-box {
  width: 92px;
  height: 72px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(91, 42, 134, .10);
  box-shadow: 0 10px 24px rgba(91, 42, 134, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.company-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 10px;
}



.company-logo-wrap {
    width: 76px;
    height: 76px;
    border-radius: 22px;
    background: #f4ecff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.company-logo-img {
    max-width: 82%;
    max-height: 82%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.company-card-logo {
    width: 84px;
    height: 84px;
    border-radius: 24px;
    background: #f4ecff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.company-card-logo img {
    max-width: 84%;
    max-height: 84%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}