/* ==========================================================================
   Escritório Contábil Jurkovich — Modern Theme
   Overrides/extends tooplate-style.css. Loaded after it in index.html.
   ========================================================================== */

:root {
  --brand-900: #0a3d2c;
  --brand-800: #0d4d38;
  --brand-700: #0f5e42;
  --brand-600: #12724f;
  --brand-500: #16875c;
  --brand-400: #1fa873;
  --brand-100: #e3f5ec;
  --ink-900: #16211d;
  --ink-700: #3d4a45;
  --ink-500: #6b7a74;
  --paper: #ffffff;
  --paper-soft: #f6f9f7;
  --line: #e3e9e6;
  --gold: #c99a3c;
  --shadow-sm: 0 2px 8px rgba(10, 40, 28, 0.06);
  --shadow-md: 0 12px 32px rgba(10, 40, 28, 0.12);
  --shadow-lg: 0 24px 60px rgba(10, 40, 28, 0.18);
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--paper-soft);
  color: var(--ink-700);
}

h1, h2, h3, h4 { font-family: 'Open Sans', sans-serif; letter-spacing: -0.01em; }

h2 {
  color: var(--ink-900);
  font-weight: 600;
}

.section-title h1 {
  font-weight: 700;
  color: var(--ink-900);
  position: relative;
  display: inline-block;
}

.section-title h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--gold);
  margin: 16px auto 0;
}

#pricing .section-title h1::after,
#contact h1::after { margin-left: 0; }

a:hover, a:active, a:focus { color: var(--brand-500); }

::-webkit-scrollbar-thumb { background: var(--brand-700); }

/* ---------------------------------------------------------------------
   NAVBAR
   --------------------------------------------------------------------- */

.custom-navbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  padding: 6px 0;
}

.custom-navbar.top-nav-collapse {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line);
}

.navbar-brand img {
  max-height: 48px;
  width: auto;
}

.custom-navbar .navbar-nav > li > a {
  color: var(--ink-900);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.03em;
}

.custom-navbar .navbar-nav > li > a:hover,
.custom-navbar .navbar-nav > li > a:focus {
  color: var(--brand-600);
}

.nav-access {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
}

.nav-access-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid var(--brand-700);
  color: var(--brand-700);
  background: transparent;
}

.nav-access-btn:hover { color: var(--paper); background: var(--brand-700); }

.nav-access-btn.solid {
  background: var(--brand-700);
  color: var(--paper);
}

.nav-access-btn.solid:hover { background: var(--brand-900); color: var(--paper); }

.nav-dropdown { position: relative; }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 260px;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 50;
}

.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--ink-900);
  font-size: 13.5px;
  font-weight: 600;
}

.nav-dropdown-menu a:hover { background: var(--brand-100); color: var(--brand-800); }

.nav-dropdown-menu a i {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 9px;
  background: var(--brand-100);
  color: var(--brand-700);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-dropdown-menu a:hover i { background: var(--brand-700); color: var(--paper); }

.nav-dropdown-menu small {
  display: block;
  font-weight: 400;
  color: var(--ink-500);
  font-size: 11.5px;
}

/* ---------------------------------------------------------------------
   HERO
   --------------------------------------------------------------------- */

#home {
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: url('../images/home-bg.jpg') center/cover no-repeat fixed;
}

#home .overlay {
  background: linear-gradient(120deg, rgba(10, 61, 44, 0.92), rgba(15, 94, 66, 0.78));
  opacity: 1;
}

#home .home-info { position: relative; z-index: 2; text-align: center; color: var(--paper); }

.hero-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-title {
  font-size: 2.8em;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 18px;
  line-height: 1.2;
}

