/* ============================================
   BREMPEX BY LUMEN — Estilos Principais
   Paleta oficial: #F5F5F3 / #1F2A30 / #E8D8C3 / #D6D6D4
   Tipografia: Playfair Display + Montserrat
   ============================================ */

:root {
  --offwhite:  #F5F5F3;
  --branco:    #FFFFFF;
  --azul:      #1F2A30;
  --azul-med:  #2c3d46;
  --cinza:     #D6D6D4;
  --bege:      #E8D8C3;
  --cinza-txt: #6b7a82;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--offwhite);
  color: var(--azul);
  min-height: 100vh;
}

/* ── HEADER ── */
.header {
  background: #1F2A30;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  /* overflow removed — allows mobile nav to drop below header */
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
  flex-wrap: nowrap;
  padding: 0.6rem 0;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  flex-shrink: 0;
  min-width: 0;
}
.logo-main {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--azul);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.logo-sub { display: none; }
.header-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.nav-link {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cinza-txt);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--azul); }

/* Hamburger menu — mobile */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #E8D8C3;
  transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Área direita do header — botão + hambúrguer sempre visíveis */
.header-actions {
  display: none; /* escondido no desktop — aparece só no mobile via media query */
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.btn-cad {
  background: var(--azul);
  color: var(--branco);
  border: none;
  padding: 0.6rem 1.4rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
  white-space: nowrap;
}
.btn-cad:hover { background: var(--azul-med); }

/* ── HERO ── */
.hero {
  background: var(--azul);
  padding: 7rem 3rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 30% 50%, rgba(232,216,195,0.07) 0%, transparent 60%),
              radial-gradient(ellipse 60% 80% at 75% 50%, rgba(232,216,195,0.04) 0%, transparent 60%);
}
.hero-inner { position:relative; z-index:1; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bege);
  font-weight: 500;
  margin-bottom: 2rem;
  opacity: 0.85;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--bege);
  opacity: 0.4;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  font-weight: 400;
  color: var(--branco);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}
.hero h1 em { font-style:italic; color:var(--bege); }
.hero-desc {
  color: rgba(255,255,255,0.42);
  font-size: 0.82rem;
  font-weight: 300;
  max-width: 400px;
  margin: 1.3rem auto 0;
  line-height: 1.8;
  letter-spacing: 0.03em;
}
.hero-stats {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}
.stat {
  text-align: center;
  padding: 0 3rem;
  border-right: 1px solid rgba(214,214,212,0.15);
}
.stat:last-child { border-right:none; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--bege);
  font-weight: 400;
  display: block;
  line-height: 1;
}
.stat-label {
  font-size: 0.58rem;
  color: rgba(255,255,255,0.33);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  display: block;
}

/* ── FILTROS ── */
.filtros-wrap {
  background: var(--branco);
  border-bottom: 1px solid var(--cinza);
  padding: 1.1rem 3rem;
  position: sticky;
  top: 76px;
  z-index: 90;
}
.filtros-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 0.7rem;
  align-items: center;
  flex-wrap: wrap;
}
.f-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cinza-txt);
  font-weight: 600;
  white-space: nowrap;
}
.f-select {
  border: 1px solid var(--cinza);
  background: var(--offwhite);
  padding: 0.55rem 2rem 0.55rem 0.85rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  color: var(--azul);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24'%3E%3Cpath fill='%231F2A30' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  background-color: var(--offwhite);
  min-width: 170px;
  transition: border-color 0.2s;
}
.f-select:focus { outline:none; border-color:var(--azul); }
.f-busca {
  flex: 1;
  min-width: 180px;
  border: 1px solid var(--cinza);
  background: var(--offwhite);
  padding: 0.55rem 0.85rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  color: var(--azul);
  transition: border-color 0.2s;
}
.f-busca::placeholder { color:#bbb; }
.f-busca:focus { outline:none; border-color:var(--azul); }
.btn-buscar {
  background: var(--azul);
  color: var(--branco);
  border: none;
  padding: 0.55rem 1.2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-buscar:hover { background: var(--azul-med); }
.f-count {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--cinza-txt);
  white-space: nowrap;
  font-weight: 300;
}
.f-count strong { color:var(--azul); font-weight:600; }

/* ── MAIN ── */
.main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 3rem;
}



/* ── PAÍS ── */
.pais-bloco { margin-bottom: 4rem; }
.pais-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--cinza);
}
.pais-flag { font-size:1.4rem; line-height:1; }
.pais-nome {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--azul);
}
.pais-pill {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cinza-txt);
  border: 1px solid var(--cinza);
  padding: 0.18rem 0.65rem;
  background: var(--branco);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
  gap: 1.2rem;
}

/* ── CARD ── */
.card {
  background: var(--branco);
  border: 1px solid var(--cinza);
  position: relative;
  transition: all 0.28s ease;
  overflow: hidden;
}
.card:hover {
  border-color: var(--azul);
  box-shadow: 0 8px 40px rgba(31,42,48,0.09);
  transform: translateY(-3px);
}
.card.destaque { border-top: 2px solid var(--azul); }

.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--azul);
  color: var(--branco);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  z-index: 10;
}

