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

:root {
  --navy: #0a1628;
  --navy-mid: #122040;
  --gold: #c9a84c;
  --gold-light: #e2c97e;
  --off-white: #f7f5f0;
  --white: #ffffff;
  --text: #2c2c2c;
  --text-muted: #6b6b6b;
  --border: #e0ddd6;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(10,22,40,.10);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }

body {
  overflow-x: hidden; /* Adicionado para evitar rolagem horizontal indesejada */
  font-family: 'Inter', sans-serif;
  background: var(--off-white);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }

a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; object-fit: cover; }

.container { width: 90%; max-width: 1140px; margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  font-size: .95rem;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-primary.full-width { width: 100%; text-align: center; }

.btn-ghost {
  display: inline-block;
  border: 2px solid rgba(255,255,255,.5);
  color: var(--white);
  padding: .8rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: border-color var(--transition), background var(--transition);
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(201,168,76,.1); }

.btn-outline {
  display: inline-block;
  border: 2px solid var(--navy);
  color: var(--navy);
  padding: .8rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  padding: .8rem 0;
}
.navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
  padding: .6rem 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; }
.logo-texto { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--white); font-weight: 700; letter-spacing: .01em; }
.logo-name em { color: var(--gold); font-style: normal; }
.logo-sub-wrap { display: flex; align-items: center; gap: .5rem; margin-top: .15rem; }
.logo-sub-wrap::before { content: ''; flex: 1; height: 1px; background: linear-gradient(to right, var(--gold), transparent); }
.logo-sub { font-size: .58rem; color: var(--gold); letter-spacing: .3em; text-transform: uppercase; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 500; transition: color var(--transition); }
.nav-links a:hover { color: var(--gold); }
.btn-nav {
  background: var(--gold); color: var(--navy) !important;
  padding: .5rem 1.3rem; border-radius: var(--radius); font-weight: 600 !important;
}
.btn-nav:hover { background: var(--gold-light) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #080d1a 0%, #0b1120 60%, #0f1a2e 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.15); }

.hero-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 2rem; padding: 6rem 0 4rem; width: 100%;
}

.hero-marca {
  display: flex; align-items: center; gap: 0;
  margin-left: -60px;
}
.hero-icone {
  width: 240px; height: auto;
  filter: drop-shadow(0 4px 24px rgba(201,168,76,.4));
  flex-shrink: 0;
  margin-left: -20px;
}
.hero-marca-divider {
  width: 2px; height: 240px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  margin: 0 .6rem; flex-shrink: 0;
}
.hero-marca-texto {
  display: flex; flex-direction: column; line-height: 1.1; justify-content: center;
}
.hero-marca-nome {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700; color: var(--white); letter-spacing: .01em;
}
.hero-marca-nome em { color: var(--gold); font-style: normal; }
.hero-marca-sub-wrap {
  display: flex; align-items: center; gap: .7rem; margin-top: .5rem;
}
.hero-marca-sub-wrap::before {
  content: ''; flex: 1; height: 1.5px;
  background: linear-gradient(to right, var(--gold), transparent);
}
.hero-marca-sub {
  font-size: .7rem; color: var(--gold);
  letter-spacing: .35em; text-transform: uppercase; white-space: nowrap;
}

.hero-eyebrow { color: var(--gold); font-size: .78rem; letter-spacing: .25em; text-transform: uppercase; margin-bottom: .5rem; }
.hero h1 {
  color: var(--white); margin-bottom: 1.2rem;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  text-transform: uppercase; letter-spacing: .02em; line-height: 1.15;
}
.hero h1 em { color: var(--gold); font-style: normal; display: block; }
.hero-sub { color: rgba(255,255,255,.7); font-size: 1rem; margin-bottom: 2rem; max-width: 580px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.4); font-size: 1.2rem;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

@media (max-width: 768px) {
  .hero-content { padding: 5rem 0 3rem; gap: 1.5rem; }
  .hero-content { align-items: center; text-align: center; }
  .hero {
    /* Garante que a seção hero ocupe a largura total da viewport em mobile */
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }
  .hero-icone {
    width: 90px;
    /* Remove the negative margin for better centering on mobile */
    margin-left: 0;
  }
  .hero-marca-divider { height: 90px; margin: 0 1rem; }
  .hero-marca-nome { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: 100%; } /* Make buttons full width on mobile */
  .hero-marca { margin-left: 0; justify-content: center; }
  .hero h1 { font-size: 1.5rem; }
}
@media (max-width: 480px) {
  .hero-marca-nome { font-size: 1.8rem; } /* Ajusta o tamanho do nome da marca */
  .hero h1 { font-size: 1.4rem; } /* Ajusta o tamanho do título principal do Hero */
}

