/* ==========================================================================
   DAN KOE AESTHETIC - TORN PAPER & HYPNOTIC DARK STYLESHEET
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-main: #050507;
  --bg-surface: #0c0c0f;
  --bg-surface-hover: #141419;
  --bg-card: #09090c;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.18);

  --text-primary: #f5f5f7;
  --text-secondary: #9a9a9e;
  --text-muted: #646469;
  
  --accent-white: #ffffff;
  --accent-green: #10b981;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Newsreader', Georgia, serif;

  /* Layout & Spacing */
  --container-max: 1120px;
  --container-narrow: 760px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* Smooth Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-morph: cubic-bezier(0.25, 1, 0.4, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.25s var(--ease-out);
  --transition-medium: 0.5s var(--ease-out);
}

/* ==========================================================================
   SCROLLBAR PERSONALIZADO DARK AESTHETIC (WEBKIT & FIREFOX)
   ========================================================================== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #050507;
}

::-webkit-scrollbar-thumb {
  background: #1e1e26;
  border-radius: 99px;
  border: 2px solid #050507;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #3d3d4e;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

/* Suporte para Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #1e1e26 #050507;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  background-color: var(--bg-main);
  position: relative;
}

/* BLOQUEIO TOTAL DE SELEÇÃO DE TEXTO E ARRASTO EM TODO O SITE */
body, h1, h2, h3, h4, p, span, a, li, blockquote, div, button, section, header, footer {
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
}

input, textarea {
  user-select: text !important;
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
}

img, .paper-artwork, .btn, .card-torn-hover {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: auto;
}

/* Canvas de Fundo Hipnótico */
#ambientCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

/* Conteúdo sobre o Canvas */
.site-header, .hero, .manifesto-section, .pillars-section, .why-price-section,
.reviews-section, .book-showcase, .faq-section, .final-cta, .site-footer, .torn-divider {
  position: relative;
  z-index: 1;
}

/* Divisores de Seção Estilo Papel Rasgado */
.torn-divider {
  width: 100%;
  height: 24px;
  background-color: rgba(255, 255, 255, 0.04);
  margin: 0;
  clip-path: polygon(
    0% 30%, 4% 80%, 12% 20%, 22% 90%, 35% 10%, 48% 85%, 60% 15%, 74% 95%, 88% 10%, 100% 70%,
    100% 100%, 0% 100%
  );
  opacity: 0.4;
}

.torn-divider.inverted {
  transform: rotate(180deg);
}

/* Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(35px) scale(0.97);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  will-change: opacity, transform;
}

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

/* Typography Helpers */
h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

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

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

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(5, 5, 7, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
  flex-wrap: nowrap;
}

