/* Black Friday Mobile-Native: 100% nítido, sem backdrop-blur, animação GPU via transform: scaleX */
#carousel-track,
#carousel-basic-track,
.carousel-card {
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.carousel-card {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.bf-card-price {
  background-color: #ffffff !important;
  -webkit-font-smoothing: antialiased;
  border-radius: 1rem;
  padding: 10px 14px;
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.22), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.bf-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 9999px;
  background: #ffffff !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  white-space: nowrap;
}
.bf-badge-black { color: #000000 !important; }
.bf-badge-promo,
.bf-badge-friday { color: #dc2626 !important; }

.bf-price-old {
  position: relative;
  display: inline-block;
  color: #64748b !important;
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
}
.bf-price-prefix {
  font-size: .8rem;
  font-weight: 700;
  color: #475569 !important;
  text-transform: uppercase;
}

/* Animação contínua (infinite) do risco e selo Black Friday via GPU */
.bf-badge {
  animation: bfBadgePulse 2.2s ease-in-out infinite;
}

.bf-price-old::after {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  top: 52%;
  height: 2.5px;
  background: #dc2626;
  border-radius: 2px;
  transform-origin: left center;
  transform: rotate(-5deg) scaleX(0);
  pointer-events: none;
}

.bf-price-visible .bf-price-old::after,
#modal-container:not(.opacity-0) .bf-price-old::after {
  animation: bfStrikeLoop 2.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes bfStrikeLoop {
  0%, 8% {
    transform: rotate(-5deg) scaleX(0);
    opacity: 1;
  }
  35%, 78% {
    transform: rotate(-5deg) scaleX(1);
    opacity: 1;
  }
  92%, 100% {
    transform: rotate(-5deg) scaleX(1);
    opacity: 0;
  }
}

@keyframes bfBadgePulse {
  0%, 100% {
    transform: scale(1);
  }
  35%, 50% {
    transform: scale(1.04);
  }
}

/* Atturismo: verde da marca, areia e ouro. Somente cores; movimento e geometria preservados. */
:root {
  color-scheme: light;
  --att-paper: #f8f5ed;
  --att-soft: #efeade;
  --att-card: #fffdf8;
  --att-ink: #203c36;
  --att-copy: #4d6058;
  --att-muted: #627168;
  --att-line: #d9dfd3;
  --att-brand: #00695c;
  --att-link: #00695c;
  --att-gold: #d7b65e;
  --att-gold-ink: #785917;
  --att-tint: #e7eee5;
}
html.dark {
  color-scheme: dark;
  --att-paper: #101e1b;
  --att-soft: #152823;
  --att-card: #1d322c;
  --att-ink: #f5f1e6;
  --att-copy: #c6d1c8;
  --att-muted: #a1b4a7;
  --att-line: #3b5147;
  --att-link: #a6cfbb;
  --att-gold-ink: #e5c985;
  --att-tint: #263e33;
}
html body,
html body .bg-white,
html body .att-galeria-wrapper,
html body #pacotes,
html body #faq { background-color: var(--att-paper) !important; }
html body .bg-gray-50 { background-color: var(--att-soft) !important; }
html body .text-gray-900,
html body .text-gray-800 { color: var(--att-ink) !important; }
html body .text-gray-700,
html body .text-gray-600 { color: var(--att-copy) !important; }
html body .text-gray-500,
html body .text-gray-400 { color: var(--att-muted) !important; }
html body .border-gray-50,
html body .border-gray-100,
html body .border-gray-200 { border-color: var(--att-line) !important; }
html body .wave-divider { color: var(--att-paper) !important; }
html body #testimonials-grid > a,
html body .inline-flex.items-center.gap-3.bg-white,
html body button.bg-white.shadow-md,
html body #modal-body,
html body #modal-body .bg-white,
html body #lead-modal-body { background-color: var(--att-card) !important; }
html body #testimonials-grid > a,
html body .inline-flex.items-center.gap-3.bg-white,
html body button.bg-white.shadow-md,
html body #accordion-container,
html body #accordion-container > div { border-color: var(--att-line) !important; }
html body .text-teal-600,
html body .text-teal-700,
html body .text-teal-800,
html body #carousel-duration,
html body #carousel-basic-duration,
html body #lead-modal-title,
html body #faq-left-col a { color: var(--att-link) !important; }
html body #carousel-title,
html body #carousel-basic-title,
html body .faq-question-text { color: var(--att-ink) !important; }
html body #carousel-desc,
html body #carousel-basic-desc,
html body .faq-answer-text,
html body #lead-modal-subtitle,
html body .lead-label { color: var(--att-copy) !important; }
html body .accordion-trigger:hover .faq-question-text { color: var(--att-link) !important; }
html body .chevron-icon { color: var(--att-muted) !important; }
html body #carousel-btn,
html body #carousel-basic-btn { background-color: var(--att-brand) !important; color: #fffdf8 !important; }
html body #carousel-btn:hover,
html body #carousel-basic-btn:hover { background-color: #004d40 !important; }
html body #pacotes .inline-flex.items-center {
  background-color: var(--att-soft) !important;
  border-color: var(--att-gold) !important;
}
html body #pacotes .inline-flex.items-center span,
html body #pacotes .inline-flex.items-center i { color: var(--att-gold-ink) !important; }
html body #pacotes-basicos .inline-flex.items-center {
  background-color: var(--att-tint) !important;
  border-color: var(--att-line) !important;
}
html body #pacotes-basicos .inline-flex.items-center span { color: var(--att-link) !important; }
html body #testimonials-grid .text-yellow-400,
html body .inline-flex.items-center.gap-3.bg-white .text-yellow-400 { color: #a8791c !important; }
html.dark body #testimonials-grid .text-yellow-400,
html.dark body .inline-flex.items-center.gap-3.bg-white .text-yellow-400 { color: var(--att-gold) !important; }
html body .inline-flex.items-center.gap-3.bg-white a.text-blue-600 { color: var(--att-link) !important; }
/* As molduras continuam brancas em ambos os temas, como na identidade existente. */
html body .polaroid { background: #ffffff !important; }
html body .polaroid-caption { color: #40584e !important; }
html body .polaroid-caption .text-teal-500 { color: #00695c !important; }
html body .lead-input { background-color: var(--att-paper) !important; color: var(--att-ink) !important; border-color: var(--att-line) !important; }
html body .lead-input::placeholder { color: var(--att-muted); }
html body .lead-input:focus { background-color: var(--att-card) !important; border-color: var(--att-link) !important; }
html body .theme-toggle { background-color: var(--att-card); color: var(--att-gold-ink); border-color: var(--att-line); }
html.dark body .theme-toggle:hover { background-color: var(--att-soft); }
html.dark body #site-global-bg > div:last-child { background: #101e1b !important; }
html.dark body #carousel-bg + div { background: rgba(16, 30, 27, .75) !important; }
html body footer { background-color: #084b40 !important; }
html body footer .text-teal-100,
html body footer .text-teal-200 { color: #d7e3d2; }
html body ::selection { background-color: #e5c985 !important; color: #203c36 !important; }

/* Identifica??o Premium: acabamento discreto e leitura sobre a fotografia. */
.att-premium-label {
    background: #004d40;
    color: #fff8e8;
    border: 1px solid #bda268;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.att-premium-label-rule {
    width: 18px;
    height: 1px;
    flex-shrink: 0;
    background: #dcc38d;
}

/* Mantém o selo Premium na paleta da marca também no modo escuro. */
html.dark body #pacotes .att-premium-label.inline-flex.items-center {
    background-color: var(--att-soft) !important;
    border-color: var(--att-gold) !important;
    color: var(--att-gold-ink) !important;
}
html.dark body #pacotes .att-premium-label.inline-flex.items-center span {
    color: var(--att-gold-ink) !important;
}
html.dark body #pacotes .att-premium-label-rule {
    background-color: var(--att-gold);
}

/* Proposta sutil: mesma familia de fundos, sem faixas contrastantes. */
:root {
    --att-premium-surface: #f2eee4;

}
html.dark {
    --att-premium-surface: #14241f;

}
html body #pacotes {
    background-color: var(--att-premium-surface) !important;

}
html body #pacotes-basicos {
    background-color: var(--att-paper) !important;

}
