/* Página inicial: vitrine editorial, com o catálogo como ação principal. */
.home-notebook-section[hidden], .home-categories[hidden], .home-catalog-status[hidden] { display: none; }
.home-catalog-status { position: relative; z-index: 2; max-width: 1340px; margin: 24px auto; padding: 16px 20px; border: 1px solid #a65d40; border-radius: 10px; background: #301d1c; color: #fff; }
.home-hero {
  position: relative;
  z-index: 1;
  min-height: 590px;
  margin-top: var(--nav-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #041326 url("../assets/home/hero-showroom.webp") center center / clamp(1650px, 100%, 2100px) auto no-repeat;
  border-bottom: 1px solid rgba(87, 154, 193, .24);
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(2, 11, 24, .48), transparent 57%);
}
.home-hero-inner {
  position: relative;
  width: min(100% - 96px, 1340px);
  margin: 0 auto;
  padding: 60px 0;
}
.home-hero-copy { max-width: 610px; }
.home-hero h1 {
  margin: 0 0 24px;
  font: 800 clamp(47px, 5.4vw, 82px)/.97 "Exo 2", sans-serif;
  letter-spacing: -.035em;
  text-transform: uppercase;
  text-wrap: balance;
}
.home-hero h1 span { display: block; color: #28d4ee; }
.home-hero p {
  max-width: 550px;
  margin: 0 0 34px;
  color: #d7e7f4;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.55;
}
.home-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.home-action {
  min-height: 54px;
  padding: 14px 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.home-action:hover { transform: translateY(-2px); }
.home-action:focus-visible,
.home-category:focus-visible,
.home-text-link:focus-visible,
.home-notebook-section a:focus-visible {
  outline: 2px solid #6feeff;
  outline-offset: 4px;
}
.home-action-primary { color: #04243a; background: #35d9f3; border: 1px solid #35d9f3; }
.home-action-primary:hover { background: #79ebfb; }
.home-action-secondary { color: #e8f4ff; background: rgba(3, 15, 32, .74); border: 1px solid #38afcb; }
.home-action-secondary:hover { background: #12324d; }
.home-action svg,
.home-text-link svg { width: 18px; height: 18px; flex: none; }

.home-notebook-section {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 62px 0 88px;
  background: #041225;
}
.home-notebook-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: min(100%, 1120px);
  background: url("../assets/home/notebook-showcase-backdrop.webp") center top / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 76%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 76%, transparent 100%);
  pointer-events: none;
}
.home-notebook-inner {
  position: relative;
  width: min(100% - 96px, 1500px);
  margin: auto;
}
.home-notebook-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 32px;
}
.home-notebook-intro h2,
.home-section-heading h2,
.home-proof-intro h2,
.home-story h2,
.home-final h2 {
  margin: 0;
  font: 800 clamp(32px, 3.2vw, 52px)/1.07 "Exo 2", sans-serif;
  letter-spacing: -.025em;
  color: #f2f8ff;
  text-wrap: balance;
}
.home-notebook-intro p {
  max-width: 550px;
  margin: 7px 0 0;
  color: #d3e3ef;
  font-size: 18px;
  line-height: 1.55;
}
.home-notebook-intro h2 { display: flex; align-items: center; gap: 25px; font-size: clamp(47px, 5vw, 76px); letter-spacing: -.045em; }
.home-notebook-intro h2::after { content: ""; width: clamp(65px, 9vw, 155px); height: 3px; background: linear-gradient(90deg, #39e6f6, rgba(57, 230, 246, 0)); box-shadow: 0 0 18px rgba(57, 230, 246, .45); }
.home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #58e0f4;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid #3dbed5;
  padding-bottom: 7px;
}
.home-text-link:hover { color: #a7f5ff; }
.home-notebook-section .prod-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.home-notebook-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(52, 200, 236, .7);
  border-radius: 20px;
  background: #071b2f;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 7, 20, .3), inset 0 1px rgba(141, 221, 248, .12);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.home-notebook-card:hover,
.home-notebook-card:focus-within { border-color: #79ecfc; box-shadow: 0 24px 54px rgba(0, 9, 26, .42), 0 0 25px rgba(0, 192, 236, .13); }
.home-notebook-card:hover { transform: translateY(-5px); }
.home-notebook-photo {
  position: relative;
  height: 340px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px 20px 18px;
  background: #08243e url("../assets/home/notebook-showcase-stage.webp") center top / 100% 115% no-repeat;
}
.home-notebook-photo::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(130, 209, 238, .42), transparent);
}
.home-notebook-photo img {
  --home-photo-scale: 1.13;
  --home-photo-hover-scale: 1.18;
  --home-photo-y: 0px;
  position: relative;
  z-index: 1;
  display: block;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 16px rgba(0, 5, 15, .44));
  transform: translateY(var(--home-photo-y)) scale(var(--home-photo-scale));
  transition: transform .3s;
}
/* Os recortes têm transparências diferentes; alinhe o chassi ao topo da plataforma. */
.home-notebook-photo img[alt^="Acer TravelMate P2"] { --home-photo-scale: 1.18; --home-photo-hover-scale: 1.22; }
.home-notebook-photo img[alt^="Apple MacBook Pro 16"] { --home-photo-scale: 1.08; --home-photo-hover-scale: 1.12; --home-photo-y: -13px; }
.home-notebook-photo img[alt^="Lenovo ThinkPad E14 Gen 2"] { --home-photo-scale: 1.10; --home-photo-hover-scale: 1.14; --home-photo-y: -14px; }
.home-notebook-card:hover .home-notebook-photo img { transform: translateY(var(--home-photo-y)) scale(var(--home-photo-hover-scale)); }
.home-notebook-badge {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  border: 1px solid rgba(184, 224, 244, .4);
  border-radius: 20px;
  padding: 6px 11px;
  background: rgba(233, 247, 255, .95);
  color: #17364f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-notebook-no-photo { color: #b8ccdf; font-size: 14px; }
.home-notebook-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 24px 30px 28px;
  background: linear-gradient(180deg, #071c31, #06192c);
}
.home-notebook-brand { color: #65ddef; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.home-notebook-details h3 { min-height: 60px; margin: 8px 0 20px; color: #f2f8ff; font-size: clamp(20px, 1.65vw, 25px); line-height: 1.22; overflow-wrap: anywhere; }
.home-notebook-specs { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid rgba(145, 193, 218, .18); }
.home-notebook-specs li { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(145, 193, 218, .12); font-size: 13px; line-height: 1.4; }
.home-notebook-specs span { color: #9ebbd0; }
.home-notebook-specs strong { color: #e0f0fa; font-weight: 600; overflow-wrap: anywhere; }
.home-notebook-detail {
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  padding: 10px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #35d9f3;
  border-radius: 8px;
  background: #35d9f3;
  color: #06273b;
  font: 800 14px "Exo 2", sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.home-notebook-detail:hover { background: #81ebfa; border-color: #81ebfa; }
.home-notebook-detail:focus-visible { outline: 2px solid #6feeff; outline-offset: 3px; }
.home-notebook-detail svg { width: 18px; height: 18px; flex: none; }

.home-categories {
  position: relative;
  z-index: 1;
  padding: 80px 0 85px;
  background: #06172a;
  border-top: 1px solid rgba(116, 180, 215, .17);
}
.home-categories-inner,
.home-proof-inner,
.home-story-inner,
.home-final-inner { width: min(100% - 96px, 1340px); margin: auto; }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 27px; }
.home-section-heading h2 { font-size: clamp(28px, 2.7vw, 40px); }
.home-section-heading p { max-width: 440px; color: #b9ccdd; font-size: 15px; line-height: 1.55; }
.home-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.home-category {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: end;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(116, 180, 215, .27);
  border-radius: 10px;
  background: #102a45;
  transition: transform .25s, border-color .25s;
}
.home-category:hover { transform: translateY(-4px); border-color: #45d5ef; }
.home-category img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.home-category:hover img { transform: scale(1.04); }
.home-category::after {
  content: "";
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(transparent, rgba(2, 11, 24, .94));
}
.home-category-copy { position: relative; z-index: 1; padding: 20px; }
.home-category-copy strong { display: block; font-size: 19px; line-height: 1.2; }
.home-category-copy span { display: block; margin-top: 6px; color: #6ee9fa; font-size: 13px; font-weight: 700; }
.home-category[hidden] { display: none; }

.home-proof { position: relative; z-index: 1; padding: 76px 0; background: #041120; }
.home-proof-inner { display: grid; grid-template-columns: minmax(250px, .8fr) minmax(0, 2fr); gap: 66px; }
.home-proof-intro { border-right: 1px solid rgba(116, 180, 215, .24); padding-right: 46px; }
.home-proof-intro h2 span { color: #35d9f3; }
.home-proof-intro p { margin-top: 18px; color: #b9ccdd; font-size: 16px; line-height: 1.6; }
.home-proof-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 36px; }
.home-proof-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; }
.home-proof-icon {
  width: 48px;
  height: 48px;
  border: 1px solid #32cce5;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #43dff4;
}
.home-proof-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.home-proof-item h3 { font-size: 18px; line-height: 1.25; margin: 1px 0 7px; }
.home-proof-item p { color: #b9ccdd; font-size: 14px; line-height: 1.55; }

.home-story {
  position: relative;
  z-index: 1;
  min-height: 380px;
  display: flex;
  align-items: center;
  background: #071629 url("../assets/home/city-illustration.webp") center 54% / cover no-repeat;
}
.home-story::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #031020 3%, rgba(3,16,32,.95) 26%, rgba(3,16,32,.18) 80%); }
.home-story-inner { position: relative; padding: 70px 0; }
.home-story-copy { max-width: 550px; }
.home-story h2 { font-size: clamp(32px, 3.2vw, 46px); }
.home-story p { margin: 18px 0 22px; color: #e0ecf7; font-size: 16px; line-height: 1.6; }
.home-story-note { color: #a6bfd2; font-size: 11px; margin-top: 26px; }

.home-final {
  position: relative;
  z-index: 1;
  padding: 42px 0;
  background: linear-gradient(110deg, #09375c, #061a34 44%, #08628a);
  border-top: 1px solid rgba(113, 215, 242, .24);
}
.home-final-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.home-final h2 { font-size: clamp(25px, 2.7vw, 39px); }
.home-final p { color: #d1e7f4; font-size: 15px; margin-top: 7px; }
.home-final-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.home-final .home-action { min-height: 48px; font-size: 13px; white-space: nowrap; }

@media (max-width: 1100px) {
  .home-notebook-section .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-notebook-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .home-notebook-card:last-child .home-notebook-photo { height: 100%; min-height: 300px; }
  .home-proof-inner { gap: 36px; }
}
@media (max-width: 800px) {
  .home-hero { min-height: 610px; background-size: auto 610px; background-position: 58% center; }
  .home-hero::before { background: linear-gradient(90deg, rgba(2,11,24,.95), rgba(2,11,24,.71) 58%, rgba(2,11,24,.26)); }
  .home-hero-inner,
  .home-notebook-inner,
  .home-categories-inner,
  .home-proof-inner,
  .home-story-inner,
  .home-final-inner { width: min(100% - 48px, 1340px); }
  .home-hero-copy { max-width: 540px; }
  .home-notebook-photo { height: 230px; padding: 30px 18px 10px; }
  .home-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-proof-inner { grid-template-columns: 1fr; }
  .home-proof-intro { border-right: 0; padding-right: 0; max-width: 600px; }
  .home-final-inner { align-items: start; flex-direction: column; }
}
@media (max-width: 560px) {
  .home-notebook-section::before { height: 540px; background-position: 64% top; background-size: auto 540px; }
  .home-hero { min-height: 720px; align-items: start; background-size: auto 350px; background-position: 66% bottom; }
  .home-hero::before { background: linear-gradient(180deg, #031020 0%, rgba(3,16,32,.98) 48%, rgba(3,16,32,.08) 100%); }
  .home-hero-inner { padding: 58px 0 350px; }
  .home-hero h1 { font-size: clamp(42px, 11.2vw, 60px); }
  .home-hero p { font-size: 16px; line-height: 1.5; }
  .home-actions { gap: 10px; }
  .home-action { width: 100%; min-height: 48px; }
  .home-notebook-section { padding: 55px 0 62px; }
  .home-notebook-intro { display: block; margin-bottom: 26px; }
  .home-notebook-intro p { margin-bottom: 20px; }
  .home-notebook-section .prod-grid { grid-template-columns: 1fr; gap: 18px; }
  .home-notebook-card:last-child { grid-column: auto; display: flex; }
  .home-notebook-photo, .home-notebook-card:last-child .home-notebook-photo { height: 250px; min-height: 0; }
  .home-notebook-photo img[alt^="Apple MacBook Pro 16"] { --home-photo-scale: 1.04; --home-photo-hover-scale: 1.08; --home-photo-y: -8px; }
  .home-notebook-photo img[alt^="Lenovo ThinkPad E14 Gen 2"] { --home-photo-scale: 1.08; --home-photo-hover-scale: 1.12; --home-photo-y: -12px; }
  .home-notebook-details { padding: 22px; }
  .home-notebook-details h3 { min-height: 0; }
  .home-categories { padding: 56px 0 62px; }
  .home-section-heading { display: block; }
  .home-section-heading p { margin-top: 12px; }
  .home-category-grid { gap: 10px; }
  .home-category { min-height: 160px; }
  .home-category-copy { padding: 12px; }
  .home-category-copy strong { font-size: 15px; }
  .home-category-copy span { font-size: 11px; }
  .home-proof { padding: 60px 0; }
  .home-proof-list { grid-template-columns: 1fr; gap: 24px; }
  .home-story { min-height: 420px; background-position: 65% center; }
  .home-story::before { background: linear-gradient(90deg, rgba(3,16,32,.98), rgba(3,16,32,.64)); }
  .home-story-inner { padding: 56px 0; }
  .home-final { padding: 48px 0; }
}
@media (max-width: 360px) {
  .home-notebook-intro h2::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .home-action, .home-category, .home-category img, .home-notebook-card, .home-notebook-photo img, .home-notebook-detail { transition: none; }
  .home-action:hover, .home-category:hover, .home-category:hover img, .home-notebook-card:hover { transform: none; }
  .home-notebook-card:hover .home-notebook-photo img { transform: translateY(var(--home-photo-y)) scale(var(--home-photo-scale)); }
}
