/* ==========================================================================
   COIMBRA KIDS — DESIGN SYSTEM & TOKENS
   Calçados e Moda Infantil · São Gonçalo, RJ
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --color-black: #080808;
  --color-black-pure: #000000;
  --color-black-soft: #121212;
  --color-white: #ffffff;
  --color-white-soft: #fcfcfc;
  --color-white-muted: #f2f2f2;
  --color-yellow: #ffd000;
  --color-yellow-hover: #ffdb33;
  --color-yellow-glow: rgba(255, 208, 0, 0.45);
  --color-yellow-border: rgba(255, 208, 0, 0.35);
  --color-yellow-border-strong: rgba(255, 208, 0, 0.7);

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --container-max: 1200px;
  --section-pad-y: clamp(70px, 9vw, 120px);
  --section-pad-x: clamp(20px, 5vw, 40px);
  --radius-card: 24px;
  --radius-btn: 9999px;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Guardrails */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  font-size: 16px;
  scroll-behavior: auto; /* Handled by Lenis */
  overflow-x: hidden;
  background-color: var(--color-black);
}

body {
  font-family: var(--font-family);
  color: var(--color-white);
  background-color: var(--color-black);
  line-height: 1.5;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  position: relative;
}

/* Accessibility: focus ring */
:focus-visible {
  outline: 2px solid var(--color-yellow);
  outline-offset: 4px;
}

/* Image behavior */
img, svg {
  display: block;
  max-width: 100%;
}

/* ==========================================================================
   BUTTONS & ACTIONS
   ========================================================================== */

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: var(--color-yellow);
  color: var(--color-black-pure);
  font-weight: 700;
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  letter-spacing: -0.01em;
  min-height: 50px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px var(--color-yellow-glow);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), background-color var(--transition-smooth);
  z-index: 2;
}

.btn-primary:hover {
  background-color: var(--color-yellow-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 32px rgba(255, 208, 0, 0.65);
}

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

/* Shiny Sweep Glow Effect */
.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -80%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.8) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  animation: sweepGlow 3.6s infinite ease-in-out;
  pointer-events: none;
}

@keyframes sweepGlow {
  0% { left: -80%; }
  35%, 100% { left: 140%; }
}

.btn-primary svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: currentColor;
}

/* Outline Button Variant (Dark on Light) */
.btn-dark {
  background-color: var(--color-black-pure);
  color: var(--color-yellow);
  border: 1px solid var(--color-yellow);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.btn-dark:hover {
  background-color: var(--color-black-soft);
  color: var(--color-white);
  border-color: var(--color-yellow-hover);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}
.btn-dark::after {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 208, 0, 0.4) 50%,
    transparent 100%
  );
}

/* ==========================================================================
   NAVBAR (Max 56px no mobile, minimalista)
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: rgba(8, 8, 8, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 208, 0, 0.15);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.3s ease;
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--section-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-white);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.nav-brand-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-yellow);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-yellow);
}

.nav-cta {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 700;
}

/* Mobile Navbar constraints */
@media (max-width: 768px) {
  .site-header {
    height: 56px;
  }
  .nav-cta {
    min-height: 38px;
    padding: 6px 14px;
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   HERO SECTION (Preto Premium com Logo Integrada e Acento Amarelo)
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px var(--section-pad-x) 80px;
  background: radial-gradient(circle at 50% 25%, rgba(255, 208, 0, 0.08) 0%, rgba(8, 8, 8, 0.95) 70%, #080808 100%);
  overflow: hidden;
  text-align: center;
}

/* Parallax Ambient Backdrops */
.hero-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -20%);
  width: clamp(320px, 60vw, 650px);
  height: clamp(320px, 60vw, 650px);
  background: radial-gradient(circle, rgba(255, 208, 0, 0.14) 0%, transparent 68%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo integration: sem caixa, sem círculo, sem selo, sem corte */
.hero-logo-wrap {
  width: clamp(140px, 28vw, 210px);
  margin-bottom: 24px;
  position: relative;
}

.hero-logo-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(255, 208, 0, 0.25));
  border-radius: 12px;
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: 12px;
}

.hero-title .yellow-accent {
  color: var(--color-yellow);
  text-shadow: 0 0 20px rgba(255, 208, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 600;
  color: #e5e5e5;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

/* Pills / Badges */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.pill-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-yellow-border);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-white);
}

.pill-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-yellow);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--color-yellow);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.hero-actions .btn-primary {
  width: 100%;
  max-width: 380px;
}

/* Degradê suave da Hero para a próxima seção (branco) sem corte seco e sem cobrir o botão */
.hero-transition-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: clamp(60px, 12vw, 120px);
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, #ffffff 100%);
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   SEÇÃO ESTEIRA DE PRODUTOS (Fundo Branco Premium)
   ========================================================================== */

.products-section {
  position: relative;
  background-color: var(--color-white);
  color: var(--color-black-pure);
  padding: var(--section-pad-y) 0;
  overflow: hidden;
}

.section-head {
  max-width: var(--container-max);
  margin: 0 auto 40px;
  padding: 0 var(--section-pad-x);
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 208, 0, 0.8);
  border-radius: var(--radius-btn);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-black-pure);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--color-black-pure);
}

.section-title .text-accent {
  color: #d4a000;
  background: linear-gradient(135deg, #b8860b 0%, #ffd000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-lead {
  font-size: 1.05rem;
  color: #333333;
  margin-top: 10px;
}

/* Esteira Marquee Infinita GSAP */
.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
  touch-action: pan-y;
  cursor: grab;
}

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

