/* 
  Esse global.css segue estritamente a identidade visual disponibilizada no Brand Book:

 --- Identidade ---
   Cores:   #001c28 base (azul-quase-preto) · #162fff azul royal (primária)
            #476572 cinza-azulado · #f2f2f2 cinza claro
            complementares: #ff391f #ecf200 #ff9700 #9e9e9e
   Fontes:  Títulos = Special Gothic Condensed · Texto = Red Hat Display
   Estilo:  escuro imersivo · cards glassmorphism · botões pill 
*/

/* Fontes utilizadas na página (foram pegas no HYPERCUBE.pdf na pasta HC4xBrand)*/
@font-face {
  font-family: "Red Hat Display";
  src: url("../lib/fonts/RedHatDisplay-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Red Hat Display";
  src: url("../lib/fonts/RedHatDisplay-Italic-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Special Gothic Condensed One";
  src: url("../lib/fonts/SpecialGothicCondensedOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Paletas utilizadas */
:root {
  /* Paleta primária */
  --hc-base:        #001c28;  
  --hc-base-2:      #022633; 
  --hc-royal:       #162fff;  
  --hc-royal-700:   #0f23cc;  
  --hc-slate:       #476572;  
  --hc-light:       #f2f2f2;  

  /* Paleta "Nossos Produtos" */
  --hc-red:    #ff391f;
  --hc-yellow: #ecf200;
  --hc-orange: #ff9700;
  --hc-gray:   #9e9e9e;

  /* Texto */
  --hc-text-on-dark:  #ffffff;
  --hc-text-muted:    rgba(255, 255, 255, .72);
  --hc-text-on-light: #001c28;

  /* Tipografia */
  --hc-font-title: "Special Gothic Condensed One", "Arial Narrow", sans-serif;
  --hc-font-body:  "Red Hat Display", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Tamanho */
  --hc-radius:      16px; 
  --hc-radius-pill: 999px;  

  /* Escala de espaçamento proporcional */
  --hc-space-1:  0.25rem;
  --hc-space-2:  0.5rem;
  --hc-space-3:  0.75rem;
  --hc-space-4:  1rem;
  --hc-space-6:  1.5rem;
  --hc-space-8:  2rem;
  --hc-space-12: 3rem;
  --hc-space-16: 4rem;

  --hc-container:  1200px;                      
  --hc-gutter:     clamp(1rem, 4vw, 2rem);      
  --hc-section-y:  clamp(3rem, 8vw, 7rem);      
  --hc-gap:        clamp(1rem, 2.5vw, 1.75rem); 
  --hc-stack:      clamp(0.75rem, 2vw, 1.25rem);

  /*  Tipografia fluida (responsividade)  */
  --hc-fs-hero: clamp(2.5rem, 6vw, 4.75rem);
  --hc-fs-h1:   clamp(2rem, 4.5vw, 3.25rem);
  --hc-fs-h2:   clamp(1.5rem, 3vw, 2.25rem);
  --hc-fs-lead: clamp(1.05rem, 1.6vw, 1.35rem);

  /*  Animação (curvas centralizados)  */
  --hc-ease:        cubic-bezier(.22, 1, .36, 1); 
  --hc-dur-fast:    .15s;
  --hc-dur:         .35s;
  --hc-dur-slow:    .6s;
}

/* Base */
html { scroll-behavior: smooth; }

body {
  background-color: var(--hc-base);
  color: var(--hc-text-on-dark);
  font-family: var(--hc-font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;          /* impede rolagem horizontal indesejada */
}

h1, h2, h3, h4, h5, h6,
.hc-title,
.horizon {                         
  font-family: var(--hc-font-title);
  font-weight: 400;                
  letter-spacing: .01em;
  line-height: 1.05;
}

a { color: var(--hc-royal); transition: color var(--hc-dur-fast) var(--hc-ease); }
a:hover { color: var(--hc-royal-700); }


:focus-visible { outline: 2px solid var(--hc-royal); outline-offset: 3px; }

/*  Layout */
.hc-container {
  width: 100%;
  max-width: var(--hc-container);
  margin-inline: auto;
  padding-inline: var(--hc-gutter);
}

.hc-section { padding-block: var(--hc-section-y); }

.hc-stack > * + * { margin-top: var(--hc-stack); }

.default_color            { color: var(--hc-royal) !important; }
.default_background_color { background-color: var(--hc-base) !important; }
.texto-principal          { color: var(--hc-royal); }

.hc-bg-base   { background-color: var(--hc-base); }
.hc-bg-light  { background-color: var(--hc-light); color: var(--hc-text-on-light); }
.hc-royal     { color: var(--hc-royal); }

/*  Navbar  */
.navbar.default_background_color {
  background-color: var(--hc-base) !important;
  /* padding leve: respiro acima/abaixo da logo, proporcional ao navbar
     (vence o .navbar dos <style> inline das páginas por especificidade) */
  padding-block: .4rem;
}

/* Logo/ícone da marca no navbar — mesmo tamanho da logo antiga (100px), com redução no mobile */
#logo {
  height: 100px;
  width: auto;
}
@media (max-width: 575.98px) {
  #logo { height: 64px; }
}

/* Botão hambúrguer (mobile) */
.navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, .35);
}
.navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 .2rem rgba(22, 47, 255, .4);
}
.navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.white_nav_link {
  color: var(--hc-text-on-dark);
  text-decoration: none;
  transition: color .15s ease;
}
.white_nav_link:hover,
.navbar-nav .white_nav_link.active {
  color: #7c8cff;
}

#menu_login {
  display: flex;
  align-items: center;
  gap: var(--hc-space-6);
  white-space: nowrap;
}
/* Desktop: nav centralizada no meio da página (independente da logo/hambúrguer),
   com o login/hambúrguer empurrado para a direita */
@media (min-width: 576px) {
  .navbar > .container-fluid { position: relative; }
  #menuNavbar .navbar-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
  }
  #menu_login { margin-left: auto; }
}
@media (max-width: 575.98px) {
  #menu_login {
    width: 100%;
    margin-left: 0;
    justify-content: center;
    gap: var(--hc-space-4);
    /* separa o login/registro dos links do menu quando aberto */
    margin-top: var(--hc-space-3);
    padding-top: var(--hc-space-3);
    border-top: 1px solid rgba(255, 255, 255, .12);
  }
  /* sublinhado proporcional ao texto (não à largura total do link) */
  .navbar-nav .white_nav_link {
    width: fit-content;
    margin-inline: auto;
  }
}

/*  Botões */
.hc-btn {
  display: inline-block;
  padding: .7rem 1.9rem;
  border: none;
  border-radius: var(--hc-radius-pill);
  font-family: var(--hc-font-body);
  font-weight: 600;
  color: #fff;
  background-color: var(--hc-royal);
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--hc-dur-fast) var(--hc-ease),
              transform var(--hc-dur-fast) var(--hc-ease),
              box-shadow var(--hc-dur) var(--hc-ease);
}
.hc-btn:hover {
  background-color: var(--hc-royal-700);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 47, 255, .45);  /* glow royal no hover */
}
.hc-btn:active { transform: translateY(0); }

.hc-btn--orange { background-color: var(--hc-orange); color: #001c28; }
.hc-btn--yellow { background-color: var(--hc-yellow); color: #001c28; }
.hc-btn--red    { background-color: var(--hc-red); }
.hc-btn--gray   { background-color: var(--hc-gray); color: #001c28; }

.hc-btn--sm { padding: .4rem 1.3rem; font-size: .95rem; }

.hc-btn--outline {
  background-color: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .38);
}
.hc-btn--outline:hover {
  background-color: rgba(255, 255, 255, .08);
  border-color: var(--hc-royal);
  color: #fff;
  box-shadow: none;
}

.hc-btn--ios { background-color: #000; }
.hc-btn--ios:hover { background-color: #1a1a1a; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); }

.hc-btn--block { display: flex; align-items: center; justify-content: center; width: 100%; }

/*  Hero com carrosel (Imagens utilizadas da pasta HC4xBrand/05.\ MATERIAIS/MOCKUPS/) */
.hc-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--hc-base);
  min-height: clamp(380px, 65vh, 680px);
}

/* CTA estático no canto inferior direito da hero (rola junto com a página) */
.hc-hero__cta {
  position: absolute;
  z-index: 2;
  right: clamp(1rem, 4vw, 2.5rem);
  bottom: clamp(1rem, 4vw, 2.5rem);
}

.hc-hero__slides { position: absolute; inset: 0; z-index: 0; }
.hc-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  will-change: opacity;
}
.hc-hero__slide:first-child { opacity: 1; }

/*
  Trocar fotos do carrocel 
  
  • Para TROCAR uma foto: substitua o arquivo em wwwroot/images/hero/
    (hero-1.jpg ... hero-4.jpg) OU mude o caminho dentro do url(...) abaixo.

  • Para ADICIONAR/REMOVER um slide (hoje são 4):
    1) acrescente/remova um <div class="hc-hero__slide hc-hero__slide--N">
       dentro de .hc-hero__slides no HTML (index.html);
    2) crie/remova a regra .hc-hero__slide--N abaixo apontando a imagem;
    3) ajuste a animação mais abaixo (@keyframes hc-hero-cf e os
       animation-delay): cada slide entra em um intervalo do ciclo de 28s.
*/
.hc-hero__slide--1 { background-image: url("../images/hero/hero-1.jpg"); }
.hc-hero__slide--2 { background-image: url("../images/hero/hero-2.jpg"); }
.hc-hero__slide--3 { background-image: url("../images/hero/hero-3.jpg"); }
.hc-hero__slide--4 { background-image: url("../images/hero/hero-4.jpg"); }

.hc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(rgba(0, 28, 40, .55), rgba(0, 28, 40, .82));
}

