/* ==========================================================================
   ANGÉLICA RACHID — CSS ESTILO CANÔNICO PRETO & BRANCO PREMIUM
   ========================================================================== */

/* 1. TIPOGRAFIA AUTO-HOSPEDADA */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* 2. VARIÁVEIS / TOKENS */
:root {
  --color-black-pure: #000000;
  --color-black-deep: #080808;
  --color-black-surface: #101010;
  --color-black-border: rgba(255, 255, 255, 0.12);

  --color-white-pure: #ffffff;
  --color-white-soft: #fcfcfc;
  --color-white-surface: #f4f4f4;
  --color-white-border: rgba(0, 0, 0, 0.08);

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container-max: 1200px;
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 3. RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.5;
  background-color: var(--color-black-deep);
  color: var(--color-white-pure);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--color-black-deep);
  color: var(--color-white-pure);
}

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

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

/* CONTAINER */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }
}

/* 4. HEADER / NAVBAR */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(8, 8, 8, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.3s ease, background 0.3s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand-text {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-white-pure);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--color-white-pure);
  color: var(--color-black-deep);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  min-height: 40px;
  transition: transform 0.25s var(--ease-premium), opacity 0.25s ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

/* 5. SEÇÕES E ALTERNÂNCIA PRETO / BRANCO */
.section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Transições de degradê suave entre seções */
.section-blend {
  position: absolute;
  left: 0;
  width: 100%;
  height: 120px;
  pointer-events: none;
  z-index: 2;
}

.blend-to-light {
  bottom: 0;
  background: linear-gradient(to bottom, transparent, var(--color-white-soft));
}

.blend-to-dark {
  bottom: 0;
  background: linear-gradient(to bottom, transparent, var(--color-black-deep));
}

/* 6. HERO SECTION (Preto Premium) */
.section-hero {
  background-color: var(--color-black-deep);
  color: var(--color-white-pure);
  padding: 140px 0 160px;
  text-align: center;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-bg-layer {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 3;
}

.hero-brand-wrap {
  margin-bottom: 24px;
}

.hero-logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
  filter: contrast(1.05) brightness(1.02);
  transition: transform 0.4s var(--ease-premium);
}

.hero-tagline {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
}

.hero-headline {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  max-width: 780px;
  margin: 0 auto 36px;
  color: var(--color-white-pure);
}

.hero-action-wrap {
  display: flex;
  justify-content: center;
}

/* 7. BOTÃO CANÔNICO COM SHINY SWEEP GLOW */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  min-height: 52px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  background: var(--color-white-pure);
  color: var(--color-black-pure);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
  transition: transform 0.3s var(--ease-premium), box-shadow 0.3s ease;
  cursor: pointer;
}

/* Shiny Sweep Glow continuo */
.btn-shiny::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.6) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  animation: shinySweep 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes shinySweep {
  0% { left: -150%; }
  35% { left: 150%; }
  100% { left: 150%; }
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), inset 0 1px 0 #ffffff;
}

.btn-primary:active {
  transform: translateY(0) scale(0.99);
}

.btn-text {
  position: relative;
  z-index: 2;
}

.btn-icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

/* 8. ESTEIRA DE PRODUTOS (Branco Premium) */
.section-products {
  background-color: var(--color-white-soft);
  color: var(--color-black-deep);
  padding: 120px 0 150px;
}

.section-header-wrap {
  text-align: center;
  margin-bottom: 48px;
}

.eyebrow-text {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--color-black-deep);
}

.section-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.65);
  max-width: 520px;
  margin: 0 auto;
}

/* Marquee Viewport & Track */
.marquee-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  cursor: grab;
}

.marquee-viewport:active {
  cursor: grabbing;
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
}

.product-item {
  flex: 0 0 290px;
  width: 290px;
  user-select: none;
}

.product-media {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  background-color: #eee;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-premium);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.product-media:hover .product-overlay,
.product-media:focus-within .product-overlay,
.product-item.is-touched .product-overlay {
  opacity: 1;
  pointer-events: auto;
}

.product-media:hover img {
  transform: scale(1.04);
}

.btn-overlay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  min-height: 44px;
  background: var(--color-white-pure);
  color: var(--color-black-deep);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

.btn-overlay:hover {
  transform: scale(1.03);
}

/* 9. BLOCO BRASIL E EXTERIOR (Preto Premium) */
.section-scope {
  background-color: var(--color-black-deep);
  color: var(--color-white-pure);
  padding: 140px 0 160px;
  text-align: center;
}

.scope-container {
  max-width: 800px;
  margin: 0 auto;
}

.scope-lead {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 16px;
}

.scope-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--color-white-pure);
}

