/* Audiocosta — Light premium custom CSS · paleta #FBB33C */

html { color-scheme: light; }
body { font-feature-settings: 'ss01','cv11'; }

/* Scrollbar customizada com cores da marca */
* {
  scrollbar-width: thin;
  scrollbar-color: #FBB33C #FFF8EB;
}
*::-webkit-scrollbar { width: 12px; height: 12px; }
*::-webkit-scrollbar-track { background: #FFF8EB; }
*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #FBB33C 0%, #ED9C1C 100%);
  border: 3px solid #FFF8EB;
  border-radius: 999px;
}
*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ED9C1C 0%, #C97D14 100%);
}
*::-webkit-scrollbar-corner { background: #FFF8EB; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
.reveal.delay-4 { transition-delay: .32s; }

/* Subtle grids */
.bg-grid {
  background-image:
    linear-gradient(rgba(15,23,42,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}
.bg-grid-dark {
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}

/* Aurora glow blob */
.aurora-blob { position: absolute; inset: auto; pointer-events: none; filter: blur(80px); opacity: .55; }

.glass {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(15,23,42,.08);
  backdrop-filter: saturate(140%) blur(10px);
}

/* Step numbers visíveis com gradiente da marca */
.step-num {
  background: linear-gradient(135deg, #FBB33C 0%, #C97D14 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  display: inline-block;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Outline number opcional (mantido pra herdadas) */
.outline-num {
  -webkit-text-stroke: 2px rgba(251,179,60,.55);
  color: transparent;
}

/* Marquee */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee { animation: marquee 40s linear infinite; }
.marquee-pause:hover .marquee { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-in { transition: none; transform: none; opacity: 1; }
  .marquee { animation: none; }
}

input, select, textarea { color-scheme: light; }
input:focus, select:focus, textarea:focus { outline: none; }

/* Badge */
.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .85rem; border-radius: 9999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  background: rgba(251,179,60,.14); color: #9D5D0E; border: 1px solid rgba(251,179,60,.32);
  text-transform: uppercase;
}
.badge-dark {
  background: rgba(251,179,60,.14); color: #FCC868; border: 1px solid rgba(251,179,60,.36);
}

.divider-x { height: 1px; background: linear-gradient(90deg, transparent, rgba(15,23,42,.10), transparent); }
.brand-card { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s; }
.brand-card:hover { transform: translateY(-3px); box-shadow: 0 10px 40px -16px rgba(15,23,42,.18); border-color: rgba(251,179,60,.40); }

.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }

/* Carrossel scroll horizontal */
.scroll-x {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.scroll-x::-webkit-scrollbar { display: none; height: 0; width: 0; }
.scroll-x.grab { cursor: grab; }
.scroll-x.grabbing { cursor: grabbing; scroll-behavior: auto; user-select: none; }
.scroll-x.grabbing img,
.scroll-x.grabbing a,
.scroll-x.grabbing button { pointer-events: none; }
.snap-item { scroll-snap-align: center; scroll-snap-stop: always; }
@media (min-width: 1024px) {
  .snap-item { scroll-snap-align: start; }
}
.dot { transition: width .35s, background-color .35s; }
.dot.is-active { width: 24px; background-color: #FBB33C; }

/* ===== Modal ===== */
.modal { transition: opacity .25s ease; }
.modal.is-open { opacity: 1; }
.modal-card {
  transform: translateY(16px) scale(.98);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .25s ease;
  opacity: 0;
}
.modal.is-open .modal-card { transform: none; opacity: 1; }
body.modal-open { overflow: hidden; }

/* Unit picker card no modal */
.unit-pick {
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.unit-pick:hover {
  transform: translateY(-2px);
  border-color: #FBB33C;
  box-shadow: 0 12px 32px -16px rgba(251,179,60,.45);
}

/* ===== Back to top ===== */
.back-to-top {
  transform: translateY(8px);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s, opacity .35s;
}
.back-to-top.is-visible {
  transform: none; opacity: 1; pointer-events: auto;
}

/* ===== LGPD popup ===== */
.lgpd-popup {
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .35s;
}
.lgpd-popup.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 639px) {
  .lgpd-popup {
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, 20px);
  }
  .lgpd-popup.is-visible {
    transform: translate(-50%, 0);
  }
}