.brand-logo {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.brand-logo:hover {
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.4rem 0.85rem;
  white-space: nowrap;
  display: inline-block;
  transition: all 0.35s var(--ease-morph);
  position: relative;
  border: 1px solid transparent;
}

.nav-links a:hover {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.15);
  clip-path: polygon(
    0% 4%, 8% 0%, 26% 3%, 45% 0%, 65% 2.5%, 85% 0%, 100% 4%,
    98.5% 30%, 100% 65%, 98.5% 95%,
    86% 100%, 68% 97.5%, 50% 100%, 32% 98%, 14% 100%, 0% 95%,
    1.5% 65%, 0% 30%
  );
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 0.5s var(--ease-morph), background-color 0.5s var(--ease-morph), box-shadow 0.5s var(--ease-morph);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.btn-large {
  padding: 1.1rem 2.2rem;
  font-size: 1.1rem;
}

.btn-primary {
  background-color: var(--accent-white);
  color: #000000;
  clip-path: polygon(
    0% 4%, 6% 0%, 24% 3%, 42% 0%, 60% 2.5%, 78% 0%, 92% 3%, 100% 0%,
    98.5% 30%, 100% 65%, 98.5% 95%,
    86% 100%, 68% 97.5%, 50% 100%, 32% 98%, 14% 100%, 0% 95%,
    1.5% 65%, 0% 30%
  );
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background-color: #f0f0f2;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.35);
}

.form-input {
  width: 100%;
  padding: 0.9rem 1.4rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  clip-path: polygon(
    0% 4%, 5% 0%, 20% 3%, 38% 0%, 55% 2%, 72% 0%, 88% 2.5%, 100% 0%,
    98.5% 25%, 100% 50%, 98.5% 75%, 100% 96%,
    85% 100%, 68% 97.5%, 50% 100%, 32% 98%, 15% 100%, 0% 96%,
    1.5% 75%, 0% 50%, 1.5% 25%
  );
  transition: transform 0.5s var(--ease-morph), border-color 0.5s var(--ease-morph), box-shadow 0.5s var(--ease-morph);
}

.form-input:focus {
  background-color: #121217;
  border-color: var(--text-primary);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.form-input::placeholder {
  color: var(--text-muted);
}

/* Hero Section */
.hero {
  padding-top: 150px;
  padding-bottom: 70px;
  position: relative;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  max-width: 900px;
}

.hero-title span {
  display: block;
  color: var(--text-secondary);
  background: linear-gradient(180deg, #FFFFFF 0%, #666666 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 2.25rem;
}

.hero-cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

/* Wrapper de Flutuação Levitate */
.levitate-wrapper {
  animation: floatLevitate 8s ease-in-out infinite;
  will-change: transform;
}

@keyframes floatLevitate {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Natural Organic Torn Paper Image Style */
.hero-image-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  perspective: 1200px;
}

.paper-artwork {
  position: relative;
  max-width: 920px;
  width: 100%;
  background-color: var(--bg-main);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.9));
  transition: transform 0.6s var(--ease-morph), filter 0.6s var(--ease-morph);
  transform-style: preserve-3d;
  will-change: transform;
}

.paper-artwork img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  clip-path: polygon(
    0% 2%, 3% 0%, 15% 1%, 28% 0%, 42% 1.5%, 57% 0.5%, 72% 1%, 88% 0%, 100% 2%,
    99% 18%, 100% 35%, 98.5% 52%, 100% 68%, 99% 84%, 100% 98%,
    87% 100%, 71% 99%, 56% 100%, 41% 98.5%, 26% 100%, 12% 99%, 0% 97%,
    1% 83%, 0% 66%, 1.5% 49%, 0% 32%, 1% 16%
  );
  filter: contrast(1.12) brightness(0.96);
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: transform 0.6s var(--ease-morph);
  will-change: transform;
}

.paper-artwork:hover {
  filter: drop-shadow(0 30px 60px rgba(255,255,255,0.12));
}

.paper-artwork:hover img {
  transform: scale(1.015);
}

/* Cover Paper Specific (Ebook Showcase) */
.paper-artwork.cover-paper {
  max-width: 340px;
  width: 100%;
  margin: 0 auto;
}

.paper-artwork.cover-paper img {
  aspect-ratio: 3/4;
  object-fit: cover;
  clip-path: polygon(
    2% 0%, 18% 1.5%, 34% 0%, 52% 1%, 68% 0%, 86% 1.5%, 100% 0%,
    98.5% 15%, 100% 32%, 99% 48%, 100% 64%, 98.5% 82%, 100% 100%,
    84% 98.5%, 66% 100%, 48% 99%, 32% 100%, 16% 98.5%, 0% 100%,
    1% 84%, 0% 68%, 1.5% 50%, 0% 34%, 1% 18%
  );
}

/* Estétika Hover dos Cards */
.card-torn-hover {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);

  clip-path: polygon(
    0% 0%, 4% 0%, 18% 0%, 32% 0%, 46% 0%, 62% 0%, 78% 0%, 92% 0%, 100% 0%,
    100% 18%, 100% 36%, 100% 54%, 100% 72%, 100% 88%, 100% 100%,
    86% 100%, 70% 100%, 54% 100%, 38% 100%, 22% 100%, 8% 100%, 0% 100%,
    0% 82%, 0% 64%, 0% 46%, 0% 28%, 0% 14%
  );

  transition: clip-path 0.75s var(--ease-morph), 
              transform 0.75s var(--ease-morph), 
              background-color 0.75s var(--ease-morph), 
              border-color 0.75s var(--ease-morph), 
              box-shadow 0.75s var(--ease-morph);
  position: relative;
  will-change: transform, clip-path, background-color;
}

