@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/poppins/poppins-latin-300.woff2") format("woff2");
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/poppins/poppins-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/poppins/poppins-latin-500.woff2") format("woff2");
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/poppins/poppins-latin-600.woff2") format("woff2");
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/poppins/poppins-latin-700.woff2") format("woff2");
}

:root {
  --color-accent: #cbab61;
  --color-accent-strong: #b89a52;
  --color-site-header-border: #ef4444;
  --color-btn-brand: #ef4444;
  --color-btn-brand-hover: #f87171;
  --color-btn-brand-border: #dc2626;
  --color-btn-brand-fg: #ffffff;
  --color-app-bg: #1c1a17;
  --color-app-bg-deep: #13161a;
  --color-app-surface: #22262e;
  --color-app-surface-hover: #2a2f38;
  --color-app-border: #323842;
  --color-fg: #ffffff;
  --color-fg-muted: #a3a3a3;
  --color-border-theme: #323842;
  --header-h: 4rem;
  --logo-w: 145px;
  --cloud-home-grain-fine: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='a' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)' opacity='0.72'/%3E%3C/svg%3E");
  --cloud-home-grain-blotch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420'%3E%3Cfilter id='b' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.026' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23b)' opacity='0.88'/%3E%3C/svg%3E");
}

@media (min-width: 1024px) {
  :root {
    --header-h: 5rem;
    --logo-w: 218px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: clip;
  background: var(--color-app-bg);
  color: var(--color-fg);
  font-family: Poppins, ui-sans-serif, system-ui, sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 60;
  border-radius: 999px;
  background: var(--color-btn-brand);
  color: var(--color-btn-brand-fg);
  padding: 0.6rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

/* Mesma coluna do hero (`max-w-7xl` = 80rem). Fundo do header/rodapé continua full-bleed. */
.container {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 2rem;
  }
}

/* ——— Header (Cloud: sticky + h-16/h-20 + borda 3px) ——— */
.site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--color-app-bg) 90%, transparent);
  backdrop-filter: blur(12px);
}

.site-header {
  background: color-mix(in srgb, var(--color-app-surface) 92%, transparent);
  border-bottom: 3px solid var(--color-site-header-border);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  min-height: var(--header-h);
  gap: 1rem;
}

.site-logo {
  display: block;
  flex-shrink: 0;
  width: var(--logo-w);
  height: 2rem;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .site-logo {
    height: 2.35rem;
  }
}

.site-logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: left center;
}

.lang-switch {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.lang-switch > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem;
  color: var(--color-fg-muted);
  cursor: pointer;
}

.lang-switch > summary::-webkit-details-marker {
  display: none;
}

.lang-switch > summary:hover,
.lang-switch[open] > summary {
  color: var(--color-fg);
}

.lang-flag {
  font-size: 1.25rem;
  line-height: 1;
  user-select: none;
}

.lang-chevron {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.lang-switch[open] .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  z-index: 40;
  min-width: 17.28rem;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  border-radius: 0.75rem;
  background: var(--color-app-surface);
  box-shadow: 0 10px 25px rgb(0 0 0 / 0.28);
  border: 1px solid rgb(255 255 255 / 0.1);
}

.lang-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.5rem;
  padding: 0.45rem 0.5rem;
}

.lang-menu a:hover,
.lang-menu a[aria-current="page"] {
  background: var(--color-app-surface-hover);
}

.lang-menu .lang-name {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-fg);
}

.lang-menu .lang-desc {
  display: block;
  font-size: 0.75rem;
  color: var(--color-fg-muted);
}

.page {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}

.cloud-home-texture,
.cloud-home-orbs {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  background-attachment: fixed;
}

.cloud-home-texture {
  background-color: var(--color-app-surface);
  background-image: var(--cloud-home-grain-fine), var(--cloud-home-grain-blotch);
  background-size: 140px 140px, 960px 960px;
  background-blend-mode: overlay, soft-light;
}

