/* ═══════════════════════════════════════════════════════════
   style.css — iFigurinhas Landing Page
   ═══════════════════════════════════════════════════════════ */

/* ─── CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  --teal:      #00C9B1;
  --teal-dark: #00A896;
  --red:       #E63C2F;
  --red-dark:  #C7321F;
  --yellow:    #F5D020;
  --green:     #48BB78;
  --purple:    #7C3AED;
  --dark:      #0a0e1a;
  --dark-card: #141926;
  --light:     #f8fafc;
  --tint:      #f0fdf9;
  --text:      #1e293b;
  --muted:     #64748b;
  --white:     #ffffff;
  --radius:    14px;
  --radius-lg: 24px;
  --shadow:    0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 56px rgba(0, 0, 0, 0.18);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ─── UTILITIES ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 50px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(230, 60, 47, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(230, 60, 47, 0.45);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.88rem;
}

/* ─── BADGE ──────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(0, 201, 177, 0.13);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(0, 201, 177, 0.35);
  margin-bottom: 24px;
}

/* ─── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(10, 14, 26, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
}

.logo-i {
  color: var(--teal);
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  background: var(--dark);
  padding: 0;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 40px 80px;
  display: flex;
  align-items: center;
  gap: 56px;
  min-height: 100vh;
}

.hero-content {
  flex: 1;
  max-width: 580px;
}

.hero h1 {
  font-size: clamp(2.1rem, 3.8vw, 3.4rem);
  font-weight: 900;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 22px;
  letter-spacing: -0.04em;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal);
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
  max-width: 520px;
  line-height: 1.75;
}

.hero-slogan {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--yellow);
  margin-bottom: 40px;
  letter-spacing: 0.01em;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.stores-note {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 0 1px rgba(0, 201, 177, 0.15),
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(0, 201, 177, 0.08);
  transform: rotate(1.5deg);
  max-width: 560px;
  width: 100%;
}

/* ─── SECTION BASE ───────────────────────────────────────── */
.section {
  padding: 96px 0;
}

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

.section-dark {
  background: var(--dark);
}

.section-tint {
  background: var(--tint);
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text);
}

.section-title.light {
  color: var(--white);
}

.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 56px;
}

.section-sub.light {
  color: rgba(255, 255, 255, 0.5);
}

/* ─── STEPS ──────────────────────────────────────────────── */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  position: relative;
  border: 1px solid #e8edf2;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.step-num {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.88rem;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.step p {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.7;
}

.step-arrow {
  font-size: 1.6rem;
  color: var(--teal);
  align-self: center;
  flex-shrink: 0;
  padding-top: 0;
  opacity: 0.7;
}

/* ─── FEATURES GRID ──────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--dark-card);
  border-radius: var(--radius);
  padding: 36px 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 201, 177, 0.3);
}

.feature-card--highlight {
  border-color: rgba(0, 201, 177, 0.35);
  background: linear-gradient(145deg, #141926 0%, #0d1f26 100%);
}

.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 18px;
  display: block;
}

.feature-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.91rem;
  line-height: 1.65;
}

.feature-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--teal);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── PRODUTO ────────────────────────────────────────────── */
.produto-container {
  display: flex;
  align-items: center;
  gap: 72px;
}

.produto-images {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

.produto-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.produto-img--main {
  max-width: 320px;
  width: 100%;
  transform: rotate(-3deg);
  z-index: 1;
}

.produto-img--sm {
  max-width: 160px;
  width: 100%;
  transform: rotate(5deg) translateY(-24px);
  margin-left: -48px;
  z-index: 2;
}

.produto-text {
  flex: 1;
  max-width: 520px;
}

.produto-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.produto-text p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.75;
}

.produto-text .btn {
  margin-top: 12px;
}

/* ─── TESTIMONIALS ───────────────────────────────────────── */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: 1px solid rgba(0, 201, 177, 0.1);
}

.testimonial-text {
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.8;
  font-style: italic;
  flex: 1;
}

.testimonial-text::before { content: '\201C'; }
.testimonial-text::after  { content: '\201D'; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--green));
  color: var(--dark);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
}

.testimonial-author span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ─── FAQ ────────────────────────────────────────────────── */
.faq-container {
  max-width: 760px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 52px;
}

.faq-item {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: rgba(0, 201, 177, 0.4);
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--teal);
  flex-shrink: 0;
  line-height: 1;
}

.faq-item[open] summary {
  color: var(--teal-dark);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.faq-item p a {
  color: var(--teal-dark);
  text-decoration: underline;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.55);
  padding: 72px 0 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.75;
  max-width: 280px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  padding: 24px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-disclaimer {
  font-style: italic;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    padding: 100px 32px 64px;
    min-height: auto;
    gap: 40px;
  }

  .hero-image {
    width: 100%;
  }

  .hero-image img {
    transform: none;
    max-width: 480px;
    margin: 0 auto;
  }

  .steps {
    flex-direction: column;
  }

  .step-arrow {
    transform: rotate(90deg);
    align-self: center;
  }

  .produto-container {
    flex-direction: column;
    gap: 48px;
  }

  .produto-images {
    justify-content: center;
  }

  .testimonials {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .footer-inner {
    flex-direction: column;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .container {
    padding: 0 20px;
  }

  .nav {
    padding: 14px 20px;
  }

  .nav-links {
    display: none;
  }

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

  .hero-sub {
    font-size: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .faq-container {
    max-width: 100%;
  }
}
