/* ========================================
   TOKIDDOLIST - SITE INSTITUCIONAL
   Base visual alinhada ao site Perfsoft e PartyuApp
   ======================================== */

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

:root {
  --primary: #ff9f2f;
  --primary-light: #ffbd6b;
  --primary-dark: #d8790f;
  --secondary: #95b84b;
  --secondary-light: #dcebc2;
  --secondary-dark: #31531a;
  --dark: #20222b;
  --dark-2: #333640;
  --dark-3: #4b515f;
  --gray: #6f7684;
  --gray-light: #a4abb7;
  --light: #f8f7f3;
  --light-2: #ebe7dd;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, var(--primary) 0%, #ff7f3f 100%);
  --gradient-text: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--secondary-dark) 100%
  );
  --gradient-soft: linear-gradient(135deg, #fff5e7 0%, #eef6dc 100%);
  --shadow-sm: 0 1px 3px rgba(32, 34, 43, 0.08);
  --shadow: 0 4px 20px rgba(32, 34, 43, 0.08);
  --shadow-lg: 0 10px 40px rgba(32, 34, 43, 0.12);
  --shadow-xl: 0 20px 60px rgba(32, 34, 43, 0.16);
  --shadow-primary: 0 4px 20px rgba(255, 159, 47, 0.28);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
  font-size: 1.25rem;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 30px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  color: var(--white);
  background: var(--gradient);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 159, 47, 0.38);
}

.btn-outline {
  color: var(--primary-dark);
  background: transparent;
  border-color: var(--primary);
}

.btn-outline:hover {
  color: var(--white);
  background: var(--primary);
  transform: translateY(-2px);
}

.btn-white {
  color: var(--primary-dark);
  background: var(--white);
  border-color: var(--white);
}

.btn-white:hover {
  background: #fff8ed;
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.48);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  padding: 20px 0;
  transition: var(--transition);
}

#header.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
  font-size: 1.35rem;
  font-weight: 800;
}

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#navbar ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

#navbar a {
  position: relative;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--dark-3);
  font-size: 0.9rem;
  font-weight: 600;
}

#navbar a:hover,
#navbar a.active {
  color: var(--primary-dark);
}

#navbar .nav-cta {
  color: var(--white) !important;
  background: var(--gradient);
  box-shadow: var(--shadow-primary);
}

#navbar .nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 159, 47, 0.36);
}

.menu-toggle {
  z-index: 1001;
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 28px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 4px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

#hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 120px 0 80px;
  overflow: hidden;
  background: var(--gradient-soft);
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.52;
  filter: blur(10px);
}

.shape-1 {
  top: 12%;
  right: 8%;
  width: 280px;
  height: 280px;
  background: rgba(255, 159, 47, 0.28);
  animation: float 7s ease-in-out infinite;
}

.shape-2 {
  bottom: 12%;
  left: 8%;
  width: 220px;
  height: 220px;
  background: rgba(149, 184, 75, 0.26);
  animation: float 9s ease-in-out infinite reverse;
}

.shape-3 {
  top: 48%;
  right: 38%;
  width: 150px;
  height: 150px;
  background: rgba(255, 127, 63, 0.22);
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-24px) rotate(8deg);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: center;
}

.hero-badge,
.section-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 20px;
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: rgba(255, 159, 47, 0.14);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-tag.light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
}

.hero-tagline {
  margin: 22px 0 10px;
  color: var(--dark-2);
  font-size: 1.22rem;
  font-weight: 500;
}

.hero-description {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--gray);
  font-size: 1.05rem;
}

.hero-buttons,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  color: var(--primary-dark);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  margin-top: 6px;
  color: var(--gray);
  font-size: 0.88rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.phone-mockup {
  position: relative;
  width: 305px;
  height: 620px;
  padding: 14px;
  border-radius: 42px;
  background: #1b1c22;
  box-shadow: var(--shadow-xl);
  transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
  transition: var(--transition);
}

.phone-mockup:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.phone-screen {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 42px 18px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(135deg, #ffab40 0%, #ff8a3d 45%, #78a63a 100%);
  overflow: hidden;
}

.phone-screen::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 120px;
  height: 30px;
  border-radius: 0 0 16px 16px;
  background: #1b1c22;
  content: "";
  transform: translateX(-50%);
}

.phone-logo {
  width: 126px;
  height: 126px;
  filter: drop-shadow(0 18px 26px rgba(31, 34, 43, 0.22));
}

