/* Senhor Celular — UI refinada */

:root {
  --bg-deep: #020617;
  --bg-section: #0a0f1e;
  --accent: #ff6a00;
  --accent-soft: rgba(255, 106, 0, 0.15);
  --accent-glow: rgba(255, 106, 0, 0.35);
  --whatsapp: #25d366;
  --whatsapp-hover: #20bd5a;
  --whatsapp-soft: rgba(37, 211, 102, 0.12);
  --text-muted: rgba(255, 255, 255, 0.7);
  --stores-bg: #f0f2f7;
  --stores-text: #0f172a;
  --radius-pill: 999px;
  --radius-card: 18px;
  --radius-panel: 22px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-float: 0 -12px 40px rgba(0, 0, 0, 0.45);
  --nav-blur: rgba(2, 6, 23, 0.82);
  --max-content: 1100px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  /* Carrossel de modelos: não desligar — só deixar bem mais lento (loop decorativo) */
  .showcase .track {
    animation-duration: 90s !important;
  }

  .btn,
  .store-card,
  .benefit-card {
    transition: none !important;
  }
}

body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: #fff;
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-blur);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 28px;
  max-width: 1280px;
  margin: 0 auto;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.nav__brand:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 3px;
}

.nav__brand-img {
  height: 42px;
  width: 42px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
  vertical-align: middle;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s;
  box-shadow: 0 2px 12px var(--accent-glow);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--accent-glow);
}

.btn:active {
  transform: translateY(0);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 2px 16px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp:hover {
  background: var(--whatsapp-hover);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
}

/* Sombra mais contida no header para não “vazar” atrás do logo */
.site-header .nav__actions .btn--whatsapp {
  box-shadow: 0 2px 12px rgba(37, 211, 102, 0.28);
}

.site-header .nav__actions .btn--whatsapp:hover {
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.38);
}

.btn--geo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  box-shadow: none;
}

.btn--geo:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: none;
  box-shadow: none;
}

.btn--geo:disabled {
  opacity: 0.55;
  cursor: wait;
}

.btn--block {
  width: 100%;
}

.btn--float {
  padding: 12px 18px;
  min-width: 52px;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

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

/* ---------- Painel WhatsApp ---------- */

.wa-panel {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-panel);
  padding: 1.35rem 1.35rem 1.5rem;
  max-width: 440px;
  margin: 2rem auto 0;
  text-align: left;
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.wa-panel__head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 1.1rem;
}

.wa-panel__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--whatsapp-soft);
  color: var(--whatsapp);
}

.wa-panel__head-text {
  min-width: 0;
}

.wa-panel__title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.wa-panel__hint {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.wa-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.wa-field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.wa-select {
  width: 100%;
  padding: 15px 44px 15px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ffffff' fill-opacity='0.8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.wa-select:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

.wa-select:focus {
  outline: none;
  border-color: var(--whatsapp);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.25);
}

.wa-select option {
  background: #0f172a;
  color: #fff;
}

.wa-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 1rem;
}

.wa-geo {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.wa-geo__status {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--whatsapp);
  min-height: 1.25em;
}

.wa-geo__status[data-state="idle"] {
  color: rgba(255, 255, 255, 0.45);
}

.wa-geo__status[data-state="error"] {
  color: #f87171;
}

/* ---------- Hero ---------- */

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6.5rem 1.5rem 3rem;
  background:
    radial-gradient(ellipse 80% 55% at 50% -20%, rgba(255, 106, 0, 0.18), transparent 55%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(15, 42, 92, 0.5), transparent 50%),
    radial-gradient(circle at 50% 40%, #0f2a5c 0%, var(--bg-deep) 65%);
}