/* ===== SECTIONS ===== */
.section { padding: 5rem 0; }
.section-alt { background: var(--white); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-eyebrow { color: var(--gold); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: .5rem; }
.section-header h2 { color: var(--navy); margin-bottom: .8rem; }
.section-desc { color: var(--text-muted); max-width: 540px; margin: 0 auto; }
.section-cta { text-align: center; margin-top: 2.5rem; }

/* ===== O ESCRITÓRIO ===== */
.escritorio-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center; margin-bottom: 5rem;
}
.escritorio-intro-texto h2 { color: var(--navy); margin-bottom: 1rem; }
.escritorio-intro-texto h2 em { color: var(--gold); font-style: normal; }
.escritorio-intro-texto p { color: var(--text-muted); line-height: 1.8; }
.escritorio-intro-numeros {
  display: flex; flex-direction: column; gap: 2rem;
  border-left: 2px solid var(--gold); padding-left: 2.5rem;
}
.numero-item strong { display: block; font-size: 2.8rem; font-family: 'Playfair Display', serif; color: var(--navy); line-height: 1; }
.numero-item span { font-size: .85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em; }

.pilares-wrap { margin-bottom: 5rem; }
.pilares-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}
.pilar-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: .5rem;
  padding: 1.5rem; border: 1.5px solid var(--border); border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition);
}
.pilar-item:hover { border-color: var(--gold); transform: translateY(-3px); }
.pilar-item i { font-size: 1.4rem; color: var(--gold); }
.pilar-item strong { font-size: .95rem; color: var(--navy); }
.pilar-item span { font-size: .82rem; color: var(--text-muted); line-height: 1.5; }

.socios-wrap {}
.socios-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }

@media (max-width: 768px) {
  .escritorio-intro { grid-template-columns: 1fr; gap: 2.5rem; }
  .escritorio-intro-numeros { flex-direction: row; border-left: none; border-top: 2px solid var(--gold); padding-left: 0; padding-top: 1.5rem; }
  .numero-item strong { font-size: 2rem; }
}
@media (max-width: 768px) {
  .escritorio-intro-numeros { flex-wrap: wrap; justify-content: space-around; gap: 1rem; }
}

.socio-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: visible;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
  position: relative;
}
.socio-card:hover { transform: translateY(-6px); }

.socio-img-wrap { height: 180px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.socio-img-wrap img { height: 100%; transition: transform .4s ease; }
.socio-card:hover .socio-img-wrap img { transform: scale(1.04); }

.socio-avatar-wrap {
  display: flex;
  justify-content: center;
  margin-top: -44px;
  position: relative;
  z-index: 1;
}
.socio-avatar {
  width: 111px;
  height: 111px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: 0 4px 16px rgba(10,22,40,.18);
  background: var(--off-white);
}

.socio-info { padding: 1.6rem; padding-top: 3.6rem; }
.socio-info h3 { color: var(--navy); margin-bottom: .2rem; }
.socio-oab { font-size: .78rem; color: var(--gold); letter-spacing: .03em; display: block; margin-bottom: .8rem; font-weight: 500; }
.socio-info p { color: var(--text-muted); font-size: .9rem; margin-bottom: 1.2rem; }
.socio-links { display: flex; gap: 1rem; }

.socio-links a {
  font-size: .82rem; font-weight: 600; color: var(--navy);
  display: flex; align-items: center; gap: .4rem;
  border: 1.5px solid var(--border); padding: .4rem .9rem; border-radius: 6px;
  transition: border-color var(--transition), color var(--transition);
}
.socio-links a:hover { border-color: var(--gold); color: var(--gold); }

/* ===== ÁREAS ===== */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }

.area-card {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.area-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-4px); }

.area-icon {
  width: 52px; height: 52px;
  background: var(--navy);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--gold); font-size: 1.3rem;
}
.area-card h3 { color: var(--navy); margin-bottom: .6rem; }
.area-card p { color: var(--text-muted); font-size: .9rem; }

/* ===== BLOG ===== */
.blog-loading { color: var(--text-muted); text-align: center; padding: 2rem; width: 100%; }

.vlog-carousel .blog-card { min-width: calc(33.333% - 1rem); flex-shrink: 0; }

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.blog-card:hover { transform: translateY(-5px); }

