/*
Theme Name: Elite Companions
Theme URI: https://elitecompanions.com.br
Author: Elite Companions
Author URI: https://elitecompanions.com.br
Description: Tema elegante para anúncios de acompanhantes. Suporta perfis com fotos, galeria, informações de contato e destaque na página inicial.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elite-companions
Tags: custom-menu, custom-logo, featured-images, full-width-template, post-formats, theme-options
*/

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --card: #161616;
  --border: #2a2a2a;
  --gold: #c9a96e;
  --gold-light: #e2c99a;
  --gold-dim: rgba(201,169,110,0.15);
  --text: #e8e0d5;
  --muted: #888070;
  --white: #f5f0e8;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }

/* === HEADER === */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 40px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
}
.site-logo span { font-style: italic; color: var(--gold-light); }
.site-logo img { max-height: 40px; width: auto; }

#site-navigation { display: flex; gap: 32px; align-items: center; }
#site-navigation a {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .25s;
}
#site-navigation a:hover { color: var(--gold); }
.menu-cta {
  border: 1px solid var(--gold) !important;
  padding: 8px 20px;
  color: var(--gold) !important;
  border-radius: 2px;
  transition: background .25s !important;
}
.menu-cta:hover { background: var(--gold-dim) !important; }

/* Hamburger */
.menu-toggle {
  display: none;
  background: none; border: 1px solid var(--border);
  color: var(--muted); padding: 8px 10px;
  border-radius: 2px;
}
.menu-toggle span {
  display: block; width: 20px; height: 1px;
  background: var(--muted); margin: 4px 0;
  transition: all .25s;
}

/* === MAIN CONTENT === */
#content { margin-top: 64px; }

/* === HERO === */
.site-hero {
  padding: 80px 40px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.site-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,169,110,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-desc {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  max-width: 440px;
  margin: 0 auto 40px;
  line-height: 1.8;
}
.divider {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 40px;
}

/* === SECTION LABEL === */
.section-wrap { padding: 0 40px 60px; }
.section-label {
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 16px;
}
.section-label::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
}

/* === FEATURED CARD === */
.featured-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
  border: 1px solid var(--border);
  transition: border-color .3s;
  text-decoration: none;
}
.featured-card:hover { border-color: var(--gold); }
.featured-img { position: relative; overflow: hidden; }
.featured-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
  filter: brightness(0.88) saturate(0.9);
}
.featured-card:hover .featured-img img { transform: scale(1.04); }
.featured-badge {
  position: absolute; top: 20px; left: 20px;
  background: var(--gold);
  color: #0a0a0a;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 5px 12px;
  font-weight: 500;
  border-radius: 2px;
}
.featured-info {
  padding: 48px;
  background: var(--card);
  display: flex; flex-direction: column; justify-content: center;
  border-left: 1px solid var(--border);
}
.featured-info .tag {
  font-size: 0.6rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.featured-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem; font-weight: 300;
  color: var(--white); margin-bottom: 6px; line-height: 1.1;
}
.featured-age {
  font-size: 0.75rem; color: var(--muted);
  letter-spacing: 0.1em; margin-bottom: 24px;
}
.featured-excerpt {
  font-size: 0.85rem; line-height: 1.9;
  color: #9a9280; margin-bottom: 32px; max-width: 340px;
}
.featured-stats { display: flex; gap: 32px; margin-bottom: 36px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-label { font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.stat-value { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--gold-light); }
.btn-profile {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--gold); color: var(--gold);
  padding: 13px 28px; font-size: 0.68rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  font-family: 'Jost', sans-serif;
  background: transparent; border-radius: 2px;
  transition: all .25s; width: fit-content;
}
.btn-profile:hover { background: var(--gold-dim); }