.hero__inner {
  max-width: 900px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.4rem 1rem 0.4rem 0.6rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.hero h1 {
  font-size: clamp(1.85rem, 5vw, 3rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero__lead {
  margin: 1.25rem auto 0;
  max-width: 34rem;
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.hero__chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 1.5rem 0 0;
  padding: 0;
}

.hero__chip {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
}

/* Faixa de modelos (fundo claro, acima de Nossas lojas) */

.showcase {
  padding: 2.75rem 0 2.5rem;
  background: linear-gradient(180deg, var(--bg-section) 0%, var(--stores-bg) 32%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.showcase__title {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55), 0 0 24px rgba(0, 0, 0, 0.35);
  margin: 0 auto 1.5rem;
  max-width: 40rem;
}

.showcase__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 0.75rem auto 0;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

/* Carrossel infinito (duas séries idênticas no HTML → translateX(-50%) em loop) */

.carousel {
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
  margin: 0 auto;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.carousel--light .track img {
  filter: drop-shadow(0 10px 28px rgba(15, 23, 42, 0.12));
}

.carousel--light .track img:hover {
  filter: drop-shadow(0 14px 36px rgba(15, 23, 42, 0.18));
}

.track {
  display: flex;
  width: max-content;
  gap: 56px;
  animation: carousel-scroll 40s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}

.track img {
  height: 240px;
  width: auto;
  object-fit: contain;
  transition: transform 0.35s var(--ease-out);
  flex-shrink: 0;
}

.track img:hover {
  transform: scale(1.06) translateY(-4px);
}

@keyframes carousel-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ---------- Seções ---------- */

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.125rem);
  text-align: center;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-top: 0.8rem;
  font-size: 1.02rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

/* ---------- Stats ---------- */

.stats {
  padding: 4.5rem 1.5rem;
  background: var(--bg-section);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats__inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.stat {
  text-align: center;
  min-width: 110px;
}

.stat h2 {
  color: var(--accent);
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.stat p {
  color: var(--text-muted);
  margin-top: 0.35rem;
  font-size: 0.95rem;
}

/* ---------- Benefícios ---------- */

.benefits {
  padding: 5.5rem 1.5rem;
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-section) 50%, var(--bg-deep) 100%);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  max-width: var(--max-content);
  margin: 3rem auto 0;
}

.benefit-card {
  position: relative;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  padding: 1.65rem 1.5rem;
  text-align: left;
  transition: transform 0.25s var(--ease-out), border-color 0.25s, background 0.25s;
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.benefit-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 1rem;
}

.benefit-card__icon--wa {
  background: var(--whatsapp-soft);
  color: var(--whatsapp);
}

.benefit-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* ---------- Lojas ---------- */

.stores {
  padding: 5.5rem 1.5rem;
  background: var(--stores-bg);
  color: var(--stores-text);
}

.stores .section-title {
  color: var(--stores-text);
}

.stores .section-sub {
  color: rgba(15, 23, 42, 0.6);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  max-width: var(--max-content);
  margin: 2.5rem auto 0;
}

.store-card {
  position: relative;
  display: block;
  background: #fff;
  padding: 1.35rem 1.25rem 1.5rem;
  border-radius: var(--radius-card);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
  border: 1px solid rgba(15, 23, 42, 0.06);
  text-decoration: none;
  color: var(--stores-text);
  cursor: pointer;
  touch-action: manipulation;
}

.store-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  border-color: rgba(255, 106, 0, 0.25);
}

.store-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.store-card__region {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(15, 23, 42, 0.5);
  margin-top: 0.35rem;
}

.store-card::after {
  content: "Ver no Google Maps";
  display: block;
  margin-top: 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

/* ---------- CTA ---------- */

.cta {
  padding: 5.5rem 1.5rem;
  text-align: center;
  background: var(--bg-deep);
  position: relative;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 106, 0, 0.08), transparent 55%);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  max-width: 36rem;
  margin: 0 auto;
}

.cta h2 {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.cta .section-sub {
  margin-bottom: 28px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-section);
  padding: 40px 24px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.875rem;
  line-height: 1.6;
}

.site-footer__brand {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.site-footer__meta {
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.75rem;
}

.site-footer__note {
  margin-bottom: 1rem;
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}

.site-footer__legal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.site-footer__legal a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: color 0.2s, border-color 0.2s;
}

.site-footer__legal a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.site-footer__sep {
  color: rgba(255, 255, 255, 0.25);
}

/* ---------- Barra fixa (mobile) ---------- */

.wa-float {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom, 0);
  background: rgba(2, 6, 23, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px 20px 0 0;
  display: none;
  box-shadow: var(--shadow-float);
}

.wa-float.is-visible {
  display: block;
}

.wa-float__inner {
  padding: 12px 16px 14px;
  max-width: 560px;
  margin: 0 auto;
}

.wa-float__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 8px;
}

.wa-float .wa-select {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  padding-top: 12px;
  padding-bottom: 12px;
}

.wa-float__row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.wa-float__row .wa-select {
  flex: 1;
  min-width: 0;
}

.wa-float__row .btn--whatsapp {
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(37, 211, 102, 0.35);
}

.wa-float__btn-text {
  display: inline;
}

@media (min-width: 900px) {
  .wa-float {
    display: none !important;
  }

  body {
    padding-bottom: 0 !important;
  }
}

@media (max-width: 899px) {
  body.has-wa-float {
    padding-bottom: 118px;
  }

  /* Some o container inteiro: só esconder o botão deixava resquício de sombra/outline verde */
  .nav__actions {
    display: none !important;
  }

  .nav {
    justify-content: center;
  }
}

/* ---------- Acessibilidade / foco ---------- */

.btn:focus-visible,
.wa-select:focus-visible,
.btn--geo:focus-visible {
  outline: 2px solid var(--whatsapp);
  outline-offset: 2px;
}

/* ---------- Compat. scroll ---------- */

html.lenis,
html.lenis-smooth,
body.lenis,
body.lenis-smooth,
.lenis-wrapper,
.lenis-content,
[data-lenis-prevent],
[data-scroll-container] {
  overflow: visible !important;
  height: auto !important;
}