.card-torn-hover:hover {
  background-color: #121217;
  border-color: var(--border-strong);
  
  clip-path: polygon(
    0% 2%, 4% 0%, 18% 1.5%, 32% 0%, 46% 1.2%, 62% 0%, 78% 1.5%, 92% 0%, 100% 2%,
    98.5% 18%, 100% 36%, 98.8% 54%, 100% 72%, 98.5% 88%, 100% 98%,
    86% 100%, 70% 98.5%, 54% 100%, 38% 98.8%, 22% 100%, 8% 98.5%, 0% 97%,
    1.2% 82%, 0% 64%, 1.5% 46%, 0% 28%, 1.2% 14%
  );
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.95), 0 0 15px rgba(255, 255, 255, 0.03);
  transform: translateY(-5px);

  transition: clip-path 0.5s var(--ease-morph), 
              transform 0.5s var(--ease-morph), 
              background-color 0.5s var(--ease-morph), 
              border-color 0.5s var(--ease-morph), 
              box-shadow 0.5s var(--ease-morph);
}

/* Manifesto Section */
.manifesto-section {
  padding: 90px 0;
  background: var(--bg-card);
}

.manifesto-card {
  padding: clamp(2rem, 5vw, 3.5rem);
}

.author-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1c1c21;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--accent-white);
}

.author-info .name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1rem;
}

.author-info .handle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.manifesto-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #d1d1d6;
}

.manifesto-text p.quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--text-primary);
  line-height: 1.5;
  border-left: 2px solid var(--accent-white);
  padding-left: 1.25rem;
  margin: 2rem 0;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Pillars Section */
.pillars-section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.pillar-card {
  padding: 2rem;
}

.pillar-num {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.pillar-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.pillar-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Section: Por que R$ 9,97? */
.why-price-section {
  padding: 80px 0;
}

.why-price-card {
  padding: 2.5rem;
}

.why-price-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.why-price-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.why-price-list li {
  font-size: 1rem;
  color: #d1d1d6;
  line-height: 1.6;
}

/* Reviews Section */
.reviews-section {
  padding: 90px 0;
  background-color: var(--bg-card);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.review-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1e1e24;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.user-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.user-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.2;
}

.user-handle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.verified-tag {
  color: #1d9bf0;
  font-size: 0.9rem;
  font-weight: bold;
}

.review-text {
  font-size: 0.95rem;
  color: #d1d1d6;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.review-time {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Book Showcase & Oferta Card */
.book-showcase {
  padding: 100px 0;
}

.showcase-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 868px) {
  .showcase-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.offer-box {
  padding: 2.5rem;
}

.offer-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.strikethrough-price {
  font-size: 1.1rem;
  text-decoration: line-through;
  color: var(--text-muted);
}

.discount-badge {
  background: var(--accent-white);
  color: #000;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  clip-path: polygon(0% 0%, 100% 0%, 95% 100%, 0% 100%);
}

.main-price-display {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 1.5rem;
}

.main-price-display .currency {
  font-size: 1.5rem;
  font-weight: 800;
}

.main-price-display .price-value {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--accent-white);
}

.main-price-display .payment-terms {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
}

/* Feature List */
.feature-list {
  list-style: none;
  margin: 1.5rem 0 2rem 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-white);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* FAQ Section */
.faq-section {
  padding: 90px 0;
}

.faq-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-card {
  padding: 1.75rem 2rem;
}

.faq-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.faq-body {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Final CTA Section */
.final-cta {
  padding: 100px 0;
  text-align: center;
}

.cta-box {
  padding: clamp(2.5rem, 5vw, 4rem) 2rem;
  max-width: 780px;
  margin: 0 auto;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* CHECKOUT MODAL SIMULADO EM PAPEL RASGADO */
.checkout-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.checkout-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.checkout-modal-box {
  width: 90%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.75rem 2.25rem;
  position: relative;
  background-color: #0e0e13;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.95);
}

/* Scrollbar estilizada dentro do modal */
.checkout-modal-box::-webkit-scrollbar {
  width: 6px;
}
.checkout-modal-box::-webkit-scrollbar-track {
  background: transparent;
}
.checkout-modal-box::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.close-modal {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.2s ease;
  z-index: 10;
}

.close-modal:hover {
  color: var(--text-primary);
}

.checkout-modal-header {
  margin-bottom: 1.5rem;
}

.checkout-modal-header h3 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.checkout-modal-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.checkout-price-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  border-radius: 8px;
}

.checkout-price-summary .total-val {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-white);
}

.form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

/* Container do Payment Brick do Mercado Pago */
#paymentBrick_container {
  border-radius: 8px;
  overflow: hidden;
}