.hc-hero__content { position: relative; z-index: 2; }
.hc-hero__content h1 {
  color: #fff;
  font-size: var(--hc-fs-hero);
  margin: 0 auto;
  max-width: 16ch;
}
.hc-hero__content p {
  color: rgba(255, 255, 255, .82);
  font-size: 1.5rem !important;
  max-width: 46ch;
  margin: var(--hc-space-6) auto var(--hc-space-8);
}

@media (prefers-reduced-motion: no-preference) {
  .hc-hero__slide { animation: hc-hero-cf 28s infinite; }
  .hc-hero__slide--1 { animation-delay: 0s; }
  .hc-hero__slide--2 { animation-delay: 7s; }
  .hc-hero__slide--3 { animation-delay: 14s; }
  .hc-hero__slide--4 { animation-delay: 21s; }

  .hc-hero__content > * { animation: hc-rise-in var(--hc-dur-slow) var(--hc-ease) both; }
  .hc-hero__content > :nth-child(1) { animation-delay: .05s; }
  .hc-hero__content > :nth-child(2) { animation-delay: .18s; }
  .hc-hero__content > :nth-child(3) { animation-delay: .31s; }
}

@keyframes hc-hero-cf {
  0%   { opacity: 0; }
  4%   { opacity: 1; } 
  25%  { opacity: 1; }   
  29%  { opacity: 0; }   
  100% { opacity: 0; }
}

/*  Sobre / texto principal */
.hc-about {
  background: var(--hc-base-2);
  text-align: left;
}
.hc-about__title {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  max-width: 46rem;       
  margin: 0 0 var(--hc-space-6);
  text-wrap: balance;        
}
.hc-about__lead {
  color: var(--hc-text-muted);
  font-size: 1.5rem;
  max-width: 46rem;
  margin: 0 0 var(--hc-space-12);
}
.hc-about__highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  text-align: left;
}
@media (max-width: 860px) {
  .hc-about__highlights { grid-template-columns: 1fr; max-width: 34rem; margin-inline: auto; }
}
.hc-about__item {
  display: flex;
  flex-direction: column;
  gap: var(--hc-space-2);
  padding-top: var(--hc-space-4);
  border-top: 2px solid rgba(22, 47, 255, .55); 
}
.hc-about__num {
  font-family: var(--hc-font-title);
  font-size: 2rem;
  line-height: 1;
  color: var(--hc-royal);
}
.hc-about__item-title {
  color: #fff;
  font-size: 1.5rem;
  margin: 0;
}
.hc-about__item-text {
  color: var(--hc-text-muted);
  font-size: 1.25rem;
  margin: 0;
}

/*  Cards "Nossos produtos" */
.horizontal_scrollable_cards {
  display: flex;
  gap: var(--hc-gap);
  overflow-x: auto;
  padding: var(--hc-space-4) var(--hc-space-1) var(--hc-space-6);
  scroll-snap-type: x mandatory;
}

.inner_card {
  scroll-snap-align: start;
  min-width: 260px;
  padding: var(--hc-space-6);
  text-align: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--hc-radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  /* itens internos com respiro uniforme */
  display: flex;
  flex-direction: column;
  gap: var(--hc-space-3);
  transition: transform var(--hc-dur) var(--hc-ease),
              border-color var(--hc-dur) var(--hc-ease),
              box-shadow var(--hc-dur) var(--hc-ease);
}
.inner_card:hover {
  transform: translateY(-6px);
  border-color: rgba(22, 47, 255, .6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}
.inner_card img { max-width: 100%; height: auto; }

.card_title       { font-family: var(--hc-font-title); color: #fff; margin: .5rem 0; }
.card_body_text   { color: var(--hc-text-muted); }
.card_footer_text { font-size: .875rem; color: var(--hc-royal) !important; }

.hc-products {
  background-color: var(--hc-base);
  background-image:
    linear-gradient(rgba(0, 28, 40, .62), rgba(0, 28, 40, .9)),
    url("../images/textures/texture-2.jpg");
  background-size: cover;
  background-position: center;
}
.hc-products__title {
  text-align: center;
  color: #fff;
  font-size: var(--hc-fs-h1);
  margin: 0 0 var(--hc-space-12);
}
.hc-products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));  /* uma linha, quatro colunas */
  justify-content: center;
  gap: var(--hc-gap);
}
/* Tablet: 2 colunas */
@media (max-width: 991.98px) {
  .hc-products__grid { grid-template-columns: repeat(2, minmax(0, 320px)); }
}
/* Mobile: 1 coluna */
@media (max-width: 575.98px) {
  .hc-products__grid { grid-template-columns: minmax(0, 320px); }
}

/* Subtítulo opcional abaixo do título da seção */
.hc-products__title:has(+ .hc-products__subtitle) { margin-bottom: var(--hc-space-3); }
.hc-products__subtitle {
  text-align: center;
  color: var(--hc-text-muted);
  font-size: var(--hc-fs-lead);
  max-width: 60ch;
  margin: 0 auto var(--hc-space-12);
}

/* Seção "Protótipos de P&D" */
.hc-products--rnd {
  background-color: var(--hc-base-2);
  background-image: radial-gradient(90% 70% at 50% 0%, rgba(22, 47, 255, .12), transparent 60%);
}

.hc-product-card {
  flex: 0 1 320px;    
  display: flex;
  flex-direction: column;
  gap: var(--hc-stack);
  padding: var(--hc-space-8) var(--hc-space-6);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--hc-radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--hc-dur) var(--hc-ease),
              border-color var(--hc-dur) var(--hc-ease),
              box-shadow var(--hc-dur) var(--hc-ease);
}
.hc-product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(22, 47, 255, .6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}
.hc-product-card__logo {
  height: 40px;
  width: auto;
  align-self: flex-start;
  object-fit: contain;
}
/* Nome do produto quando ainda não há logo/ícone — ocupa o mesmo espaço do logo */
.hc-product-card__name {
  display: flex;
  align-items: center;
  min-height: 40px;
  margin: 0;
  align-self: flex-start;
  font-family: var(--hc-font-title);
  font-size: 1.75rem;
  line-height: 1;
  color: #fff;
}
.hc-product-card__desc {
  color: var(--hc-text-muted);
  margin: 0;
}
.hc-product-card__cta {
  margin-top: auto;
  align-self: flex-start;
}

.explicacoes { list-style: none; padding-left: 0; }
.explicacoes li { color: var(--hc-text-muted); }

/*  Seção "Veja mais"  */
.hc-videos {
  background: var(--hc-base);
  background-image: radial-gradient(80% 60% at 50% 0%, rgba(22, 47, 255, .18), transparent 60%);
  text-align: center;
}
.hc-videos__title {
  color: #fff;
  font-size: var(--hc-fs-h1);
  margin: 0;
}
.hc-videos__subtitle {
  color: var(--hc-text-muted);
  font-size: var(--hc-fs-lead);
  margin: var(--hc-space-3) 0 var(--hc-space-12);
}
.hc-videos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--hc-gap);
  text-align: left;
}
@media (max-width: 860px) {
  .hc-videos__grid { grid-template-columns: 1fr; max-width: 32rem; margin-inline: auto; }
}

