/* ================= DESIGN SYSTEM GLOBAL INTEGRAL ================= */
* { margin:0; padding:0; box-sizing:border-box; }
:root {
  --orange: #FF6700;
  --orange-dark: #cc5200;
  --green: #00CC99;
  --green-dark: #009973;
  --primary: #1a1a2e;
  --light: #f8f9fa;
  --card-bg: #ffffff;
  --text: #1a1a2e;
  --muted: #6b7280;
  --border: #e5e7eb;
  --radius: 12px;
  --font-head: 'Cairo', sans-serif;
  --font-body: 'Lato', sans-serif;
  --font-ad-page: 'Cairo', sans-serif;
  --brand-logo-font-size: 20px;
}
body { font-family: var(--font-body); background: var(--light); color: var(--text); line-height: 1.5; }

/* HEADER & NAVIGATION STICKY */
.header-wrapper { position: sticky; top: 0; z-index: 1000; width: 100%; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.tagline-bar { background: var(--green); text-align: center; padding: 10px; font-size: 12px; font-weight: 700; color: #fff; letter-spacing: 0.5px; text-transform: uppercase; }
nav { background: var(--primary); padding: 0 4rem; display: flex; align-items: center; justify-content: space-between; height: 70px; border-bottom: 4px solid var(--orange); }
.logo { font-family: var(--font-head); font-size: 26px; font-weight: 800; color: #fff; cursor: pointer; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo-container .logo-text,
nav .logo-text,
.logo-text {
  font-size: var(--brand-logo-font-size) !important;
  font-weight: 800 !important;
  font-family: var(--font-head);
  color: #ffffff !important;
}
.logo-icon { width: 36px; height: 36px; background: var(--orange); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; }
.logo span { color: var(--green); }
.nav-links { display: flex; gap: 10px; align-items: center; }
.nav-btn { background: none; border: none; color: rgba(255,255,255,0.8); font-family: var(--font-body); font-size: 14px; font-weight: 500; cursor: pointer; padding: 10px 18px; border-radius: 8px; transition: 0.3s; }
.nav-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
.nav-btn.outline { border:1px solid rgba(255,255,255,0.3); color:#fff; }
.nav-btn.outline:hover { border-color:var(--green); color:var(--green); }
.nav-btn.primary { background: var(--orange); color: #fff; font-weight: 700; border-radius: 8px; }
.nav-btn.primary:hover { background: var(--orange-dark); }

/* DINÂMICA DE PAGINAÇÃO */
.page { display: none; animation: fadeIn 0.4s ease-out; }
.page.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.section { padding: 4rem 4rem; max-width: 1300px; margin: 0 auto; }

/* HOMEPAGE BANNER ROTATIVO (4 SLIDES ORIGINAIS) */
.carousel { position: relative; width: 100%; max-width: 1172px; height: 440px; overflow: hidden; background: #000; margin: 0 auto; border-radius: 12px 12px 0 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s ease; }
.slide.active { opacity: 1; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,26,46,0.92) 0%, rgba(26,26,46,0.4) 100%); }
.slide-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 0 5rem; color: #fff; max-width: 650px; }
.slide-tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 5px 14px; border-radius: 20px; margin-bottom: 14px; letter-spacing: 1px; text-transform: uppercase; width: fit-content; }
.slide-title { font-family: var(--font-head); font-size: 42px; font-weight: 800; line-height: 1.1; margin-bottom: 12px; }
.slide-sub { font-size: 16px; opacity: 0.9; margin-bottom: 24px; font-weight: 300; }
.slide-cta { display: inline-block; padding: 14px 32px; border-radius: 8px; font-weight: 700; font-size: 14px; cursor: pointer; border: none; transition: 0.2s; font-family: var(--font-body); width: fit-content; }
.slide-cta:hover { transform: scale(1.03); }

.carousel-dots { position: absolute; bottom: 20px; display: flex; gap: 8px; z-index: 10; left: 5rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; }
.dot.active { background: var(--orange); width: 24px; border-radius: 5px; }

/* BARRA DE BUSCA */
.search-bar { background: var(--primary); padding: 2rem 4rem 4rem; width: 100%; max-width: 1172px; margin: 0 auto; border-radius: 0 0 12px 12px; }
.search-inner { background: #fff; border-radius: var(--radius); display: flex; align-items: center; overflow: hidden; box-shadow: 0 6px 30px rgba(0,0,0,0.15); max-width: 1140px; margin: 0 auto; }
.search-inner select { border: none; border-right: 1px solid var(--border); padding: 20px; font-family: var(--font-body); font-size: 14px; color: var(--text); background: #fff; outline: none; cursor: pointer; min-width: 200px; }
.search-inner input { flex: 1; border: none; padding: 20px; font-family: var(--font-body); font-size: 14px; outline: none; color: var(--text); }
.search-inner button { background: var(--orange); border: none; color: #fff; padding: 20px 36px; font-weight: 700; font-size: 14px; cursor: pointer; font-family: var(--font-body); transition: background 0.2s; }
.search-inner button:hover { background: var(--orange-dark); }

/* SEÇÃO DE CATEGORIAS DA HOME (ESTILO IDÊNTICO AO MODELO DE REFERÊNCIA) */
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 1.5rem; }
.section-title { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--primary); }
.accent-line { height: 4px; background: linear-gradient(90deg, var(--orange), var(--green)); border-radius: 2px; margin-bottom: 7px; width: 45px; }

.cat-carousel-wrapper {
  position: relative;
  width: 100%;
  padding: 0;
}

.cat-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #475569 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 100 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.2s ease-in-out;
}

.cat-nav-btn.prev {
  left: -16px;
}

.cat-nav-btn.next {
  right: -16px;
}

.cat-nav-btn:hover {
  background: #ffffff !important;
  color: var(--orange) !important;
  border-color: var(--orange) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2) !important;
  transform: translateY(-50%) scale(1.1) !important;
}

.cat-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none !important; /* Firefox */
  -ms-overflow-style: none !important; /* IE e Edge */
  padding: 10px 4px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.cat-grid::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.cat-card {
  flex: 0 0 120px !important;
  min-width: 120px !important;
  max-width: 120px !important;
  width: 120px !important;
  height: 110px !important;
  background: #ffffff !important;
  border: 1.5px solid #e5e7eb !important;
  border-radius: 18px !important;
  padding: 14px 8px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
  box-sizing: border-box !important;
}

.cat-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 22px rgba(255, 103, 0, 0.15);
  transform: translateY(-3px);
}

.cat-icon {
  font-size: 30px;
  margin-bottom: 8px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-name {
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cat-count { display: none; }

/* GRADE DE ANÚNCIOS ORIGINAIS */
.ads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.ad-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: 0.3s;
}
.ad-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.ad-thumb {
  height: 180px;
  position: relative;
  overflow: hidden;
  background: #f1f5f9;
}
.ad-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ad-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  text-transform: uppercase;
}

.ad-info {
  padding: 20px;
}

.ad-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--green-dark);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.ad-title-grid {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--primary);
  height: 42px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ad-contact-btn { display: block; width: 100%; margin-top: 14px; background: var(--primary); color: #fff; border: none; padding: 12px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; transition: background 0.2s; text-transform: uppercase; text-align: center; font-family: var(--font-body); }
.ad-contact-btn:hover { background: var(--orange); }

/* ESTILOS PREMIUM PARA A TELA DE CADASTRO SPLIT-SCREEN REATIVADA */
.split-register-container { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 85vh; background: #fff; border-radius: 24px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 15px 40px rgba(0,0,0,0.04); margin: 2rem auto; max-width: 1300px; }
.register-left-banner { background: linear-gradient(145deg, var(--primary) 0%, #20203a 100%); padding: 5rem 4rem; color: #fff; display: flex; flex-direction: column; justify-content: center; position: relative; border-right: 4px solid var(--orange); }
.banner-badge-top { background: rgba(255,103,0,0.15); color: var(--orange); font-size: 11px; font-weight: 700; padding: 6px 16px; border-radius: 30px; width: fit-content; margin-bottom: 25px; letter-spacing: 0.5px; }
.banner-hero-title { font-family: var(--font-head); font-size: 38px; font-weight: 800; line-height: 1.15; margin-bottom: 15px; }
.banner-hero-subtitle { color: rgba(255,255,255,0.7); font-size: 15px; font-weight: 300; line-height: 1.6; margin-bottom: 40px; }

.benefit-list-premium { display: flex; flex-direction: column; gap: 24px; margin-bottom: 45px; }
.benefit-item-p { display: flex; gap: 18px; align-items: start; }
.benefit-icon-p { width: 40px; height: 40px; background: rgba(255,255,255,0.06); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.benefit-item-p strong { display: block; font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.benefit-item-p p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.4; }

.register-testimonial-card { background: rgba(255,255,255,0.04); border-left: 3px solid var(--green); padding: 25px; border-radius: 12px; margin-top: auto; }
.testimonial-txt { font-size: 14px; font-style: italic; color: rgba(255,255,255,0.85); line-height: 1.5; margin-bottom: 15px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar-img { width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.author-name { display: block; font-size: 13px; font-weight: 700; color: #fff; }
.author-role { font-size: 11px; color: var(--green); font-weight: 500; }

.register-right-form-panel { background: #fff; padding: 5rem 4.5rem; display: flex; align-items: center; justify-content: center; }
.form-premium-wrapper { width: 100%; max-width: 440px; }
.form-header-premium { margin-bottom: 35px; }
.form-main-title { font-family: var(--font-head); font-size: 32px; font-weight: 700; color: var(--primary); letter-spacing: -0.5px; }
.form-sub-title { color: var(--muted); font-size: 14px; margin-top: 6px; line-height: 1.5; }

.form-grid-premium { display: flex; flex-direction: column; gap: 20px; }
.form-group-premium { display: flex; flex-direction: column; gap: 7px; }
.label-premium { font-size: 13px; font-weight: 600; color: var(--primary); }
.input-with-icon-p { position: relative; display: flex; align-items: center; }
.input-icon-p { position: absolute; left: 16px; font-size: 16px; opacity: 0.7; pointer-events: none; }
.input-with-icon-p input { width: 100%; padding: 14px 16px 14px 46px; border: 1px solid var(--border); border-radius: 12px; font-family: var(--font-body); font-size: 14px; outline: none; transition: all 0.25s ease; color: var(--text); background: #fafafa; }
.input-with-icon-p input:focus { background: #fff; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,103,0,0.1); }

.terms-checkbox-container-p { display: flex; gap: 10px; align-items: start; margin-top: 20px; }
.terms-checkbox-container-p input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--orange); cursor: pointer; }
.terms-checkbox-container-p label { font-size: 12px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.terms-checkbox-container-p label span { color: var(--orange); font-weight: 600; }

.btn-submit-premium-p { display: flex; align-items: center; justify-content: space-between; width: 100%; background: var(--orange); color: #fff; border: none; padding: 16px 24px; border-radius: 12px; font-family: var(--font-body); font-size: 15px; font-weight: 700; cursor: pointer; transition: all 0.25s ease; margin-top: 30px; box-shadow: 0 5px 15px rgba(255,103,0,0.25); }
.btn-submit-premium-p:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,103,0,0.35); }
.btn-arrow-p { font-size: 18px; font-weight: bold; transition: transform 0.2s; }
.btn-submit-premium-p:hover .btn-arrow-p { transform: translateX(4px); }

.form-footer-switch-p { text-align: center; font-size: 13px; color: var(--muted); margin-top: 25px; }
.form-footer-switch-p button { background: none; border: none; color: var(--orange); font-family: var(--font-body); font-weight: 700; cursor: pointer; font-size: 13px; margin-left: 4px; }
.form-footer-switch-p button:hover { text-decoration: underline; }

/* LAYOUT DA PÁGINA DO ANUNCIANTE (COM FONTE OUTFIT EXCLUSIVA) */
#page-ad-detail { font-family: var(--font-ad-page); }
#page-ad-detail .ad-title-main, 
#page-ad-detail .card-title, 
#page-ad-detail .profile-name { font-family: var(--font-ad-page); font-weight: 700; }

.ad-detail-layout { display: grid; grid-template-columns: 2.2fr 1fr; gap: 45px; align-items: start; }
.back-nav { display: flex; align-items: center; gap: 10px; background: none; border: none; font-family: inherit; font-size: 14px; font-weight: 700; color: var(--primary); cursor: pointer; margin-bottom: 30px; text-transform: uppercase; opacity: 0.7; transition: 0.2s; }
.back-nav:hover { opacity: 1; transform: translateX(-5px); }

.ad-detail-main-img-container,
.swiper-slide {
  background: transparent !important;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ad-detail-main-img-container img,
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  border-radius: 16px;
}

.ad-gallery {
  position: relative;
  width: 100%;
  min-height: 280px;
  height: 50vw;
  max-height: 500px;
  border-radius: 16px;
  overflow: hidden;
  background-color: #f0f0f0;
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.gallery-slide.active {
  opacity: 1;
  z-index: 1;
}

@media (max-width: 768px) {
  .ad-gallery {
    width: 100% !important;
    height: 300px !important;
    min-height: 280px !important;
    display: block !important;
  }
  
  .gallery-slide {
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
  }
}
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; display: flex; justify-content: space-between; padding: 0 25px; z-index: 10; }
.gallery-btn { width: 50px; height: 50px; border-radius: 50%; border: none; background: var(--orange); color: #fff; cursor: pointer; font-size: 24px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(255,103,0,0.4); transition: 0.3s; }
.gallery-btn:hover { background: var(--orange-dark); transform: scale(1.1); }

.gallery-dots { position: absolute; bottom: 25px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.g-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: 0.3s; }
.g-dot.active { background: #fff; width: 30px; border-radius: 5px; }

.content-card { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 45px; margin-bottom: 35px; box-shadow: 0 4px 20px rgba(0,0,0,0.02); }
.card-title { font-size: 20px; color: var(--primary); margin-bottom: 25px; text-transform: uppercase; letter-spacing: -0.5px; display: flex; align-items: center; gap: 12px; }
.card-title::before { content: ''; width: 4px; height: 24px; background: var(--orange); border-radius: 2px; }
.ad-title-main { font-size: 36px; color: var(--primary); text-transform: uppercase; margin-bottom: 10px; letter-spacing: -1px; }
.ad-id { font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: 30px; display: block; }

#ad-detail-desc, .ad-description-content {
  color: #333;
  font-size: 16px;
  line-height: 1.7;
  white-space: pre-line;
  word-break: break-word;
}
#ad-detail-desc p, .ad-description-content p {
  margin-bottom: 12px;
}
.ad-description-content ul, .ad-description-content ol {
  margin-left: 24px;
  margin-bottom: 12px;
}
.ad-description-content li {
  margin-bottom: 6px;
}
.ad-description-content strong, .ad-description-content b {
  font-weight: 700;
  color: #111;
}
.ql-align-center, .ad-description-content .ql-align-center {
  text-align: center !important;
}
.ql-align-right, .ad-description-content .ql-align-right {
  text-align: right !important;
}
.ql-align-justify, .ad-description-content .ql-align-justify {
  text-align: justify !important;
}

.hours-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.hours-table th { text-align: left; padding: 15px; font-size: 11px; color: var(--muted); text-transform: uppercase; border-bottom: 1px solid var(--border); }
.hours-table td { padding: 20px 15px; border-bottom: 1px solid #f3f4f6; font-size: 14px; }
.hours-table tr:last-child td { border: none; }
.badge-status { padding: 6px 14px; border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.badge-status.open { background: #e6fff8; color: var(--green-dark); }
.badge-status.closed { background: #fee2e2; color: #ef4444; }

.review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.score-big { font-size: 28px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.stars-orange { color: #FF9900; }
.review-form { background: #fafafa; border: 1px dashed var(--border); border-radius: 16px; padding: 30px; }
.star-rating-select { font-size: 24px; color: #FF9900; margin-bottom: 20px; cursor: pointer; }
.btn-publish { background: var(--green); color: #fff; border: none; padding: 14px 30px; border-radius: 10px; font-weight: 700; font-family: inherit; cursor: pointer; transition: 0.3s; float: right; }

.reviews-grid {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 25px;
}

.review-card-item {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  padding-top: 35px;
  border: 1px solid #eef0f2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  margin-top: 15px;
}

/* Badge com o Nome do Autor (Estilo fita laranja) */
.review-author-badge {
  position: absolute;
  top: -16px;
  left: 20px;
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: #ffffff;
  padding: 6px 18px;
  border-radius: 8px 16px 16px 0px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(243, 156, 18, 0.3);
}

/* Avatar Circular ao Lado */
.review-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.review-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-user-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f39c12;
}

.review-card-body p {
  color: #4a5568;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 10px 0;
}

.review-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #a0aec0;
}

.ad-sidebar { position: sticky; top: 110px; }
.profile-card { background: #fff; border: 1px solid var(--border); border-radius: 28px; padding: 45px 30px; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,0.05); }
.profile-avatar { width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 25px; border: 3px solid var(--orange); overflow: hidden; background: #f8f9fa; box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-name { font-size: 22px; text-transform: uppercase; color: var(--primary); margin-bottom: 5px; }
.profile-loc { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; margin-bottom: 35px; display: block; }

.sidebar-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 16px; border-radius: 12px; border: none; font-weight: 700; font-family: inherit; cursor: pointer; font-size: 14px; text-transform: uppercase; transition: 0.3s; color: #fff; }
.sidebar-btn.whatsapp { background: #00CC99; margin-bottom: 12px; }
.sidebar-btn.insta { background: #E1306C; }
.sidebar-btn.fb { background: #1877F2; }
.sidebar-btn.maps { background: #4285F4; margin-top: 12px; }
.sidebar-btn:hover { transform: translateY(-3px); opacity: 0.95; }
.social-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* FLUXOS DE FORMULÁRIOS DE BASE */
.form-section { display: flex; align-items: center; justify-content: center; min-height: 75vh; padding: 2rem; }
.form-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem; max-width: 480px; width: 100%; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.form-head { text-align: center; margin-bottom: 2rem; }
.form-head h2 { font-family: var(--font-head); font-size: 24px; font-weight: 700; color: var(--primary); }
.form-head p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.input-group { margin-bottom: 1.25rem; }
.input-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--primary); }
.input-group input, .input-group select, .input-group textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px; font-family: var(--font-body); font-size: 14px; outline: none; transition: 0.2s; }
.input-group input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,103,0,0.15); }
.submit-btn { background: var(--orange); color: #fff; border: none; width: 100%; padding: 14px; border-radius: 8px; font-family: var(--font-body); font-size: 14px; font-weight: 700; cursor: pointer; transition: 0.2s; text-transform: uppercase; margin-top: 10px; }
.submit-btn:hover { background: var(--orange-dark); }

/* ================= NOVO PAINEL GERENCIAL (DASHBOARD REFORMULADO) ================= */
.dash-layout-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  max-width: 1300px;
  margin: 2rem auto;
  align-items: start;
}

/* SIDEBAR ESQUERDA DO DASHBOARD */
.dash-sidebar-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 25px 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  position: sticky;
  top: 90px;
}

.dash-user-profile-header {
  text-align: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.dash-avatar-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 12px;
}

.dash-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--orange);
}

.dash-avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255,103,0,0.1);
  color: var(--orange);
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--orange);
}

.dash-user-name {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.dash-user-category {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.dash-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  margin-top: 10px;
}
.dash-status-indicator.active {
  background: #e6fff8;
  color: var(--green-dark);
}
.dash-status-indicator.paused {
  background: #fee2e2;
  color: #d93025;
}
.dash-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dash-status-indicator.active .dash-status-dot { background: var(--green); }
.dash-status-indicator.paused .dash-status-dot { background: #d93025; }

/* MENU LATERAL */
.dash-nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
}

.dash-nav-link i {
  font-size: 16px;
  width: 20px;
  text-align: center;
  transition: 0.2s;
}

.dash-nav-link:hover {
  background: #f8f9fa;
  color: var(--primary);
}

.dash-nav-link.active {
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255,103,0,0.25);
}

.dash-nav-link.active i {
  color: #fff;
}

.dash-nav-link.logout-btn {
  color: #d93025;
  margin-top: 15px;
  border-top: 1px solid var(--border);
  border-radius: 0 0 12px 12px;
  padding-top: 18px;
}
.dash-nav-link.logout-btn:hover {
  background: #fdf2f2;
}

/* ÁREA DIREITA DO CONTEÚDO */
.dash-content-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 35px 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  min-height: 550px;
}

.dash-tab-pane {
  display: none;
  animation: fadeIn 0.3s ease-out;
}

.dash-tab-pane.active {
  display: block;
}

.dash-tab-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.dash-tab-title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}

.dash-tab-subtitle {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

/* TABELA DE HISTÓRICO DE PAGAMENTOS */
.payments-table-container {
  overflow-x: auto;
  margin-top: 20px;
}

.payments-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.payments-table th {
  background: #f8f9fa;
  padding: 14px 18px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}

.payments-table td {
  padding: 18px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--primary);
}

.payment-receipt-link {
  color: var(--orange);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.payment-receipt-link:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .dash-layout-container {
    grid-template-columns: 1fr;
  }
  .dash-sidebar-panel {
    position: relative;
    top: 0;
  }
}


/* ALERTAS */
.toast-alert { position: fixed; bottom: 30px; right: 30px; background: var(--primary); color: #fff; padding: 16px 24px; border-radius: 8px; border-left: 4px solid var(--green); font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,0.2); transform: translateY(100px); opacity: 0; transition: 0.4s; z-index: 2000; }
.toast-alert.show { transform: translateY(0); opacity: 1; }
.toast-alert.danger { border-left-color: #ef4444; }

/* ================= PÁGINA PUBLICAR ANÚNCIO ================= */
.post-container { max-width: 800px; margin: 2rem auto; background: #fff; border-radius: 24px; border: 1px solid var(--border); padding: 50px; box-shadow: 0 10px 40px rgba(0,0,0,0.03); }
.post-header { margin-bottom: 35px; }
.post-accent { width: 40px; height: 4px; background: linear-gradient(90deg, var(--orange), var(--green)); border-radius: 2px; margin-bottom: 15px; }
.post-header h1 { font-family: var(--font-head); font-size: 32px; font-weight: 800; color: var(--primary); margin: 0; }
.post-header p { color: var(--muted); font-size: 15px; margin-top: 5px; }

/* UPLOAD ZONE */
.upload-zone { width: 100%; border: 2px dashed var(--border); border-radius: 16px; padding: 45px; text-align: center; background: #fafafa; cursor: pointer; transition: 0.2s; margin-bottom: 15px; }
.upload-zone:hover { border-color: var(--orange); background: #fff7f0; }
.upload-zone.drag-over { border-color: var(--orange); background: #fff7f0; transform: scale(1.01); box-shadow: 0 0 0 4px rgba(255,103,0,0.15); }
.upload-icon { font-size: 48px; color: var(--muted); margin-bottom: 12px; opacity: 0.5; }
.upload-text { font-size: 14px; color: var(--muted); font-weight: 500; }
.upload-subtext { display: block; font-size: 12px; opacity: 0.7; margin-top: 5px; }

/* GRID DE PRÉVIA DAS IMAGENS ENVIADAS */
.img-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 25px;
  padding: 0;
}
.img-preview-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #e5e7eb;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.img-preview-item:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.15); }
.img-preview-thumb {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s;
}
.img-preview-item:hover .img-preview-thumb { transform: scale(1.04); }
.img-preview-header {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}
.img-preview-badge {
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.img-preview-badge.cover {
  background: var(--orange);
}
.img-preview-badge.order {
  background: rgba(15, 23, 42, 0.75);
}
.img-preview-actions {
  display: flex;
  gap: 4px;
  align-items: center;
}
.img-preview-btn {
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 3px 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.img-preview-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
}
.img-preview-btn.cover-btn {
  background: rgba(255, 103, 0, 0.9);
  font-size: 10px;
}
.img-preview-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 70%, transparent 100%);
  padding: 10px 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0.95;
  transition: opacity 0.2s;
}
.img-preview-name {
  font-size: 10px;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* FORMULÁRIO DE PUBLICAÇÃO */
.post-form-group { margin-bottom: 25px; }
.post-label { display: block; font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.post-control { width: 100%; padding: 15px 20px; border: 1px solid var(--border); border-radius: 12px; font-family: var(--font-body); font-size: 15px; outline: none; transition: 0.2s; background: #fff; color: var(--text); }
.post-control:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,103,0,0.1); }
textarea.post-control { min-height: 140px; resize: vertical; }

.social-fields-box { background: #f8f9fa; border-radius: 16px; padding: 25px; margin-top: 10px; margin-bottom: 30px; border: 1px solid var(--border); }
.social-title { font-family: var(--font-head); font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }

.btn-publish-final { width: 100%; background: var(--orange); color: #fff; border: none; padding: 18px; border-radius: 12px; font-family: var(--font-body); font-size: 16px; font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: 0.2s; text-transform: uppercase; box-shadow: 0 5px 15px rgba(255,103,0,0.2); }
.btn-publish-final:hover { background: var(--orange-dark); transform: translateY(-2px); }

/* ESTILO DO NOVO BANNER INTEGRADO ANTES DO RODAPÉ */
.pre-footer-banner { background: linear-gradient(135deg, var(--primary) 0%, #252542 100%); color: #fff; border-radius: 20px; padding: 3.5rem; margin: 4rem auto 0; max-width: 1172px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-left: 6px solid var(--orange); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.banner-text h3 { font-family: var(--font-head); font-size: 28px; font-weight: 800; line-height: 1.2; }
.banner-text h3 span { color: var(--orange); }
.banner-text p { font-size: 15px; color: rgba(255,255,255,0.7); margin-top: 8px; max-width: 600px; }
.banner-action-btn { background: var(--green); color: #fff; border: none; padding: 16px 36px; border-radius: 10px; font-family: var(--font-body); font-size: 15px; font-weight: 700; cursor: pointer; transition: 0.3s; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }
.banner-action-btn:hover { background: var(--green-dark); transform: translateY(-2px); }

/* RODAPÉ INSTITUCIONAL TOTALMENTE RESTAURADO */
footer { background: var(--primary); color: #fff; padding: 4rem 4rem 2rem; border-top: 4px solid var(--green); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; max-width: 1300px; margin: 0 auto; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 3rem; }
.footer-brand h3 { font-family: var(--font-head); font-size: 24px; font-weight: 800; margin-bottom: 15px; }
.footer-brand h3 span { color: var(--green); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.7); max-width: 280px; }
.footer-col h4 { font-family: var(--font-head); font-size: 16px; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--orange); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px; transition: 0.2s; }
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }
.footer-bottom { max-width: 1300px; margin: 0 auto; padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.5); }

@media (max-width: 950px) {
  .split-register-container { grid-template-columns: 1fr; margin: 1rem; }
  .register-left-banner { display: none; }
  .register-right-form-panel { padding: 3.5rem 2rem; }
  .pre-footer-banner { flex-direction: column; text-align: center; padding: 2.5rem; margin: 2rem 1.5rem 0; } .footer-grid { grid-template-columns: 1fr; } .ad-detail-layout { grid-template-columns: 1fr; } .dash-layout { grid-template-columns: 1fr; } nav, .section, footer { padding: 1.5rem; }
  .post-container { padding: 25px 20px; border-radius: 16px; margin: 1rem; }
}

/* ================= DOIS POP-UPS INDEPENDENTES DE LOCALIZAÇÃO ================= */
.initial-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.initial-search-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.initial-search-box {
  background: var(--card-bg);
  padding: 3rem;
  border-radius: 24px;
  width: 90%;
  max-width: 540px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  animation: modalSlideUp 0.5s ease;
}
@keyframes modalSlideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.initial-search-box h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.initial-search-box p {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}
.popup-search-grid-inputs {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 1.5rem;
}
.initial-search-field-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.initial-search-field-wrapper input, .initial-search-field-wrapper select {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
  background: #fafafa;
  transition: border-color 0.3s;
  color: var(--text);
}
.initial-search-field-wrapper input:focus, .initial-search-field-wrapper select:focus {
  border-color: var(--orange);
  background: #fff;
}
.initial-search-field-wrapper i {
  position: absolute;
  left: 16px;
  color: var(--muted);
  font-size: 14px;
}
.initial-search-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.btn-search-primary {
  background: var(--orange);
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.3s;
}
.btn-search-primary:hover {
  background: var(--orange-dark);
}
.btn-search-skip {
  background: transparent;
  color: var(--muted);
  border: 1px solid #e2e8f0;
  padding: 12px 24px;
  border-radius: 10px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s;
}
.btn-search-skip:hover {
  background: #f8f9fa;
  color: var(--primary);
}

.search-location-indicator-link {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
}
.search-location-indicator-link span {
  font-weight: 700;
  color: #fff;
}
.search-location-indicator-link button {
  background: none;
  border: none;
  color: var(--orange);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  margin-left: 4px;
}


/* ================= LOGO CUSTOMIZADA COM ÍCONE DE FOGUETE ================= */
.brand-logo-custom {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.5px;
}
.brand-logo-custom i {
  color: #ffffff;
  font-size: 22px;
  transform: rotate(45deg);
  display: inline-block;
}

/* ================= PÁGINAS LEGAIS (PRIVACIDADE & TERMOS DE USO) ================= */
.privacy-container, .terms-container {
  max-width: 1000px;
  margin: 2rem auto;
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--border);
  padding: 50px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}
.privacy-header, .terms-header {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 25px;
}
.privacy-header h1, .terms-header h1 {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}
.privacy-updated-badge, .terms-updated-badge {
  display: inline-block;
  background: rgba(0, 204, 153, 0.12);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
}
.privacy-content, .terms-content {
  color: #374151;
  font-size: 15px;
  line-height: 1.7;
}
.privacy-section-block, .terms-section-block {
  margin-bottom: 35px;
}
.privacy-section-block h2, .terms-section-block h2 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.privacy-section-block h2 i, .terms-section-block h2 i {
  color: var(--orange);
  font-size: 18px;
}
.privacy-section-block p, .terms-section-block p {
  margin-bottom: 12px;
}
.privacy-list, .terms-list {
  list-style-type: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}
.privacy-list li, .terms-list li {
  margin-bottom: 6px;
}
.privacy-highlight-box, .terms-highlight-box {
  background: #f8fafc;
  border-left: 4px solid var(--orange);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 20px 0;
}
.privacy-highlight-box strong, .terms-highlight-box strong {
  color: var(--primary);
}

/* ================= PÁGINA CENTRAL DE AJUDA & FAQ ================= */
.help-container {
  max-width: 1050px;
  margin: 2rem auto;
}
.help-hero-box {
  background: linear-gradient(135deg, var(--primary) 0%, #252542 100%);
  color: #fff;
  border-radius: 24px;
  padding: 4rem 3rem;
  text-align: center;
  margin-bottom: 40px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.help-hero-box h1 {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}
.help-hero-box p {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.help-search-input-wrapper {
  position: relative;
  max-width: 650px;
  margin: 0 auto;
}
.help-search-input-wrapper input {
  width: 100%;
  padding: 18px 24px 18px 54px;
  border-radius: 14px;
  border: none;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.help-search-input-wrapper i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--orange);
}
.help-topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}
.help-topic-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 25px;
  transition: all 0.25s ease;
  cursor: pointer;
}
.help-topic-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.topic-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,103,0,0.1);
  color: var(--orange);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.topic-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.topic-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.faq-section-wrapper {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 40px;
}
.faq-section-title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:hover {
  border-color: var(--orange);
}
.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: #fafafa;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
.faq-question:hover {
  background: #fff;
}
.faq-answer {
  padding: 0 24px 20px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.6;
  background: #fff;
}
.faq-answer p {
  margin-top: 12px;
}

.help-cta-support {
  background: linear-gradient(135deg, #00CC99 0%, #009973 100%);
  color: #fff;
  border-radius: 20px;
  padding: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.help-cta-support h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
}
.help-cta-support p {
  font-size: 14px;
  opacity: 0.9;
}
.help-cta-btn {
  background: #fff;
  color: var(--green-dark);
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.2s;
}
.help-cta-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* ================= PÁGINA FALE CONOSCO ================= */
.contact-container {
  max-width: 1100px;
  margin: 2rem auto;
}
.contact-hero-box {
  background: linear-gradient(135deg, var(--primary) 0%, #252542 100%);
  color: #fff;
  border-radius: 24px;
  padding: 3.5rem 3rem;
  text-align: center;
  margin-bottom: 40px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.contact-hero-box h1 {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}
.contact-hero-box p {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto;
}
.contact-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 35px;
  align-items: start;
}
.contact-info-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.contact-channel-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 30px;
}
.contact-channel-icon {
  width: 46px;
  height: 46px;
  background: rgba(255,103,0,0.1);
  color: var(--orange);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-channel-details h4 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.contact-channel-details p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.contact-channel-details a {
  color: var(--orange);
  font-weight: 700;
  text-decoration: none;
}
.contact-channel-details a:hover {
  text-decoration: underline;
}

.contact-form-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.contact-form-panel h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.contact-form-panel p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 25px;
}

@media (max-width: 900px) {
  .contact-grid-layout {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   RESPONSIVIDADE COMPLETA PARA DISPOSITIVOS MÓVEIS E TABLETS
   ========================================================================== */

@media (max-width: 992px) {
  nav { padding: 0 1.5rem; }
  .section { padding: 3rem 1.5rem; }
  .carousel { height: 380px; border-radius: 12px; margin: 0 1rem; }
  .slide-content { padding: 0 2rem; }
  .slide-title { font-size: 32px; }
  .search-bar { padding: 1.5rem 1rem; margin: 0 auto; border-radius: 12px; }
  .ad-detail-layout { grid-template-columns: 1fr; gap: 30px; }
  .ad-sidebar { position: static; }
  .contact-grid-layout { grid-template-columns: 1fr; }
  .dash-layout-container { grid-template-columns: 1fr; }
  .dash-sidebar-panel { position: static; }
}

@media (max-width: 768px) {
  /* HEADER & NAV */
  nav {
    height: auto;
    padding: 1rem;
    flex-direction: column;
    gap: 12px;
  }
  .logo { font-size: 22px; }
  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }
  .nav-btn {
    padding: 8px 12px;
    font-size: 12px;
  }

  /* CARROSSEL & HERO */
  .carousel {
    height: 340px;
    margin: 0;
    border-radius: 0;
  }
  .slide-content {
    padding: 0 1.5rem;
    max-width: 100%;
  }
  .slide-title {
    font-size: 24px;
    margin-bottom: 8px;
  }
  .slide-sub {
    font-size: 13px;
    margin-bottom: 16px;
  }
  .slide-cta {
    padding: 10px 20px;
    font-size: 12px;
  }
  .carousel-dots {
    left: 1.5rem;
    bottom: 15px;
  }

  /* BARRA DE BUSCA */
  .search-bar {
    padding: 1.2rem 1rem;
    border-radius: 0;
  }
  .search-inner {
    flex-direction: column;
    align-items: stretch;
    border-radius: 12px;
  }
  .search-inner select {
    width: 100%;
    min-width: unset;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 14px;
  }
  .search-inner input {
    width: 100%;
    padding: 14px;
  }
  .search-inner button {
    width: 100%;
    padding: 14px;
    border-radius: 0 0 12px 12px;
  }

  /* SEÇÕES E GRIDS DE CARDS */
  .section {
    padding: 2rem 1rem;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .section-title {
    font-size: 22px;
  }
  .cat-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
  }
  .cat-card {
    padding: 1rem 0.5rem;
  }
  .cat-icon {
    font-size: 26px;
  }
  .cat-name {
    font-size: 12px;
  }
  .ads-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* DETALHE DO ANÚNCIO */
  .ad-gallery {
    height: 280px;
    border-radius: 16px;
  }
  .ad-title-main {
    font-size: 24px;
  }
  .content-card {
    padding: 24px 16px;
    border-radius: 16px;
  }
  .profile-card {
    padding: 30px 20px;
    border-radius: 20px;
  }

  /* SPLIT REGISTER & LOGIN */
  .split-register-container {
    grid-template-columns: 1fr;
    margin: 1rem 0.5rem;
    border-radius: 16px;
  }
  .register-left-banner {
    padding: 2.5rem 1.5rem;
  }
  .banner-hero-title {
    font-size: 26px;
  }
  .register-right-form-panel {
    padding: 2.5rem 1.5rem;
  }
  .form-main-title {
    font-size: 24px;
  }

  /* DASHBOARD GERENCIAL */
  .dash-layout-container {
    margin: 1rem 0.5rem;
  }
  .dash-sidebar-panel {
    padding: 20px 15px;
    border-radius: 16px;
  }
  .dash-content-panel {
    padding: 24px 16px;
    border-radius: 16px;
  }
  .dash-tab-title {
    font-size: 20px;
  }
  .payments-table th, .payments-table td {
    padding: 12px 10px;
    font-size: 12px;
  }

  /* PÁGINAS INSTITUCIONAIS, AJUDA E CONTATO */
  .privacy-container, .terms-container {
    padding: 24px 16px;
    border-radius: 16px;
    margin: 1rem 0.5rem;
  }
  .privacy-header h1, .terms-header h1, .help-hero-box h1, .contact-hero-box h1 {
    font-size: 26px;
  }
  .help-hero-box, .contact-hero-box {
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
  }
  .help-topics-grid {
    grid-template-columns: 1fr;
  }
  .faq-section-wrapper, .contact-info-panel, .contact-form-panel {
    padding: 24px 16px;
    border-radius: 16px;
  }
  .help-cta-support {
    flex-direction: column;
    text-align: center;
    padding: 24px 16px;
  }

  /* PRE-FOOTER BANNER & FOOTER */
  .pre-footer-banner {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.5rem;
    margin: 2rem 0.5rem 0;
    border-radius: 16px;
  }
  .banner-text h3 {
    font-size: 22px;
  }
  .banner-action-btn {
    width: 100%;
  }
  footer {
    padding: 3rem 1.5rem 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .logo { font-size: 20px; }
  .slide-title { font-size: 20px; }
  .form-main-title { font-size: 20px; }
  .dash-tab-title { font-size: 18px; }
  .btn-submit-premium-p, .submit-btn, .btn-publish-final {
    padding: 14px 16px;
    font-size: 13px;
  }
}

/* ================= PAINEL DE ADMINISTRAÇÃO OCULTO ================= */
.admin-login-body {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.admin-login-card {
  background: #ffffff;
  border-radius: 24px;
  width: 100%;
  max-width: 440px;
  padding: 40px 35px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-login-head {
  text-align: center;
  margin-bottom: 30px;
}

.admin-badge-lock {
  width: 54px;
  height: 54px;
  background: rgba(255, 103, 0, 0.12);
  color: var(--orange);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
}

.admin-login-title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}

.admin-login-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* PAINEL CONTROL (ADMIN.HTML) LAYOUT */
.admin-layout-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: #0f172a;
  color: #f8fafc;
  padding: 30px 20px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #1e293b;
  overflow-y: auto;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #1e293b;
}

.admin-brand span {
  color: var(--orange);
}

.admin-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-menu-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.admin-menu-btn i {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.admin-menu-btn:hover {
  background: #1e293b;
  color: #f8fafc;
}

.admin-menu-btn.active {
  background: var(--orange);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 103, 0, 0.3);
}

.admin-menu-btn.active i {
  color: #ffffff;
}

.admin-main-content {
  background: #f8fafc;
  padding: 35px 40px;
  overflow-y: auto;
}

.admin-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.admin-page-title {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
}

.admin-page-sub {
  font-size: 14px;
  color: var(--muted);
}

.admin-tab-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.admin-tab-pane.active {
  display: block;
}

/* TABELAS E CARDS DO ADMIN */
.admin-card-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  margin-bottom: 30px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  background: #f1f5f9;
  padding: 14px 18px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.admin-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--primary);
  vertical-align: middle;
}

.admin-btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: 0.2s;
  font-size: 14px;
}

.admin-btn-action.edit {
  background: rgba(255, 103, 0, 0.1);
  color: var(--orange);
}
.admin-btn-action.edit:hover {
  background: var(--orange);
  color: #fff;
}

.admin-btn-action.delete {
  background: #fee2e2;
  color: #dc2626;
}
.admin-btn-action.delete:hover {
  background: #dc2626;
  color: #fff;
}

@media (max-width: 900px) {
  .admin-layout-container {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    height: auto;
    position: relative;
  }
}

/* MODAL DE EDIÇÃO DE ANÚNCIO (ADMIN) */
.admin-edit-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 46, 0.85);
  backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}

.admin-edit-modal-content {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 780px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
  animation: modalSlideIn 0.35s ease-out;
}

@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 768px) {
  .admin-edit-modal-content {
    padding: 25px 20px;
    border-radius: 16px;
  }
  .admin-edit-overlay {
    padding: 20px 10px;
  }
}

/* ======================================================
   BANNER DE CONSENTIMENTO DE COOKIES (LGPD)
   ====================================================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  width: calc(100% - 40px);
  max-width: 960px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.06);
  padding: 18px 24px;
  z-index: 99999999 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  opacity: 0;
  pointer-events: none;
  box-sizing: border-box;
}

.cookie-consent-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-consent-text {
  font-family: var(--font-body, 'Lato', sans-serif);
  font-size: 13.5px;
  line-height: 1.5;
  color: #334155;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-consent-text i {
  font-size: 22px;
  color: #FF6700;
  flex-shrink: 0;
}

.cookie-consent-text a {
  color: #FF6700;
  text-decoration: underline;
  font-weight: 700;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn-accept {
  background: #FF6700;
  color: #ffffff;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  font-family: var(--font-body, 'Lato', sans-serif);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  box-shadow: 0 2px 6px rgba(255, 103, 0, 0.25);
  white-space: nowrap;
}

.cookie-btn-accept:hover {
  background: #e05a00;
  transform: translateY(-1px);
}

.cookie-btn-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.cookie-btn-close:hover {
  color: #475569;
}

@media (max-width: 768px) {
  .cookie-consent-banner {
    bottom: 12px;
    width: calc(100% - 24px);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 14px;
  }
  .cookie-consent-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .cookie-btn-accept {
    width: 100%;
    text-align: center;
    padding: 12px;
  }
}







