/* v173: rodapé enxuto, com captação do cupom, selos de compra segura e links agrupados. */
footer.vf{background:#f5f1ea!important;color:var(--ink);padding:0!important;border-top:1px solid var(--line)}
footer.vf a{color:inherit;text-decoration:none}
footer.vf a:hover{color:var(--gold-dark,#80602f)}

/* Faixa do cupom */
.vf-news{display:grid;grid-template-columns:1fr minmax(320px,460px);gap:32px;align-items:center;padding:48px max(20px,5%);background:var(--buy,#3b2a21);color:#f4ead8}
.vf-news .vf-eyebrow{margin:0 0 8px;font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:#d9bf86}
.vf-news h2{margin:0 0 6px;font-family:var(--display);font-weight:500;font-size:clamp(28px,3vw,38px);line-height:1.1;color:#fff}
.vf-news h2 em{color:#e3c88f}
.vf-news p{margin:0;font-size:14px;color:#e6d9c3}
.vf-news-row{display:grid;grid-template-columns:1fr auto;border:1px solid #8c7158}
.vf-news-row input{min-height:50px;padding:0 16px;border:0;background:transparent;color:#fff;font:inherit;font-size:15px;min-width:0}
.vf-news-row input::placeholder{color:#cdb99c}
.vf-news-row button{padding:0 22px;border:0;background:#e3c88f;color:var(--buy,#3b2a21);font:600 12px/1 var(--sans);letter-spacing:.12em;text-transform:uppercase;cursor:pointer}
.vf-news-row button:disabled{opacity:.6}
.vf-consent{display:flex;gap:8px;margin-top:10px;font-size:12px;color:#e6d9c3;line-height:1.5}
.vf-consent input{accent-color:#e3c88f;margin-top:2px}
.vf-news-msg{margin:10px 0 0!important;font-size:13px!important;color:#fff!important}
.vf-news-msg:empty{display:none}
.vf-news-msg strong{letter-spacing:.16em;color:#e3c88f}
.vf-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* Colunas */
.vf-main{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:40px;padding:56px max(20px,5%) 40px}
.vf-brand p{margin:0 0 18px;max-width:300px;font-size:13px;line-height:1.7;color:var(--muted)}
.vf-social{display:grid;gap:10px}
.vf-social a{display:inline-flex;align-items:center;gap:10px;font-size:13px}
.vf-col h3{margin:0 0 16px;font:600 11px/1.4 var(--sans);letter-spacing:.18em;text-transform:uppercase;color:var(--buy,#3b2a21)}
.vf-col a,.vf-col button{display:block;margin:0 0 11px;padding:0;border:0;background:none;font:400 14px/1.4 var(--sans);color:var(--ink);text-align:left;cursor:pointer}
.vf-col button:hover{color:var(--gold-dark,#80602f)}
.vf-trust{list-style:none;margin:0;padding:0}
.vf-trust li{position:relative;margin:0 0 11px;padding-left:20px;font-size:14px;line-height:1.4}
.vf-trust li::before{content:'✦';position:absolute;left:0;top:0;color:var(--gold,#c09a4b);font-size:11px;line-height:1.7}

/* Linha legal */
.vf-bottom{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:18px max(20px,5%);border-top:1px solid var(--line);font-size:11px;line-height:1.6;color:var(--ink)}
.vf-bottom a{text-decoration:underline}

@media (max-width:900px){.vf-main{grid-template-columns:1fr 1fr}.vf-brand{grid-column:1/-1}}
@media (max-width:640px){
 .vf-news{grid-template-columns:1fr;padding:36px 20px;gap:20px}
 .vf-main{grid-template-columns:1fr 1fr;gap:28px 20px;padding:40px 20px 28px}
 .vf-col:last-child{grid-column:1/-1}
 .vf-bottom{flex-direction:column;text-align:center}
}
.vf-main>*{grid-column:auto!important}
@media (max-width:900px){.vf-main>.vf-brand{grid-column:1/-1!important}}
@media (max-width:640px){.vf-main>.vf-col:last-child{grid-column:1/-1!important}}
.vf-main>.vf-col{display:block!important;min-width:0;width:auto!important}.vf-main>.vf-col>a,.vf-main>.vf-col>button{display:block!important;width:auto}
.vf-main>.vf-col{border:0!important;padding:0!important;margin:0!important}.vf-main>.vf-col>a,.vf-main>.vf-col>button{letter-spacing:normal!important;text-transform:none!important}

.vf-main>.vf-brand{display:grid;justify-self:start;width:min(300px,100%);justify-items:center;align-content:start;text-align:center;min-width:0}
footer.vf .vf-brand .brand{display:block;width:min(210px,100%);margin:0 0 16px}
footer.vf .vf-wordmark{width:100%;aspect-ratio:593/150}
footer.vf .vf-wordmark img{width:168.634%;max-width:none;left:-11.804%;top:-319.333%;opacity:1}
.vf-brand .vf-social{text-align:left}
@supports ((mask-image:url('')) or (-webkit-mask-image:url(''))){
 footer.vf .vf-wordmark::after{
  content:'';position:absolute;inset:0;background:#80602f;
  -webkit-mask:url('/assets/virtuosa-logo-original.png') 17.199% 56.353% / 168.634% auto no-repeat;
  mask:url('/assets/virtuosa-logo-original.png') 17.199% 56.353% / 168.634% auto no-repeat;
 }
 footer.vf .vf-wordmark img{opacity:0}
}

/* Rodapé em telas de celular */
@media (max-width:640px){
 footer.vf .vf-main{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px;row-gap:24px;padding:28px 20px 24px}
 footer.vf .vf-main>.vf-brand{justify-self:center;width:100%;padding-bottom:20px;border-bottom:1px solid var(--line)}
 footer.vf .vf-brand .brand{width:min(170px,100%);margin-bottom:10px}
 footer.vf .vf-brand p{margin-bottom:12px}
 footer.vf .vf-social{max-width:100%;gap:6px}
 footer.vf .vf-social a{overflow-wrap:anywhere}
 footer.vf .vf-social svg{flex:none}
 footer.vf .vf-col h3{margin-bottom:10px}
 footer.vf .vf-col>a,footer.vf .vf-col>button,footer.vf .vf-trust li{margin-bottom:8px;font-size:13px;line-height:1.45}
 footer.vf .vf-main>.vf-col:last-child{border-top:1px solid var(--line)!important;padding-top:18px!important}
 footer.vf .vf-bottom{gap:10px;padding:16px 20px calc(20px + env(safe-area-inset-bottom,0px))}
 footer.vf .vf-legal{display:grid;justify-items:center;gap:3px}
 footer.vf .vf-legal-tax{white-space:nowrap}
 footer.vf .vf-legal-divider,footer.vf .vf-campaign-credit{display:none}
}

/* v192: mobile footer with one reading direction and separate groups. */
@media (max-width:640px) {
  footer.vf .vf-main {
    display:flex;
    flex-direction:column;
    gap:0;
    padding:28px 24px 12px;
  }
  footer.vf .vf-main>.vf-brand {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    text-align:left;
    width:100%;
    padding:0 0 22px;
    border-bottom:1px solid var(--line);
  }
  footer.vf .vf-brand .brand { width:150px; margin:0 0 16px; }
  footer.vf .vf-brand p {
    max-width:34ch;
    margin:0 0 16px;
    font-size:13px;
    line-height:1.65;
  }
  footer.vf .vf-social { width:100%; gap:4px; }
  footer.vf .vf-social a {
    display:flex;
    align-items:center;
    min-height:36px;
    gap:10px;
    font-size:12px;
    line-height:1.5;
  }
  footer.vf .vf-social a span { min-width:0; overflow-wrap:anywhere; }
  footer.vf .vf-social svg { width:17px; height:17px; }
  footer.vf .vf-main>.vf-col,
  footer.vf .vf-main>.vf-col:last-child {
    width:100%!important;
    padding:20px 0!important;
    border:0!important;
    border-bottom:1px solid var(--line)!important;
  }
  footer.vf .vf-main>.vf-col:last-child { border-bottom:0!important; }
  footer.vf .vf-col h3 {
    margin:0 0 10px;
    font-size:11px;
    line-height:1.5;
    letter-spacing:.16em;
  }
  footer.vf .vf-main>.vf-col>a,
  footer.vf .vf-main>.vf-col>button {
    display:flex!important;
    align-items:center;
    width:100%!important;
    min-height:42px;
    margin:0;
    padding:7px 0;
    font-size:13px;
    line-height:1.5;
    text-align:left;
    white-space:normal;
    overflow-wrap:anywhere;
  }
  footer.vf .vf-trust { display:grid; gap:12px; }
  footer.vf .vf-trust li { margin:0; font-size:13px; line-height:1.55; }
  footer.vf .vf-bottom {
    align-items:flex-start;
    text-align:left;
    padding:20px 24px calc(28px + env(safe-area-inset-bottom,0px));
    gap:14px;
    font-size:11px;
    line-height:1.65;
  }
  footer.vf .vf-legal {
    display:grid;
    justify-items:start;
    gap:6px;
    width:100%;
    min-width:0;
    overflow-wrap:anywhere;
  }
  footer.vf .vf-legal-tax { white-space:normal; }
  footer.vf .vf-bottom>span { max-width:100%; }
}

/* v193: centered, more compact mobile footer. */
@media (max-width:640px) {
  footer.vf .vf-main { padding:24px 24px 8px; text-align:center; }
  footer.vf .vf-main>.vf-brand {
    align-items:center;
    text-align:center;
    padding-bottom:16px;
  }
  footer.vf .vf-brand .brand { margin-bottom:12px; }
  footer.vf .vf-brand p { margin-bottom:10px; line-height:1.45; }
  footer.vf .vf-social { justify-items:center; gap:0; }
  footer.vf .vf-social a { justify-content:center; min-height:32px; line-height:1.35; }
  footer.vf .vf-main>.vf-col,
  footer.vf .vf-main>.vf-col:last-child { padding:16px 0!important; text-align:center; }
  footer.vf .vf-col h3 { margin-bottom:6px; line-height:1.35; }
  footer.vf .vf-main>.vf-col>a,
  footer.vf .vf-main>.vf-col>button {
    justify-content:center;
    min-height:34px;
    padding:5px 0;
    line-height:1.35;
    text-align:center;
  }
  footer.vf .vf-trust { gap:8px; justify-items:center; }
  footer.vf .vf-trust li { padding-left:0; line-height:1.4; text-align:center; }
  footer.vf .vf-trust li::before { position:static; margin-right:7px; }
  footer.vf .vf-bottom {
    align-items:center;
    text-align:center;
    gap:10px;
    line-height:1.4;
    padding:16px 24px calc(22px + env(safe-area-inset-bottom,0px));
  }
  footer.vf .vf-legal { justify-items:center; gap:4px; text-align:center; }
}

/* v194: compact navigation and the Virtuosa sparkle beside group titles. */
@media (max-width:640px) {
  footer.vf .vf-col h3 {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin-bottom:7px;
  }
  footer.vf .vf-col h3::before {
    content:"";
    flex:none;
    width:10px;
    height:15px;
    background:url("./virtuosa-brilho.svg") center / contain no-repeat;
  }
  footer.vf .vf-main>nav.vf-col>a,
  footer.vf .vf-main>nav.vf-col>button {
    min-height:28px;
    padding:3px 0;
    margin:0;
    line-height:1.3;
  }
}

/* v195: tighter mobile lines, including contact details. */
@media (max-width:640px) {
  footer.vf .vf-main>nav.vf-col>a,
  footer.vf .vf-main>nav.vf-col>button {
    min-height:24px;
    padding:2px 0;
    line-height:1.25;
  }
  footer.vf .vf-social { gap:0; }
  footer.vf .vf-social a {
    min-height:26px;
    padding:2px 0;
    margin:0;
    line-height:1.25;
  }
  footer.vf .vf-brand p { line-height:1.35; margin-bottom:8px; }
  footer.vf .vf-trust { gap:5px; }
  footer.vf .vf-trust li { line-height:1.3; }
  footer.vf .vf-legal { gap:3px; line-height:1.3; }
}