.cloud-home-orbs {
  background:
    radial-gradient(ellipse 68% 42% at 8% 4%, color-mix(in srgb, var(--color-btn-brand) 16%, transparent), transparent 62%),
    radial-gradient(ellipse 36% 54% at 78% 14%, color-mix(in srgb, var(--color-btn-brand) 8%, transparent), transparent 58%),
    radial-gradient(ellipse 52% 34% at 94% 76%, color-mix(in srgb, var(--color-btn-brand) 11%, transparent), transparent 54%),
    radial-gradient(ellipse 30% 44% at 18% 92%, color-mix(in srgb, var(--color-app-bg-deep) 22%, transparent), transparent 60%);
}

.cloud-home-band {
  position: relative;
  z-index: 10;
  overflow-x: clip;
  background-color: color-mix(in srgb, var(--color-app-bg) 92%, transparent);
}

.cloud-home-band-gold {
  background-color: color-mix(in srgb, color-mix(in srgb, var(--color-app-bg) 96%, var(--color-btn-brand) 14%) 94%, transparent);
}

.cloud-home-band-slate {
  background-color: color-mix(in srgb, color-mix(in srgb, var(--color-app-surface) 90%, var(--color-btn-brand) 10%) 92%, transparent);
}

.cloud-home-band-deep {
  background-color: color-mix(in srgb, color-mix(in srgb, var(--color-app-bg-deep) 98%, var(--color-btn-brand) 12%) 96%, transparent);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.hero__bg,
.hero__bg-wash {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.22);
  filter: blur(24px) saturate(0.75);
}

.hero__bg-wash {
  background: color-mix(in srgb, var(--color-app-bg) 25%, transparent);
}

.hero__grid {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
}

.hero__photo {
  position: relative;
  height: 22rem;
  overflow: hidden;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__copy {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 1.25rem;
  background: color-mix(in srgb, var(--color-app-bg) 40%, transparent);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 80px -32px rgb(0 0 0 / 0.55);
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  background: var(--color-btn-brand);
  color: var(--color-btn-brand-fg);
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 1.25rem 0 0;
  font-size: 2.15rem;
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.accent {
  color: var(--color-btn-brand);
}

.hero__lead {
  margin: 1.25rem 0 0;
  max-width: 28rem;
  font-size: 1.125rem;
  line-height: 1.7;
}

.hero__sub {
  margin: 1rem 0 0;
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-fg-muted);
}

.hero__actions {
  margin-top: 1.75rem;
}

/* ——— Faixas: mesma grelha, mesma foto ——— */
.band-section {
  padding-block: 5rem;
}

.band-grid {
  display: grid;
  align-items: center;
  gap: 3rem;
}

.band-grid > * {
  min-width: 0;
}

.band-copy {
  max-width: none;
}

.band-copy h2,
.cta-overlay h2,
.section-title {
  margin: 0;
  font-size: 1.875rem;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--color-fg);
}

.band-copy p,
.cta-overlay p,
.note {
  margin: 1.25rem 0 0;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-fg-muted);
}

.band-copy .on-fg {
  color: var(--color-fg);
}

.kicker {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.kicker--spaced {
  margin-top: 2rem;
}

.photo {
  position: relative;
  width: 100%;
  min-width: 0;
  height: 18rem;
  margin: 0;
  overflow: hidden;
  background: var(--color-app-surface);
  box-shadow: 0 18px 48px -16px rgb(0 0 0 / 0.42);
}

.photo--slash {
  border-radius: 1.75rem 0 1.75rem 0;
}

.photo--slash-flip {
  border-radius: 0 1.75rem 0 1.75rem;
}

.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.photo:hover img {
  transform: scale(1.04);
}

/* Pilares e mapa de produtos — o mesmo módulo visual */
.item-grid {
  display: grid;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.item-grid--pillars {
  margin-top: 4rem;
}

.item-grid--products {
  margin-top: 3rem;
}

.item-num {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--color-btn-brand);
  color: var(--color-btn-brand-fg);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.item-grid h3 {
  margin: 1rem 0 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-fg);
}

.item-grid p {
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-fg-muted);
}

.item-link {
  display: block;
  height: 100%;
}

.item-link:hover h3 {
  color: var(--color-btn-brand);
}

.note {
  margin-top: 2rem;
  font-size: 0.95rem;
}

/* ——— CTA overlay ——— */
.cta-overlay {
  position: relative;
  z-index: 10;
  min-height: 32rem;
  overflow: hidden;
}