.hc-video-card {
  display: flex;
  flex-direction: column;
  gap: var(--hc-space-3);
  padding: var(--hc-space-4);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--hc-radius);
  transition: transform var(--hc-dur) var(--hc-ease),
              border-color var(--hc-dur) var(--hc-ease),
              box-shadow var(--hc-dur) var(--hc-ease);
}
.hc-video-card:hover {
  transform: translateY(-6px);
  border-color: rgba(22, 47, 255, .6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
}
.hc-video-card__player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}
.hc-video-card__player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.hc-video-card__title {
  color: #fff;
  font-family: var(--hc-font-title);
  font-size: 1.4rem;
  margin: var(--hc-space-2) 0 0;
}
.hc-video-card__text {
  color: var(--hc-text-muted);
  margin: 0;
}

.hc-page-header {
  background: var(--hc-base);
  background-image:
    linear-gradient(rgba(0, 28, 40, .72), rgba(0, 28, 40, .92)),
    url("../images/textures/texture-2.jpg");
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: clamp(3rem, 9vw, 6rem) var(--hc-gutter) clamp(2.5rem, 6vw, 4rem);
}
.hc-page-header__eyebrow {
  display: inline-block;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .85rem;
  margin-bottom: var(--hc-space-3);
}
.hc-page-header__title {
  color: #fff;
  font-size: var(--hc-fs-h1);
  margin: 0 auto;
  max-width: 18ch;
}
.hc-page-header__lead {
  color: var(--hc-text-muted);
  font-size: var(--hc-fs-lead);
  max-width: 56ch;
  margin: var(--hc-space-4) auto 0;
}
/* Modificador: cabeçalho alinhado à esquerda (igual às páginas de produto) */
.hc-page-header--left { text-align: left; }
.hc-page-header--left .hc-page-header__title,
.hc-page-header--left .hc-page-header__lead { margin-inline: 0; }

/* Botões de ação dentro do cabeçalho da página */
.hc-page-header__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hc-space-4);
  margin-top: var(--hc-space-6);
}

/*  Seção "Download"  */
.hc-download {
  background: var(--hc-base);
  background-image: radial-gradient(90% 70% at 50% 100%, rgba(22, 47, 255, .18), transparent 60%);
  text-align: center;
}

.hc-download__feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
  gap: 0;
  text-align: left;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--hc-radius);
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--hc-dur) var(--hc-ease),
              border-color var(--hc-dur) var(--hc-ease),
              box-shadow var(--hc-dur) var(--hc-ease);
}
.hc-download__feature:hover {
  transform: translateY(-6px);
  border-color: rgba(22, 47, 255, .6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}
.hc-download__feature-media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}
.hc-download__feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hc-download__feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, rgba(0, 28, 40, .45) 100%);
}
.hc-download__feature-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--hc-space-3);
  padding: clamp(1.75rem, 4vw, 3rem);
}
.hc-download__badge {
  display: inline-flex;
  align-items: center;
  padding: .3rem .9rem;
  border-radius: var(--hc-radius-pill);
  font-size: .85rem;
  font-weight: 600;
  color: #fff;
  background: rgba(22, 47, 255, .22);
  border: 1px solid rgba(22, 47, 255, .55);
}
.hc-download__feature-title {
  color: #fff;
  font-size: var(--hc-fs-h2);
  margin: var(--hc-space-1) 0 0;
}
.hc-download__feature-text {
  color: var(--hc-text-muted);
  margin: 0;
}
.hc-download__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hc-space-3);
  margin-top: var(--hc-space-2);
}
.hc-download__minor {
  display: inline-flex;
  align-items: center;
  margin-top: var(--hc-space-1);
  font-size: .9rem;
  color: var(--hc-text-muted);
  text-decoration: none;
  transition: color var(--hc-dur-fast) var(--hc-ease);
}
.hc-download__minor:hover { color: var(--hc-royal); }

.hc-download__mobile-heading {
  color: #fff;
  font-size: var(--hc-fs-h2);
  margin: var(--hc-space-16) 0 var(--hc-space-8);
}
.hc-download__mobile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--hc-gap);
}
@media (max-width: 760px) {
  .hc-download__feature { grid-template-columns: 1fr; }
  .hc-download__feature-media { min-height: 200px; }
  .hc-download__feature-media::after {
    background: linear-gradient(0deg, rgba(0, 28, 40, .55) 0%, transparent 60%);
  }
  .hc-download__mobile-grid { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
}
.hc-download__store {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--hc-space-4);
  padding: var(--hc-space-8) var(--hc-space-6);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--hc-radius);
  transition: transform var(--hc-dur) var(--hc-ease),
              border-color var(--hc-dur) var(--hc-ease),
              box-shadow var(--hc-dur) var(--hc-ease);
}
.hc-download__store:hover {
  transform: translateY(-6px);
  border-color: rgba(22, 47, 255, .6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
}
.hc-download__store-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-size: 1.9rem;
  color: #fff;
  background: rgba(22, 47, 255, .18);
  border: 1px solid rgba(22, 47, 255, .5);
}
.hc-download__store-body { display: flex; flex-direction: column; gap: var(--hc-space-2); }
.hc-download__store-title {
  color: #fff;
  font-family: var(--hc-font-title);
  font-size: 1.5rem;
  margin: 0;
}
.hc-download__store-text { color: var(--hc-text-muted); margin: 0; }
.hc-download__store .hc-btn { margin-top: auto; }

/*  Página de Certificações  */
.hc-cert { background: var(--hc-base); }
.hc-cert__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--hc-gap);
}

.hc-cert-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--hc-space-3);
  width: 100%;
  padding: var(--hc-space-6);
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--hc-radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform var(--hc-dur) var(--hc-ease),
              border-color var(--hc-dur) var(--hc-ease),
              box-shadow var(--hc-dur) var(--hc-ease);
}
.hc-cert-card:hover,
.hc-cert-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(22, 47, 255, .6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}

.hc-cert-card__thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: transform var(--hc-dur) var(--hc-ease);
}
.hc-cert-card:hover .hc-cert-card__thumb,
.hc-cert-card:focus-visible .hc-cert-card__thumb {
  transform: scale(1.02);
}
.hc-cert-card__title {
  color: #fff;
  font-family: var(--hc-font-title);
  font-size: 1.2rem;
  margin: 0;
}
.hc-cert-card__meta { color: var(--hc-text-muted); font-size: .92rem; margin: 0; }
.hc-cert-card__view {
  margin-top: auto;
  color: var(--hc-royal);
  font-weight: 600;
  font-size: .9rem;
}
.hc-cert-card__view i { transition: transform var(--hc-dur) var(--hc-ease); }
.hc-cert-card:hover .hc-cert-card__view i { transform: translateX(3px); }

.hc-cert-modal .modal-content {
  background: var(--hc-base-2);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--hc-radius);
  color: #fff;
}
.hc-cert-modal .modal-header { border-bottom-color: rgba(255, 255, 255, .1); }
.hc-cert-modal .modal-title { font-family: var(--hc-font-title); }
.hc-cert-modal .btn-close { filter: invert(1) grayscale(1) brightness(1.6); }
.hc-cert-modal__fallback { color: var(--hc-text-muted); font-size: .95rem; }

/*  Seção "Apoio" */
.hc-support {
  background: var(--hc-base);
  text-align: center;
}
.hc-support__title {
  color: #fff;
  font-size: var(--hc-fs-h1);
  margin: 0 0 var(--hc-space-12);
}
.hc-support__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.hc-support__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(160px, 22vw, 220px);
  height: 120px;
  padding: var(--hc-space-4);
  background: #fff;
  border-radius: var(--hc-radius);
  overflow: hidden;
  transition: transform var(--hc-dur) var(--hc-ease),
              box-shadow var(--hc-dur) var(--hc-ease);
}
.hc-support__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
}
.hc-support__item img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 80px;        
  object-fit: contain;
}

.hc-section-light {
  background: var(--hc-light);
  color: var(--hc-text-on-light);
}
.hc-section-light h1,
.hc-section-light h2,
.hc-section-light h3 { color: var(--hc-royal); text-transform: uppercase; }
.hc-section-light .hc-col {
  border-left: 3px solid var(--hc-royal);
  padding-left: 1rem;
}