.phone-text {
  margin-top: 18px;
  color: var(--white);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 8px 22px rgba(31, 34, 43, 0.18);
}

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid var(--primary-dark);
  border-radius: 14px;
}

.wheel {
  width: 4px;
  height: 8px;
  margin: 8px auto;
  border-radius: 4px;
  background: var(--primary-dark);
  animation: scroll 1.7s infinite;
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

section {
  padding: 96px 0;
}

.section-alt {
  background: var(--light);
}

.section-header {
  max-width: 760px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-subtitle {
  margin-top: 18px;
  color: var(--gray);
  font-size: 1.06rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card,
.step-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border: 1px solid rgba(235, 231, 221, 0.9);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover,
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover {
  border-color: rgba(255, 159, 47, 0.18);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 18px;
  color: var(--white);
  background: var(--gradient);
  transition: var(--transition);
}

.feature-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 2;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card p,
.step-card p {
  margin-top: 12px;
  color: var(--gray);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.step-number {
  margin-bottom: 18px;
  color: rgba(255, 159, 47, 0.35);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
}

.split-section {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
}

.section-copy {
  margin-top: 20px;
  color: var(--gray);
  font-size: 1.05rem;
}

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.check-list span {
  position: relative;
  padding-left: 34px;
  color: var(--dark-2);
  font-weight: 600;
}

.check-list span::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--secondary);
  content: "✓";
  font-size: 0.8rem;
  font-weight: 800;
}

.security-panel {
  padding: 38px;
  border-radius: var(--radius-xl);
  background: var(--gradient-soft);
  box-shadow: var(--shadow-lg);
}

.security-panel img {
  max-width: 240px;
  margin-bottom: 28px;
}

.security-panel p {
  color: var(--dark-3);
  font-size: 1.02rem;
}

.cta-section {
  color: var(--white);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 30%),
    linear-gradient(135deg, var(--secondary-dark) 0%, #243d17 100%);
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cta-content p {
  max-width: 640px;
  margin: 18px auto 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.cta-actions {
  justify-content: center;
}

.store-notice {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

footer {
  position: relative;
  padding: 72px 0 0;
  background: var(--dark);
  color: var(--white);
}

footer::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 10px;
  background: linear-gradient(
    90deg,
    var(--primary) 0%,
    #ff7f3f 48%,
    var(--secondary) 100%
  );
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.08);
  content: "";
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  margin-bottom: 16px;
  color: var(--white);
}

.footer-brand .logo-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  max-width: 360px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--gray-light);
  background: rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--white);
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.footer-links {
  display: block;
}

.footer-links h4 {
  margin-bottom: 20px;
  color: var(--white);
  font-size: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer-links a {
  color: var(--gray-light);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  color: var(--gray);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--primary-light);
}

.footer-bottom a:hover {
  color: var(--white);
}

.legal-page {
  background: var(--light);
}

.legal-hero {
  padding: 132px 0 56px;
  background: var(--gradient-soft);
}

.legal-hero h1 {
  max-width: 760px;
}

.legal-hero p {
  max-width: 720px;
  margin-top: 18px;
  color: var(--gray);
  font-size: 1.05rem;
}

.legal-content {
  padding: 64px 0 88px;
}

.legal-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 42px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-card h2 {
  margin-top: 34px;
  font-size: 1.45rem;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--dark-3);
}

.legal-card p {
  margin-top: 12px;
}

.legal-card ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0 20px;
}

.legal-card a {
  color: var(--primary-dark);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card.reveal.visible:hover {
  transform: translateY(-8px);
}

.step-card.reveal.visible:hover {
  transform: translateY(-6px);
}

@media (max-width: 980px) {
  .hero-content,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero-content {
    gap: 44px;
    text-align: center;
  }

  .hero-description,
  .hero-tagline {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-buttons,
  .hero-stats {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .phone-mockup {
    transform: none;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: flex;
  }

  #navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 340px;
    height: 100vh;
    padding: 92px 24px 24px;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    transition: right var(--transition);
  }

  #navbar.active {
    right: 0;
  }

  #navbar ul {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  #navbar a {
    display: block;
    padding: 14px 16px;
  }

  #hero {
    min-height: auto;
    padding: 108px 0 72px;
  }

  .hero-buttons,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .features-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .phone-mockup {
    width: min(305px, 100%);
  }

  .phone-screen {
    min-height: 540px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .legal-card {
    padding: 28px;
  }
}

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

  .btn {
    width: 100%;
    padding-right: 22px;
    padding-left: 22px;
  }

  .feature-card,
  .step-card,
  .security-panel {
    padding: 24px;
  }
}