/* Carrossel */
.card-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 540 / 675;
  overflow: hidden;
  background: var(--bege);
}
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: var(--bege);
  overflow: hidden;
}
.carousel-slide.active { opacity: 1; }
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transform: scale(1.02);
  transform-origin: center top;
}
.foto-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bege);
}
.foto-placeholder span {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  font-style: italic;
  color: rgba(31,42,48,0.1);
}
.carousel-prev, .carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(31,42,48,0.5);
  color: white;
  border: none;
  width: 28px;
  height: 28px;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.carousel-prev:hover, .carousel-next:hover { background: rgba(31,42,48,0.85); }
.carousel-prev { left: 0.5rem; }
.carousel-next { right: 0.5rem; }
.carousel-dots {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.3rem;
  z-index: 5;
}
.dot {
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}
.dot.active { background: white; }

.card-body { padding: 1.4rem 1.5rem 1.6rem; }
.card-cat {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cinza-txt);
  font-weight: 600;
  margin-bottom: 0.45rem;
}
.card-nome {
  font-family: 'Playfair Display', serif;
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--azul);
  line-height: 1.2;
  margin-bottom: 0.12rem;
}
.card-prof {
  font-size: 0.72rem;
  color: var(--cinza-txt);
  margin-bottom: 0.65rem;
  font-style: italic;
}
.card-local {
  font-size: 0.68rem;
  color: #aaa;
  margin-bottom: 1rem;
}
.sep { height:1px; background:var(--cinza); margin-bottom:1rem; opacity:0.6; }
.card-desc {
  font-size: 0.76rem;
  color: var(--cinza-txt);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 1.1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-actions { display:flex; gap:0.4rem; flex-wrap:wrap; }
.act {
  display: inline-flex;
  align-items: center;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.38rem 0.85rem;
  text-decoration: none;
  transition: all 0.18s;
  border: 1px solid;
}
.act.wa  { border-color:#25d366; color:#25d366; }
.act.wa:hover  { background:#25d366; color:white; }
.act.ig  { border-color:#c13584; color:#c13584; }
.act.ig:hover  { background:#c13584; color:white; }
.act.web { border-color:var(--azul); color:var(--azul); }
.act.web:hover { background:var(--azul); color:white; }

/* ── EMPTY ── */
.empty { text-align:center; padding:5rem 2rem; }
.empty-sym {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--cinza);
  margin-bottom: 1rem;
  display: block;
  font-style: italic;
}
.empty p { font-size:0.82rem; color:var(--cinza-txt); font-weight:300; line-height:1.7; }

/* ── FOOTER ── */
.footer {
  background: var(--azul);
  padding: 2rem 3rem;
  margin-top: 4rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--bege);
  font-style: italic;
}
.footer-copy { font-size:0.65rem; color:rgba(255,255,255,0.3); letter-spacing:0.1em; }

/* ── FORMULÁRIOS (cadastro / login / edição) ── */
.form-page {
  max-width: 620px;
  margin: 4rem auto;
  padding: 0 2rem;
}
.form-page-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--azul);
  margin-bottom: 0.4rem;
}
.form-page-sub {
  font-size: 0.8rem;
  color: var(--cinza-txt);
  font-weight: 300;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.form-box {
  background: var(--branco);
  border: 1px solid var(--cinza);
  padding: 2.5rem;
}
.field-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.field { margin-bottom:1.2rem; }
.field label {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cinza-txt);
  margin-bottom: 0.4rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--cinza);
  background: var(--offwhite);
  padding: 0.7rem 0.9rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  color: var(--azul);
  transition: border-color 0.2s;
  appearance: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--azul);
}
.field textarea { resize:vertical; min-height:90px; font-weight:300; }
.field-full { grid-column:1/-1; }
.field-hint {
  font-size: 0.65rem;
  color: #bbb;
  margin-top: 0.3rem;
  font-weight: 300;
}

/* Upload fotos */
.fotos-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:0.6rem; margin-bottom:0.5rem; }
.foto-slot {
  aspect-ratio: 1;
  border: 1.5px dashed var(--cinza);
  background: var(--offwhite);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
}
.foto-slot:hover { border-color: var(--azul); }
.foto-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.foto-slot-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--cinza);
  font-style: italic;
}
.foto-slot-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(31,42,48,0.7);
  color: white;
  font-size: 0.55rem;
  text-align: center;
  padding: 0.25rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.2s;
}
.foto-slot:hover .foto-slot-label { opacity: 1; }