/*  Painel "O Problema / A Solução / Como Funciona" */
.hc-problem {
  background: linear-gradient(180deg, #ffffff, var(--hc-light));
  color: var(--hc-text-on-light);
}
.hc-problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
}
@media (max-width: 860px) {
  .hc-problem__grid { grid-template-columns: 1fr; gap: var(--hc-space-8); }
}
.hc-problem__col {
  display: flex;
  flex-direction: column;
  gap: var(--hc-space-6);
}
.hc-problem__icon {
  width: clamp(48px, 5vw, 64px);
  height: clamp(48px, 5vw, 64px);
  object-fit: contain;
}
.hc-problem__body {
  border-left: 3px solid var(--hc-royal);
  padding-left: var(--hc-space-4);
  display: flex;
  flex-direction: column;
  gap: var(--hc-space-3);
}
.hc-problem__title {
  color: var(--hc-royal);
  text-transform: uppercase;
  font-size: var(--hc-fs-h2);
  margin: 0;
}
.hc-problem__text {
  color: var(--hc-text-on-light);
  font-size: 1.2rem;
  margin: 0;
}

/* Páginas de "Nossos Produtos", nessa seção está o css utilizado para
  customizar as páginas de cada card. */
  
.hc-prod-page { --hc-accent: var(--hc-royal); }
.hc-prod-page--library   { --hc-accent: var(--hc-yellow); }   /* HyLibrary    */
.hc-prod-page--book      { --hc-accent: var(--hc-orange); }   /* HyBook       */
.hc-prod-page--analyzer  { --hc-accent: var(--hc-red); }      /* HyAnalyzer   */
.hc-prod-page--relational{ --hc-accent: var(--hc-yellow); }   /* HyRelational */
.hc-prod-page--stone     { --hc-accent: var(--hc-gray); }     /* HyStone      */
.hc-prod-page--light     { --hc-accent: var(--hc-gray); }     /* HyLight      */
.hc-prod-page--learn     { --hc-accent: var(--hc-orange); }   /* HyLearn      */
.hc-prod-page--ar        { --hc-accent: var(--hc-royal); }    /* HyperAR      */

/* HyBook, HyAnalyzer, HyRelational e HyStone */
.hc-prod-page--book .hc-page-header,
.hc-prod-page--book .hc-collection__head,
.hc-prod-page--book .hc-collection__intro,
.hc-prod-page--analyzer .hc-page-header,
.hc-prod-page--analyzer .hc-collection__head,
.hc-prod-page--analyzer .hc-collection__intro,
.hc-prod-page--relational .hc-page-header,
.hc-prod-page--relational .hc-collection__head,
.hc-prod-page--relational .hc-collection__intro,
.hc-prod-page--stone .hc-page-header,
.hc-prod-page--stone .hc-collection__head,
.hc-prod-page--stone .hc-collection__intro,
.hc-prod-page--light .hc-page-header,
.hc-prod-page--light .hc-collection__head,
.hc-prod-page--light .hc-collection__intro,
.hc-prod-page--learn .hc-page-header,
.hc-prod-page--learn .hc-collection__head,
.hc-prod-page--learn .hc-collection__intro { text-align: left; }
.hc-prod-page--book .hc-page-header__logo,
.hc-prod-page--book .hc-page-header__title,
.hc-prod-page--book .hc-page-header__lead,
.hc-prod-page--book .hc-collection__subtitle,
.hc-prod-page--book .hc-collection__intro,
.hc-prod-page--analyzer .hc-page-header__logo,
.hc-prod-page--analyzer .hc-page-header__title,
.hc-prod-page--analyzer .hc-page-header__lead,
.hc-prod-page--analyzer .hc-collection__subtitle,
.hc-prod-page--analyzer .hc-collection__intro,
.hc-prod-page--relational .hc-page-header__logo,
.hc-prod-page--relational .hc-page-header__title,
.hc-prod-page--relational .hc-page-header__lead,
.hc-prod-page--relational .hc-collection__subtitle,
.hc-prod-page--relational .hc-collection__intro,
.hc-prod-page--stone .hc-page-header__logo,
.hc-prod-page--stone .hc-page-header__title,
.hc-prod-page--stone .hc-page-header__lead,
.hc-prod-page--stone .hc-collection__subtitle,
.hc-prod-page--stone .hc-collection__intro,
.hc-prod-page--light .hc-page-header__logo,
.hc-prod-page--light .hc-page-header__title,
.hc-prod-page--light .hc-page-header__lead,
.hc-prod-page--light .hc-collection__subtitle,
.hc-prod-page--light .hc-collection__intro,
.hc-prod-page--learn .hc-page-header__logo,
.hc-prod-page--learn .hc-page-header__title,
.hc-prod-page--learn .hc-page-header__lead,
.hc-prod-page--learn .hc-collection__subtitle,
.hc-prod-page--learn .hc-collection__intro { margin-inline: 0; }

/* HyLibrary */
.hc-prod-page--library .hc-page-header { text-align: left; }
.hc-prod-page--library .hc-page-header__logo,
.hc-prod-page--library .hc-page-header__title,
.hc-prod-page--library .hc-page-header__lead { margin-inline: 0; }

/* logo do produto no cabeçalho da página */
.hc-page-header__logo {
  display: block;
  height: clamp(40px, 7vw, 60px);
  width: auto;
  margin: 0 auto var(--hc-space-4);
}
.hc-prod-page .hc-page-header__eyebrow { color: var(--hc-accent); }

/* Intro do produto */
.hc-prod-intro { background: var(--hc-base-2); }
.hc-prod-intro__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 860px) {
  .hc-prod-intro__grid { grid-template-columns: 1fr; }
}
.hc-prod-intro__title {
  color: #fff;
  font-size: var(--hc-fs-h1);
  margin: 0 0 var(--hc-space-4);
}
.hc-prod-intro__lead {
  color: var(--hc-text-muted);
  font-size: var(--hc-fs-lead);
  margin: 0 0 var(--hc-space-6);
}
.hc-prod-intro__text {
  color: var(--hc-text-muted);
  margin: 0 0 var(--hc-space-6);
}
/* intro sem imagem */
.hc-prod-intro__body--solo { max-width: 68ch; }
.hc-prod-intro__media {
  position: relative;
  border-radius: var(--hc-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.hc-prod-intro__media img { width: 100%; height: auto; display: block; }

.hc-prod-intro__media--plain {
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}
.hc-prod-intro__media--plain img {
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, .5)); 
}
/* Moldura da imagem da intro */
.hc-prod-intro__media .hc-figure__media { background: var(--hc-base-2); }

/* lista de passos */
.hc-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0 0 var(--hc-space-8);
  display: flex;
  flex-direction: column;
  gap: var(--hc-space-4);
}
.hc-steps li {
  position: relative;
  padding-left: 3.25rem;
  color: var(--hc-text-muted);
  font-size: 1.1rem;
}
.hc-steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: -2px;
  font-family: var(--hc-font-title);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--hc-accent);
}

/* botões de ação da intro */
.hc-prod-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hc-space-3);
}

/* nota de parceria */
.hc-prod-note {
  display: flex;
  gap: var(--hc-space-3);
  margin-top: var(--hc-space-8);
  padding: var(--hc-space-4) var(--hc-space-6);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-left: 3px solid var(--hc-accent);
  border-radius: var(--hc-radius);
  color: var(--hc-text-muted);
  font-size: .98rem;
}
.hc-prod-note i { color: var(--hc-accent); font-size: 1.25rem; }

/* Grade de recursos(páginas de produto) */
.hc-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
}
.hc-feature {
  display: flex;
  flex-direction: column;
  gap: var(--hc-space-2);
  padding-top: var(--hc-space-4);
  border-top: 2px solid var(--hc-accent);
}
.hc-feature__num {
  font-family: var(--hc-font-title);
  font-size: 2rem;
  line-height: 1;
  color: var(--hc-accent);
}
.hc-feature__title { color: #fff; font-size: 1.4rem; margin: 0; }
.hc-feature__text { color: var(--hc-text-muted); margin: 0; }

/* Diagramas conceituais */
.hc-figure-grid {
  display: grid;
  grid-template-columns: 1fr;    
  gap: var(--hc-gap);
  max-width: 940px;
  margin-inline: auto;
}
/* Variante compacta: várias figuras menores por linha */
.hc-figure-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  max-width: 100%;
}
.hc-figure-grid--compact .hc-figure__media img {
  width: auto;
  max-width: 100%;
  max-height: 180px;
}
/* Variante par: duas figuras lado a lado */
.hc-figure-grid--pair {
  grid-template-columns: repeat(2, 1fr);
  max-width: 100%;
}
@media (max-width: 699.98px) {
  .hc-figure-grid--pair { grid-template-columns: 1fr; }
}
.hc-figure {
  display: flex;
  flex-direction: column;
  gap: var(--hc-space-3);
  padding: var(--hc-space-4);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--hc-radius);
}
.hc-figure__media {
  display: grid;
  place-items: center;
  padding: var(--hc-space-2);
  background: #fff;
  border-radius: 12px;
}
.hc-figure__media img { width: 100%; height: auto; display: block; }
.hc-figure__caption { color: var(--hc-text-muted); font-size: .92rem; margin: 0; }
.hc-figure__caption strong { color: #fff; }

/* Placeholder de imagem (conteúdo ainda não disponível) */
.hc-img-placeholder {
  display: grid;
  place-items: center;
  gap: var(--hc-space-2);
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--hc-radius);
  background: rgba(255, 255, 255, .05);
  border: 1px dashed rgba(255, 255, 255, .22);
  color: var(--hc-text-muted);
  text-align: center;
}
.hc-img-placeholder i { font-size: 2.25rem; opacity: .55; }
.hc-img-placeholder span { font-size: .9rem; }