/* Spinner de loading */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: #c8a962;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* FAQ Accordion Styles */
.faq-accordion-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-accordion-item:hover {
  border-color: var(--border-strong);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
}

.faq-question:hover {
  color: #c8a962;
}

.faq-arrow {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: transform 0.3s ease, color 0.3s ease;
}

.faq-accordion-item.active .faq-arrow {
  transform: rotate(180deg);
  color: #c8a962;
}

/* Transição perfeita com CSS Grid sem bugs de cálculo de altura */
.faq-answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-accordion-item.active .faq-answer-wrapper {
  grid-template-rows: 1fr;
}

.faq-answer-content {
  overflow: hidden;
}

.faq-answer-content p {
  padding: 0 1.5rem 1.25rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Toast Feedback */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--accent-white);
  color: #000;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 35px rgba(255, 255, 255, 0.2);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s var(--ease-spring);
  z-index: 2000;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVIDADE COMPLETA — MOBILE, TABLET & LAPTOP PEQUENO
   ========================================================================== */

/* ---- Hamburger Menu Toggle (só aparece em telas pequenas) ---- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all 0.35s var(--ease-morph);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- LAPTOP PEQUENO (≤1024px) ---- */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.25rem;
  }

  .nav-links a {
    font-size: 0.82rem;
    padding: 0.35rem 0.65rem;
  }

  .brand-logo {
    font-size: 0.85rem;
  }

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

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

  .showcase-wrapper {
    gap: 2.5rem;
  }
}

/* ---- TABLET (≤868px) ---- */
@media (max-width: 868px) {
  .showcase-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .book-mockup-wrapper {
    order: -1;
  }

  .paper-artwork.cover-paper {
    max-width: 280px;
  }

  .hero {
    padding-top: 120px;
    padding-bottom: 50px;
  }

  .manifesto-section,
  .reviews-section {
    padding: 70px 0;
  }

  .pillars-section {
    padding: 80px 0;
  }

  .book-showcase {
    padding: 80px 0;
  }

  .faq-section {
    padding: 70px 0;
  }

  .why-price-section {
    padding: 60px 0;
  }

  .final-cta {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }
}