/* === PROFILES GRID === */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2px;
}
.profile-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
  background: var(--card);
  display: block;
  text-decoration: none;
}
.profile-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease, filter .5s ease;
  filter: brightness(0.82) saturate(0.85);
}
.profile-card:hover img {
  transform: scale(1.07);
  filter: brightness(0.6) saturate(0.7);
}
.card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 55%);
  pointer-events: none;
}
.card-hover-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0; transition: opacity .4s;
  display: flex; align-items: center; justify-content: center;
}
.profile-card:hover .card-hover-overlay { opacity: 1; }
.hover-btn {
  border: 1px solid rgba(201,169,110,0.7);
  color: var(--gold); padding: 10px 24px;
  font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase; font-family: 'Jost', sans-serif;
  background: rgba(0,0,0,0.4); border-radius: 2px;
  backdrop-filter: blur(4px);
  transform: translateY(8px);
  transition: transform .3s, background .2s;
}
.profile-card:hover .hover-btn { transform: translateY(0); }
.card-vip {
  position: absolute; top: 14px; right: 14px;
  background: var(--gold); color: #0a0a0a;
  font-size: 0.55rem; letter-spacing: 0.2em;
  text-transform: uppercase; padding: 4px 10px;
  font-weight: 500; border-radius: 2px;
}
.card-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 20px 18px;
}
.card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 300;
  color: var(--white); line-height: 1; margin-bottom: 4px;
}
.card-meta { font-size: 0.68rem; letter-spacing: 0.08em; color: #b0a898; }

/* === SINGLE PROFILE PAGE === */
.profile-page-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 64px);
}
.profile-gallery-col {
  position: sticky; top: 64px;
  height: calc(100vh - 64px);
  overflow: hidden;
}
.gallery-main-img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.9) saturate(0.9);
  transition: opacity .4s;
}
.gallery-thumbs {
  position: absolute; bottom: 24px; left: 24px;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.gallery-thumb {
  width: 54px; height: 54px;
  object-fit: cover; cursor: pointer;
  border: 2px solid transparent; border-radius: 2px;
  transition: border-color .2s; filter: brightness(0.7);
}
.gallery-thumb:hover, .gallery-thumb.active {
  border-color: var(--gold); filter: brightness(1);
}
.profile-details-col {
  padding: 80px 56px;
  background: var(--bg);
  overflow-y: auto;
  border-left: 1px solid var(--border);
}
.profile-details-col .tag {
  font-size: 0.6rem; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px; display: block;
}
.profile-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem; font-weight: 300;
  color: var(--white); line-height: 1; margin-bottom: 8px;
}
.profile-subtitle {
  font-size: 0.78rem; color: var(--muted);
  letter-spacing: 0.12em; margin-bottom: 36px;
}
.info-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 3px;
  overflow: hidden; margin-bottom: 40px;
}
.info-cell { background: var(--card); padding: 16px 20px; }
.info-cell .lbl {
  font-size: 0.58rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
.info-cell .val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; color: var(--gold-light);
}
.profile-section-heading {
  font-size: 0.6rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.profile-bio {
  font-size: 0.85rem; line-height: 2;
  color: #9a9280; margin-bottom: 36px;
}
.services-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.service-tag {
  font-size: 0.65rem; letter-spacing: 0.12em;
  padding: 6px 14px; border: 1px solid var(--border);
  color: var(--muted); border-radius: 2px;
}
.photo-strip {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 8px; margin-bottom: 40px;
}
.photo-strip-img {
  width: 100%; aspect-ratio: 1;
  object-fit: cover; border-radius: 2px;
  filter: brightness(0.85) saturate(0.85);
  cursor: pointer; transition: filter .25s, transform .25s;
}
.photo-strip-img:hover { filter: brightness(1) saturate(1); transform: scale(1.02); }

/* Contact */
.contact-section { margin-top: 8px; }
.contact-btn {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 24px; background: var(--card);
  border: 1px solid var(--border); color: var(--text);
  border-radius: 3px; text-decoration: none;
  transition: border-color .25s, background .25s;
  margin-bottom: 10px;
}
.contact-btn:hover { border-color: var(--gold); background: var(--gold-dim); }
.cb-icon {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.cb-icon.wpp { background: #25d366; }
.cb-icon.tel { background: #2a6fd6; }
.cb-info { display: flex; flex-direction: column; gap: 2px; }
.cb-label { font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.cb-number { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; color: var(--white); }

/* Back button */
.back-btn {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 0.68rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 48px; transition: color .2s;
}
.back-btn:hover { color: var(--gold); }

/* === FOOTER === */
#site-footer {
  border-top: 1px solid var(--border);
  padding: 40px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--gold); letter-spacing: 0.18em; text-transform: uppercase; }
.footer-logo em { font-style: italic; color: var(--gold-light); }
.footer-copy { font-size: 0.65rem; letter-spacing: 0.12em; color: var(--muted); margin-top: 4px; }
.footer-disclaimer { font-size: 0.6rem; color: #555; max-width: 500px; line-height: 1.7; text-align: right; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 2px; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: 1px solid var(--border);
  color: var(--muted); width: 42px; height: 42px;
  border-radius: 2px; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; cursor: pointer;
}
.lightbox-close:hover { border-color: var(--gold); color: var(--gold); }

/* === PAGINATION === */
.pagination { display: flex; justify-content: center; gap: 8px; padding: 40px 0 20px; }
.pagination a, .pagination span {
  border: 1px solid var(--border); color: var(--muted);
  padding: 8px 16px; font-size: 0.7rem; border-radius: 2px;
  transition: all .2s;
}
.pagination a:hover, .pagination .current {
  border-color: var(--gold); color: var(--gold); background: var(--gold-dim);
}

/* === RESPONSIVE === */
@media (max-width: 960px) {
  .featured-card { grid-template-columns: 1fr; }
  .featured-img { min-height: 300px; }
  .featured-info { padding: 32px 28px; border-left: none; border-top: 1px solid var(--border); }
  .profile-page-wrap { grid-template-columns: 1fr; }
  .profile-gallery-col { position: relative; height: 70vw; }
  .profile-details-col { padding: 40px 24px; }
  .info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  #site-header { padding: 0 20px; }
  #site-navigation { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--surface); border-bottom: 1px solid var(--border); padding: 20px; gap: 16px; }
  #site-navigation.open { display: flex; }
  .menu-toggle { display: block; }
  .site-hero, .section-wrap { padding-left: 20px; padding-right: 20px; }
  #site-footer { flex-direction: column; gap: 16px; }
  .footer-disclaimer { text-align: left; }
}