/* Seções de coleção (destaques / acervos) */
.hc-collection { background: var(--hc-base); }
.hc-collection--alt {
  background-image: radial-gradient(85% 65% at 50% 0%, rgba(22, 47, 255, .15), transparent 60%);
}
.hc-collection__head { text-align: center; margin-bottom: var(--hc-space-12); }
.hc-collection__title { color: #fff; font-size: var(--hc-fs-h1); margin: 0; }
.hc-collection__subtitle {
  color: var(--hc-text-muted);
  font-size: var(--hc-fs-lead);
  max-width: 58ch;
  margin: var(--hc-space-3) auto 0;
}
/* Texto de introdução */
.hc-collection__intro {
  max-width: 70ch;
  margin: 0 auto var(--hc-space-12);
  color: var(--hc-text-muted);
  font-size: var(--hc-fs-lead);
  text-align: center;
}
.hc-collection__intro strong { color: #fff; }
.hc-collection__grid {
  display: grid;
  gap: var(--hc-gap);
}
.hc-collection__grid--featured { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.hc-collection__grid--acervos  { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.hc-collection__grid--stone    { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* Card de obra em destaque */
.hc-book-card {
  display: flex;
  flex-direction: column;
  gap: var(--hc-space-3);
  padding: var(--hc-space-4);
  text-decoration: none;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--hc-radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform var(--hc-dur) var(--hc-ease),
              border-color var(--hc-dur) var(--hc-ease),
              box-shadow var(--hc-dur) var(--hc-ease);
}
.hc-book-card:hover {
  transform: translateY(-6px);
  border-color: var(--hc-accent);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
}
.hc-book-card__cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
}
/* Capa em paisagem (ex.: chapas do HyperStone) */
.hc-book-card__cover--wide {
  aspect-ratio: 3 / 2;
  object-position: center;
  background: #000;
}
.hc-book-card__title {
  color: #fff;
  font-family: var(--hc-font-title);
  font-size: 1.3rem;
  margin: var(--hc-space-1) 0 0;
}
.hc-book-card__meta { color: var(--hc-text-muted); font-size: .95rem; margin: 0; }
.hc-book-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--hc-space-2);
  color: var(--hc-accent);
  font-weight: 600;
  font-size: .95rem;
}
.hc-book-card__cta i { transition: transform var(--hc-dur) var(--hc-ease); }
.hc-book-card:hover .hc-book-card__cta i { transform: translateX(3px); }

/* card de acervo */
.hc-acervo-card {
  display: flex;
  flex-direction: column;
  gap: var(--hc-space-3);
  padding: var(--hc-space-4);
  text-decoration: none;
  text-align: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--hc-radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform var(--hc-dur) var(--hc-ease),
              border-color var(--hc-dur) var(--hc-ease),
              box-shadow var(--hc-dur) var(--hc-ease);
}
.hc-acervo-card:hover {
  transform: translateY(-6px);
  border-color: var(--hc-accent);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
}
.hc-acervo-card__plate {
  display: grid;
  place-items: center;
  height: 120px;
  padding: var(--hc-space-4);
  background: #fff;
  border-radius: 12px;
}
.hc-acervo-card__plate img { max-width: 100%; max-height: 78px; object-fit: contain; }
.hc-acervo-card__name {
  color: #fff;
  font-family: var(--hc-font-title);
  font-size: 1.1rem;
  line-height: 1.2;
  margin: 0;
}
.hc-acervo-card__cta {
  margin-top: auto;
  color: var(--hc-accent);
  font-weight: 600;
  font-size: .9rem;
}

/*  Footer  */
.hc-footer {
  background: var(--hc-base);
  color: var(--hc-text-muted);
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.hc-footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(4rem, 10vw, 9rem);
}
@media (max-width: 860px) {
  .hc-footer__top { grid-template-columns: 1fr; gap: var(--hc-space-12); }
}

.hc-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--hc-space-4);
}
.hc-footer__logo { height: 40px; width: auto; }
.hc-footer__tagline { margin: 0; max-width: 38ch; }
.hc-footer__cert {
  width: 120px;
  height: auto;
  border-radius: 10px;
  margin-top: var(--hc-space-2);
}

.hc-footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--hc-space-3);
}
.hc-footer__title {
  color: #fff;
  font-family: var(--hc-font-title);
  font-size: 1.3rem;
  margin: 0 0 var(--hc-space-2);
}
.hc-footer__link {
  display: flex;
  align-items: center;
  gap: var(--hc-space-2);
  color: var(--hc-text-muted);
  text-decoration: none;
  transition: color var(--hc-dur-fast) var(--hc-ease);
}
.hc-footer__link:hover { color: var(--hc-royal); }
.hc-footer__link i { color: var(--hc-royal); }

.hc-footer__socials { display: flex; gap: var(--hc-space-3); }
.hc-footer__socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: background-color var(--hc-dur) var(--hc-ease),
              border-color var(--hc-dur) var(--hc-ease),
              transform var(--hc-dur) var(--hc-ease);
}
.hc-footer__socials a:hover {
  background: var(--hc-royal);
  border-color: var(--hc-royal);
  transform: translateY(-3px);
}

.hc-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.hc-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--hc-space-2);
  padding-block: var(--hc-space-6);
  font-size: .9rem;
}
.hc-footer__claim { color: var(--hc-royal); }

/* ANIMAÇÕES */

@keyframes hc-rise-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes hc-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .hc-reveal,
    .inner_card,               
    .hc-video-card {          
      animation: hc-rise-in linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 28%;
    }

    .horizontal_scrollable_cards > :nth-child(2) .inner_card,
    .horizontal_scrollable_cards > :nth-child(2).inner_card { animation-delay: 60ms; }
    .horizontal_scrollable_cards > :nth-child(3) .inner_card,
    .horizontal_scrollable_cards > :nth-child(3).inner_card { animation-delay: 120ms; }
    .horizontal_scrollable_cards > :nth-child(4) .inner_card,
    .horizontal_scrollable_cards > :nth-child(4).inner_card { animation-delay: 180ms; }
    .horizontal_scrollable_cards > :nth-child(5) .inner_card,
    .horizontal_scrollable_cards > :nth-child(5).inner_card { animation-delay: 240ms; }

    .hc-about__highlights > :nth-child(2) { animation-delay: 90ms; }
    .hc-about__highlights > :nth-child(3) { animation-delay: 180ms; }

    .hc-products__grid > :nth-child(2) { animation-delay: 90ms; }
    .hc-products__grid > :nth-child(3) { animation-delay: 180ms; }
    .hc-products__grid > :nth-child(4) { animation-delay: 270ms; }
    .hc-products__grid > :nth-child(5) { animation-delay: 360ms; }

    .hc-problem__grid > :nth-child(2) { animation-delay: 90ms; }
    .hc-problem__grid > :nth-child(3) { animation-delay: 180ms; }

    .hc-videos__grid > :nth-child(2) { animation-delay: 90ms; }
    .hc-videos__grid > :nth-child(3) { animation-delay: 180ms; }

    .hc-download__mobile-grid > :nth-child(2) { animation-delay: 90ms; }

    .hc-support__grid > :nth-child(2) { animation-delay: 90ms; }
    .hc-support__grid > :nth-child(3) { animation-delay: 180ms; }
  }

  .white_nav_link {
    position: relative;
  }
  .white_nav_link::after {
    content: "";
    position: absolute;
    left: 0; bottom: -4px;
    width: 100%; height: 2px;
    background: var(--hc-royal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--hc-dur) var(--hc-ease);
  }
  .white_nav_link:hover::after,
  .white_nav_link.active::after { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Cadastro de empresa */
.hc-register {
  background: var(--hc-base);
  background-image: radial-gradient(90% 70% at 100% 0%, rgba(22, 47, 255, .14), transparent 60%);
}
.hc-register__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hc-form {
  display: flex;
  flex-direction: column;
  gap: var(--hc-space-6);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--hc-radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hc-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--hc-space-6);
}
.hc-field { display: flex; flex-direction: column; gap: var(--hc-space-2); }
.hc-field--full { grid-column: 1 / -1; }
.hc-label { font-size: .9rem; font-weight: 600; color: var(--hc-text-on-dark); }
.hc-input,
.hc-select,
.hc-textarea {
  width: 100%;
  padding: .75rem 1rem;
  font-family: var(--hc-font-body);
  font-size: 1rem;
  color: var(--hc-text-on-dark);
  background: rgba(0, 0, 0, .25);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  transition: border-color var(--hc-dur-fast) var(--hc-ease),
              box-shadow var(--hc-dur-fast) var(--hc-ease);
}
.hc-input::placeholder,
.hc-textarea::placeholder { color: rgba(255, 255, 255, .4); }
.hc-input:focus,
.hc-select:focus,
.hc-textarea:focus {
  outline: none;
  border-color: var(--hc-royal);
  box-shadow: 0 0 0 3px rgba(22, 47, 255, .3);
}
.hc-textarea { resize: vertical; min-height: 96px; }
.hc-select { appearance: none; cursor: pointer; }
.hc-select option { color: #001c28; }

/* Área de upload do logo */
.hc-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--hc-space-2);
  padding: var(--hc-space-8);
  text-align: center;
  color: var(--hc-text-muted);
  background: rgba(0, 0, 0, .2);
  border: 1px dashed rgba(255, 255, 255, .25);
  border-radius: var(--hc-radius);
  cursor: pointer;
  transition: border-color var(--hc-dur-fast) var(--hc-ease),
              background var(--hc-dur-fast) var(--hc-ease);
}
.hc-upload:hover { border-color: var(--hc-royal); background: rgba(22, 47, 255, .08); }
.hc-upload i { font-size: 1.75rem; opacity: .7; }
.hc-upload span { font-size: .9rem; }

