
/* Paleta aproximada extraída do material enviado */
:root {
  --gold: #d8a24a;
  --gold-soft: #e4b86a;
  --dark: #111111;
  --dark-soft: #1f1b19;
  --brown: #2b1f1a;
  --beige: #f5efe6;
  --beige-soft: #f9f4ec;
  --white: #ffffff;
  --gray: #c3b8a6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--dark);
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  padding-left: 1.2rem;
}

/* HEADER / NAV */

.topbar {
  background: var(--brown);
  color: var(--beige);
  font-size: 0.85rem;
  padding: 6px 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar span {
  opacity: 0.9;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 17, 17, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(216, 162, 74, 0.35);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
  align-items: center;
}

nav a {
  font-size: 0.92rem;
  color: var(--beige);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transition: width 0.2s ease-in-out;
}

nav a:hover::after {
  width: 100%;
}

.btn-nav {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.btn-nav:hover {
  background: var(--gold);
  color: var(--dark);
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  color: var(--beige);
  font-size: 1.5rem;
  cursor: pointer;
}

/* HERO */

.hero {
  position: relative;
  color: var(--beige);
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at top left, rgba(212, 171, 92, 0.25), transparent 55%),
              radial-gradient(circle at bottom, rgba(0, 0, 0, 0.75), #050404);
  overflow: hidden;
}

/* IMAGEM À DIREITA (DESKTOP) */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: url('../img/fachada-escritorio-2.png') right center / cover no-repeat;
  opacity: 0.45;
  pointer-events: none;

  /* MÁSCARA DE GRADIENTE – SUAVIZA A BORDA */
  mask-image: linear-gradient(to left, rgba(0,0,0,1), rgba(0,0,0,0));
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1), rgba(0,0,0,0));
}


/* Conteúdo normal */
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 20px 80px;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 40px;
  position: relative;
  z-index: 2;
}

/* IMAGEM EM TELA CHEIA (MOBILE) */
@media (max-width: 768px) {
  .hero::after {
    width: 100%;
    background-position: center;
    opacity: 0.25;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.8rem;
  color: var(--gold-soft);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  line-height: 1.12;
  margin: 0 0 14px;
}

.hero-title span {
  color: var(--gold);
}

.hero-subtitle {
  font-size: 1.05rem;
  max-width: 520px;
  color: var(--gray);
  margin-bottom: 26px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.badge {
  border-radius: 999px;
  padding: 6px 12px;
  border: 1px solid rgba(228, 184, 106, 0.6);
  background: rgba(0, 0, 0, 0.3);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.btn-primary,
.btn-secondary {
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--dark);
  border-color: rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(227, 190, 111, 0.6);
  color: var(--gold-soft);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.35);
}

.hero-note {
  font-size: 0.8rem;
  color: var(--gray);
  max-width: 380px;
}

/* GENERIC SECTION STYLES */

section {
  padding: 70px 20px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-title {
  font-size: 2rem;
  margin: 0 0 14px;
  color: var(--brown);
}

.section-subtitle {
  font-size: 0.98rem;
  color: #5d554a;
  max-width: 640px;
}

/* SOBRE / DIREITO SINDICAL */

.sobre {
  background: var(--beige-soft);
}

.sobre-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 40px;
  margin-top: 30px;
  align-items: center;   /* <<< MUDA de start para center */
}

.sobre-perfil {
  text-align: center;
  align-self: start;
  margin-top: -120px;
  margin-bottom: 0;
}

/* Moldura da foto */
.sobre-foto-wrapper {
  width: 310px;                  /* tamanho ajustado */
  aspect-ratio: 3/4;
  padding: 5px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft), transparent);
  margin: 0 auto;
}

.sobre-foto-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
}

