/* =====================================================
   JGOMES CONTABILIDADE - Stylesheet
   ===================================================== */

:root {
  --red: #8B1010;
  --red-dark: #6B0A0A;
  --red-light: #B41C1C;
  --black: #111111;
  --gray-dark: #2a2a2a;
  --gray: #555555;
  --gray-light: #f0f0f0;
  --white: #ffffff;
  --off-white: #fafafa;
  --nav-bg: #ffffff;
  --nav-height: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  border-bottom: 3px solid var(--red);
  box-shadow: 0 2px 20px rgba(0,0,0,0.10);
  transition: all 0.3s ease;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 58px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  color: var(--gray-dark);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--red) !important;
  color: white !important;
  padding: 11px 24px !important;
  border-radius: 4px;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--red-dark) !important; color: white !important; }
.nav-cta::after { display: none !important; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--black);
  transition: all 0.3s;
}
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: white;
  z-index: 999;
  padding: 2rem;
  flex-direction: column;
  gap: 1.5rem;
  border-top: 1px solid #eee;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--gray-dark);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--red); }
.mobile-nav .nav-cta {
  background: var(--red) !important;
  color: white !important;
  padding: 12px 20px !important;
  text-align: center;
  border: none;
  border-radius: 4px;
}

/* ===== HERO SLIDESHOW ===== */


#home {
  position: relative;
  height: calc(100vh - var(--nav-height));
  min-height: 580px;
  max-height: 860px;
  overflow: hidden;
  margin-top: var(--nav-height);
  display: block;

}
.slides-container {
  position: relative;
  width: 100%;
  height: 100%;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.slide.active { opacity: 1; }
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.slide.active .slide-bg { transform: scale(1); }
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.82) 0%, rgba(139,16,16,0.45) 100%);
}
.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 8% 60px;
  max-width: 860px;
}
.slide-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #e07070;
  margin-bottom: 1.2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease 0.3s;
}
.slide.active .slide-tag { opacity: 1; transform: translateY(0); }
.slide h1 {
  font-size: clamp(1.9rem, 5vw, 3.8rem);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.5s;
}
.slide.active h1 { opacity: 1; transform: translateY(0); }
.slide h1 span { color: #e07070; }
.slide p {
  font-size: clamp(0.88rem, 2vw, 1.08rem);
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  margin-bottom: 2.2rem;
  max-width: 520px;
  font-weight: 400;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease 0.7s;
}
.slide.active p { opacity: 1; transform: translateY(0); }
.slide-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease 0.9s;
}
.slide.active .slide-btns { opacity: 1; transform: translateY(0); }

/* Slide Controls */
.slide-controls {
  position: absolute;
  bottom: 2.2rem;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  z-index: 10;
}
.slide-arrow {
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.25);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.25s;
  font-size: 1rem;
  backdrop-filter: blur(4px);
}
.slide-arrow:hover {
  background: var(--red);
  border-color: var(--red);
}
.slide-indicators {
  display: flex;
  gap: 8px;
  align-items: center;
}
.indicator {
  width: 28px;
  height: 4px;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 2px;
}
.indicator.active {
  background: var(--red-light);
  width: 52px;
}
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  right: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.45);
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.scroll-hint::after {
  content: '';
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.45), transparent);
  animation: scrollLine 1.5s ease-in-out infinite;
}
@keyframes scrollLine {
  0%,100%{opacity:.5;transform:scaleY(1)} 50%{opacity:1;transform:scaleY(.5)}
}



/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--red);
  color: white;
  padding: 14px 34px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--red);
  transition: all 0.3s;
  display: inline-block;
}
.btn-primary:hover { background: transparent; color: white; }
.btn-outline {
  background: transparent;
  color: white;
  padding: 14px 34px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.5);
  transition: all 0.3s;
  display: inline-block;
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.1); }

/* ===== SECTIONS COMMON ===== */
section { padding: 96px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 0.9rem;
}
.section-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--black);
  line-height: 1.15;
}
.section-divider {
  width: 48px;
  height: 3px;
  background: var(--red);
  margin: 1.1rem auto;
}
.section-desc {
  font-size: 0.96rem;
  color: var(--gray);
  line-height: 1.85;
  max-width: 580px;
  margin: 0 auto;
}

/* ===== QUEM SOMOS ===== */
#sobre {
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}
#sobre::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(139,16,16,0.03) 100%);
  pointer-events: none;
}
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.sobre-visual { position: relative; padding-bottom: 30px; }
.sobre-img-wrap {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
}
.sobre-img-wrap img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 3/4;
  filter: brightness(1.05) contrast(1.05);
  transition: transform 0.5s ease;
}
.sobre-img-wrap:hover img { transform: scale(1.03); }
.sobre-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(139,16,16,0.35) 0%, transparent 60%);
  pointer-events: none;
}
.sobre-badge {
  position: absolute;
  bottom: 0;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--red);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 2;
}
.sobre-badge strong {
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1;
}
.sobre-badge span {
  font-size: 0.6rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.4;
  padding: 0 10px;
}
.sobre-content { padding-bottom: 30px; }
.sobre-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.4rem;
}
.sobre-content h2 em { font-style: normal; color: var(--red); }
.sobre-content p {
  font-size: 0.93rem;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 1.1rem;
}
.sobre-quote {
  border-left: 3px solid var(--red);
  padding: 1rem 1.5rem;
  margin: 1.8rem 0;
  background: rgba(139,16,16,0.04);
}
.sobre-quote p {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.98rem;
  color: var(--gray-dark);
  margin: 0;
}
.sobre-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.2rem;
}
.stat {
  text-align: center;
  padding: 1.2rem 0.8rem;
  border-top: 3px solid var(--red);
  background: white;
}
.stat strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}
.stat span {
  font-size: 0.68rem;
  color: var(--gray);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 600;
}