.cta-overlay__media,
.cta-overlay__wash {
  position: absolute;
  inset: 0;
}

.cta-overlay__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.cta-overlay__wash {
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--color-app-bg) 72%, transparent),
    color-mix(in srgb, var(--color-app-bg) 80%, transparent),
    color-mix(in srgb, var(--color-app-bg) 90%, transparent)
  );
}

.cta-overlay__inner {
  position: relative;
  padding-block: 7rem;
  text-align: center;
}

.cta-overlay p {
  margin-inline: auto;
  max-width: 42rem;
  color: rgb(255 255 255 / 0.75);
}

.cta-overlay h2 {
  margin: 2rem auto 0;
  max-width: 48rem;
  color: #fff;
}

.cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.btn {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.65rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--color-btn-brand);
  color: var(--color-btn-brand-fg);
}

.btn-primary:hover {
  background: var(--color-btn-brand-hover);
}

.btn-secondary {
  border: 1px solid color-mix(in srgb, var(--color-btn-brand-border) 80%, transparent);
  color: var(--color-fg);
}

.btn-secondary:hover {
  background: color-mix(in srgb, var(--color-btn-brand) 10%, transparent);
}

.fan-paths {
  margin-top: 2.5rem;
}

.fan-paths p {
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.7);
}

.fan-paths ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.fan-paths a {
  display: inline-flex;
  height: 2.25rem;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.2);
  background: rgb(0 0 0 / 0.25);
  padding: 0 0.9rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
}

.fan-paths a:hover {
  border-color: var(--color-btn-brand);
  color: var(--color-btn-brand);
}

/* ——— Footer institucional (Cloud FooterFull) ——— */
.site-footer {
  position: relative;
  z-index: 20;
  background: color-mix(in srgb, var(--color-app-surface) 92%, transparent);
  border-top: 3px solid var(--color-site-header-border);
}

.site-footer__inner {
  display: grid;
  gap: 3rem;
  padding-block: 2.5rem 3rem;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.site-footer__logo {
  display: block;
  width: 180px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.site-footer__tagline,
.site-footer__copy,
.site-footer__mark {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-fg-muted);
  text-wrap: balance;
}

.site-footer__copy-block {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.site-footer__col h3 {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 600;
  color: var(--color-fg);
}

.site-footer__col ul {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer__col a {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-fg-muted);
  transition: color 0.15s ease;
}

.site-footer__col a:hover {
  color: var(--color-fg);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
}

.reveal.is-visible {
  animation: cloud-home-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cloud-home-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 640px) {
  .hero__photo {
    height: 28rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero__lead {
    font-size: 1.25rem;
  }

  .band-copy h2,
  .cta-overlay h2,
  .section-title {
    font-size: 2.25rem;
  }

  .cta-overlay h2 {
    font-size: 3rem;
  }

  .cta-row {
    flex-direction: row;
  }

  .item-grid--products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
  }
}

@media (min-width: 768px) {
  .item-grid--pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    height: 800px;
  }

  .hero__grid {
    grid-template-columns: 1fr 1fr;
    height: 100%;
  }

  .hero__photo {
    order: 2;
    height: 100%;
    box-shadow: 0 18px 48px -16px rgb(0 0 0 / 0.42);
  }

  .hero__copy {
    order: 1;
    height: 100%;
    padding: 2.5rem 3rem;
  }

  .hero h1 {
    font-size: 3.35rem;
  }

  .band-section {
    padding-block: 7rem;
  }

  .band-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
  }

  .photo {
    height: 24rem;
  }

  .band-grid--match {
    align-items: stretch;
  }

  .band-grid--match .photo {
    height: auto;
    align-self: stretch;
  }

  .band-grid--flip .photo {
    order: 2;
  }

  .band-grid--flip .band-copy {
    order: 1;
  }

  .band-copy h2,
  .section-title {
    font-size: 2.6rem;
  }
}

@media (min-width: 1280px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
    align-items: start;
  }

  .site-footer__links {
    width: min(56%, 28rem);
    justify-self: end;
    margin: 0;
  }

  .item-grid--products {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal.is-visible,
  .photo img {
    animation: none;
    transform: none;
    opacity: 1;
    transition: none;
  }
}