.scope-description {
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 auto 40px;
  max-width: 600px;
}

/* 10. BLOCO PÁGINA DE LINKS / CANAIS (Branco Premium) */
.section-links {
  background-color: var(--color-white-soft);
  color: var(--color-black-deep);
  padding: 120px 0 140px;
}

.links-container {
  max-width: 720px;
  margin: 0 auto;
}

.links-header {
  text-align: center;
  margin-bottom: 40px;
}

.links-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--color-black-deep);
}

.links-desc {
  font-size: 0.98rem;
  color: rgba(0, 0, 0, 0.6);
}

.links-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-radius: 20px;
  background: var(--color-white-pure);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  min-height: 80px;
  transition: transform 0.3s var(--ease-premium), box-shadow 0.3s ease, border-color 0.3s ease;
}

.link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.16);
}

.link-card.link-primary {
  background: var(--color-black-deep);
  color: var(--color-white-pure);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.link-card.link-primary:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.link-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.link-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
}

.link-primary .link-badge {
  color: rgba(255, 255, 255, 0.55);
}

.link-name {
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.link-caption {
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.65);
}

.link-primary .link-caption {
  color: rgba(255, 255, 255, 0.75);
}

.link-card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.04);
  transition: transform 0.3s var(--ease-premium), background 0.3s ease;
}

.link-primary .link-card-arrow {
  background: rgba(255, 255, 255, 0.08);
}

.link-card:hover .link-card-arrow {
  transform: translate(2px, -2px);
  background: rgba(0, 0, 0, 0.08);
}

.link-primary:hover .link-card-arrow {
  background: rgba(255, 255, 255, 0.16);
}

/* 11. RODAPÉ (Preto Premium) */
.site-footer {
  background-color: var(--color-black-pure);
  color: var(--color-white-pure);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  min-height: 46px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--color-white-pure);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.footer-cta:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* 12. RESPONSIVIDADE MOBILE-FIRST RIGOROSA */
@media (max-width: 768px) {
  .site-header {
    height: 56px;
  }
  .header-container {
    height: 56px;
    padding: 0 16px;
  }
  .brand-text {
    font-size: 0.85rem;
    letter-spacing: 0.14em;
  }
  .header-cta {
    min-height: 38px;
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  .section-hero {
    padding: 110px 0 120px;
    min-height: auto;
  }
  .hero-logo {
    width: 120px;
    height: 120px;
  }
  .hero-headline {
    font-size: 1.85rem;
    margin-bottom: 28px;
  }
  .btn-primary {
    width: 100%;
    max-width: 320px;
    padding: 14px 24px;
    font-size: 0.92rem;
  }

  .section-products {
    padding: 90px 0 110px;
  }
  .product-item {
    flex: 0 0 240px;
    width: 240px;
  }
  .product-media {
    height: 330px;
    border-radius: 16px;
  }

  .section-scope {
    padding: 100px 0 120px;
  }
  .scope-title {
    font-size: 2rem;
  }
  .scope-description {
    font-size: 1rem;
    margin-bottom: 32px;
  }

  .section-links {
    padding: 90px 0 110px;
  }
  .link-card {
    padding: 20px;
    border-radius: 16px;
  }
  .link-name {
    font-size: 1.05rem;
  }
  .link-caption {
    font-size: 0.85rem;
  }
}

@media (max-width: 360px) {
  .brand-text {
    font-size: 0.78rem;
  }
  .hero-headline {
    font-size: 1.6rem;
  }
  .product-item {
    flex: 0 0 210px;
    width: 210px;
  }
  .product-media {
    height: 290px;
  }
}

/* 13. ACESSIBILIDADE & PREFERS-REDUCED-MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .btn-shiny::before {
    display: none !important;
  }
  .marquee-track {
    transform: none !important;
    overflow-x: auto !important;
  }
}