/* ===== SERVIÇOS ===== */
#servicos { background: white; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: #e8e8e8;
}
.service-card {
  background: white;
  padding: 2.4rem 1.8rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,0.10); z-index: 2; }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 68px;
  height: 68px;
  background: var(--gray-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
  transition: background 0.3s;
}
.service-icon svg { transition: all 0.3s; }
.service-card:hover .service-icon { background: var(--red); }
.service-card:hover .service-icon svg { stroke: white; }
.service-card h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.service-card p { font-size: 0.8rem; color: var(--gray); line-height: 1.7; }

/* ===== ÁREA DO CLIENTE ===== */
#cliente {
  background: var(--black);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
#cliente::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139,16,16,0.3) 0%, transparent 70%);
  pointer-events: none;
}
#cliente::after {
  content: '';
  position: absolute;
  bottom: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(139,16,16,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.cliente-inner { text-align: center; position: relative; z-index: 2; }
.cliente-inner .section-label { color: #e07070; }
.cliente-inner h2 {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  font-weight: 900;
  color: white;
  margin-bottom: 1.4rem;
}
.cliente-inner p {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.85;
  max-width: 540px;
  margin: 0 auto 2.8rem;
}
.cliente-features {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.cliente-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 0.83rem;
  font-weight: 600;
}
.cliente-feat-icon {
  width: 36px; height: 36px;
  background: rgba(139,16,16,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.btn-cliente {
  background: var(--red);
  color: white;
  padding: 17px 48px;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  border: 2px solid var(--red);
}
.btn-cliente:hover { background: transparent; border-color: white; }

/* ===== UTILIDADES ===== */
#utilidades { background: var(--off-white); }
.util-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.util-card {
  background: white;
  padding: 2.2rem 1.6rem;
  border-top: 3px solid var(--red);
  transition: all 0.3s ease;
  text-align: center;
}
.util-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.util-icon {
  width: 60px; height: 60px;
  background: var(--gray-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}
.util-icon svg { display: block; }
.util-card h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--black);
  margin-bottom: 0.75rem;
}
.util-card p { font-size: 0.8rem; color: var(--gray); line-height: 1.75; margin-bottom: 1.2rem; }
.util-link {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.util-link:hover { gap: 10px; }

/* ===== FALE CONOSCO ===== */
#contato { background: white; }
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contato-info h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}
.contato-info > p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 2.2rem;
}
.contato-items { display: flex; flex-direction: column; gap: 1.3rem; }
.contato-item { display: flex; gap: 1rem; align-items: flex-start; }
.contato-item-icon {
  width: 44px; height: 44px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contato-item-icon svg { display: block; }
.contato-item-text strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}
.contato-item-text p { font-size: 0.87rem; color: var(--gray); line-height: 1.65; }

/* WhatsApp CTA Box */
.whatsapp-box {
  background: #1a1f2e;
  border-radius: 12px;
  padding: 2.6rem 2.4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.whatsapp-box::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(37,211,102,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.whatsapp-box h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: white;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.whatsapp-box h3 span { color: #25D366; }
.whatsapp-box p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}
.whatsapp-btn-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #25D366;
  color: white;
  padding: 16px 32px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: background 0.2s;
}
.whatsapp-btn-main:hover { background: #1db954; }
.phone-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  padding: 14px 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.2s;
}
.phone-btn:hover { background: rgba(255,255,255,0.14); color: white; }

/* ===== FOOTER ===== */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.5);
  padding: 3rem 0 2rem;
  border-top: 3px solid var(--red);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand p {
  font-size: 0.8rem;
  line-height: 1.8;
  margin-top: 1.2rem;
  max-width: 260px;
}
.footer-logo img { height: 48px; width: auto; filter: brightness(0) invert(1) opacity(0.85); }
.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: white;
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: #e07070; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
}
.footer-bottom a { color: #e07070; text-decoration: none; }

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .util-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-height: 68px; }
  section { padding: 64px 0; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
  .sobre-badge { right: 0; }
  .sobre-stats { grid-template-columns: repeat(3, 1fr); }
  .contato-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .cliente-features { gap: 1.5rem; }
  .scroll-hint { display: none; }
  .slide-arrow { width: 34px; height: 34px; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .util-grid { grid-template-columns: 1fr; }
  .sobre-stats { grid-template-columns: 1fr 1fr; }
}