/* Fades laterais elegantes para a esteira não bater na borda */
.marquee-fade-left,
.marquee-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(20px, 8vw, 100px);
  z-index: 5;
  pointer-events: none;
}
.marquee-fade-left {
  left: 0;
  background: linear-gradient(90deg, #ffffff 0%, transparent 100%);
}
.marquee-fade-right {
  right: 0;
  background: linear-gradient(270deg, #ffffff 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: clamp(16px, 3vw, 28px);
  width: max-content;
  will-change: transform;
}

.product-item {
  position: relative;
  flex: 0 0 clamp(240px, 34vw, 320px);
  height: clamp(300px, 42vw, 400px);
  border-radius: var(--radius-card);
  overflow: hidden;
  background-color: var(--color-white-soft);
  border: 1px solid var(--color-yellow-border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.product-item:hover,
.product-item:focus-within {
  transform: translateY(-6px);
  border-color: var(--color-yellow-border-strong);
  box-shadow: 0 16px 40px rgba(255, 208, 0, 0.25);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-item:hover .product-img {
  transform: scale(1.06);
}

/* Hover/Touch Overlay com Botão WhatsApp */
.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.75) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

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

.product-overlay .btn-primary {
  width: 100%;
  min-height: 44px;
  padding: 10px 18px;
  font-size: 0.9rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Transição fluida de Branco para Preto */
.transition-white-to-black {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: clamp(60px, 10vw, 100px);
  background: linear-gradient(180deg, transparent 0%, #080808 100%);
  pointer-events: none;
  z-index: 2;
}

/* ==========================================================================
   SEÇÃO CATEGORIAS (Fundo Preto Premium, Bordas Amarelas)
   ========================================================================== */

.categories-section {
  position: relative;
  background-color: var(--color-black);
  color: var(--color-white);
  padding: var(--section-pad-y) var(--section-pad-x);
  overflow: hidden;
}

.categories-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(24px, 4vw, 40px);
}

.category-card {
  position: relative;
  background-color: var(--color-black-soft);
  border: 1px solid var(--color-yellow-border);
  border-radius: var(--radius-card);
  padding: clamp(32px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-yellow);
  box-shadow: 0 12px 40px rgba(255, 208, 0, 0.2);
}

.category-card-top {
  margin-bottom: 32px;
}

.category-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 208, 0, 0.1);
  border: 1px solid var(--color-yellow-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-yellow);
  margin-bottom: 24px;
}

.category-title {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-white);
  line-height: 1.2;
}

.category-card .btn-primary {
  width: 100%;
}

/* Transição fluida de Preto para Branco */
.transition-black-to-white {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: clamp(60px, 10vw, 100px);
  background: linear-gradient(180deg, transparent 0%, #ffffff 100%);
  pointer-events: none;
  z-index: 2;
}

/* ==========================================================================
   SEÇÃO LOJA FÍSICA E HORÁRIO (Fundo Branco Premium)
   ========================================================================== */

.store-section {
  position: relative;
  background-color: var(--color-white);
  color: var(--color-black-pure);
  padding: var(--section-pad-y) var(--section-pad-x);
  overflow: hidden;
}

.store-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: clamp(24px, 4vw, 48px);
}

.store-box {
  background-color: var(--color-white-soft);
  border: 1px solid var(--color-yellow-border);
  border-radius: var(--radius-card);
  padding: clamp(32px, 5vw, 44px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.store-box:hover {
  transform: translateY(-4px);
  border-color: var(--color-yellow-border-strong);
}

.store-box-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-black-pure);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.store-box-title svg {
  width: 28px;
  height: 28px;
  color: #b8860b;
}

.store-address-text {
  font-size: 1.05rem;
  font-weight: 500;
  color: #222222;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Horários em lista limpa */
.hours-list {
  list-style: none;
  margin-bottom: 28px;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.98rem;
}

.hours-item:last-child {
  border-bottom: none;
}

.hours-day {
  font-weight: 600;
  color: #222222;
}

.hours-time {
  font-weight: 700;
  color: #000000;
  background-color: rgba(255, 208, 0, 0.2);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--color-yellow-border);
}

.store-box .btn-primary,
.store-box .btn-dark {
  width: 100%;
}

/* Transição fluida de Branco para Preto no Rodapé */
.transition-store-to-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: clamp(60px, 10vw, 100px);
  background: linear-gradient(180deg, transparent 0%, #080808 100%);
  pointer-events: none;
  z-index: 2;
}

/* ==========================================================================
   RODAPÉ (Preto Premium com Informações Oficiais e Instagram)
   ========================================================================== */

.site-footer {
  position: relative;
  background-color: var(--color-black);
  color: var(--color-white);
  padding: clamp(60px, 8vw, 90px) var(--section-pad-x) 40px;
  border-top: 1px solid var(--color-yellow-border);
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.footer-brand {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

.footer-brand span {
  color: var(--color-yellow);
}

.footer-description {
  font-size: 0.98rem;
  color: #cccccc;
  max-width: 600px;
  line-height: 1.6;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-yellow-border);
  padding: 10px 24px;
  border-radius: var(--radius-btn);
  color: var(--color-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-smooth);
}

.footer-social-link:hover {
  border-color: var(--color-yellow);
  color: var(--color-yellow);
  transform: translateY(-2px);
  background: rgba(255, 208, 0, 0.1);
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-copy {
  margin-top: 20px;
  font-size: 0.85rem;
  color: #888888;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  width: 100%;
}

/* ==========================================================================
   FLOAT CTA (WhatsApp Fixo Flutuante Mobile)
   ========================================================================== */

.float-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--color-yellow);
  color: var(--color-black-pure);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px var(--color-yellow-glow);
  text-decoration: none;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.float-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 36px rgba(255, 208, 0, 0.75);
}

.float-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .btn-primary::after {
    animation: none !important;
    display: none !important;
  }
  .marquee-track {
    animation: none !important;
  }
}
