
/* Revisão visual da HOME: marcas e parceria com contraste sem caixas brancas */
.header .site-logo.brand-white,.footer .footer-logo.brand-white{
 background:none!important;box-shadow:none!important;border:0!important;padding:0!important;
 border-radius:0!important;object-fit:contain!important
}
.header .site-logo.brand-white{width:238px!important;height:66px!important;object-position:left center}
.footer .footer-logo.brand-white{max-width:250px!important;max-height:90px!important;width:240px;height:auto}
.header-inner{gap:18px}
.header .nav{margin-left:auto}
.home-partners-section{background:#faf9f6;padding:58px 0 65px}
.home-partners-card{border-radius:20px;padding:45px 44px 35px;overflow:hidden;position:relative;
 background:radial-gradient(ellipse at 95% 0%,rgba(62,108,130,.58),transparent 51%),linear-gradient(125deg,#0c263b,#1d4861);
 box-shadow:0 20px 55px rgba(11,37,54,.16);border:1px solid rgba(255,255,255,.09);color:#fff
}
.home-partners-card:before{content:"";position:absolute;right:-145px;top:-185px;border:1px solid rgba(208,174,112,.23);width:480px;height:380px;transform:rotate(-15deg);border-radius:50%;pointer-events:none}
.home-partners-header{display:flex;justify-content:space-between;align-items:end;gap:28px;position:relative;z-index:1}
.home-partners-header .kicker{color:#deb575!important}
.home-partners-header h2{color:#fff;font-size:clamp(32px,3.8vw,51px);margin:9px 0 14px;line-height:1.08}
.home-partners-header h2 em{font-style:normal;color:#e5c18a}
.home-partners-header p{color:#d2dee5;max-width:620px;font-size:14px;margin:0 0 26px}
.home-see-brands{background:#d3ab72;color:#143044;font-weight:900;margin-bottom:28px}
.home-see-brands:hover{background:#eac38a;color:#0a263b}
.home-brand-grid{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;z-index:1}
.home-brand-card{display:flex;flex-direction:column;position:relative;text-decoration:none!important;
 min-height:215px;padding:19px 19px 18px;border-radius:13px;border:1px solid rgba(255,255,255,.4);
 transition:transform .2s,box-shadow .2s,border-color .2s;overflow:hidden
}
.home-brand-card:hover{transform:translateY(-4px);box-shadow:0 13px 31px rgba(5,16,25,.2)}
.home-brand-light{background:#f8f7f3;color:#183a51}
.home-brand-dark{background:#082338;color:#fff;border-color:#3e6176}
.home-brand-image-wrap{width:100%;height:101px;display:flex;justify-content:center;align-items:center;margin-bottom:15px}
.home-brand-image-wrap img{max-height:100px;max-width:93%;object-fit:contain;display:block}
.home-brand-card.brand-marquise img{width:265px;height:auto;max-height:90px}
.home-brand-card.brand-dias img{width:284px;height:auto;max-height:93px}
.home-brand-card.brand-mlar img{max-height:91px;max-width:165px}
.home-brand-card.brand-bspar img{max-height:93px;max-width:160px}
.home-brand-card.brand-riva img{max-height:92px;max-width:185px}
.home-brand-card.brand-direcional img{max-height:77px;max-width:253px}
.home-brand-meta{display:flex;flex-direction:column;gap:3px;margin-top:auto;padding-right:21px}
.home-brand-meta strong{font:800 14px/1.2 "DM Sans",Arial,sans-serif}
.home-brand-meta small{font-size:10px;color:#82919b;line-height:1.4}
.home-brand-dark .home-brand-meta small{color:#bbcbd4}
.home-brand-arrow{position:absolute;right:20px;bottom:19px;font-size:20px;font-weight:700;opacity:.64}
.home-partners-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:27px;
 border-top:1px solid rgba(255,255,255,.2);padding-top:23px;color:#c5d4dc;font-size:12px}
.home-partners-footer a{color:#eccb95;font-weight:800}
.home-partners-footer a:hover{text-decoration:underline}
.developer-heading .brand-section-badge{height:101px;width:224px;padding:14px 18px;max-width:none!important;
 border-radius:11px;border:1px solid #e3e7e7;background:#f6f4ef;box-shadow:0 4px 15px rgba(10,30,42,.05)}
.developer-heading .brand-section-badge img{height:auto;max-height:76px;max-width:100%;width:auto}
.developer-heading .brand-section-badge.badge-marquise img{width:175px}
.developer-heading .brand-section-badge.badge-dias{background:#102e43;border-color:#102e43}
.developer-heading .brand-section-badge.badge-dias img{width:193px}
.developer-heading .brand-section-badge.badge-particulares{background:#f6f4ef;border-color:#e3e7e7}
.developer-heading .brand-section-badge.badge-particulares img{width:192px;max-height:70px}
.home-end-card{display:grid;grid-template-columns:1fr auto;gap:21px 32px;align-items:center;
 padding:45px 46px 28px!important;overflow:hidden}
.home-end-card h2{font-size:clamp(29px,3.2vw,42px);margin:9px 0}
.home-end-card .btn.primary{margin-left:auto}
.home-end-brandrow{grid-column:1/-1;width:100%;display:flex;justify-content:flex-end;align-items:center;gap:35px;
 border-top:1px solid rgba(255,255,255,.20);padding-top:21px;margin-top:3px}
.home-end-vievas,.home-end-reali{display:flex;align-items:center;justify-content:center;gap:20px}
.home-end-vievas img{width:240px;max-height:90px;object-fit:contain}
.home-end-reali{flex-direction:column;align-items:flex-start;gap:3px}
.home-end-reali span{font:800 9px/1.2 "DM Sans",Arial,sans-serif;color:#e8ce9f;letter-spacing:.13em}
.home-end-reali img{width:152px;max-height:62px;object-fit:contain}
.home-end-separator{height:56px;width:1px;background:rgba(255,255,255,.33)}
@media(max-width:1050px){
 .home-brand-card{padding:17px}
 .home-partners-card{padding:37px 29px 28px}
 .home-brand-image-wrap{height:83px}
 .home-brand-grid{gap:12px}
 .home-brand-card{min-height:190px}
}
@media(max-width:880px){
 .home-brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .home-partners-header{align-items:start;flex-direction:column}
 .home-see-brands{margin:0 0 22px}
 .home-end-card{grid-template-columns:1fr;gap:17px}
 .home-end-card .btn.primary{margin-left:0;justify-self:start}
 .home-end-brandrow{justify-content:flex-start}
 .header .site-logo.brand-white{width:220px!important;height:60px!important}
}
@media(max-width:600px){
 .header .site-logo.brand-white{width:184px!important;height:54px!important}
 .home-partners-section{padding:38px 0 45px}
 .home-partners-card{padding:27px 17px 24px;border-radius:14px}
 .home-partners-header h2{font-size:34px}
 .home-partners-header p{font-size:12px;margin-bottom:4px}
 .home-brand-grid{gap:9px}
 .home-brand-card{min-height:170px;padding:12px 10px 12px;border-radius:10px}
 .home-brand-image-wrap{height:83px;margin-bottom:5px}
 .home-brand-image-wrap img{max-width:99%;max-height:74px}
 .home-brand-card.brand-marquise img{max-height:75px;width:100%}
 .home-brand-card.brand-dias img{max-height:73px;width:100%}
 .home-brand-card.brand-mlar img{max-height:72px;max-width:100%}
 .home-brand-card.brand-bspar img{max-height:72px;max-width:100%}
 .home-brand-meta strong{font-size:11px}
 .home-brand-meta small{font-size:9px}
 .home-brand-arrow{right:9px;bottom:10px;font-size:15px}
 .home-partners-footer{margin-top:21px;padding-top:19px;font-size:11px}
 .developer-heading .brand-section-badge{width:200px;height:83px}
 .home-end-card{padding:29px 21px!important}
 .home-end-brandrow{gap:11px;justify-content:space-between;flex-wrap:nowrap}
 .home-end-vievas img{width:165px;max-height:55px}
 .home-end-reali img{width:105px;max-height:42px}
 .home-end-reali span{font-size:7px}
 .home-end-separator{height:44px}
}

/* Ajuste final de proporção de logomarcas nos celulares */
@media(max-width:600px){
  .home-brand-card.brand-riva .home-brand-image-wrap img,
  .home-brand-card.brand-direcional .home-brand-image-wrap img{
    max-width:96%!important;width:auto!important;height:auto!important;max-height:69px!important;
  }
  .home-brand-card.brand-dias .home-brand-image-wrap img{
    max-width:98%!important;width:auto!important;height:auto!important;max-height:68px!important;
  }
}
.home-partners-section{scroll-margin-top:90px}

/* VIEVAS 13/11/2026: grade 4 x 4 compacta, sem logos inventadas. */
.home-partners-card .home-brand-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:11px;
}
.home-partners-card .home-brand-card{
  min-height:146px;
  padding:12px 13px;
  border-radius:11px;
}
.home-partners-card .home-brand-image-wrap{
  height:62px;
  margin-bottom:9px;
}
.home-partners-card .home-brand-image-wrap img{
  width:auto!important;
  height:auto!important;
  max-width:94%!important;
  max-height:58px!important;
}
.home-partners-card .home-brand-meta{
  padding-right:18px;
}
.home-partners-card .home-brand-meta strong{
  font-size:12px;
}
.home-partners-card .home-brand-meta small{
  font-size:10px;
}
.home-partners-card .home-brand-arrow{
  right:12px;
  bottom:11px;
  font-size:17px;
}
.home-partners-card .home-brand-typographic{
  align-items:center;
  justify-content:center;
  padding:0 5px;
}
.home-partners-card .home-brand-wordmark{
  font:800 clamp(15px,1.5vw,22px)/1.1 "DM Sans",Arial,sans-serif;
  letter-spacing:-.025em;
  color:#153851;
  text-align:center;
  overflow-wrap:anywhere;
}
.home-partners-card .home-brand-external .home-brand-meta small{
  color:#4c6680;
  font-weight:700;
}
@media(max-width:1020px){
  .home-partners-card .home-brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .home-partners-card .home-brand-grid{gap:9px}
  .home-partners-card .home-brand-card{min-height:134px;padding:10px 9px}
  .home-partners-card .home-brand-image-wrap{height:56px;margin-bottom:6px}
  .home-partners-card .home-brand-image-wrap img{max-height:53px!important}
  .home-partners-card .home-brand-wordmark{font-size:15px}
  .home-partners-card .home-brand-meta strong{font-size:11px}
  .home-partners-card .home-brand-meta small{font-size:9px}
}

/* Logomarcas oficiais: legibilidade de marcas em branco sobre azul. */
.home-partners-card .home-brand-external.home-brand-dark{
  background:#0a2c42;
  border-color:#55768b;
}
.home-partners-card .home-brand-external.home-brand-dark .home-brand-meta strong{
  color:#fff;
}
.home-partners-card .home-brand-external.home-brand-dark .home-brand-meta small{
  color:#c3d8e4;
}
.home-partners-card .home-brand-external .home-brand-image-wrap img{
  width:auto!important;
  max-width:96%!important;
  max-height:60px!important;
  object-fit:contain!important;
}
@media(max-width:600px){
  .home-partners-card .home-brand-external .home-brand-image-wrap img{max-height:54px!important}
}


 /* Rodape institucional VIEVAS independente - 13/11/2026 */
.footer .footer-grid{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr) minmax(0,1.1fr) minmax(0,1.05fr);gap:34px}
.footer .footer-grid h4{color:#e8c38c;letter-spacing:.10em}
.footer .footer-grid a{line-height:1.6}
.footer .footer-grid p{line-height:1.7}
.home-end-brandrow{justify-content:center}
@media(max-width:1050px){.footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:29px 36px}}
@media(max-width:600px){.footer .footer-grid{grid-template-columns:1fr;gap:25px}.footer{padding-top:45px}.footer .footer-grid h4{margin-bottom:12px}.footer-small{line-height:1.7}}