/* Ilustração ao lado do formulário */    
.hc-register__art { display: flex; justify-content: center; }
.hc-register__art img { width: 100%; height: auto; max-width: 560px; }

@media (max-width: 991.98px) {
  .hc-register__grid { grid-template-columns: 1fr; }
  .hc-register__art { order: -1; }     
  .hc-register__art img { max-width: 420px; }
}
@media (max-width: 575.98px) {
  .hc-form__row { grid-template-columns: 1fr; }
}

/* Campo de senha */
.hc-field--password { position: relative; }
.hc-field--password .hc-input { padding-right: 2.75rem; }
.hc-pass-toggle {
  position: absolute;
  right: .85rem;
  bottom: .7rem;
  background: none;
  border: 0;
  padding: 0;
  color: var(--hc-text-muted);
  font-size: 1.15rem;
  cursor: pointer;
  line-height: 1;
}
.hc-pass-toggle:hover { color: #fff; }

/* Linha "lembre-me / esqueceu a senha" */
.hc-form__options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--hc-space-4);
  flex-wrap: wrap;
  font-size: .9rem;
}
.hc-check {
  display: inline-flex;
  align-items: center;
  gap: var(--hc-space-2);
  color: var(--hc-text-on-dark);
  cursor: pointer;
  user-select: none;
}
.hc-check input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--hc-royal);
  cursor: pointer;
}
.hc-form__link {
  color: var(--hc-royal);
  font-weight: 600;
  text-decoration: none;
}
.hc-form__link:hover { text-decoration: underline; }

/* Botão de submit*/
.hc-btn--block { display: block; width: 100%; text-align: center; }

.hc-divider {
  display: flex;
  align-items: center;
  gap: var(--hc-space-4);
  color: var(--hc-text-muted);
  font-size: .9rem;
}
.hc-divider::before,
.hc-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, .18);
}

/* Botão da Google */
.hc-provider-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 46px;
  padding: 0 1.5rem;
  background: #fff;
  border: 1px solid #747775;
  border-radius: var(--hc-radius-pill);
  font-family: var(--hc-font-body);
  font-size: .95rem;
  font-weight: 500;
  color: #1f1f1f;
  transition: transform var(--hc-dur-fast) var(--hc-ease);
}
.hc-provider-btn:hover { transform: translateY(-2px); color: #1f1f1f; }
.hc-provider-btn svg { display: block; width: 20px; height: 20px; flex: none; }

.hc-form__fine { font-size: .85rem; color: var(--hc-text-muted); margin: 0; }
.hc-form__fine a { color: var(--hc-royal); }

/* Páginas de Termos de Serviço / Política de Privacidade */
.hc-prose {
  max-width: 78ch;
  margin-inline: auto;
  color: var(--hc-text-muted);
}
.hc-prose > :first-child { margin-top: 0; }
.hc-prose h2 {
  color: #fff;
  font-size: var(--hc-fs-h2);
  margin: var(--hc-space-12) 0 var(--hc-space-4);
}
.hc-prose h3 {
  color: #fff;
  font-size: 1.4rem;
  margin: var(--hc-space-8) 0 var(--hc-space-3);
}
.hc-prose p { margin: 0 0 var(--hc-space-4); }
.hc-prose ul,
.hc-prose ol {
  margin: 0 0 var(--hc-space-4);
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: var(--hc-space-2);
}
.hc-prose li { padding-left: .25rem; }
.hc-prose a { color: var(--hc-royal); }
.hc-prose__updated {
  margin-top: var(--hc-space-8);
  padding-top: var(--hc-space-4);
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .9rem;
}

/* ÁREA DO USUÁRIO */

/* Menu de usuário na navbar — botão hamburguer */
.hc-user-menu { position: relative; }
.hc-user-menu__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  color: var(--hc-text-on-dark);
  cursor: pointer;
  transition: border-color var(--hc-dur-fast) var(--hc-ease),
              background var(--hc-dur-fast) var(--hc-ease);
}
.hc-user-menu__toggle:hover,
.hc-user-menu__toggle[aria-expanded="true"] {
  border-color: var(--hc-royal);
  background: rgba(22, 47, 255, .14);
}
.hc-user-menu__burger { font-size: 1.5rem; line-height: 1; }