/* Planos */
.planos { display:grid; grid-template-columns:1fr 1fr; gap:0.8rem; margin-bottom:1.5rem; }
.plano {
  border: 1px solid var(--cinza);
  padding: 1.3rem;
  cursor: pointer;
  text-align: center;
  background: var(--offwhite);
  transition: all 0.2s;
}
.plano:hover, .plano.sel { border-color:var(--azul); background:var(--branco); }
.plano input[type=radio] { display:none; }
.plano-nome { font-size:0.75rem; font-weight:600; color:var(--cinza-txt); letter-spacing:0.1em; text-transform:uppercase; margin-bottom:0.5rem; }
.plano.sel .plano-nome { color:var(--azul); }
.plano-preco { font-family:'Playfair Display',serif; font-size:1.7rem; color:var(--azul); font-weight:400; line-height:1; }
.plano-info { font-size:0.62rem; color:#bbb; margin-top:0.35rem; font-weight:300; }

.divisor { height:1px; background:var(--cinza); margin:1rem 0 1.5rem; opacity:0.6; }

.btn-submit {
  width: 100%;
  background: var(--azul);
  color: var(--branco);
  border: none;
  padding: 1.1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}
.btn-submit:hover { background: var(--azul-med); }

.msg-erro {
  background: #fff0f0;
  border: 1px solid #ffcccc;
  color: #c00;
  padding: 0.8rem 1rem;
  font-size: 0.78rem;
  margin-bottom: 1.2rem;
}
.msg-ok {
  background: #f0fff4;
  border: 1px solid #b2f0c8;
  color: #1a7a3a;
  padding: 0.8rem 1rem;
  font-size: 0.78rem;
  margin-bottom: 1.2rem;
}
.link-login { text-align:center; margin-top:1.2rem; font-size:0.75rem; color:var(--cinza-txt); }
.link-login a { color:var(--azul); font-weight:600; text-decoration:none; }

/* ── ADMIN ── */
.admin-wrap { max-width:1100px; margin:3rem auto; padding:0 2rem; }
.admin-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 2rem;
  color: var(--azul);
}
.admin-table { width:100%; border-collapse:collapse; background:var(--branco); }
.admin-table th {
  background: var(--azul);
  color: var(--branco);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.9rem 1rem;
  text-align: left;
  font-weight: 600;
}
.admin-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--cinza);
  font-size: 0.8rem;
  color: var(--azul);
  vertical-align: middle;
}
.admin-table tr:hover td { background: var(--offwhite); }
.admin-foto { width:48px; height:48px; object-fit:cover; object-position:top; }
.status-badge {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 0;
}
.status-pendente  { background:#fff8e1; color:#b8860b; border:1px solid #f0d060; }
.status-aprovada  { background:#f0fff4; color:#1a7a3a; border:1px solid #b2f0c8; }
.status-rejeitada { background:#fff0f0; color:#c00; border:1px solid #ffc0c0; }
.btn-aprovar, .btn-rejeitar {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s;
}
.btn-aprovar  { background:var(--azul); color:var(--branco); }
.btn-rejeitar { background:#c00; color:white; margin-left:0.3rem; }
.btn-aprovar:hover, .btn-rejeitar:hover { opacity:0.85; }

/* ── RESPONSIVO ── */
@media (max-width:768px) {
  /* Header mobile */
  .header { padding: 0 1.2rem; }
  .header-inner { min-height: 60px; }
  .logo-sub { display: none; }
  .nav-toggle { display: flex; }
  .header-actions { display: flex; } /* mostrar no mobile */
  /* Esconder nav inteiro no mobile inicialmente, e btn-cad dentro do nav */
  .header-nav .btn-cad { display: none; }
  /* Esconder nav no desktop que está no header-actions */
  .header-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #1F2A30;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 1.2rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
    z-index: 999;
  }
  .header-nav.open { display: flex; }
  .header-nav .nav-link {
    font-size: 0.88rem;
    padding: 0.4rem 0;
    color: rgba(245,245,243,.8) !important;
    border-bottom: 1px solid rgba(255,255,255,.08);
    width: 100%;
  }
  .lang-dropdown { display: none; }

  /* Hero */
  .hero { padding: 3.5rem 1.2rem 3rem; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-stats { flex-direction: column; gap: 1.2rem; }
  .stat { border-right: none; border-bottom: 1px solid rgba(214,214,212,0.15); padding: 0 0 1.2rem; }
  .stat:last-child { border-bottom: none; padding-bottom: 0; }

  /* Filtros */
  .filtros-wrap { padding: 0.8rem 1.2rem; top: 60px; }
  .filtros-inner { flex-direction: column; align-items: stretch; gap: 0.5rem; }
  .f-label, .f-count { display: none; }
  .f-select, .f-busca { width: 100%; min-width: unset; }
  .btn-buscar { width: 100%; }

  /* Main */
  .main { padding: 2rem 1.2rem; }

  /* Cards */
  .cards-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }

  /* Forms */
  .fotos-grid { grid-template-columns: repeat(2,1fr); }
  .field-row { grid-template-columns: 1fr; }
  .planos { grid-template-columns: 1fr; }
  .form-page { padding: 0 1.2rem; margin: 2rem auto; }
  .form-box { padding: 1.5rem; }

  /* Banner */
  .banner { grid-template-columns: 1fr; padding: 1.5rem; }

  /* Blog preview */
  .blog-preview-section { padding: 3rem 1.2rem; }
  .blog-preview-header { flex-direction: column; align-items: flex-start; }
  .blog-preview-grid { grid-template-columns: 1fr; }

  /* Colunista */
  .colunista-section { padding: 3rem 1.2rem; }
  .colunista-inner { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Spotlight */
  .spotlight-slide { height: 420px; }
  .spotlight-content { padding: 1.5rem; }
  .spotlight-header { left: 1.2rem; top: 0.8rem; }

  /* Footer */
  .footer { padding: 1.5rem 1.2rem; }
  .footer-inner { flex-direction: column; text-align: center; gap: 0.5rem; }

  /* Admin */
  .adm-wrap { flex-direction: column; }
  .adm-sidebar { width: 100%; min-width: unset; height: auto; position: relative; }
  .adm-nav { display: flex; flex-wrap: wrap; padding: 0.5rem; }
  .adm-nav a { padding: 0.5rem 0.8rem; font-size: 0.7rem; border-left: none; border-bottom: 2px solid transparent; }
  .adm-nav a.ativa { border-bottom-color: #E8D8C3; border-left: none; }
  .adm-nav-section { display: none; }
  .adm-content { padding: 1rem; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .logo-main { font-size: 1.1rem; }
  .spotlight-slide { height: 360px; }
  .spotlight-nome { font-size: 1.4rem; }
}

/* ── BLOG PREVIEW SECTION ── */
.blog-preview-section {
  background: #F5F5F3;
  padding: 5rem 3rem;
  border-top: 1px solid #D6D6D4;
}
.blog-preview-inner { max-width: 1280px; margin: 0 auto; }
.blog-preview-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.blog-preview-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6b7a82;
  font-weight: 600;
  display: block;
  margin-bottom: 0.3rem;
}
.blog-preview-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: #1F2A30;
  margin: 0;
}
.blog-preview-all {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1F2A30;
  text-decoration: none;
  border-bottom: 1px solid #D6D6D4;
  padding-bottom: 2px;
  white-space: nowrap;
  transition: border-color 0.2s;
}
.blog-preview-all:hover { border-color: #1F2A30; }
.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}
.blog-preview-card {
  background: #fff;
  border: 1px solid #D6D6D4;
  text-decoration: none;
  color: #1F2A30;
  transition: all 0.25s ease;
  display: block;
  overflow: hidden;
}
.blog-preview-card:hover {
  border-color: #1F2A30;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(31,42,48,0.09);
}
.bpc-img {
  width: 100%;
  height: 180px;
  background: #E8D8C3;
  background-size: cover;
  background-position: center;
}
.bpc-img-ph { background: linear-gradient(135deg, #E8D8C3 0%, #d8c4a8 100%); }
.bpc-body { padding: 1.2rem 1.4rem 1.5rem; }
.bpc-autora {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6b7a82;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.bpc-titulo {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #1F2A30;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.bpc-resumo {
  font-size: 0.75rem;
  color: #6b7a82;
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 0.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bpc-data { font-size: 0.65rem; color: #bbb; font-weight: 300; }

/* ── COLUNISTA SECTION ── */
.colunista-section {
  background: #1F2A30;
  padding: 4.5rem 3rem;
}
.colunista-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
}
.colunista-eyebrow {
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(232,216,195,0.55);
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.colunista-titulo {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: #F5F5F3;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.8rem;
}
.colunista-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.42);
  font-weight: 300;
  line-height: 1.8;
  max-width: 520px;
}
.colunista-btn {
  background: #E8D8C3;
  color: #1F2A30;
  border: none;
  padding: 1rem 2.2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  display: inline-block;
}
.colunista-btn:hover { background: #f0e4d0; }

@media (max-width: 768px) {
  .blog-preview-section { padding: 3.5rem 1.5rem; }
  .colunista-section { padding: 3rem 1.5rem; }
  .colunista-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .blog-preview-header { flex-direction: column; align-items: flex-start; }
}

/* ── TRADUÇÃO ── */
.lang-switcher-nav {
  display: flex;
  gap: 2px;
  align-items: center;
  border: 1px solid var(--cinza);
  overflow: hidden;
  flex-shrink: 0;
}
.lang-btn {
  background: none;
  border: none;
  padding: 0.35rem 0.6rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cinza-txt);
  cursor: pointer;
  transition: all 0.18s;
  border-right: 1px solid var(--cinza);
  line-height: 1;
}
.lang-btn:last-child { border-right: none; }
.lang-btn:hover { background: var(--offwhite); color: var(--azul); }
.lang-btn.active { background: var(--azul); color: var(--branco); }

/* Ocultar barra do Google Translate */
.goog-te-banner-frame, .skiptranslate { display: none !important; }
body { top: 0 !important; }
.goog-te-gadget { font-size: 0 !important; }

/* ── SEÇÃO CATEGORIAS DESTAQUE NA HOME ── */
.cats-section {
  background: var(--branco);
  border-top: 1px solid var(--cinza);
  border-bottom: 1px solid var(--cinza);
  padding: 2.5rem 3rem;
}
.cats-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.cats-label {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cinza-txt);
  font-weight: 600;
  white-space: nowrap;
}
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border: 1px solid var(--cinza);
  color: var(--azul);
  text-decoration: none;
  transition: all 0.18s;
  background: var(--offwhite);
  white-space: nowrap;
}
.cat-pill:hover { border-color: var(--azul); background: var(--azul); color: var(--branco); }
.cat-pill.inst { border-color: var(--bege); background: rgba(232,216,195,0.15); }
.cat-pill.inst:hover { background: var(--azul); border-color: var(--azul); color: var(--branco); }

@media (max-width: 768px) {
  .cats-section { padding: 1.5rem 1.2rem; }
  .lang-switcher-nav { order: -1; }
}

/* ── FLAG DROPDOWN ── */
.lang-dropdown {
  position: relative;
  flex-shrink: 0;
}
.lang-flag-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: 1px solid var(--cinza);
  padding: 0.3rem 0.6rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--azul);
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
}
.lang-flag-btn:hover { border-color: var(--azul); background: var(--offwhite); }
.lang-flag-btn img { width: 20px; height: auto; display: block; }
.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: var(--branco);
  border: 1px solid var(--cinza);
  box-shadow: 0 8px 24px rgba(31,42,48,0.12);
  min-width: 140px;
  z-index: 200;
}
.lang-menu.open { display: block; }
.lang-menu button {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  background: none;
  border: none;
  padding: 0.65rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--azul);
  cursor: pointer;
  text-align: left;
  border-bottom: 1px solid var(--cinza);
  transition: background 0.15s;
}
.lang-menu button:last-child { border-bottom: none; }
.lang-menu button:hover { background: var(--offwhite); }
.lang-menu button img { width: 20px; height: auto; }

/* Remove old lang-switcher-nav */
.lang-switcher-nav { display: none; }

/* ── CAMPO COM ERRO ── */
.field input.campo-erro,
.field select.campo-erro,
.field textarea.campo-erro {
  border-color: #c00 !important;
  background: #fff8f8;
}
.campo-erro-msg {
  font-size: 0.65rem;
  color: #c00;
  font-weight: 600;
  margin-top: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.campo-erro-msg::before { content: '⚠'; }

/* ── Botão Entrar em destaque ── */
.btn-entrar {
  border: 1.5px solid var(--azul);
  color: var(--azul);
  background: transparent;
  padding: 0.55rem 1.2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
  white-space: nowrap;
}
.btn-entrar:hover { background: var(--azul); color: var(--branco); }

/* ══════════════════════════════════════════
   STICKY FOOTER (página sempre preenche altura)
   ══════════════════════════════════════════ */
html, body { height: 100%; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.page-content { flex: 1; }   /* wrapper nas páginas novas */
.footer { margin-top: auto !important; }

/* ── FOOTER COMPLETO (padrão de todas as páginas) ── */
.footer {
  background: var(--azul);
  padding: 2.5rem 3rem 1.8rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: start;
  gap: 2rem;
}
.footer-brand {}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--bege);
  font-style: italic;
  display: block;
  margin-bottom: .4rem;
}
.footer-tagline { font-size: .68rem; color: rgba(255,255,255,.3); font-weight: 300; }
.footer-links-col {}
.footer-links-label { font-size: .58rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: .6rem; display: block; }
.footer-links-col a { display: block; font-size: .75rem; color: rgba(255,255,255,.55); text-decoration: none; margin-bottom: .35rem; transition: color .2s; }
.footer-links-col a:hover { color: var(--bege); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); margin-top: 1.5rem; padding-top: 1rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.footer-copy { font-size: .62rem; color: rgba(255,255,255,.25); letter-spacing: .08em; }
@media(max-width:768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .footer { padding: 2rem 1.5rem 1.5rem; }
  /* Espaço para menu mobile inferior */
  .footer { padding-bottom: 5rem; }
}

/* ══════════════════════════════════════════
   PAINEL CLIENTE — SIDEBAR + MOBILE NAV
   ══════════════════════════════════════════ */
.painel-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: calc(100vh - 72px);
  align-items: start;
}
/* Sidebar desktop */
.painel-sidebar {
  background: #1F2A30;
  min-height: calc(100vh - 72px);
  position: sticky;
  top: 72px;
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
}
.painel-user-info {
  padding: 1rem 1.2rem 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: .5rem;
}
.painel-user-avatar {
  width: 44px; height: 44px;
  object-fit: cover; object-position: top;
  border: 2px solid rgba(232,216,195,.3);
  display: block; margin-bottom: .6rem;
}
.painel-user-avatar-ph {
  width: 44px; height: 44px;
  background: rgba(232,216,195,.1);
  border: 2px solid rgba(232,216,195,.2);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; color: rgba(232,216,195,.5); font-style: italic;
  margin-bottom: .6rem;
}
.painel-user-nome { font-size: .78rem; font-weight: 600; color: #F5F5F3; line-height: 1.2; }
.painel-user-tipo { font-size: .6rem; color: rgba(232,216,195,.45); letter-spacing: .1em; text-transform: uppercase; margin-top: .15rem; }
.painel-nav-link {
  display: flex; align-items: center; gap: .7rem;
  padding: .75rem 1.2rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: rgba(245,245,243,.45); text-decoration: none;
  transition: all .18s; border-left: 2px solid transparent;
}
.painel-nav-link:hover { background: rgba(255,255,255,.04); color: rgba(245,245,243,.8); }
.painel-nav-link.ativa { background: rgba(232,216,195,.06); color: #E8D8C3; border-left-color: #E8D8C3; }
.painel-nav-link svg { width: 16px; height: 16px; flex-shrink: 0; opacity: .7; }
.painel-nav-link.ativa svg { opacity: 1; }
.painel-nav-sep { height: 1px; background: rgba(255,255,255,.06); margin: .5rem 1.2rem; }
.painel-nav-sair { margin-top: auto; padding: 1rem 1.2rem 0; }
.painel-nav-sair a { font-size: .68rem; color: rgba(255,100,100,.5); text-decoration: none; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.painel-nav-sair a:hover { color: rgba(255,100,100,.8); }

/* Conteúdo principal do painel */
.painel-main { padding: 2rem; background: #F5F5F3; min-height: calc(100vh - 72px); }
.painel-page-title { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 400; color: #1F2A30; margin-bottom: .3rem; }
.painel-page-sub   { font-size: .78rem; color: #6b7a82; font-weight: 300; margin-bottom: 1.5rem; }

/* Mobile bottom nav */
.painel-mobile-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #1F2A30;
  border-top: 1px solid rgba(255,255,255,.08);
  z-index: 200;
  padding-bottom: env(safe-area-inset-bottom);
}
.painel-mobile-nav-inner {
  display: flex; justify-content: space-around;
}
.painel-mob-link {
  display: flex; flex-direction: column; align-items: center; gap: .25rem;
  padding: .7rem .5rem;
  font-size: .55rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(245,245,243,.4); text-decoration: none;
  flex: 1; text-align: center; transition: color .18s;
  border-top: 2px solid transparent;
}
.painel-mob-link.ativa { color: #E8D8C3; border-top-color: #E8D8C3; }
.painel-mob-link svg { width: 20px; height: 20px; }

@media(max-width:768px) {
  .painel-layout { grid-template-columns: 1fr; }
  .painel-sidebar { display: none; }
  .painel-mobile-nav { display: block; }
  .painel-main { padding: 1.2rem; padding-bottom: 5rem; min-height: auto; }
}

/* Painel: footer fora do layout grid */
.painel-layout + .footer { margin-top: 0 !important; }

/* Admin: stat-card clicável */
.stat-card[onclick] { transition: transform .15s, box-shadow .15s; }
.stat-card[onclick]:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(31,42,48,.15); }

/* Admin: tabela de vagas/eventos */
.adm-page-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 400; color: #1F2A30;
  margin-bottom: 1.2rem; padding-bottom: .6rem;
  border-bottom: 1px solid #D6D6D4;
}
.adm-msg-ok {
  background: #e8f4f0; border: 1px solid #b8ddd4; color: #1a7a5e;
  padding: .7rem 1rem; font-size: .8rem; margin-bottom: 1rem;
}

/* Painel sidebar: fix page height */
.painel-layout {
  min-height: calc(100vh - 72px);
}

/* ══════════════════════════════════════════
   PAINEL MOBILE NAV — redesign limpo
   ══════════════════════════════════════════ */
.painel-mobile-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid #e0e0e0;
  z-index: 300;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -2px 12px rgba(31,42,48,.08);
}
.painel-mobile-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
}
.painel-mob-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: .6rem .4rem .5rem;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #aaa;
  text-decoration: none;
  flex: 1;
  border-top: 2px solid transparent;
  transition: color .15s, border-color .15s;
  min-width: 0;
}
.painel-mob-link.ativa {
  color: #1F2A30;
  border-top-color: #1F2A30;
}
.painel-mob-link svg {
  display: none; /* ocultar SVGs quebrados */
}
/* Adicionar ícone via pseudo-elemento puro CSS */
.painel-mob-link[href*="perfil"]::before  { content: "◉"; font-size: .95rem; line-height:1; }
.painel-mob-link[href*="vagas"]::before   { content: "◈"; font-size: .95rem; line-height:1; }
.painel-mob-link[href*="eventos"]::before { content: "◷"; font-size: .95rem; line-height:1; }
.painel-mob-link[href*="logout"]::before  { content: "↩"; font-size: .95rem; line-height:1; }
.painel-mob-link.ativa::before { color: #1F2A30; }

@media(max-width: 768px) {
  .painel-mobile-nav { display: block; }
  .painel-layout { grid-template-columns: 1fr; }
  .painel-sidebar { display: none; }
  .painel-main { padding: 1.2rem 1rem; padding-bottom: 5rem; min-height: auto; background: #F5F5F3; }
}

/* ══ PAINEL SIDEBAR — ocultar SVG use (quebrado) ══ */
.painel-nav-link svg { display: none; }
.painel-nav-link[href*="perfil"]::before  { content: "◉ "; font-size: .8rem; }
.painel-nav-link[href*="vagas"]::before   { content: "◈ "; font-size: .8rem; }
.painel-nav-link[href*="eventos"]::before { content: "◷ "; font-size: .8rem; }
.painel-nav-link[href*="perfil.php"]::before { content: "↗ "; font-size: .8rem; }
.painel-nav-link[href*="logout"]::before  { content: "↩ "; font-size: .8rem; }

/* ══ FOOTER — fix layout quebrado ══ */
.footer {
  background: #1F2A30 !important;
  padding: 2.5rem 2rem 1.8rem !important;
  margin-top: auto !important;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex !important;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}
.footer-brand { flex: 0 0 auto; min-width: 180px; }
.footer-links-col { flex: 0 0 auto; }
.footer-bottom {
  max-width: 1100px;
  margin: 1.2rem auto 0;
  padding-top: .8rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-copy { font-size: .62rem; color: rgba(255,255,255,.25); }
@media(max-width: 768px) {
  .footer-inner { flex-direction: column; gap: 1.2rem; }
  .footer-bottom { flex-direction: column; align-items: center; }
}

/* ══════════════════════════════════════════
   FOOTER — versão final unificada
   ══════════════════════════════════════════ */
.footer {
  background: #1F2A30 !important;
  padding: 2.8rem 2rem 0 !important;
  margin-top: auto !important;
  flex-shrink: 0;
}
.footer-inner {
  max-width: 1100px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 2.5rem !important;
  align-items: flex-start !important;
  padding-bottom: 2rem !important;
  border-bottom: 1px solid rgba(232,216,195,.12) !important;
}
/* Logo / tagline */
.footer-brand { flex: 0 0 auto; }
.footer-logo {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.15rem !important;
  color: #E8D8C3 !important;
  font-style: italic !important;
  display: block !important;
  margin-bottom: .4rem !important;
  letter-spacing: 0 !important;
}
.footer-tagline {
  font-size: .72rem !important;
  color: rgba(232,216,195,.4) !important;
  font-weight: 300 !important;
  letter-spacing: .04em !important;
}
/* Colunas de links */
.footer-links-col { flex: 0 0 auto; }
.footer-links-label {
  font-size: .6rem !important;
  font-weight: 700 !important;
  letter-spacing: .2em !important;
  text-transform: uppercase !important;
  color: rgba(232,216,195,.45) !important;
  display: block !important;
  margin-bottom: .7rem !important;
}
.footer-links-col a {
  display: block !important;
  font-size: .75rem !important;
  color: rgba(232,216,195,.6) !important;
  text-decoration: none !important;
  margin-bottom: .38rem !important;
  font-weight: 400 !important;
  letter-spacing: .02em !important;
  transition: color .18s !important;
}
.footer-links-col a:hover { color: #E8D8C3 !important; }
/* Bottom bar */
.footer-bottom-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: .9rem 0 1.2rem;
}
.footer-bottom {
  display: flex !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: .4rem !important;
}
.footer-bottom span,
.footer-copy {
  font-size: .7rem !important;
  color: rgba(232,216,195,.28) !important;
  font-weight: 300 !important;
  letter-spacing: .06em !important;
}
/* Mobile */
@media(max-width: 768px) {
  .footer { padding: 2rem 1.2rem 0 !important; }
  .footer-inner { gap: 1.5rem !important; padding-bottom: 1.5rem !important; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer { padding-bottom: 5rem !important; } /* espaço para mobile nav */
}

/* ══════════════════════════════════════════
   PAINEL — CARDS DE PERFIL (sidebar)
   ══════════════════════════════════════════ */
.painel-perfis-section {
  padding: .8rem;
}
.painel-perfis-label {
  font-size: .58rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(232,216,195,.35); margin-bottom: .6rem;
  display: flex; justify-content: space-between; align-items: center;
}
.painel-perfis-label span {
  background: rgba(232,216,195,.1); color: rgba(232,216,195,.5);
  padding: .1rem .5rem; font-size: .6rem; border-radius: 2px;
}
.painel-perfil-card {
  display: flex; align-items: center; gap: .7rem;
  padding: .65rem .6rem; margin-bottom: .3rem;
  border-radius: 6px;
  text-decoration: none; transition: background .15s;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.05);
}
.painel-perfil-card:hover { background: rgba(255,255,255,.07); }
.painel-perfil-card.ativo {
  background: rgba(232,216,195,.1);
  border-color: rgba(232,216,195,.2);
}
.painel-perfil-card.novo {
  border-style: dashed;
  border-color: rgba(232,216,195,.15);
  background: transparent;
}
.ppc-avatar {
  width: 36px; height: 36px; border-radius: 6px;
  object-fit: cover; flex-shrink: 0;
  background: rgba(232,216,195,.12);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.ppc-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ppc-avatar span { font-family: 'Playfair Display', serif; font-size: 1rem; color: rgba(232,216,195,.5); }
.ppc-avatar.novo-icon { font-size: 1.2rem; color: rgba(232,216,195,.3); }
.ppc-info { flex: 1; min-width: 0; }
.ppc-nome { font-size: .72rem; font-weight: 600; color: rgba(245,245,243,.8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ppc-meta { font-size: .6rem; color: rgba(245,245,243,.35); margin-top: .1rem; }
.ppc-status { font-size: .6rem; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.ppc-status.ok   { color: #4ade80; }
.ppc-status.pend { color: #fbbf24; }

/* Mobile: profile cards em linha horizontal */
@media(max-width: 768px) {
  .painel-perfis-section { display: flex; flex-wrap: wrap; gap: .5rem; padding: .8rem 1rem; }
  .painel-perfis-label { width: 100%; }
  .painel-perfil-card { flex: 0 0 auto; width: calc(50% - .25rem); flex-direction: column; align-items: center; text-align: center; padding: .7rem .5rem; gap: .4rem; }
  .ppc-avatar { width: 44px; height: 44px; border-radius: 50%; }
  .ppc-nome { font-size: .65rem; }
  .ppc-meta { display: none; }
  .ppc-status { margin-top: .1rem; }
}

/* ══════════════════════════════════════════
   STICKY FOOTER FIX — definitivo
   ══════════════════════════════════════════ */
html { height: 100%; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* Todos os wrappers de conteúdo crescem para empurrar o footer */
.page-content,
.painel-layout {
  flex: 1 0 auto;
}
/* Footer nunca cresce, sempre fica no fim */
.footer {
  flex-shrink: 0 !important;
  margin-top: 0 !important; /* remover margin-top automático — o flex cuida disso */
}

/* Painel: o layout grid deve ocupar altura total */
.painel-layout {
  min-height: calc(100vh - 72px);
}

/* Mobile: espaço embaixo do conteúdo para não ficar atrás da bottom nav */
@media(max-width: 768px) {
  .painel-main   { padding-bottom: 5.5rem !important; }
  .page-content  { padding-bottom: 0; }
  .footer        { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px)) !important; }
}

/* ══════════════════════════════════════════
   MOBILE PROFILE SWITCHER (painel-main)
   ══════════════════════════════════════════ */
.painel-mobile-perfis {
  display: none; /* só mobile */
  gap: .6rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
@media(max-width: 768px) {
  .painel-mobile-perfis { display: flex; }
}
.ppc-mobile {
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  text-decoration: none; position: relative;
  flex: 0 0 auto; min-width: 64px;
}
.ppc-mob-avatar {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(31,42,48,.08);
  border: 2px solid transparent;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; transition: border-color .2s;
}
.ppc-mob-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ppc-mob-avatar span { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: #6b7a82; }
.ppc-mob-avatar.novo { border-style: dashed; border-color: #D6D6D4; background: transparent; font-size: 1.3rem; color: #aaa; }
.ppc-mobile.ativo .ppc-mob-avatar { border-color: #1F2A30; }
.ppc-mob-nome { font-size: .6rem; font-weight: 600; color: #6b7a82; text-align: center; max-width: 64px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ppc-mobile.ativo .ppc-mob-nome { color: #1F2A30; font-weight: 700; }
.ppc-mob-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #1F2A30;
  position: absolute; bottom: 18px; right: 8px;
}

/* ══ VAGAS — Cards de acesso (Candidato | Empresa) ══ */
.vagas-cards-acesso {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}
.vca-card {
  background: #fff;
  border: 1.5px solid rgba(232,216,195,.3);
  border-radius: 12px;
  padding: 1.6rem 1.8rem;
  min-width: 160px;
  flex: 0 0 auto;
  text-decoration: none;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  transition: all .2s;
  cursor: pointer;
}
.vca-card:hover {
  border-color: rgba(232,216,195,.7);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31,42,48,.12);
}
.vca-card.destaque {
  border-color: rgba(232,216,195,.5);
  background: rgba(31,42,48,.92);
  box-shadow: 0 4px 20px rgba(31,42,48,.25);
}
.vca-ilustra { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; }
.vca-label {
  font-family: 'Playfair Display', serif;
  font-size: .95rem; font-weight: 500; color: #1F2A30; margin-top: .3rem;
}
.vca-card.destaque .vca-label { color: #E8D8C3; }
.vca-sub {
  font-size: .68rem; color: #6b7a82; font-weight: 500; letter-spacing: .05em;
}
.vca-card.destaque .vca-sub { color: rgba(232,216,195,.55); }
@media(max-width: 480px) {
  .vagas-cards-acesso { gap: .7rem; }
  .vca-card { min-width: 130px; padding: 1.2rem 1rem; }
}

/* ── LOGO IMAGEM ── */
.logo a { display:flex; align-items:center; }
.logo img { height:34px; display:block; width:auto; background:transparent !important; }
@media(max-width:768px){ .logo img { height:28px; } }

/* ══════════════════════════════════════════
   HEADER — cores finais
   ══════════════════════════════════════════ */
/* Logo: 96×64 sem fundo */
.logo img {
  width: 96px !important;
  height: 64px !important;
  display: block;
  object-fit: contain;
  background: transparent !important;
}

/* Nav links: cor azul escuro */
.nav-link {
  color: rgba(245,245,243,.75) !important;
  font-weight: 600;
}
.nav-link:hover { color: #E8D8C3 !important; opacity: 1; }

/* Botão Entrar */
.btn-entrar {
  border: 1.5px solid rgba(232,216,195,.6) !important;
  color: #E8D8C3 !important;
  background: transparent !important;
  padding: .45rem 1.1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .2s;
}
.btn-entrar:hover { background: rgba(232,216,195,.15) !important; color: #E8D8C3 !important; }

/* Botão Criar Perfil: fundo bege #E8D8C3 */
.btn-cad {
  background: #E8D8C3 !important;
  color: #1F2A30 !important;
  border: none !important;
  padding: .5rem 1.2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .2s;
}
.btn-cad:hover { opacity: .85; }

/* header-escuro removed - all headers are now dark */