.hero-title span { color: #ffe3a3; }

.hero-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin: 0 auto 34px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero {
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-hero-primary { background: var(--gold); color: var(--ink-900); }
.btn-hero-primary:hover { background: #e0b559; color: var(--ink-900); transform: translateY(-2px); }

.btn-hero-outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  color: var(--paper);
}
.btn-hero-outline:hover { background: rgba(255, 255, 255, 0.14); color: var(--paper); transform: translateY(-2px); }

/* ---------------------------------------------------------------------
   ACCESS SECTION (Área do Cliente / Funcionários)
   --------------------------------------------------------------------- */

#acessos { background: var(--paper); padding: 90px 0; }

.access-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 20px;
}

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

.access-card {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 32px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.access-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.access-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--paper);
  background: linear-gradient(135deg, var(--brand-600), var(--brand-900));
}

.access-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 10px;
}

.access-card p {
  margin-bottom: 22px;
  font-size: 14px;
  line-height: 22px;
}

.access-card .badge-soon {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-700);
  background: var(--brand-100);
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.access-links { display: flex; flex-direction: column; gap: 10px; }

.access-link {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-900);
}

.access-link:hover {
  border-color: var(--brand-600);
  color: var(--brand-700);
  box-shadow: var(--shadow-sm);
  transform: translateX(3px);
}

.access-link i.fa-icon-box {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 9px;
  background: var(--brand-100);
  color: var(--brand-700);
  display: flex;
  align-items: center;
  justify-content: center;
}

.access-link:hover i.fa-icon-box { background: var(--brand-700); color: var(--paper); }

.access-link .link-copy small {
  display: block;
  font-weight: 400;
  color: var(--ink-500);
  font-size: 12px;
  margin-top: 2px;
}

.access-link .fa-external-link {
  margin-left: auto;
  color: var(--ink-500);
  font-size: 12px;
}

.access-link-disabled {
  cursor: default;
  opacity: 0.75;
}

.access-link-disabled:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
  color: var(--ink-900);
}

/* ---------------------------------------------------------------------
   FEATURE / ABOUT
   --------------------------------------------------------------------- */

#feature { background: var(--paper-soft); }

#feature .tab-pane-item p { font-size: 15px; line-height: 26px; }

/* ---------------------------------------------------------------------
   SERVICES
   --------------------------------------------------------------------- */

#about { background: var(--paper); }

.team-thumb {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 22px;
  text-align: center;
  height: 100%;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.team-thumb:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }

.team-thumb h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-900);
  margin: 6px 0 18px;
}

.team-thumb img {
  max-width: 68px;
  margin: 0 auto 8px;
}

.team-thumb .team-info p {
  font-size: 13.5px;
  line-height: 22px;
}

/* ---------------------------------------------------------------------
   NEWS / TESTIMONIAL
   --------------------------------------------------------------------- */

#pricing { background: var(--paper-soft); }

.testimonial-info .owl-carousel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.testimonial-info h3 { font-size: 17px; color: var(--ink-900); line-height: 1.5; }

/* ---------------------------------------------------------------------
   CONTACT
   --------------------------------------------------------------------- */

#contact { background: var(--paper); padding: 90px 0; }

#contact iframe {
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  width: 100%;
}

.contact-info-card {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px;
  text-align: left;
}

.contact-info-card p { margin-bottom: 12px; font-size: 14.5px; }

.contact-info-card .contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-info-card .contact-row i {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  background: var(--brand-100);
  color: var(--brand-700);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand-700);
  color: var(--paper) !important;
  font-size: 18px;
}

.social-btn:hover { background: var(--brand-900); color: var(--paper) !important; }

/* ---------------------------------------------------------------------
   FOOTER
   --------------------------------------------------------------------- */

.site-footer {
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 26px 0;
  font-size: 13px;
}

.site-footer strong { color: #fff; }

/* ---------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */

@media (max-width: 991px) {
  .hero-title { font-size: 2.2em; }
}

@media (max-width: 767px) {
  section { padding: 60px 0; }
  .nav-access { flex-direction: column; align-items: stretch; padding: 16px 0; gap: 8px; }
  .nav-access-btn { justify-content: center; }
  .nav-dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; margin-top: 8px; }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  #home { min-height: 78vh; }
}
