::-moz-selection {
  color: #fff;
  background: #9FBE5A;
}
::selection {
  color: #fff;
  background: #9FBE5A;
}
:root{ --accent:#b10023; --gold:#DCC080; --pepper:#ffc4bc; --bg:#000; }
*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; font-family: 'Roboto Slab';}
html{ color:#000; background:url('../img/Pimentario-bg.jpg') repeat fixed; font-family:Arial, Helvetica, sans-serif; font-size:20px; }
body{ margin-top:72px;}
.langbar{ position:fixed; top:0; left:0; right:0; display:flex; gap:8px; align-items:center; justify-content:center; background:#fff; border-bottom:1px solid #eee; min-height:52px; z-index:999; padding:8px 12px; font-size:14px; }
.langbar .links{ display:flex; gap:15px; align-items:center; }
.langbar .links a{ position:relative; display:flex; align-items:center; justify-content:center; text-decoration:none; padding:0; border:none; transition:all 0.3s ease; width:32px; height:32px; }
.langbar .links a img{ width:42px; height:42px; object-fit:cover; border-radius:50%; display:block; transition:all 0.3s ease; box-shadow:0 2px 4px rgba(0,0,0,0.1); opacity:1; border:3px solid #fff; padding:4px; }
.langbar .links a:hover{ transform:scale(1.1); }
.langbar .links a:hover img{ box-shadow:0 4px 8px rgba(0,0,0,0.2); }
.langbar .links a.active{ box-shadow:none; }
.langbar .links a.active img{ box-shadow:0 2px 6px rgba(0,0,0,0.3); border:3px solid #000; }
/* Tooltip - aparece abaixo */
.langbar .links a::after{ content:attr(data-tooltip); position:absolute; top:calc(100% + 14px); left:50%; transform:translateX(-50%) translateY(4px); background:#111; color:#fff; padding:6px 12px; border-radius:6px; font-size:12px; white-space:nowrap; opacity:0; pointer-events:none; transition:all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); z-index:1000; font-weight:500; box-shadow:0 4px 12px rgba(0,0,0,0.25); }
.langbar .links a::before{ content:''; position:absolute; top:calc(100% + 6px); left:50%; transform:translateX(-50%); border:5px solid transparent; border-bottom-color:#111; opacity:0; pointer-events:none; transition:all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); z-index:1000; }
.langbar .links a:hover::after{ opacity:1; transform:translateX(-50%) translateY(0); }
.langbar .links a:hover::before{ opacity:1; }
.langbar .share-btn{ position:absolute; right:12px; top:50%; transform:translateY(-50%); display:flex; align-items:center; justify-content:center; height:100%; padding:0; background:transparent; border:none; text-decoration:none; }
.langbar .share-btn img{ height:28px; width:auto; object-fit:contain; display:block; }
.container{ max-width:640px; text-align:center; padding:20px; margin:0 auto; }
h1{ color:#fff; font-size:22px; margin:18px 0 32px; }
.container > h1:first-of-type {
  font-size: 34px;
  width: 480px;
  text-align: center;
  margin: 18px auto 32px;
}
h3{ color:var(--pepper); text-align:center; font-weight:300; max-width: 480px; margin: 0 auto; margin-top: 20px; font-size: 1.5em;}
h2{ color:var(--gold); margin-top:40px; font-weight:600; font-size:18px; text-align:left; }
.highlight { font-weight: 700; background-color: #b10023; color: #ffb335; }
strong{ color:#fff; font-weight:600; background-color:var(--accent); padding:0 2px; }
.button-wrapper{ position:relative; display:inline-block; margin-top:50px; animation: musicShake 2s infinite; }
.book-preview-container + .button-wrapper{ margin-top:50px; }
.button-wrapper:hover{ animation-play-state: paused; }
/* Botão continua dançando mesmo quando o bell aparece - removido a pausa */
.button{ width:280px; height:auto; transition:transform .2s ease, filter .2s ease, box-shadow .2s ease; display:block; border-radius: 50px; box-shadow: 0 0 20px rgba(255, 0, 0, 0.8), 0 0 40px rgba(255, 0, 0, 0.6), 0 0 60px rgba(255, 0, 0, 0.4); }
.button-wrapper:hover .button{ transform:scale(1.08); filter:brightness(1.07); box-shadow: 0 0 25px rgba(255, 0, 0, 1), 0 0 50px rgba(255, 0, 0, 0.8), 0 0 75px rgba(255, 0, 0, 0.6); }

/* Buy Tooltip Left - Aparece primeiro */
.button-wrapper {
  position: relative;
}

.buy-tooltip-bell {
  position: absolute;
  top: -40px;
  right: 0px;
  width: 60px;
  height: auto;
  opacity: 0;
  transform: translateY(20px) rotate(-8deg) scale(0.8);
  pointer-events: none;
  z-index: 1000;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: none !important; /* Não herda a animação do botão */
  display: block;
}

/* Animação de salto quando o botão entra na viewport - mesma do tooltip direito mas invertida */
@keyframes tooltipBellBounce {
  0% {
    transform: translateY(25px) rotate(12deg) scale(0.7);
    opacity: 0;
  }
  40% {
    transform: translateY(-10px) rotate(-10deg) scale(1.08);
    opacity: 0.9;
  }
  70% {
    transform: translateY(2px) rotate(-3deg) scale(0.98);
    opacity: 1;
  }
  100% {
    transform: translateY(0) rotate(-5deg) scale(1);
    opacity: 1;
  }
}

/* Animação de dança para o bell quando aparecer */
@keyframes bellDance {
  0%, 100% {
    transform: translateY(0) rotate(-5deg) scale(1);
  }
  25% {
    transform: translateY(-3px) rotate(-8deg) scale(1.05);
  }
  50% {
    transform: translateY(0) rotate(-2deg) scale(1);
  }
  75% {
    transform: translateY(-2px) rotate(-7deg) scale(1.03);
  }
}

/* Removido tooltipLeftArrowBounce - não é mais necessário */

.buy-tooltip-bell.bounce-animation {
  opacity: 1 !important;
  animation: tooltipBellBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s, bellDance 2s ease-in-out infinite 0.7s;
  animation-fill-mode: both;
}

/* Removido ::after pois agora é uma imagem, não precisa de seta */

/* Buy Ribbon Animation - Tooltip direito (aparece no hover) */
.button-wrapper::before {
  content: attr(data-ribbon);
  position: absolute;
  top: -50px;
  right: -20px;
  background: #fff;
  color: #000;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(20px) rotate(-8deg) scale(0.8);
  pointer-events: none;
  z-index: 1001;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.button-wrapper::after {
  content: '';
  position: absolute;
  top: -12px;
  right: 80px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #fff;
  opacity: 0;
  transform: translateY(10px) rotate(-8deg);
  pointer-events: none;
  z-index: 1002;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* No hover: esconde tooltip bell girando para a direita e mostra direito */
.button-wrapper:hover .buy-tooltip-bell {
  opacity: 0 !important;
  transform: translateY(20px) rotate(8deg) scale(0.8) !important;
  animation: none !important;
}

/* Removido hover da seta pois agora é uma imagem */

.button-wrapper:hover::before {
  opacity: 1;
  transform: translateY(0) rotate(5deg) scale(1);
  animation: ribbonBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s;
}

.button-wrapper:hover::after {
  opacity: 1;
  transform: translateY(0) rotate(5deg);
  animation: arrowBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s;
}

@keyframes ribbonBounce {
  0% {
    transform: translateY(25px) rotate(-12deg) scale(0.7);
    opacity: 0;
  }
  40% {
    transform: translateY(-10px) rotate(10deg) scale(1.08);
    opacity: 0.9;
  }
  70% {
    transform: translateY(2px) rotate(3deg) scale(0.98);
    opacity: 1;
  }
  100% {
    transform: translateY(0) rotate(5deg) scale(1);
    opacity: 1;
  }
}

@keyframes arrowBounce {
  0% {
    transform: translateY(12px) rotate(-12deg);
    opacity: 0;
  }
  40% {
    transform: translateY(-6px) rotate(10deg);
    opacity: 0.9;
  }
  70% {
    transform: translateY(1px) rotate(3deg);
    opacity: 1;
  }
  100% {
    transform: translateY(0) rotate(5deg);
    opacity: 1;
  }
}

@keyframes musicShake {
  0% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
  5% {
    transform: translateX(-2px) translateY(1px) rotate(-1deg);
  }
  10% {
    transform: translateX(2px) translateY(-1px) rotate(1deg);
  }
  15% {
    transform: translateX(-1px) translateY(0) rotate(-0.5deg);
  }
  20% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
  25% {
    transform: translateX(3px) translateY(-2px) rotate(1.5deg);
  }
  30% {
    transform: translateX(-3px) translateY(2px) rotate(-1.5deg);
  }
  35% {
    transform: translateX(1px) translateY(-1px) rotate(0.8deg);
  }
  40% {
    transform: translateX(-2px) translateY(1px) rotate(-0.8deg);
  }
  45% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
  50% {
    transform: translateX(-1px) translateY(-1px) rotate(-0.5deg);
  }
  55% {
    transform: translateX(2px) translateY(2px) rotate(1deg);
  }
  60% {
    transform: translateX(-2px) translateY(-1px) rotate(-1.2deg);
  }
  65% {
    transform: translateX(1px) translateY(1px) rotate(0.6deg);
  }
  70% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
  75% {
    transform: translateX(2px) translateY(-2px) rotate(1.2deg);
  }
  80% {
    transform: translateX(-3px) translateY(1px) rotate(-1.5deg);
  }
  85% {
    transform: translateX(1px) translateY(-1px) rotate(0.7deg);
  }
  90% {
    transform: translateX(-1px) translateY(1px) rotate(-0.7deg);
  }
  95% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
  100% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
}
.floating-share{ position:fixed; bottom:20px; right:20px; width:60px; height:60px; display:flex; align-items:center; justify-content:center; text-decoration:none; transition:all .3s ease; z-index:1000; background:rgba(255,255,255,.9); border-radius:50%; border:1px solid #eee; }
.floating-share:hover{ transform:scale(1.1); }
.floating-share:active{ transform:scale(.95); }
.highlight{ font-weight:700; background-color:var(--accent); color:#ffb335; }
.logo-swap-img{ transition:transform 120ms ease; display:inline-block; }
.logo-swap-img:hover{ transform:scale(1.03); }
.faq{ text-align:left; margin:32px auto; max-width:640px; margin-bottom: 80px;}
.faq details{ background:#fff; border:1px solid #eee; border-radius:8px; padding:12px 14px; margin:10px 0; font-size:18px; }
.faq summary{ cursor:pointer; font-weight:600; color:#ab0005; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { display: none; }
.faq summary::before {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  display: inline-block;
  margin-right: 8px;
  font-size: 12px;
  transition: transform 0.3s ease;
  vertical-align: middle;
}
.faq details[open] summary::before {
  transform: rotate(180deg);
}
.faq p{ color:#444; margin:8px 0 0; text-align: justify;}

.strong-bg {
  font-weight: 700;
  color: #4a0101;
  padding: 0 2px;
  border-radius: 2px;
  background-color: beige;
}

.strong-nobg {
  font-weight: 700;
  color: #4a0101;
  padding: 0 2px;
  border-radius: 2px;
}

.smart-book-section {
  max-width: 640px;
  margin: 60px auto;
}

.smart-book-title {
  color: #fff;
  font-size: 22px;
  margin: 0 0 24px 0;
  text-align: center;
}

.smart-book-box {
  background: #ffb335;
  padding: 23px 26px;
  border-radius: 8px;
  position: relative;
  overflow: visible;
}

.smart-book-ribbon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) translateX(-50%) rotate(-90deg);
  transform-origin: center;
  background: #000;
  color: #fff;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  letter-spacing: 1.5px;
  line-height: 1;
}

.smart-book-content {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.smart-book-left {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.smart-book-icon {
  width: 120px;
  height: 120px;
  background: #4a4a4a;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
}

.smart-book-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.smart-book-badge {
  font-size: 14px;
  font-weight: 600;
  color: #4a4a4a;
  margin: 0;
  text-align: center;
}

.smart-book-right {
  flex: 1;
}

.smart-book-right p {
  color: #444;
  font-size: 24px;
  line-height: 1.2;
  margin: 0;
  text-align: left;
}

.bestfor {
  text-align: center;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cloud-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    width: 380px;
    margin: 0 auto;
    opacity: .95;
}

.cloud-tags .tag {
    font-size: 18px;
    font-weight: 400;
    background: rgba(0, 0, 0, .25);
    color: #ffd85a;
    border-radius: 9999px;
    padding: 6px 10px;
    line-height: 1;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.site-footer{
  position: static;
  left: 0; right: 0; bottom: 0;
  background: #000; color: #fff;
  text-align: center;
  font-size: 14px;
  padding: 12px 14px;
  margin: 0;
  z-index: 1000;
  margin-top: 50px;
}

#contactUsLink {
  color: rgb(255 179 53);
  font-size: 18px;
  text-decoration: underline;
  transition: color 0.3s ease;
}

#contactUsLink:hover {
  color: #fff;
}

@media (prefers-reduced-motion:reduce){ .logo-swap-img{ transition:none; } }

@media (max-width: 480px) {
  .container > h1:first-of-type {
    font-size: 26px;
    width: 360px;
  }
  h3 {
    font-size: 1.1em;
    padding: 10px;
  }
  .faq { 
    max-width: 400px;
  }
  .smart-book-section {
    margin: 60px 20px;
  }
  .smart-book-box {
    padding: 24px 16px;
  }
  .smart-book-ribbon {
    padding: 8px 16px;
    font-size: 16px;
    top: 70px;
    transform: translateX(-50%) rotate(-90deg);
  }
  .smart-book-content {
    flex-direction: column;
    gap: 20px;
  }
  .smart-book-left {
    align-self: center;
  }
  .smart-book-right p {
    text-align: center;
  }
  .bestfor {
    padding: 0 20px;
    width: 100%;
  }
  .bestfor h1 {
    width: 100%;
    text-align: center;
  }
  .cloud-tags {
    max-width: 100%;
    padding: 0 10px;
    justify-content: center;
  }
  .cloud-tags .tag{
    font-size: 16px;
  }
  .buy-tooltip-bell {
    top: -40px;
    right: 0px;
    width: 50px;
  }
  .button-wrapper::before {
    font-size: 12px;
    padding: 6px 12px;
    top: -45px;
    right: -10px;
  }
  .button-wrapper::after {
    top: -10px;
    right: 50px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid #fff;
  }
}
