/* carousel: full width, aspect-ratio driven (no fixed height crop) */
.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #0b1c33;
}
.carousel-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}
@media (min-width: 768px) {
  .carousel-frame { aspect-ratio: 21 / 9; }
}
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  transition: opacity .7s ease;
  pointer-events: none;
}
.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 10;
  pointer-events: auto;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.carousel-grad-x {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,61,122,.88), rgba(0,87,168,.62), transparent);
}
.carousel-grad-y {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,61,122,.5), transparent, rgba(0,61,122,.18));
}
.carousel-cap {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: flex-end;
  color: #fff;
}
/* Só um respiro lateral no texto; imagem segue full-bleed */
.carousel-cap .inner {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 4rem 1.1rem 2.5rem;
}
@media (min-width: 768px) {
  .carousel-cap .inner {
    padding: 4rem 1.45rem 3.5rem;
  }
}
.carousel-cap h2 {
  margin: .5rem 0 0; max-width: 36rem;
  font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 700; color: #fff;
}
.carousel-cap p {
  margin: .75rem 0 0; max-width: 32rem;
  font-size: clamp(1rem, 2vw, 1.125rem); color: rgba(255,255,255,.8);
}
.carousel-nav {
  pointer-events: none;
  position: absolute; inset-inline: 0; top: 50%; z-index: 20;
  display: flex; justify-content: space-between;
  transform: translateY(-50%); padding: 0 .75rem;
}
@media (min-width: 768px) { .carousel-nav { padding: 0 1.5rem; } }
.carousel-nav button {
  pointer-events: auto;
  display: inline-flex; width: 2.75rem; height: 2.75rem;
  align-items: center; justify-content: center;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.4); color: #fff; cursor: pointer; backdrop-filter: blur(6px);
  font-size: 1.25rem; line-height: 1;
}
.carousel-nav button:hover { background: rgba(0,0,0,.6); }
.carousel-dots {
  position: absolute; bottom: 1rem; left: 50%; z-index: 20;
  display: flex; gap: .5rem; transform: translateX(-50%);
}
.carousel-dots button {
  height: .375rem; border: 0; border-radius: 999px; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.35); width: .75rem; transition: all .2s;
}
.carousel-dots button.active {
  width: 2rem; background: var(--brand-yellow);
}

/* ===== Page chrome ===== */
.page-wrap { padding: 3.5rem 0; }
.eyebrow-bold {
  margin: 0; font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .16em; color: var(--orange);
}
.page-h1 {
  margin: .5rem 0 0; font-weight: 700; letter-spacing: -.025em; line-height: 1.18;
  font-size: clamp(2rem, 4vw, 3rem); color: var(--navy);
}
.page-lead { margin: .75rem 0 0; max-width: 36rem; color: var(--muted); }

.panel-card {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  border-radius: .85rem;
  padding: 1.2rem;
  box-shadow: 0 8px 28px rgba(0,61,122,.08);
  backdrop-filter: blur(8px);
}

