﻿@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@500;600;700;800;900&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
  --panini-wine: #7b1032;
  --panini-wine-dark: #520a21;
  --panini-gold: #f4c318;
  --panini-green: #14b757;

  --ink-950: #0f172a;
  --ink-800: #1e293b;
  --ink-600: #475569;
  --ink-500: #64748b;

  --line: #d6dfeb;
  --surface: #ffffff;
  --surface-soft: #f6f9fc;

  --shadow-a: 0 8px 20px rgba(15, 23, 42, 0.08);
  --shadow-b: 0 20px 55px rgba(15, 23, 42, 0.16);
}

* {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'Source Sans 3', sans-serif !important;
  color: var(--ink-950);
  background:
    radial-gradient(980px 460px at -15% -12%, #ffffff 0%, transparent 58%),
    radial-gradient(880px 420px at 112% -8%, #ffeef4 0%, transparent 44%),
    linear-gradient(180deg, #f7f9fd 0%, #eef3f9 100%) !important;
}

#root > .min-h-screen.bg-background {
  background: transparent !important;
}

#root h1,
#root h2,
#root h3,
#root h4,
#root .font-bold,
#root .font-extrabold {
  font-family: 'Urbanist', sans-serif !important;
  letter-spacing: -0.02em;
  color: var(--ink-950) !important;
}

#root .text-muted-foreground {
  color: var(--ink-600) !important;
}

/* Main frame */
#root .max-w-\[640px\].mx-auto.min-h-screen {
  max-width: 1120px !important;
  width: calc(100% - 28px);
  margin: 20px auto !important;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-b);
}

#root section.w-full.max-w-4xl {
  max-width: 980px !important;
  padding-left: 38px !important;
  padding-right: 38px !important;
}

/* Top bar */
#root .sticky.top-0.z-50.bg-background {
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)),
    linear-gradient(90deg, var(--panini-wine-dark), var(--panini-wine)) !important;
  border-bottom: 1px solid var(--line) !important;
  position: sticky;
}

#root .sticky.top-0.z-50.bg-background::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, #f6d34d, var(--panini-gold), #f6d34d);
}

#root .sticky.top-0.z-50.bg-background::after {
  content: 'Loja Oficial Panini';
  display: block;
  text-align: center;
  margin-top: -3px;
  margin-bottom: 2px;
  font-family: 'Urbanist', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #5a6780;
}

#root .sticky.top-0.z-50.bg-background img {
  height: 62px !important;
  width: auto;
}

/* Force centered logo on desktop header */
@media (min-width: 640px) {
  #root .sticky.top-0.z-50.bg-background .sm\:justify-start,
  #root .sticky.top-0.z-50.bg-background .sm\:justify-between {
    justify-content: center !important;
  }
}

/* HERO */
#root .max-w-\[640px\].mx-auto.min-h-screen > section:nth-of-type(1) {
  background:
    radial-gradient(460px 180px at 50% 0, rgba(123, 16, 50, 0.08) 0%, rgba(123, 16, 50, 0) 75%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 72%, #f6f9ff 100%) !important;
  border-bottom: 1px solid var(--line);
}

#root .max-w-\[640px\].mx-auto.min-h-screen > section:nth-of-type(1) .inline-block {
  background: linear-gradient(180deg, #ffd84a, var(--panini-gold)) !important;
  color: #3e2d00 !important;
  border: 1px solid #e7b811 !important;
  border-radius: 999px !important;
  font-family: 'Urbanist', sans-serif;
  font-weight: 800 !important;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 24px rgba(244, 195, 24, 0.33);
}

#root .max-w-\[640px\].mx-auto.min-h-screen > section:nth-of-type(1) h1 {
  font-size: clamp(52px, 8.6vw, 88px) !important;
  line-height: 0.92;
  text-transform: uppercase;
}

#root .max-w-\[640px\].mx-auto.min-h-screen > section:nth-of-type(1) p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(19px, 2.1vw, 26px);
  line-height: 1.45;
}

#root .max-w-\[640px\].mx-auto.min-h-screen > section:nth-of-type(1) img[alt='Kit Colecionador'] {
  max-width: 560px !important;
  border-radius: 22px;
  border: 1px solid #e4ebf5;
  box-shadow: var(--shadow-a);
}

/* Section titles */
#root h2 {
  font-size: clamp(38px, 5.8vw, 52px) !important;
  line-height: 1;
}

/* Kit section block background */
#root .max-w-\[640px\].mx-auto.min-h-screen > section:nth-of-type(2) {
  background: linear-gradient(180deg, #fcfdff 0%, #f3f8ff 100%) !important;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Kit cards */
#root .rounded-2xl.border-2.overflow-visible.cursor-pointer.transition-all.bg-background {
  border-radius: 20px !important;
  border: 1px solid #cad8eb !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
  box-shadow: var(--shadow-a);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}

#root .rounded-2xl.border-2.overflow-visible.cursor-pointer.transition-all.bg-background:hover {
  transform: translateY(-3px);
  border-color: #b5c8e2 !important;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

#root .rounded-2xl.border-2.overflow-visible.cursor-pointer.transition-all.bg-background.border-panini-green {
  border-color: var(--panini-green) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f4fbf7 100%) !important;
  box-shadow:
    0 0 0 4px rgba(20, 183, 87, 0.13),
    0 18px 38px rgba(20, 183, 87, 0.25) !important;
}

