/* hotbrazil.com — tema WordPress
   Copia + adapta o sistema visual do protótipo React para CSS puro. */

:root {
  --bg: #FFFFFF;
  --surface: #FFF;
  --surface-2: #F5F2EE;
  --text: #171717;
  --text-2: #525252;
  --text-3: #737373;
  --text-muted: #a3a3a3;
  --border: #ECECE8;
  --border-strong: #D8D6D0;
  --accent: oklch(0.58 0.14 15);
  --card-radius: 12px;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html, body { margin:0; padding:0; font-family: var(--font-body); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; color: inherit; }
img { max-width: 100%; display: block; }

.accent { color: var(--accent); }
.fa-kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; color: var(--accent); text-transform: uppercase; }

/* Header */
/* ═══════════════════════════════════════════════════════════
 * v1.4.7: Header moveu para assets/css/header-home.css
 * (escopado em .fah-nav, espelhando o nav da front-page.php)
 * Classes .header, .header-inner, .header-nav, .header-cta, etc.
 * foram removidas. header.php agora usa template-parts/header-home.php.
 * ═══════════════════════════════════════════════════════════ */

/* Hero */
.hero { border-bottom: 1px solid var(--border); }
.hero-inner { max-width: var(--maxw); margin: 0 auto; padding: 56px 24px 48px; }
.hero-title { margin: 16px 0 18px; font-size: clamp(36px, 5vw, 56px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 500; }
.hero-sub { margin: 0 0 32px; font-size: 17px; color: var(--text-2); max-width: 560px; }
.hero-search { display: flex; align-items: center; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 100px; padding: 6px 6px 6px 8px; max-width: 720px; box-shadow: 0 6px 20px rgba(0,0,0,0.04); }
.hero-search-field { padding: 8px 18px; display: flex; flex-direction: column; gap: 2px; }
.hero-search-field.grow { flex: 1; }
.hero-search-field label { font-size: 11px; font-weight: 600; color: var(--text-2); }
.hero-search-field select, .hero-search-field input { border: none; outline: none; background: none; font-size: 14px; padding: 0; }
.hero-search-sep { width: 1px; height: 30px; background: var(--border); }
.hero-cta { margin-left: 6px; }

/* Buttons */
.btn-primary { background: var(--text); color: var(--bg); padding: 11px 18px; border-radius: 100px; font-size: 14px; font-weight: 500; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.btn-primary:hover { opacity: 0.85; }
.btn-ghost { background: var(--surface); color: var(--text); padding: 11px 18px; border-radius: 100px; font-size: 14px; font-weight: 500; border: 1px solid var(--border-strong); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.link-btn { font-size: 13px; color: var(--text-2); padding: 6px 10px; background: none; border: none; cursor: pointer; }

/* Category rail */
.category-rail { border-bottom: 1px solid var(--border); }
.category-rail-inner { max-width: var(--maxw); margin: 0 auto; padding: 18px 24px; display: flex; gap: 8px; overflow-x: auto; }
.category-btn { padding: 10px 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); text-decoration: none; color: var(--text); flex-shrink: 0; }
.category-label { font-size: 14px; font-weight: 500; }
.category-count { font-size: 11px; opacity: 0.6; margin-top: 2px; }

/* Sections */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; padding: 0 24px; gap: 20px; }
.section-title { margin: 0; font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.section-sub { margin: 4px 0 0; font-size: 14px; color: var(--text-3); }
.section-h { margin: 16px 0 10px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); font-weight: 600; }

.premium-section { max-width: var(--maxw); margin: 0 auto; padding: 48px 0 32px; }
.premium-grid { padding: 0 24px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.main-grid-section { max-width: var(--maxw); margin: 0 auto; padding: 32px 0 48px; }

/* Filters */
.filters-bar { padding: 0 24px; margin-bottom: 20px; }
.filter-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 100px; }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 100px; font-size: 13px; font-weight: 500; color: var(--text-2); cursor: pointer; user-select: none; }
.filter-chip:has(input:checked) { background: var(--text); color: var(--bg); }
.dot-online { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; display: inline-block; }
.pop-filter summary { list-style: none; display: inline-flex; padding: 7px 14px; border-radius: 100px; font-size: 13px; color: var(--text-2); cursor: pointer; }
.pop-filter summary::-webkit-details-marker { display: none; }
.pop-filter[open] summary { background: var(--text); color: var(--bg); }
.pop-content { position: absolute; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px; min-width: 260px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); z-index: 30; display: flex; flex-direction: column; gap: 8px; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-width: 320px; }
.filter-row select { padding: 7px 12px; border-radius: 100px; border: 1px solid var(--border); background: var(--surface); font-size: 13px; }

