/* ============================================================
   Arcon Advogados Child - site-style.css
   Extraido do index.html da home. Cobre apenas o que o tema
   precisa pra renderizar header.php + footer.php no mesmo
   visual da home: vars, body, .nav, .nav-*, .mobile-toggle,
   .footer, .footer-*, .wa, animations.
   ============================================================ */

:root {
  --navy: #172340;
  --navy-mid: #1E2F52;
  --navy-light: #2A3F6B;
  --brown: #6B3A1F;
  --brown-light: #8B5A3A;
  --brown-warm: #A67650;
  --gold: #C49A5C;
  --gold-pale: #D9BC8E;
  --cream: #F5F0E8;
  --cream-dark: #E8E0D2;
  --white: #FDFBF7;
  --text: #1C1C1C;
  --text-mid: #4A4640;
  --text-soft: #7A756D;
  --text-on-dark: #E8E0D2;
  --text-on-dark-soft: rgba(232,224,210,0.55);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

@keyframes gradientFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ====== NAV ====== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 10px 40px;
  display: flex; justify-content: center;
  transition: padding .4s;
}
.nav.scrolled { padding: 8px 40px; }
.nav-inner {
  background: rgba(8,16,38,.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 100px;
  padding: 8px 8px 8px 28px;
  display: flex; align-items: center; gap: 32px;
  max-width: 1040px; width: 100%;
  transition: all .4s;
}
.nav-logo { flex-shrink: 0; flex: 1; display: flex; align-items: center; }
.nav-logo-img {
  height: 36px; width: auto; display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.nav-links { display: flex; align-items: center; gap: 22px; flex: 1; justify-content: center; }
.nav-links a {
  font-size: 13px; font-weight: 500; letter-spacing: .3px;
  color: rgba(232,224,210,.65); transition: color .3s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gold); }

.nav-cta-link {
  font-size: 13px !important; font-weight: 700 !important;
  color: var(--navy) !important;
  background: linear-gradient(90deg, #A67650, #D4A96A, #e8c97a, #C49A5C, #A67650);
  background-size: 300% 100%;
  animation: gradientFlow 3s ease infinite;
  padding: 11px 24px; border-radius: 100px;
  transition: box-shadow .3s, transform .3s !important; white-space: nowrap; flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(196,154,92,.3);
  position: relative; overflow: hidden;
}
.nav-cta-link:hover {
  color: var(--navy) !important;
  box-shadow: 0 6px 20px rgba(196,154,92,.45) !important;
  transform: translateY(-1px);
  animation: gradientFlow 1.5s ease infinite;
}

.mobile-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 28px; height: 20px; position: relative;
}
.mobile-toggle span {
  position: absolute; left: 0; width: 100%; height: 1.5px;
  background: var(--cream); border-radius: 2px; transition: all .3s;
}
.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-toggle span:nth-child(3) { bottom: 0; }

/* ====== FOOTER ====== */
.footer {
  background: var(--navy); padding: 64px 40px 28px;
  color: var(--text-on-dark-soft);
}
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 60px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-brand h3 { font-size: 22px; color: var(--text-on-dark); margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; line-height: 1.75; max-width: 300px; }
.footer-col h4 {
  font-family: 'Hanken Grotesk', sans-serif; font-size: 10.5px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(232,224,210,.25); margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col span { font-size: 13.5px; transition: color .3s; }
.footer-col a:hover { color: var(--gold); }
.footer-bar {
  max-width: 1180px; margin: 0 auto; padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(232,224,210,.25);
}

/* ====== WHATSAPP FLOATING ====== */
.wa {
  position: fixed; bottom: 28px; right: 28px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.3);
  transition: all .3s;
}
.wa:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,.4); }
.wa svg { width: 28px; height: 28px; fill: #fff; }

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav { padding: 8px 20px; }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .nav-inner { padding: 10px 14px 10px 22px; gap: 16px; border-radius: 20px; }
  .nav-logo-img { height: auto; max-height: 28px; max-width: 130px; }
  .mobile-toggle { width: 24px; height: 18px; }
}
@media (max-width: 640px) {
  .footer { padding: 48px 24px 24px; }
  .footer-bar { flex-direction: column; gap: 6px; text-align: center; }
  .nav-inner { padding: 10px 12px 10px 18px; gap: 12px; border-radius: 16px; }
  .nav-logo-img { height: auto; max-height: 26px; max-width: 120px; }
  .mobile-toggle { width: 22px; height: 16px; }
  .mobile-toggle span:nth-child(1) { top: 0; }
  .mobile-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
  .mobile-toggle span:nth-child(3) { bottom: 0; }
}

/* ====== NAV SIZE FORCE (anti-override) ====== */
.nav-inner { max-width: 1040px !important; width: 100% !important; margin-left: auto !important; margin-right: auto !important; gap: 24px !important; }
.nav-logo { flex: 1 !important; flex-shrink: 0 !important; }
.nav-logo-img { height: 36px !important; max-height: 36px !important; width: auto !important; max-width: none !important; }
.nav-links { flex: 1 !important; gap: 22px !important; }
.nav-links a { font-size: 13px !important; }
.nav-cta-link { padding: 11px 24px !important; }
@media (min-width: 641px) and (max-width: 1024px) {
  .nav-logo-img { height: auto !important; max-height: 28px !important; max-width: 130px !important; }
}