/* Painel dropdown */
.hc-user-menu .dropdown-menu {
  min-width: 264px;
  margin-top: .6rem;
  padding: var(--hc-space-2);
  background: rgba(2, 38, 51, .97);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--hc-radius);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hc-user-menu__head {
  padding: .5rem .75rem .75rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  margin-bottom: var(--hc-space-2);
}
.hc-user-menu__head b { color: #fff; display: block; }
.hc-user-menu__head span { color: var(--hc-text-muted); font-size: .85rem; }
.hc-user-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .6rem .75rem;
  border-radius: 10px;
  color: var(--hc-text-on-dark);
  font-size: .95rem;
}
.hc-user-menu .dropdown-item i {
  font-size: 1.05rem;
  color: var(--hc-text-muted);
  width: 1.2rem;
  text-align: center;
}
.hc-user-menu .dropdown-item:hover,
.hc-user-menu .dropdown-item:focus {
  background: rgba(22, 47, 255, .18);
  color: #fff;
}
.hc-user-menu .dropdown-item:hover i,
.hc-user-menu .dropdown-item:focus i { color: #fff; }
.hc-user-menu .dropdown-item--soon { opacity: .5; pointer-events: none; }
.hc-user-menu .dropdown-item--danger { color: #ff8d8d; }
.hc-user-menu .dropdown-item--danger i { color: #ff8d8d; }
.hc-user-menu .dropdown-item--danger:hover { background: rgba(255, 99, 99, .16); color: #ffb3b3; }
.hc-user-menu .dropdown-divider { border-top-color: rgba(255, 255, 255, .12); }
.hc-user-menu__badge {
  margin-left: auto;
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--hc-text-muted);
  background: rgba(255, 255, 255, .1);
  padding: .1rem .45rem;
  border-radius: var(--hc-radius-pill);
}

/* Dashboard da área do usuário */
.hc-dash {
  background: var(--hc-base);
  background-image: radial-gradient(90% 70% at 50% 0%, rgba(22, 47, 255, .12), transparent 60%);
}
.hc-dash__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--hc-gap);
}
@media (max-width: 991.98px) { .hc-dash__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px)  { .hc-dash__grid { grid-template-columns: 1fr; } }

.hc-dash-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--hc-space-4);
  padding: var(--hc-space-8) var(--hc-space-6);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--hc-radius);
  color: var(--hc-text-on-dark);
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--hc-dur) var(--hc-ease),
              border-color var(--hc-dur) var(--hc-ease),
              box-shadow var(--hc-dur) var(--hc-ease);
}
.hc-dash-card:hover {
  transform: translateY(-6px);
  border-color: rgba(22, 47, 255, .5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
  color: #fff;
}
/* Azul do hover*/
.hc-dash-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(22, 47, 255, .16), rgba(255, 255, 255, .04));
  opacity: 0;
  transition: opacity var(--hc-dur) var(--hc-ease);
}
.hc-dash-card > * { position: relative; }
.hc-dash-card:hover::before { opacity: 1; }
.hc-dash-card__icon {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 18px;
  background: rgba(22, 47, 255, .16);
  color: var(--hc-royal);
  font-size: 1.9rem;
  transition: background var(--hc-dur) var(--hc-ease),
              color var(--hc-dur) var(--hc-ease);
}
.hc-dash-card:hover .hc-dash-card__icon { background: var(--hc-royal); color: #fff; }
.hc-dash-card__title { margin: 0; font-family: var(--hc-font-title); font-size: 1.35rem; color: #fff; }
.hc-dash-card__desc  { margin: 0; font-size: .9rem; color: var(--hc-text-muted); }

/* Card desabilitado / em breve */
.hc-dash-card--soon { cursor: not-allowed; }
.hc-dash-card--soon::before { content: none; }
.hc-dash-card--soon:hover {
  transform: none;
  border-color: rgba(255, 255, 255, .14);
  box-shadow: none;
  color: var(--hc-text-on-dark);
}
.hc-dash-card--soon:hover .hc-dash-card__icon {
  background: rgba(22, 47, 255, .16);
  color: var(--hc-royal);
}
.hc-dash-card__badge {
  position: absolute;
  top: var(--hc-space-4);
  right: var(--hc-space-4);
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--hc-text-muted);
  background: rgba(255, 255, 255, .1);
  padding: .15rem .5rem;
  border-radius: var(--hc-radius-pill);
}

/* Página de favoritos */
.hc-product-card--fav { position: relative; }
.hc-product-card__fav {
  position: absolute;
  top: var(--hc-space-4);
  right: var(--hc-space-4);
  color: var(--hc-red);
  font-size: 1.15rem;
  line-height: 1;
}

/* Página de perfil */
.hc-profile-form { max-width: 620px; margin-inline: auto; }

/* Foto de perfil */
.hc-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--hc-space-3);
  text-align: center;
}
.hc-avatar__drop {
  position: relative;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(0, 0, 0, .25);
  border: 2px dashed rgba(255, 255, 255, .25);
  color: var(--hc-text-muted);
  cursor: pointer;
  transition: border-color var(--hc-dur-fast) var(--hc-ease),
              background var(--hc-dur-fast) var(--hc-ease);
}
.hc-avatar__drop:hover,
.hc-avatar__drop--over {
  border-color: var(--hc-royal);
  background: rgba(22, 47, 255, .12);
}
.hc-avatar__drop img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hc-avatar__drop > i { font-size: 3.25rem; }
.hc-avatar__edit {
  position: absolute;
  right: 6px;
  bottom: 6px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--hc-royal);
  color: #fff;
  font-size: .95rem;
  border: 2px solid var(--hc-base);
}
.hc-avatar__hint { margin: 0; font-size: .85rem; color: var(--hc-text-muted); }

/* Área privada Hyper Stone */

/* Card de produto do catálogo */
.hc-stone-card {
  display: flex;
  flex-direction: column;
  gap: var(--hc-space-3);
  padding: var(--hc-space-4);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--hc-radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform var(--hc-dur) var(--hc-ease),
              border-color var(--hc-dur) var(--hc-ease),
              box-shadow var(--hc-dur) var(--hc-ease);
}
.hc-stone-card:hover {
  transform: translateY(-6px);
  border-color: var(--hc-accent, var(--hc-gray));
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
}
.hc-stone-card__cover {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 12px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, .1);
}
.hc-stone-card__title {
  color: #fff;
  font-family: var(--hc-font-title);
  font-size: 1.3rem;
  margin: var(--hc-space-1) 0 0;
}
a.hc-stone-card__link { text-decoration: none; }
.hc-stone-card__meta { color: var(--hc-text-muted); font-size: .95rem; margin: 0; }
.hc-stone-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hc-space-2);
  margin-top: auto;
  padding-top: var(--hc-space-2);
}

.hc-stone-card--ghost {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--hc-space-2);
  min-height: 260px;
  color: var(--hc-text-muted);
  text-decoration: none;
  background: transparent;
  border: 2px dashed rgba(255, 255, 255, .25);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.hc-stone-card--ghost:hover {
  color: #fff;
  border-color: var(--hc-accent, var(--hc-gray));
  box-shadow: none;
}
.hc-stone-card--ghost i { font-size: 2.5rem; line-height: 1; }
.hc-stone-card--ghost strong { font-family: var(--hc-font-title); font-size: 1.2rem; font-weight: 400; }

/* Layout do gerenciamento de produto */
.hc-stone-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: var(--hc-gap);
  align-items: start;
}
@media (max-width: 860px) {
  .hc-stone-layout { grid-template-columns: 1fr; }
}
.hc-stone-layout__side { display: grid; gap: var(--hc-gap); }

.hc-stone-panel {
  padding: var(--hc-space-6);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--hc-radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hc-stone-panel__title {
  display: flex;
  align-items: center;
  gap: var(--hc-space-2);
  color: #fff;
  font-family: var(--hc-font-title);
  font-size: 1.45rem;
  margin: 0 0 var(--hc-space-4);
  padding-bottom: var(--hc-space-3);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.hc-stone-panel__title i { color: var(--hc-accent, var(--hc-gray)); font-size: 1.2rem; }

.hc-stone-panel__grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: var(--hc-space-6);
  align-items: start;
}
@media (max-width: 575.98px) {
  .hc-stone-panel__grid { grid-template-columns: 1fr; }
}
.hc-stone-panel__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .1);
}

/* Linhas do Resumo */
.hc-stone-panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--hc-space-3);
  color: var(--hc-text-muted);
}
.hc-stone-panel__row + .hc-stone-panel__row { margin-top: var(--hc-space-3); }
.hc-stone-badge {
  padding: .15rem .85rem;
  border-radius: var(--hc-radius-pill);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  white-space: nowrap;
}
.hc-stone-badge--royal  { background: var(--hc-royal); }
.hc-stone-badge--orange { background: var(--hc-orange); color: var(--hc-text-on-light); }
.hc-stone-badge--yellow { background: var(--hc-yellow); color: var(--hc-text-on-light); }

.hc-stone-panel__stack { display: grid; gap: var(--hc-space-3); }

/* Ficha técnica do produto */
.hc-stone-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, max-content));
  gap: var(--hc-space-2) var(--hc-space-8);
  margin: var(--hc-space-4) 0 0;
}
.hc-stone-specs dt { color: var(--hc-text-muted); font-size: .85rem; font-weight: 400; }
.hc-stone-specs dd { color: #fff; font-weight: 600; margin: 0; }

/* Especificações dentro do card de chapa */
.hc-stone-card__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--hc-space-2);
  margin: 0;
}
.hc-stone-card__specs dt { color: var(--hc-text-muted); font-size: .8rem; font-weight: 400; margin: 0; }
.hc-stone-card__specs dd { color: #fff; font-weight: 600; font-size: .95rem; margin: 0; }

.hc-stone-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem 1rem;
  border-radius: var(--hc-radius-pill);
  border: 1px solid rgba(255, 255, 255, .3);
  background: transparent;
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--hc-dur-fast) var(--hc-ease),
              border-color var(--hc-dur-fast) var(--hc-ease),
              color var(--hc-dur-fast) var(--hc-ease);
}
.hc-stone-btn:hover {
  background: rgba(255, 255, 255, .1);
  border-color: var(--hc-accent, var(--hc-gray));
  color: #fff;
}
.hc-stone-btn--danger { color: #ff6b57; border-color: rgba(255, 57, 31, .45); }
.hc-stone-btn--danger:hover { background: rgba(255, 57, 31, .12); border-color: var(--hc-red); color: #ff8a7a; }

/* Botão de deletar produto */
.hc-btn--outline-danger {
  background: transparent;
  color: #ff6b57;
  border: 1px solid rgba(255, 57, 31, .45);
}
.hc-btn--outline-danger:hover {
  background: rgba(255, 57, 31, .12);
  border-color: var(--hc-red);
  color: #ff8a7a;
  box-shadow: none;
}

/* Ações do produto (Adicionar chapa / Ver todas as chapas — espelha o card
   "Ações" do hcstone_product.xml antigo) */
.hc-stone-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--hc-space-3);
  margin-bottom: var(--hc-space-12);
}
.hc-stone-actions--left { justify-content: flex-start; margin: var(--hc-space-6) 0 0; }

