/* RollUp.pt — identidade "tinta e gabarito". Camada base: tokens, letra, texto, botões, campos, avisos, chips, ícones.
   Uma cor por função: tinta = texto; magenta = comprar; ciano = links e ícones; amarelo = prazo; verde/vermelho = estados. */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin.woff2") format("woff2-variations"), url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-ext.woff2") format("woff2-variations"), url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ri-tinta: #2B2670; --ri-tinta-2: #5A5878; --ri-tinta-3: #8A88A6;
  --ri-papel: #FFFFFF; --ri-papel-2: #F5F6FA; --ri-papel-3: #ECEDF4; --ri-linha: #E3E2EE; --ri-linha-forte: #C9C7DC;
  --ri-magenta: #C8006A; --ri-magenta-escuro: #A30057; --ri-ciano: #00A0E0; --ri-ciano-texto: #0076A8; --ri-amarelo: #F8E800;
  --ri-bom: #0E7A4B; --ri-bom-fundo: #E7F5EE; --ri-mau: #B42318; --ri-mau-fundo: #FDECEA; --ri-aviso-fundo: #FFFBE0;
  --ri-noite: #1C1A4A;
  --ri-letra: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ri-t-14: 14px; --ri-t-16: 16px; --ri-t-17: 17px; --ri-t-22: 22px; --ri-t-34: clamp(26px, 3.2vw, 34px); --ri-t-56: clamp(34px, 5.2vw, 56px);
  --ri-r-1: 4px; --ri-r-2: 12px;
  --ri-sombra-flutua: 0 8px 28px rgba(28, 26, 74, .16);
  --ri-rapido: 150ms; --ri-medio: 250ms; --ri-curva: cubic-bezier(.2, .7, .2, 1);
  --ri-largura: 1200px; --ri-texto-max: 68ch;
}

/* Letra e texto em todo o site (sobrepõe Astra, Spectra, Woo, Trustindex e componentes antigos) */
html body, html body :where(p, li, td, th, label, input, select, textarea, button, a, span, div, dd, dt, small, strong, em, blockquote, figcaption, address) {
  font-family: var(--ri-letra) !important;
}
/* Estrelas do WooCommerce: são a letra "S" numa fonte própria; a regra acima trocava-a pela Archivo */
html body :is(.star-rating, .star-rating span) { font-family: star !important }
html body p.stars a { font-family: WooCommerce !important }
html body { color: var(--ri-tinta); font-size: var(--ri-t-17); line-height: 1.6; -webkit-font-smoothing: antialiased; font-optical-sizing: auto }
html body :where(h1, h2, h3, h4, h5, h6, .entry-title, .product_title, .woocommerce-loop-product__title, .uagb-heading-text, .uagb-ifb-title, .uagb-ifb-title-prefix) {
  font-family: var(--ri-letra) !important; color: var(--ri-tinta); text-wrap: balance; letter-spacing: -.01em; text-transform: none;
}
html body :is(h1, h2, h3, h4, h5, h6, .entry-title, .product_title):not(.rollup-delivery-bar *) { color: var(--ri-tinta) !important }
html body h1, html body .entry-title, html body h1.product_title { font-size: var(--ri-t-56) !important; line-height: 1.04 !important; font-weight: 800 !important; font-stretch: 112%; }
html body h2 { font-size: var(--ri-t-34) !important; line-height: 1.15 !important; font-weight: 750 !important; font-stretch: 100% }
html body h3 { font-size: var(--ri-t-22) !important; line-height: 1.25 !important; font-weight: 700 !important }
html body :where(h4, h5, h6) { font-size: var(--ri-t-17) !important; line-height: 1.35 !important; font-weight: 700 !important }
html body :where(.entry-content p, .woocommerce-product-details__short-description p, .uagb-ifb-desc, .uagb-desc-text) { max-width: var(--ri-texto-max) }
html body :where(small, .woocommerce-result-count, .ast-breadcrumbs, .woocommerce-breadcrumb, figcaption) { font-size: var(--ri-t-14); color: var(--ri-tinta-2) }
html body a { color: var(--ri-ciano-texto); text-underline-offset: 3px; transition: color var(--ri-rapido) var(--ri-curva) }
html body a:hover { color: var(--ri-tinta) }
html body :focus-visible { outline: 3px solid var(--ri-ciano) !important; outline-offset: 2px !important }
html body ::selection { background: var(--ri-amarelo); color: var(--ri-tinta) }

/* Medidas e preços na letra larga: a linguagem do produto */
html body :where(.price, .woocommerce-Price-amount, .ri-medida) { font-stretch: 118%; font-variant-numeric: tabular-nums; font-weight: 750; color: var(--ri-tinta) }
html body :where(.price del) { opacity: .55; font-weight: 500 }