.blog-img { position: relative; height: 200px; overflow: hidden; }
.blog-img img { height: 100%; transition: transform .4s ease; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-tag {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--gold); color: var(--navy);
  font-size: .72rem; font-weight: 700; letter-spacing: .05em;
  padding: .25rem .7rem; border-radius: 4px; text-transform: uppercase;
}

.blog-body { padding: 1.4rem; }
.blog-date { font-size: .78rem; color: var(--text-muted); display: flex; align-items: center; gap: .4rem; margin-bottom: .6rem; }
.blog-body h3 { color: var(--navy); margin-bottom: .6rem; font-size: 1.05rem; }
.blog-body p { color: var(--text-muted); font-size: .88rem; margin-bottom: 1rem; }
.blog-link { font-size: .85rem; font-weight: 600; color: var(--gold); display: flex; align-items: center; gap: .4rem; transition: gap var(--transition); }
.blog-link:hover { gap: .7rem; }

/* ===== VLOG ===== */
.vlog-carousel-wrap { position: relative; display: flex; align-items: center; gap: 1rem; }

.vlog-carousel {
  display: flex; gap: 1.5rem;
  overflow: hidden;
  flex: 1;
}

.vlog-item { min-width: calc(33.333% - 1rem); flex-shrink: 0; }

.video-wrap {
  position: relative; padding-bottom: 56.25%; height: 0;
  border-radius: var(--radius); overflow: hidden;
  background: var(--navy);
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

.vlog-title { margin-top: .8rem; font-size: .9rem; font-weight: 500; color: var(--navy); }

.carousel-btn {
  background: var(--navy); color: var(--gold);
  border: none; border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  transition: background var(--transition);
  font-size: .9rem;
}
.carousel-btn:hover { background: var(--gold); color: var(--navy); }

/* ===== CONTATO ===== */
.contato-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }

.contato-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--navy); }
.form-group input, .form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  font-family: inherit; font-size: .95rem;
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
  color: var(--text);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; }
.form-note { font-size: .78rem; color: var(--text-muted); text-align: center; display: flex; align-items: center; justify-content: center; gap: .4rem; }

.contato-info { display: flex; flex-direction: column; gap: 1.8rem; padding-top: .5rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item > i { color: var(--gold); font-size: 1.2rem; margin-top: .2rem; flex-shrink: 0; }
.info-item strong { display: block; color: var(--navy); font-size: .9rem; margin-bottom: .2rem; }
.info-item span { color: var(--text-muted); font-size: .9rem; }

/* ===== FOOTER ===== */
.footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 3rem 0 1.5rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.1); }

.footer-brand .logo-name { color: var(--white); font-size: 1.4rem; }
.footer-brand .logo-name em { color: var(--gold); font-style: normal; }
.footer-brand p { font-size: .82rem; margin-top: .8rem; line-height: 1.6; }

.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a { font-size: .88rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }

.footer-social { display: flex; gap: 1rem; align-items: center; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: border-color var(--transition), color var(--transition);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }

.footer-disclaimer { text-align: center; font-size: .75rem; color: rgba(255,255,255,.35); padding-top: 1.5rem; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 1.8rem; right: 1.8rem; z-index: 200;
  background: #25d366; color: var(--white);
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.55); }

.wpp-tooltip {
  position: absolute; right: 70px;
  background: var(--navy); color: var(--white);
  font-size: .78rem; font-weight: 500;
  padding: .4rem .9rem; border-radius: 6px;
  white-space: nowrap; pointer-events: none;
  opacity: 0; transform: translateX(8px);
  transition: opacity var(--transition), transform var(--transition);
}
.whatsapp-float:hover .wpp-tooltip { opacity: 1; transform: translateX(0); }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: fixed; inset: 0; top: 0;
    background: var(--navy); padding: 5rem 2rem 2rem;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1.1rem; }
  .btn-nav { margin-top: 1rem; text-align: center; }

  .hamburger { display: flex; z-index: 101; }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-actions { flex-direction: column; }
  .btn-ghost, .btn-primary { text-align: center; }

  .contato-wrap { grid-template-columns: 1fr; }

  .vlog-item, .vlog-carousel .blog-card { min-width: 100%; }

  .footer-inner { flex-direction: column; gap: 1.5rem; }
}

@media (max-width: 540px) {
  .vlog-carousel-wrap { gap: .5rem; }
  .carousel-btn { width: 36px; height: 36px; font-size: .8rem; }
}