.hc-page-header__lead strong,
.hc-prod-intro__text strong { color: #fff; font-weight: 600; }

/* Formulário de cadastro/edição de produto */
.hc-stone-form { max-width: 720px; margin-inline: auto; }

/* Preview da capa dentro da área de upload */
.hc-upload--cover { position: relative; overflow: hidden; }
.hc-upload--cover img {
  display: none;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 12px;
}
.hc-upload--cover.has-image img { display: block; }
.hc-upload--cover.hc-upload--over { border-color: var(--hc-royal); background: rgba(22, 47, 255, .08); }

.hc-form__actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--hc-space-3);
  padding-top: var(--hc-space-4);
  border-top: 1px solid rgba(255, 255, 255, .14);
}

/* Página HyperAR */
.hc-ar__grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 860px) {
  .hc-ar__grid { grid-template-columns: 1fr; justify-items: center; }
}

/* Marcador impresso na chapa branca */
.hc-ar-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--hc-space-4);
}
.hc-ar-marker__plate {
  width: 100%;
  padding: var(--hc-space-6);
  background: #fff;
  border-radius: var(--hc-radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.hc-ar-marker__plate img { display: block; width: 100%; height: auto; }
.hc-ar-marker__hint { margin: 0; color: var(--hc-text-muted); font-size: .9rem; text-align: center; }

/* Subtítulos "No computador" / "No smartphone" do passo a passo */
.hc-ar__subtitle {
  display: flex;
  align-items: center;
  gap: var(--hc-space-2);
  color: #fff;
  font-family: var(--hc-font-title);
  font-size: 1.3rem;
  margin: var(--hc-space-6) 0 var(--hc-space-4);
}
.hc-ar__subtitle i { color: var(--hc-accent, var(--hc-royal)); }


/* Estilos migrados dos blocos <style> que ficavam dentro dos XML */

/* publicarea/index */
  .fs-xl { font-size: 3.5rem; }
  @media screen and (max-width: 902px) {
    .fs-xl { font-size: 2rem; }
    /* .fs-4 e utilitario do Bootstrap e afetaria todas as paginas */
    .hc-hero .fs-4 { font-size: calc(1rem + .3vw) !important; }
  }
  .cert-icon { width: 48px; height: 48px; object-fit: contain; }

/* publicarea/faq */
  .faq-section-btn {
      width: 100%;
      text-align: left;
      font-size: 1.25rem;
      font-weight: 600;
      padding: 1rem 1.25rem;
      border-radius: .5rem;
  }
  .faq-image {
      display: block;
      margin: 1.5rem auto;
      max-width: 300px;
      height: auto;
      border-radius: 12px;
      box-shadow: 0 4px 14px rgba(0,0,0,.08);
  }
  .faq-section-btn i {
      transition: transform .3s ease;
  }
  .faq-section-btn[aria-expanded="true"] i {
      transform: rotate(180deg);
  }
  .faq-question .accordion-button {
      font-size: .95rem;
  }
  .faq-question .accordion-button::after {
      transform: scale(.8);
  }

/* publicarea/rembg */
  .upload-box {
      border: 2px dashed #667eea;
      border-radius: 0.5rem;
      padding: 3rem;
      text-align: center;
      background: white;
      cursor: pointer;
      transition: all 0.3s;
      max-width: 800px;
      margin: 0 auto;
  }
  .upload-box:hover,
  .upload-box.drag-over {
      border-color: #764ba2;
      background: #f8f9fa;
  }
  .image-preview {
      min-height: 300px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1rem;
      background: white;
  }
  .image-preview img {
      max-width: 100%;
      max-height: 400px;
      object-fit: contain;
  }
  .hc4x_box {
    padding: 30px;
  }

/* publicarea/download_mobile */
  .qrcode-img {
      display: block;
      margin: 0 auto;
      max-width: 160px;
      height: auto;
  }

/* publicarea/remove_background_upload e publicarea/hyperstone_upload_form */
  .imgsize { max-width: 100%; height: auto; }

/* privatearea/hcstone_upload_slab */
/* formularios de login, cadastro e empresa */
  .form-section {
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: .75rem;
    padding: 1.5rem;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .05);
  }
  .form-section .form-label {
    font-weight: 500;
    color: var(--bs-gray-700);
    margin-bottom: .35rem;
  }
  .form-section .form-control,
  .form-section .form-select {
    border-radius: .5rem;
    padding: .55rem .75rem;
    transition: border-color .15s ease, box-shadow .15s ease;
  }
  .form-section .form-control:focus,
  .form-section .form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 .2rem rgba(var(--bs-primary-rgb), .15);
  }
  .form-section input[type="file"].form-control { padding: .45rem; }
  .form-section .mb-3,
  .form-section .mb-4 { margin-bottom: 1.25rem !important; }
  .form-section .slab-cover-preview {
    max-width: 100%;
    max-height: 220px;
    border-radius: .5rem;
    border: 1px solid var(--bs-border-color);
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .08);
  }
  .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--bs-border-color);
  }
  .form-actions .btn { padding: .45rem 1.1rem; font-weight: 500; border-radius: .5rem; }
  .form-actions .btn-primary:hover { box-shadow: 0 .25rem .5rem rgba(var(--bs-primary-rgb), .25); }
  .form-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bs-gray-800);
    margin-bottom: 1rem;
  }

/* --- privatearea/hcstone_slabs --- */
/* Nao tem essa pagina no AppXml/HyperCube.xml (sem rota). */
  .slab-card {
      transition: all 0.3s ease;
      border-left: 4px solid #0d6efd;
  }
  .slab-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
  }
  .slab-cover-preview {
      width: 80px;
      height: 80px;
      object-fit: cover;
      border-radius: 8px;
  }
  .product-cover-preview {
      width: 100%;
      max-height: 300px;
      object-fit: cover;
      border-radius: 8px;
  }
  .card-img-container {
      height: 200px;
      overflow: hidden;
      border-radius: 8px 8px 0 0;
  }
  .card-img-container img {
      width: 100%;
      height: 100%;
      object-fit: cover;
  }
  .badge-custom {
      font-size: 0.75em;
      padding: 0.25em 0.6em;
  }


/* Estilos migrados de BodyHeaderFooter.xml e HeadLink.xml */

/* navbar */
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }
  .navbar { padding-top: .85rem; padding-bottom: .85rem; }
  .navbar > .container-fluid { padding-left: 2rem; padding-right: 2rem; }

/* menu de usuario */
  .hc-user-menu__toggle { display: flex; align-items: center; background: none; border: 0; padding: .25rem .4rem; }
  .hc-user-menu__burger { color: #fff; font-size: 1.5rem; }
  .hc-user-menu__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; padding: .85rem 1rem; }
  .hc-user-menu__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: rgba(0,0,0,.08); }
  .hc-user-menu__name { font-weight: 600; max-width: 22ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hc-user-menu__mail { color: rgba(0,0,0,.55); font-size: .8rem; max-width: 26ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* area privada: cards, favoritos, estados vazios e botoes mockados */
  /* prende o .hc-fav-toggle dentro do card */
  .hc-stone-card { position: relative; }
  .hc-fav-toggle { position: absolute; top: .6rem; right: .6rem; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: rgba(255,255,255,.92); color: #d6336c; font-size: 1.05rem; text-decoration: none; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
  .hc-fav-toggle:hover { background: #fff; color: #b02a52; }
  /* Botoes mockados que dependem de adicional no C# */
  .hc-btn--soon, .hc-stone-btn--soon, .hc-fav-toggle--soon { opacity: .5; pointer-events: none; cursor: not-allowed; }
  .hc-stone-btn--soon .hc-soon-badge, .hc-btn--soon .hc-soon-badge { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; margin-left: .4rem; opacity: .85; }
  .hc-empty-state { text-align: center; padding: 3rem 1rem; }
  .hc-empty-state__icon { font-size: 2.6rem; opacity: .45; display: block; margin-bottom: .75rem; }
  .hc-empty-state__title { margin-bottom: .5rem; }
  .hc-empty-state__lead { opacity: .75; margin-bottom: 1.25rem; }