/* Botões: 3 papéis para todo o site */
html body :where(.button, button.button, a.button, input[type="submit"], .wp-block-button__link, .uagb-infobox-cta-link, .ast-button, .checkout-button, #place_order, .single_add_to_cart_button) {
  font-family: var(--ri-letra) !important; font-size: var(--ri-t-16) !important; font-weight: 650 !important; font-stretch: 100% !important;
  text-transform: none !important; letter-spacing: 0 !important; line-height: 1.1 !important;
  border-radius: var(--ri-r-1) !important; padding: 15px 22px !important; min-height: 48px; box-shadow: none !important;
  background: var(--ri-tinta) !important; background-image: none !important; color: var(--ri-papel) !important; border: 1.5px solid var(--ri-tinta) !important;
  transition: background-color var(--ri-rapido) var(--ri-curva), color var(--ri-rapido) var(--ri-curva), border-color var(--ri-rapido) var(--ri-curva) !important;
  transform: none !important; animation: none !important;
}
html body :where(.button, a.button, .wp-block-button__link, .uagb-infobox-cta-link, .ast-button):hover { background: var(--ri-noite) !important; border-color: var(--ri-noite) !important; color: var(--ri-papel) !important }
/* Comprar = magenta, e só comprar */
html body :where(.single_add_to_cart_button, .checkout-button, #place_order, .add_to_cart_button, .ri-comprar, .ru-sc-cta, .claude-barra-b .b, #claude-barra-final button) {
  background: var(--ri-magenta) !important; border-color: var(--ri-magenta) !important; color: #fff !important;
}
html body :where(.single_add_to_cart_button, .checkout-button, #place_order, .add_to_cart_button, .ri-comprar, .ru-sc-cta):hover { background: var(--ri-magenta-escuro) !important; border-color: var(--ri-magenta-escuro) !important }
/* Secundário = contorno de tinta */
html body :where(.button.alt.ri-secundario, .ri-secundario, a.button.wc-backward, .woocommerce-MyAccount-navigation a) {
  background: transparent !important; color: var(--ri-tinta) !important; border: 1.5px solid var(--ri-tinta) !important;
}
/* Os ícones e setas acrescentados dentro dos botões (› → ») saem: o texto diz a ação */
html body :where(.button, .wp-block-button__link, .uagb-infobox-cta-link) :where(svg, .uagb-ifb-button-icon, .ast-icon) { display: none !important }

/* Campos de formulário */
html body :where(input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], select, textarea, .select2-selection) {
  font-family: var(--ri-letra) !important; font-size: var(--ri-t-16) !important; color: var(--ri-tinta) !important;
  border: 1.5px solid var(--ri-linha-forte) !important; border-radius: var(--ri-r-1) !important; background: var(--ri-papel) !important;
  min-height: 46px; padding: 10px 12px !important; box-shadow: none !important; transition: border-color var(--ri-rapido) var(--ri-curva);
}
html body :where(input, select, textarea):focus { border-color: var(--ri-tinta) !important; outline: none }
html body :where(label, .woocommerce form .form-row label) { font-size: var(--ri-t-14) !important; font-weight: 600 !important; color: var(--ri-tinta) !important; text-transform: none !important; letter-spacing: 0 !important }
html body .woocommerce form .form-row .required { color: var(--ri-magenta) !important }

/* Avisos */
html body :where(.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice) {
  font-size: var(--ri-t-16) !important; border-radius: var(--ri-r-1) !important; border: 1px solid var(--ri-linha) !important; border-left-width: 4px !important;
  background: var(--ri-papel-2) !important; color: var(--ri-tinta) !important; box-shadow: none !important; padding: 14px 16px 14px 44px !important;
}
html body .woocommerce-message { border-left-color: var(--ri-bom) !important; background: var(--ri-bom-fundo) !important }
html body .woocommerce-error { border-left-color: var(--ri-mau) !important; background: var(--ri-mau-fundo) !important }
html body .woocommerce-info { border-left-color: var(--ri-ciano) !important }
html body :where(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before { color: inherit !important }

/* Chips de tamanho e filtros: letra larga, cantos de 4 px, ativo com sublinhado magenta */
html body :where(.ru-sc-size, .ru-size-pill, .claude-pill, .ru-shop-pill, .ru-filter-pill, [class*="size-pill"]) {
  font-family: var(--ri-letra) !important; font-stretch: 112%; font-variant-numeric: tabular-nums; font-weight: 650 !important; font-size: 15px !important;
  border-radius: var(--ri-r-1) !important; border: 1.5px solid var(--ri-linha) !important; background: var(--ri-papel) !important; color: var(--ri-tinta) !important;
  text-transform: none !important; letter-spacing: 0 !important; box-shadow: none !important; transition: border-color var(--ri-rapido) var(--ri-curva) !important;
}
html body :where(.ru-sc-size, .ru-size-pill, .claude-pill, .ru-shop-pill, .ru-filter-pill, [class*="size-pill"]):is(.active, .is-active, [aria-pressed="true"], [aria-checked="true"], .selected) {
  border-color: var(--ri-tinta) !important; box-shadow: inset 0 -3px 0 var(--ri-magenta) !important; background: var(--ri-papel) !important; color: var(--ri-tinta) !important;
}

/* Ícones: uma família de linha, traço 1,75, na cor do texto */
.ri-ico { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: -4px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round }
.ri-ico--16 { width: 16px; height: 16px; vertical-align: -3px } .ri-ico--24 { width: 24px; height: 24px }
html body :where(svg[class*="ru-"], .ru-trust-icon svg, .ru-footer-root svg) { stroke-width: 1.75 }

/* Movimento: nada em ciclo; respeita quem desliga animações */
html body :where([class*="ru-"], [class*="rollup-"], .uagb-block, [data-aos]) { animation-iteration-count: 1 !important }
html body :where(.ru-radar, [class*="radar"], [class*="pulse"], [class*="Pulse"], [class*="float"]) { animation: none !important }
@media (prefers-reduced-motion: reduce) { html body *, html body *::before, html body *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important } }