/* Selected card details (avoid heavy dark look) */
#root .rounded-2xl.border-2.overflow-visible.cursor-pointer.transition-all.bg-background.border-panini-green h3 {
  color: #0b7f3c !important;
}

#root .rounded-2xl.border-2.overflow-visible.cursor-pointer.transition-all.bg-background.border-panini-green .text-right p {
  color: #0b7f3c !important;
}

#root .rounded-2xl.border-2.overflow-visible.cursor-pointer.transition-all.bg-background.border-panini-green .w-3\.5.h-3\.5.rounded-full {
  background: #111111 !important;
}

#root .rounded-2xl.border-2.overflow-visible.cursor-pointer.transition-all.bg-background.border-panini-green .w-6.h-6.rounded-full {
  border-color: #111111 !important;
}

#root .rounded-2xl.border-2.overflow-visible.cursor-pointer.transition-all.bg-background .absolute.-top-3.right-3 {
  background: linear-gradient(180deg, #1bd666, var(--panini-green)) !important;
  color: #fff !important;
  font-family: 'Urbanist', sans-serif;
  font-weight: 900 !important;
  box-shadow: 0 10px 18px rgba(20, 183, 87, 0.34);
}

#root .rounded-2xl.border-2.overflow-visible.cursor-pointer.transition-all.bg-background .absolute.-top-3.left-1\/2.-translate-x-1\/2.z-10 span {
  font-family: 'Urbanist', sans-serif;
  font-weight: 900 !important;
}

#root .rounded-2xl.border-2.overflow-visible.cursor-pointer.transition-all.bg-background .border-t {
  background: linear-gradient(180deg, #f3fbf5 0%, #ecf8f0 100%) !important;
  border-top-color: #d7eadc !important;
}

/* Main CTA */
#root .mt-8.text-center > button {
  width: min(620px, 100%);
  border-radius: 18px !important;
  background: linear-gradient(180deg, #20d96b 0%, #12b453 100%) !important;
  color: #ffffff !important;
  font-family: 'Urbanist', sans-serif;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 900 !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 20px 42px rgba(18, 180, 83, 0.36) !important;
}

#root .mt-8.text-center > button:hover {
  filter: brightness(1.04);
  transform: translateY(-2px);
}

#root .mt-8.text-center > p {
  font-size: 15px;
  font-weight: 600;
  color: #4b5f7d !important;
}

/* Benefits + reviews + FAQ */
#root .bg-muted.rounded-xl,
#root .bg-muted.rounded-2xl {
  border: 1px solid var(--line) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%) !important;
}

#root .space-y-4 > .bg-muted.rounded-xl.p-4 {
  border-radius: 16px;
}

#root .space-y-2 > .bg-muted.rounded-xl {
  border-radius: 14px;
  border-color: #d4dfef !important;
}

/* FAQ readability */
#root .space-y-2 > .bg-muted.rounded-xl button {
  font-family: 'Urbanist', sans-serif !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  color: #12213a !important;
  padding-top: 18px !important;
  padding-bottom: 18px !important;
  letter-spacing: -0.01em;
}

#root .space-y-2 > .bg-muted.rounded-xl .pb-4,
#root .space-y-2 > .bg-muted.rounded-xl [class*='text-sm'] {
  font-size: 17px !important;
  color: #475467 !important;
  line-height: 1.6;
}

#root .space-y-2 > .bg-muted.rounded-xl [data-state='open'] {
  border-color: #c7d4e8 !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

/* Footer */
#root footer {
  background: linear-gradient(180deg, #f8fbff 0%, #edf3fc 100%) !important;
  border-top: 1px solid #d7e1ef !important;
  padding-top: 30px !important;
  padding-bottom: 30px !important;
}

#root footer span {
  color: #334155 !important;
  font-family: 'Urbanist', sans-serif !important;
  font-size: 16px !important;
  font-weight: 700;
  letter-spacing: 0.01em;
}

#root footer img {
  height: 46px !important;
  width: auto !important;
  margin-bottom: 8px;
}

#root footer .text-xs,
#root footer [class*='text-xs'] {
  font-size: 14px !important;
  color: #475467 !important;
  font-weight: 600 !important;
}

/* Motion */
#root section.w-full.max-w-4xl {
  animation: panelIn .45s ease both;
}

#root section.w-full.max-w-4xl:nth-of-type(2) { animation-delay: .05s; }
#root section.w-full.max-w-4xl:nth-of-type(3) { animation-delay: .1s; }
#root section.w-full.max-w-4xl:nth-of-type(4) { animation-delay: .15s; }
#root section.w-full.max-w-4xl:nth-of-type(5) { animation-delay: .2s; }
#root section.w-full.max-w-4xl:nth-of-type(6) { animation-delay: .25s; }

@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  #root section.w-full.max-w-4xl { animation: none !important; }
  #root button, #root a { transition: none !important; }
}

@media (max-width: 980px) {
  #root .max-w-\[640px\].mx-auto.min-h-screen {
    width: 100%;
    margin: 0 !important;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  #root section.w-full.max-w-4xl {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  #root .sticky.top-0.z-50.bg-background img {
    height: 56px !important;
  }
}

@media (max-width: 640px) {
  #root .max-w-\[640px\].mx-auto.min-h-screen > section:nth-of-type(1) h1 {
    font-size: clamp(48px, 13.5vw, 64px) !important;
  }

  #root h2 {
    font-size: clamp(34px, 10vw, 44px) !important;
  }
}