/* Responsivo */
@media (max-width: 900px) {
  .sobre-grid {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .sobre-perfil {
    max-width: 300px;
    margin: 0 auto;
  }
}

/* AREAS – agora usando o fundo escuro que era dos diferenciais */

.areas {
  background: var(--dark-soft);
  color: var(--beige);
}

.areas .section-title {
  color: var(--white);
}

.areas .section-subtitle {
  color: var(--gray);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.area-card {
  border-radius: 14px;
  padding: 20px 18px 20px;
  border: 1px solid rgba(216, 162, 74, 0.4);
  background: radial-gradient(circle at top left, rgba(216, 162, 74, 0.18), rgba(10, 10, 10, 0.95));
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  color: var(--beige);
}

.area-card h3 {
  margin-top: 0;
  font-size: 1.1rem;
  color: var(--white);
}

.area-card p {
  font-size: 0.9rem;
  color: #d4cabb;
}

.area-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(216, 162, 74, 0.18);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 10px;
  color: var(--gold-soft);
}

/* EQUIPE */

.equipe {
  background: var(--beige-soft);
}

.equipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.card {
  background: var(--beige);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  text-align: center;
  padding-bottom: 18px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.cargo {
  margin-top: 10px;
  font-weight: bold;
  color: var(--gold);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.nome {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 4px;
}

.equipe-legenda {
  margin-top: 26px;
  font-size: 0.85rem;
  color: #6b6153;
}

/* CONTATO */

.contato {
  background: radial-gradient(circle at top, rgba(216, 162, 74, 0.16), transparent 60%), var(--white);
}

.contato-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 36px;
  margin-top: 30px;
  align-items: stretch;
}

.contato-card {
  border-radius: 16px;
  padding: 22px 20px 24px;
  border: 1px solid rgba(216, 162, 74, 0.45);
  background: #fdf9f2;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  font-size: 0.92rem;
}

.contato-card p {
  margin-top: 0;
  margin-bottom: 14px;
}

.contato-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.contato-list li {
  padding: 6px 0;
}

.contato-list strong {
  color: var(--brown);
}

.map-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  height: 100%;           /* ← faz o card ocupar 100% da altura */
  min-height: 340px;      /* ← altura mínima */
  background: #ddd;
  display: block;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;           /* ← ocupa a altura TOTAL do wrapper */
  border: 0;
  display: block;
}

/* RESPONSIVO CONTATO */

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

  .map-wrapper {
    min-height: 320px;
  }
}

/* FOOTER */

footer {
  background: var(--dark);
  color: var(--beige);
  padding: 34px 20px 16px;
  font-size: 0.85rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2.5fr) minmax(0, 2fr);
  gap: 30px;
  align-items: flex-start;
}

.footer-logo {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
  color: var(--gold-soft);
}

.footer-bottom {
  max-width: 1200px;
  margin: 14px auto 0;
  border-top: 1px solid rgba(230, 18, 18, 0.08);
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #9f9486;
}
.footer-social {
    text-align: center;
    padding: 20px 0;
    margin-top: 10px;
}

.instagram-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: #d8a24a;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.instagram-btn img {
    width: 24px;
    height: 24px;
}

.instagram-btn:hover {
    background: #b98832;
    transform: translateY(-2px);
}


/* WHATSAPP FLOAT */

.whatsapp-float {
  position: fixed;
  bottom: 38px; /* ← AQUI você sobe ou desce o botão */
  right: 26px;
  background: #25D366; /* cor oficial do WhatsApp */
  color: #fff;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px; /* tamanho do ícone */
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0,0,0,0.22);
  z-index: 999;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 26px rgba(0,0,0,0.28);
}

.whatsapp-float span {
  position: absolute;
  right: 70px;
  background: #2b241d;
  padding: 8px 14px;
  border-radius: 50px;
  color: #fff;
  font-size: 0.85rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity .25s ease, transform .25s ease;
}

.whatsapp-float:hover span {
  opacity: 1;
  transform: translateX(0);
}

/* RESPONSIVO */

@media (max-width: 900px) {
  nav ul {
    position: fixed;
    inset: 56px 0 auto 0;
    background: rgba(10, 8, 7, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px 20px;
    gap: 18px;
    transform: translateY(-120%);
    transition: transform 0.2s ease-out;
  }

  nav ul.open {
    transform: translateY(0);
  }

  .btn-nav {
    padding-left: 0;
    border-radius: 0;
    border: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero-inner,
  .sobre-grid,
  .contato-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    background-attachment: scroll;
  }
}

@media (max-width: 640px) {
  .topbar {
    display: none;
  }

  .hero-inner {
    padding-top: 40px;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}