/* ---- MOBILE (≤640px) ---- */
@media (max-width: 640px) {
  /* Mobile Nav com Hamburger */
  .hamburger {
    display: flex;
  }

  .nav-wrapper {
    flex-wrap: wrap;
    height: auto;
    min-height: 60px;
    padding: 0.65rem 0;
    position: relative;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
    order: 3;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-links a:hover {
    clip-path: none;
    transform: none;
    box-shadow: none;
    background-color: rgba(255, 255, 255, 0.06);
  }

  .nav-wrapper > .btn {
    display: none;
  }

  .brand-logo {
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    max-width: 65%;
    white-space: normal;
    line-height: 1.2;
  }

  /* Hero Mobile */
  .hero {
    padding-top: 100px;
    padding-bottom: 40px;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(1.85rem, 7vw, 2.5rem);
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }

  .hero-cta-wrapper {
    align-items: center;
    margin-bottom: 2.5rem;
  }

  .btn-large {
    padding: 0.95rem 1.6rem;
    font-size: 0.95rem;
    width: 100%;
    max-width: 360px;
  }

  /* Imagem Hero Mobile */
  .hero-image-wrapper {
    margin-top: 0;
  }

  .paper-artwork {
    max-width: 100%;
  }

  /* Levitação mais sutil no mobile */
  .levitate-wrapper {
    animation: floatLevitateMobile 8s ease-in-out infinite;
  }

  @keyframes floatLevitateMobile {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
  }

  /* Manifesto Mobile */
  .manifesto-section,
  .reviews-section {
    padding: 50px 0;
  }

  .manifesto-card {
    padding: 1.5rem;
  }

  .manifesto-text p {
    font-size: 1rem;
  }

  .manifesto-text p.quote {
    font-size: 1.15rem;
    padding-left: 1rem;
  }

  .author-avatar {
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
  }

  /* Pilares Grid Mobile */
  .pillars-section {
    padding: 60px 0;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pillar-card {
    padding: 1.5rem;
  }

  .pillar-card h3 {
    font-size: 1.1rem;
  }

  /* Avaliações Grid Mobile */
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .review-card {
    padding: 1.25rem;
  }

  /* Showcase Oferta Mobile */
  .book-showcase {
    padding: 60px 0;
  }

  .paper-artwork.cover-paper {
    max-width: 220px;
  }

  .offer-box {
    padding: 1.5rem;
  }

  .main-price-display .price-value {
    font-size: 2.8rem;
  }

  .main-price-display .currency {
    font-size: 1.2rem;
  }

  .main-price-display .payment-terms {
    font-size: 0.8rem;
    margin-left: 0.25rem;
  }

  /* Por que R$ 9,97 Mobile */
  .why-price-section {
    padding: 50px 0;
  }

  .why-price-card {
    padding: 1.5rem;
  }

  .why-price-card h3 {
    font-size: 1.2rem;
  }

  /* FAQ Mobile */
  .faq-section {
    padding: 50px 0;
  }

  .faq-card {
    padding: 1.25rem 1.5rem;
  }

  .faq-title {
    font-size: 1rem;
  }

  /* CTA Final Mobile */
  .final-cta {
    padding: 60px 0;
  }

  .cta-box {
    padding: 2rem 1.5rem;
  }

  .cta-box h2 {
    font-size: 1.5rem;
  }

  /* Section Headers Mobile */
  .section-header {
    margin-bottom: 2rem;
  }

  .section-header h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  /* Dividers Mobile */
  .torn-divider {
    height: 16px;
  }

  /* Checkout Modal Mobile */
  .checkout-modal-box {
    width: 95%;
    padding: 2rem 1.5rem;
    max-height: 90vh;
    overflow-y: auto;
  }

  .checkout-modal-header h3 {
    font-size: 1.2rem;
  }

  .payment-method-tabs {
    flex-direction: column;
    gap: 0.5rem;
  }

  .pay-option {
    padding: 0.85rem;
    font-size: 0.9rem;
  }

  /* Toast Mobile */
  .toast {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    text-align: center;
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
  }

  /* Footer Mobile */
  .site-footer {
    padding: 2rem 0;
    font-size: 0.78rem;
  }
}

/* ---- MOBILE SMALL (≤400px) ---- */
@media (max-width: 400px) {
  html {
    font-size: 14px;
  }

  .container,
  .container-narrow {
    padding: 0 1rem;
  }

  .hero {
    padding-top: 90px;
    padding-bottom: 30px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 0.92rem;
  }

  .btn-large {
    padding: 0.85rem 1.2rem;
    font-size: 0.88rem;
  }

  .manifesto-card {
    padding: 1.25rem;
  }

  .manifesto-text p.quote {
    font-size: 1.05rem;
  }

  .pillar-card {
    padding: 1.25rem;
  }

  .offer-box {
    padding: 1.25rem;
  }

  .main-price-display .price-value {
    font-size: 2.3rem;
  }

  .checkout-modal-box {
    padding: 1.5rem 1.25rem;
  }

  .paper-artwork.cover-paper {
    max-width: 180px;
  }

  .cta-box h2 {
    font-size: 1.3rem;
  }
}

/* ---- Desabilita hover effects em telas touch ---- */
@media (hover: none) and (pointer: coarse) {
  .card-torn-hover:hover {
    clip-path: polygon(
      0% 0%, 4% 0%, 18% 0%, 32% 0%, 46% 0%, 62% 0%, 78% 0%, 92% 0%, 100% 0%,
      100% 18%, 100% 36%, 100% 54%, 100% 72%, 100% 88%, 100% 100%,
      86% 100%, 70% 100%, 54% 100%, 38% 100%, 22% 100%, 8% 100%, 0% 100%,
      0% 82%, 0% 64%, 0% 46%, 0% 28%, 0% 14%
    );
    transform: none;
    box-shadow: none;
    background-color: var(--bg-surface);
    border-color: var(--border-subtle);
  }

  .paper-artwork:hover {
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.9));
  }

  .paper-artwork:hover img {
    transform: none;
  }

  .nav-links a:hover {
    clip-path: none;
    transform: none;
    box-shadow: none;
  }

  .btn-primary:hover {
    transform: none;
  }
}

/* Botão de Suporte no Footer */
.footer-support-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25 ease;
  margin-top: 0.25rem;
}

.footer-support-btn:hover {
  color: #c8a962;
  border-color: rgba(200, 169, 98, 0.4);
  background: rgba(200, 169, 98, 0.08);
}