/* Grid */
.grid { padding: 0 24px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px 16px; }
@media (max-width: 1200px) { .grid, .premium-grid { grid-template-columns: repeat(4, 1fr) !important; } }
@media (max-width: 900px)  { .grid, .premium-grid { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 600px)  { .grid, .premium-grid { grid-template-columns: repeat(2, 1fr) !important; } }

.card { cursor: pointer; }
.card-link { text-decoration: none; color: inherit; display: block; }
.photo-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: var(--card-radius); background: var(--surface-2); }
.photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.badges-tl { position: absolute; top: 8px; left: 8px; display: flex; gap: 4px; }
.badge-premium, .badge-new { font-size: 10px; font-weight: 600; padding: 3px 7px; border-radius: 4px; letter-spacing: 0.08em; color: #fff; }
.badge-premium { background: #171717; }
.badge-new { background: var(--accent); }
.badge-video, .badge-online { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,0.55); color: #fff; padding: 3px 8px; border-radius: 100px; font-size: 10px; font-weight: 500; }
.badge-online { top: auto; bottom: 8px; left: 8px; right: auto; display: inline-flex; align-items: center; gap: 5px; }
.fav-btn { position: absolute; top: 8px; right: 8px; background: rgba(255,255,255,0.9); width: 30px; height: 30px; border-radius: 50%; font-size: 16px; color: #525252; cursor: pointer; border: none; }
.fav-btn.active { color: #e11d48; }
.card-body { padding: 10px 2px 2px; }
.card-row { display: flex; justify-content: space-between; gap: 6px; align-items: center; }
.card-row h3 { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.verified { color: #2563eb; }
.rating { font-size: 12px; color: var(--text); }
.card-loc { font-size: 12px; color: var(--text-3); margin-top: 3px; }
.card-price { font-size: 13px; margin-top: 4px; }
.card-price strong { font-weight: 600; }
.card-price span { color: var(--text-muted); }

.tag-pill { display: inline-block; padding: 3px 8px; background: var(--surface-2); border-radius: 100px; font-size: 11px; color: var(--text-2); margin: 2px; }
.tag-wrap { display: flex; flex-wrap: wrap; gap: 4px; }

.empty-state { margin: 40px 24px; padding: 60px 24px; text-align: center; background: var(--surface); border: 1px dashed var(--border-strong); border-radius: 14px; }

/* Footer */
.footer { border-top: 1px solid var(--border); background: var(--surface-2); margin-top: 64px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 56px 24px 36px; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.footer-cols h5 { margin: 0 0 14px; font-size: 13px; font-weight: 600; }
.footer-cols a { display: block; text-decoration: none; color: var(--text-3); font-size: 13px; padding: 4px 0; }
.footer-cols a:hover { color: var(--text); }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-about { font-size: 13px; color: var(--text-3); line-height: 1.55; max-width: 280px; margin: 14px 0 0; }
.footer-bottom { padding-top: 28px; display: flex; gap: 18px; }
.age-18 { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--text); display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-mono); flex-shrink: 0; }
.footer-legal { font-size: 12px; color: var(--text-3); line-height: 1.6; }

/* Age gate */
.agegate-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.4); backdrop-filter: blur(12px); display: flex; align-items: center; justify-content: center; padding: 24px; }
.agegate-modal { background: var(--surface); border-radius: 18px; max-width: 480px; width: 100%; padding: 36px; box-shadow: 0 30px 80px rgba(0,0,0,0.2); }
.agegate-modal h2 { margin: 12px 0; font-size: 28px; font-weight: 500; letter-spacing: -0.02em; }
.agegate-modal p { color: var(--text-2); font-size: 15px; line-height: 1.55; }
.fa-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.fa-row-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }

/* Forms (registro, submit) */
.fa-form { max-width: 640px; margin: 40px auto; background: var(--surface); padding: 32px; border-radius: 16px; border: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; }
.fa-form h2 { margin: 0; font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.fa-form label { display: flex; flex-direction: column; font-size: 13px; color: var(--text-2); gap: 4px; }
.fa-form label.fa-check { flex-direction: row; align-items: center; gap: 8px; }
.fa-form input[type=text], .fa-form input[type=email], .fa-form input[type=password], .fa-form input[type=number], .fa-form input[type=tel], .fa-form select, .fa-form textarea, .fa-form input[type=search] { padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; background: var(--bg); }
.fa-form textarea { resize: vertical; }
.fa-form fieldset { border: 1px solid var(--border); border-radius: 10px; padding: 14px; }
.fa-check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fa-check-grid label { flex-direction: row; align-items: center; gap: 6px; font-size: 13px; }
.fa-error { background: #fee2e2; color: #991b1b; padding: 10px 14px; border-radius: 8px; font-size: 13px; }
.fa-success { background: #dcfce7; color: #166534; padding: 10px 14px; border-radius: 8px; font-size: 13px; }
.fa-small { font-size: 12px; color: var(--text-3); }

/* Painel */
.fa-dashboard { max-width: var(--maxw); margin: 40px auto; padding: 0 24px; }
.fa-dashboard-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.fa-dashboard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.fa-dash-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.fa-dash-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.fa-dash-body { padding: 14px; }
.fa-dash-body h3 { margin: 0 0 8px; font-size: 15px; }
.fa-dash-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.fa-status { font-size: 11px; padding: 3px 8px; border-radius: 100px; background: var(--surface-2); color: var(--text-2); }
.fa-status-publish { background: #dcfce7; color: #166534; }
.fa-status-pending { background: #fef3c7; color: #854d0e; }
.fa-badge-premium { font-size: 11px; padding: 3px 8px; border-radius: 100px; background: #171717; color: #fff; }
.fa-dash-actions { display: flex; gap: 10px; font-size: 13px; }
.fa-dash-actions a { color: var(--text-2); text-decoration: none; }
.fa-dash-actions a:hover { color: var(--text); text-decoration: underline; }

/* Planos */
.fa-plans { max-width: var(--maxw); margin: 40px auto; padding: 0 24px; }
.fa-plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.fa-plan-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; text-align: center; }
.fa-plan-card h3 { margin: 0; font-size: 20px; }
.fa-plan-price { font-size: 32px; font-weight: 600; margin: 12px 0; letter-spacing: -0.02em; }
.fa-plan-card ul { list-style: none; padding: 0; margin: 16px 0; text-align: left; font-size: 13px; color: var(--text-2); }
.fa-plan-card ul li { padding: 6px 0; border-bottom: 1px solid var(--border); }

/* Single */
.single-listing { max-width: var(--maxw); margin: 40px auto; padding: 0 24px; }
.single-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .single-grid { grid-template-columns: 1fr; } .footer-cols { grid-template-columns: 1fr 1fr; } .fa-plans-grid { grid-template-columns: 1fr; } }
.single-gallery img { border-radius: 14px; }
.thumb-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.thumb-row img { border-radius: 8px; aspect-ratio: 1; object-fit: cover; }
.single-details h1 { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 8px; }
.single-loc { color: var(--text-3); margin-bottom: 16px; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat-label { font-size: 11px; text-transform: uppercase; color: var(--text-3); letter-spacing: 0.06em; }
.stat-value { font-size: 15px; font-weight: 600; margin-top: 4px; }
.price-grid { display: flex; flex-direction: column; }
.price-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.cta-row { display: flex; gap: 10px; margin-top: 16px; }
.warn-box { background: var(--surface-2); padding: 12px; border-radius: 8px; font-size: 12px; color: var(--text-3); margin-top: 16px; }

/* ═══ v2.2.7 HTML5 semântico: skip-link + screen-reader helpers (WCAG 2.4.1) ═══ */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.skip-link {
	position: absolute;
	top: -48px;
	left: 8px;
	z-index: 10000;
	background: #1a1a1a;
	color: #fff;
	padding: 10px 16px;
	border-radius: 0 0 6px 6px;
	font-weight: 600;
	text-decoration: none;
	transition: top 0.15s;
}
.skip-link:focus {
	top: 0;
	outline: 3px solid #fcd34d;
	outline-offset: 2px;
}