.contact-grid { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-meta { display: flex; align-items: center; gap: .75rem; color: var(--muted); margin-top: 1rem; }
.channel-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.svc-row {
  display: grid; gap: 1.5rem; align-items: center;
}
@media (min-width: 768px) {
  .svc-row { grid-template-columns: 80px 1fr auto; }
}
.svc-num { font-size: 2.25rem; font-weight: 800; color: rgba(0,87,168,.2); }
.video-row {
  margin-top: 3rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3rem;
}
@media (min-width: 768px) {
  .video-row { flex-direction: row; align-items: flex-start; gap: 3.5rem; }
}
.video-preview-grid {
  display: grid; gap: 2rem; justify-items: center;
}
@media (min-width: 640px) {
  .video-preview-grid { grid-template-columns: 1fr 1fr; }
}
.video-frame {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 1.4rem;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: 0 16px 48px rgba(0,61,122,.14);
}
.video-frame.format-instagram { width: min(100%, 400px); aspect-ratio: 4 / 5; }
.video-frame.format-tiktok { width: min(100%, 380px); aspect-ratio: 9 / 16; }
.video-frame.format-wide { width: min(100%, 720px); aspect-ratio: 16 / 9; }
.video-frame video, .video-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; object-position: center;
}
.video-title { margin: 1rem 0 0; text-align: center; font-size: .875rem; font-weight: 600; color: var(--navy); }
.midia-video-grid {
  display: grid; gap: 1.25rem; align-items: start;
}
@media (min-width: 900px) {
  .midia-video-grid { grid-template-columns: 220px 1fr; }
}
.midia-video-edit .video-frame { width: min(100%, 200px); margin: 0 auto; }
.midia-slide-grid {
  display: grid; gap: 1rem; align-items: start;
}
@media (min-width: 900px) {
  .midia-slide-grid { grid-template-columns: 200px 1fr; }
}
.midia-thumb {
  aspect-ratio: 4/3; border-radius: .75rem; border: 1px solid var(--border);
  background: var(--bg-soft); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.midia-thumb.wide { aspect-ratio: 16/9; }
.midia-thumb img { width: 100%; height: 100%; object-fit: cover; }
.midia-camp-row { display: grid; gap: 1rem; }
@media (min-width: 700px) {
  .midia-camp-row { grid-template-columns: 160px 1fr; align-items: start; }
}
.camp-grid { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .camp-grid { grid-template-columns: 1fr 1fr; } }
.camp-card {
  overflow: hidden; border-radius: .75rem; border: 1px solid var(--border);
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.camp-card .thumb { position: relative; aspect-ratio: 4/3; background: var(--bg-soft); }
.camp-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.camp-card figcaption { padding: .75rem 1rem; font-size: .875rem; font-weight: 500; }

.pay-methods { display: flex; flex-wrap: wrap; gap: .5rem; }
.pay-method-chip {
  padding: .55rem 1rem; border-radius: .55rem; font-size: .8rem; font-weight: 800;
  border: 1px solid var(--border); color: var(--muted); background: var(--bg-soft);
  cursor: pointer; font-family: inherit; line-height: 1.2;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .12s ease;
}
button.pay-method-chip:hover { transform: translateY(-1px); border-color: rgba(0,87,168,.3); }
.pay-method-chip.on { color: var(--navy); border-color: rgba(0,87,168,.35); background: rgba(0,87,168,.1); box-shadow: 0 0 0 2px rgba(0,87,168,.12); }
.pay-method-chip.mp.on { color: #0077b3; border-color: rgba(0,158,227,.45); background: rgba(0,158,227,.12); box-shadow: 0 0 0 2px rgba(0,158,227,.15); }
span.pay-method-chip { cursor: default; opacity: .7; }
.pay-home-grid { display: grid; gap: 1rem; }
@media (min-width: 700px) { .pay-home-grid { grid-template-columns: 1fr 1fr; } }
.pay-badge {
  margin: 0; display: inline-flex; width: fit-content; padding: .25rem .55rem;
  border-radius: .4rem; font-size: .7rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; background: rgba(255,184,0,.18); color: var(--navy);
}
.pay-badge.mp { background: rgba(0,158,227,.15); color: #0077b3; }
.pay-home-card.mp { border-color: rgba(0,158,227,.25); }

/* ===== PanelShell sidebar ===== */
.panel-shell {
  position: relative;
  min-height: 100vh;
}
@media (min-width: 1024px) {
  .panel-shell { display: grid; grid-template-columns: 272px 1fr; }
}
.panel-shell.theme-admin::before {
  content: "";
  pointer-events: none;
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0,87,168,.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(240,196,26,.14), transparent 50%),
    linear-gradient(180deg, #e8f0f8 0%, #f4f7fb 45%, #ffffff 100%);
}
.panel-aside {
  position: relative; z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(16px);
  box-shadow: 4px 0 24px rgba(0,61,122,.06);
}
.theme-light .panel-aside { background: #fff; box-shadow: none; }
@media (min-width: 1024px) {
  .panel-aside { border-bottom: 0; border-right: 1px solid var(--border); }
}
.panel-mobile-bar {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .75rem 1rem;
}
@media (min-width: 1024px) { .panel-mobile-bar { display: none; } }
.panel-brand {
  display: none; flex-direction: column; align-items: center;
  padding: 1.25rem; text-align: center;
}
@media (min-width: 1024px) { .panel-brand { display: flex; } }
.panel-brand img { height: 4.75rem; width: auto; }
.panel-brand .t { margin-top: 1rem; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); }
.panel-brand .s { margin: .25rem 0 0; font-size: .875rem; color: var(--muted); }
.panel-side-nav {
  display: none; flex-direction: column; gap: .25rem; padding: 0 .75rem 1rem;
}
.panel-side-nav.open { display: flex; }
@media (min-width: 1024px) { .panel-side-nav { display: flex !important; } }
.panel-side-nav a, .panel-side-nav button.nav-exit {
  display: inline-flex; width: 100%; align-items: center; gap: .5rem;
  border-radius: .75rem; padding: .65rem .75rem; font-size: .875rem; font-weight: 600;
  border: 0; background: transparent; cursor: pointer; text-align: left; color: var(--muted);
  text-decoration: none;
}
.panel-side-nav a:hover { background: var(--bg-soft); color: var(--navy); }
.panel-side-nav a.active {
  background: rgba(0,87,168,.1); color: var(--navy);
  box-shadow: inset 0 0 0 1px rgba(0,87,168,.25);
}
.panel-side-nav button.nav-exit { color: var(--red); }
.panel-side-nav button.nav-exit:hover { background: rgba(201,68,68,.1); }
.panel-content {
  position: relative; z-index: 10;
  padding: 1.5rem 1rem;
}
@media (min-width: 768px) {
  .panel-content { padding: 2rem; }
}
.theme-light .panel-content { background: var(--bg); }
.display-title {
  font-weight: 800; letter-spacing: .03em; text-transform: uppercase;
  font-size: clamp(1.75rem, 3vw, 2.75rem); line-height: .94; color: var(--text);
}
.stat-gold { font-weight: 800; letter-spacing: .03em; text-transform: uppercase; font-size: 2.25rem; color: var(--navy); margin: .5rem 0 0; }

/* ===== Panel extras ===== */
.panel-brand-meta {
  display: none;
  padding: 0 1.25rem 1rem;
  text-align: center;
}
@media (min-width: 1024px) { .panel-brand-meta { display: block; } }
.panel-brand-meta .t, .panel-nav-chip .t {
  margin: 0; font-size: .7rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--navy);
}
.panel-brand-meta .s, .panel-nav-chip .s {
  margin: .25rem 0 0; font-size: .875rem; color: var(--muted);
}
.panel-nav-chip {
  display: block; margin-bottom: .75rem; border-radius: .75rem;
  background: var(--bg-soft); padding: .5rem .75rem; text-align: center;
}
@media (min-width: 1024px) { .panel-nav-chip { display: none; } }
.panel-side-nav a.nav-exit { color: var(--red); }
.panel-side-nav a.nav-exit:hover { background: rgba(201,68,68,.1); }
.menu-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  border-radius: .75rem; border: 1px solid var(--border);
  background: #fff; padding: .5rem .75rem; font-size: .875rem;
  font-weight: 600; color: var(--navy); cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.nav-ico { width: 1rem; text-align: center; flex-shrink: 0; font-size: .85rem; }

.stats-grid-4 { display: grid; gap: 1rem; }
@media (min-width: 640px) { .stats-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1280px) { .stats-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.stats-grid-3 { display: grid; gap: 1rem; }
@media (min-width: 640px) { .stats-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.stats-grid-2 { display: grid; gap: 1rem; }
@media (min-width: 768px) { .stats-grid-2 { grid-template-columns: 1fr 1fr; } }
.stat-label { margin: 0; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.stat-navy { margin: .5rem 0 0; font-size: 2.25rem; font-weight: 800; color: var(--navy); }
.stat-orange { margin: .5rem 0 0; font-size: 2.25rem; font-weight: 800; color: var(--orange); }
.stat-lime { margin: .5rem 0 0; font-size: 1.75rem; font-weight: 800; color: var(--lime); }
.stat-gold { color: var(--brand-yellow) !important; }

.data-table { width: 100%; min-width: 640px; margin-top: 1rem; border-collapse: collapse; text-align: left; font-size: .875rem; }
.data-table th {
  padding: 0 .75rem .75rem 0; font-size: .7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
}
.data-table td { padding: .75rem .75rem .75rem 0; border-top: 1px solid var(--border); vertical-align: middle; }
.data-table .fw { font-weight: 600; color: var(--text); }
.status-badge {
  display: inline-flex; border-radius: 999px; padding: .2rem .65rem;
  font-size: .7rem; font-weight: 700; background: rgba(0,87,168,.08);
  color: var(--navy); box-shadow: inset 0 0 0 1px rgba(0,87,168,.2);
}
.order-row, .sale-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem;
  border-radius: .75rem; border: 1px solid var(--border); background: var(--surface-2, #f4f7fb);
  padding: .75rem 1rem;
}
.sale-row { border-radius: 0; border: 0; border-bottom: 1px solid var(--border); background: transparent; padding: .5rem 0; }
.first-step { border: 1px solid rgba(0,87,168,.2); background: rgba(0,87,168,.06); }
.first-step-inner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.first-step-actions { display: flex; flex-direction: column; gap: .5rem; }
@media (min-width: 640px) { .first-step-actions { flex-direction: row; } }
.docs-grid { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .75rem; }
@media (min-width: 640px) { .docs-grid { grid-template-columns: 1fr 1fr; } }
.doc-item {
  border-radius: .75rem; border: 1px solid var(--border);
  background: var(--surface-2, #f4f7fb); padding: .75rem 1rem;
}
.mono-link {
  margin: .75rem 0; word-break: break-all; font-family: ui-monospace, monospace;
  font-size: .875rem; color: var(--navy);
}
.mono-inline { font-family: ui-monospace, monospace; color: var(--navy); }

.video-card { display: flex; flex-direction: column; align-items: center; width: 100%; }
.video-title { margin-top: 1rem; text-align: center; font-size: .875rem; font-weight: 600; }
.redes-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.redes-label { display: flex; align-items: center; gap: .5rem; color: var(--navy); font-weight: 700; }
.ig-dot, .fb-dot { width: .85rem; height: .85rem; border-radius: .2rem; display: inline-block; }
.ig-dot { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.fb-dot { background: #1877F2; border-radius: .15rem; }
.social-mini {
  display: inline-flex; width: 1.5rem; height: 1.5rem; align-items: center; justify-content: center;
  border-radius: .4rem; color: #fff; flex-shrink: 0;
}
.social-mini.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-mini.fb { background: #1877F2; }
.redes-label { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--navy); }

.contact-info { height: fit-content; display: grid; gap: 0; }
.contact-form { display: grid; gap: 1rem; }
.field { display: grid; gap: .5rem; font-size: .875rem; font-weight: 600; color: var(--navy); }

/* ===== Auth shell ===== */
.auth-shell {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 3rem 1rem;
}
.auth-bg {
  pointer-events: none; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0,87,168,.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(240,196,26,.14), transparent 50%),
    linear-gradient(180deg, #e8f0f8 0%, #f4f7fb 45%, #ffffff 100%);
}
.auth-inner { position: relative; z-index: 10; width: 100%; max-width: 28rem; }
.auth-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.auth-logo { height: 4.5rem; width: auto; }
@media (min-width: 640px) { .auth-logo { height: 5.25rem; } }
.auth-badge {
  margin-top: 1.25rem; display: inline-flex; border-radius: 999px;
  padding: .25rem .75rem; font-size: .65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
}
.badge-admin { background: rgba(0,87,168,.12); color: var(--navy); }
.badge-revenda { background: rgba(240,196,26,.22); color: #8a6b00; }
.badge-cliente { background: rgba(37,163,90,.12); color: var(--lime); }
.auth-title { margin: .75rem 0 0; font-size: clamp(1.75rem, 3vw, 2.25rem); color: var(--navy); }
.auth-sub { margin: .5rem 0 0; font-size: .875rem; }
.auth-form {
  margin-top: 2rem; display: grid; gap: 1rem;
  border-radius: 1rem; border: 1px solid var(--border);
  background: #fff; padding: 1.5rem;
  box-shadow: 0 12px 40px rgba(0,61,122,.1);
}
@media (min-width: 640px) { .auth-form { padding: 2rem; } }
.auth-error { margin: 0; font-size: .875rem; font-weight: 600; color: var(--red); }
.auth-ok { margin: 0; font-size: .875rem; font-weight: 600; color: var(--lime); }
.auth-foot { margin: 0; text-align: center; font-size: .875rem; color: var(--muted); }
.auth-foot a { font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.auth-back {
  text-align: center; font-size: .875rem; color: var(--muted);
  text-decoration: none;
}
.auth-back:hover { color: var(--navy); text-decoration: underline; }

/* (carousel rules above — no 100vw full-bleed hack) */

.btn-sm { padding: .4rem .75rem !important; font-size: .8rem !important; }
.inline-check { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 600; color: var(--navy); cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.muted, .text-muted { color: var(--muted); }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--navy); border-radius: .65rem; padding: .45rem .75rem; cursor: pointer; font-weight: 600; }

.status-pendente { background: rgba(240,196,26,.18); color: #8a6b00; box-shadow: inset 0 0 0 1px rgba(240,196,26,.4); }
.status-confirmado { background: rgba(37,163,90,.12); color: var(--lime); box-shadow: inset 0 0 0 1px rgba(37,163,90,.3); }
.status-expirado { background: rgba(201,68,68,.1); color: var(--red); box-shadow: inset 0 0 0 1px rgba(201,68,68,.25); }
.btn-lime.btn-sm { padding: .45rem .75rem !important; }
