/* =============================================
   LIBANS CONTABILIDADE — Stylesheet
   ============================================= */

:root {
  --navy: #1a2744;
  --navy-dark: #111c33;
  --gold: #c9963c;
  --gold-light: #e0b060;
  --white: #ffffff;
  --gray-light: #f5f6fa;
  --gray-mid: #e8e9ef;
  --gray-text: #666e80;
  --font: 'Poppins', sans-serif;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(26,39,68,0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--navy-dark);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

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

ul { list-style: none; }

/* ── BUTTONS ── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--white);
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,0.55);
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* ── SECTION LABELS ── */
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

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

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* Nav */
nav { display: flex; align-items: center; gap: 4px; }
nav a {
  color: rgba(255,255,255,0.82);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
nav a:hover, nav a.active { color: var(--white); background: rgba(255,255,255,0.08); }

.header-cta { flex-shrink: 0; }

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

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
#hero {
  background: linear-gradient(120deg, var(--navy-dark) 60%, var(--navy) 100%);
  padding: 140px 24px 80px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

#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='%23ffffff' fill-opacity='0.02'%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");
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-content { color: var(--white); }

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,150,60,0.18);
  border: 1px solid rgba(201,150,60,0.35);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.9rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title span { color: var(--gold); }

.hero-desc {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 50px; }

.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* Hero image side */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-photo {
  width: 100%;
  max-width: 460px;
  height: 520px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.hero-photo-placeholder {
  width: 100%;
  max-width: 460px;
  height: 520px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(201,150,60,0.2), rgba(255,255,255,0.05));
  border: 2px dashed rgba(201,150,60,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  text-align: center;
}

.hero-photo-placeholder .ph-icon {
  font-size: 3rem;
  opacity: 0.4;
}

/* Feature cards on hero */
.hero-features {
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feat-card {
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
}
.feat-icon {
  width: 36px;
  height: 36px;
  background: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.feat-text { font-size: 0.78rem; color: rgba(255,255,255,0.85); font-weight: 500; }

/* ══════════════════════════════════════
   SERVICES STRIP
══════════════════════════════════════ */
#services-strip {
  background: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 10;
}

.strip-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.strip-item {
  padding: 28px 16px;
  text-align: center;
  border-right: 1px solid var(--gray-mid);
  transition: background 0.2s;
  cursor: default;
}
.strip-item:last-child { border-right: none; }
.strip-item:hover { background: var(--gray-light); }

.strip-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.strip-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

/* ══════════════════════════════════════
   ABOUT / WHY US
══════════════════════════════════════ */
#why {
  padding: 100px 24px;
  background: var(--white);
}

.why-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-image-wrap { position: relative; }

.why-photo {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.why-photo-placeholder {
  width: 100%;
  height: 480px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gray-light), var(--gray-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-text);
  font-size: 0.9rem;
  text-align: center;
  flex-direction: column;
  gap: 10px;
  border: 2px dashed var(--gray-mid);
}

.why-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: var(--white);
  border-radius: 12px;
  padding: 20px 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(201,150,60,0.35);
}
.why-badge-num { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.why-badge-text { font-size: 0.75rem; font-weight: 500; opacity: 0.9; margin-top: 4px; }

.why-content {}
.why-content .section-title { margin-bottom: 20px; }
.why-desc {
  color: var(--gray-text);
  margin-bottom: 36px;
  line-height: 1.75;
}

.why-points { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.why-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-point-icon {
  width: 44px;
  height: 44px;
  background: rgba(201,150,60,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.why-point-title {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 3px;
}
.why-point-desc {
  font-size: 0.85rem;
  color: var(--gray-text);
  line-height: 1.5;
}

/* ══════════════════════════════════════
   SERVICES FULL
══════════════════════════════════════ */
#services {
  padding: 100px 24px;
  background: var(--gray-light);
}

.services-container { max-width: 1200px; margin: 0 auto; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .section-title { margin-bottom: 14px; }
.section-header p {
  color: var(--gray-text);
  max-width: 560px;
  margin: 0 auto;
  font-size: 0.97rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: 14px;
  padding: 36px 28px;
  border: 1px solid var(--gray-mid);
  transition: box-shadow 0.25s, transform 0.2s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}
.service-card:hover { box-shadow: 0 12px 40px rgba(26,39,68,0.12); transform: translateY(-4px); border-color: rgba(201,150,60,0.2); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(26,39,68,0.2);
}
.service-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-desc {
  font-size: 0.875rem;
  color: var(--gray-text);
  line-height: 1.65;
}

/* ══════════════════════════════════════
   CTA BANNER
══════════════════════════════════════ */
#cta {
  background: linear-gradient(120deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(201,150,60,0.08);
  pointer-events: none;
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-content { color: var(--white); }
.cta-content .section-label { color: var(--gold-light); }
.cta-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.25;
}
.cta-desc { color: rgba(255,255,255,0.7); font-size: 0.97rem; }

.cta-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  flex-shrink: 0;
}

.cta-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 12px 22px;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  transition: background 0.2s;
}
.cta-phone:hover { background: rgba(255,255,255,0.14); }
.cta-phone span { font-size: 1.25rem; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 72px 24px 24px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.55);
}

.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.2s;
  color: rgba(255,255,255,0.7);
}
.social-btn:hover { background: var(--gold); color: var(--white); }

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col li a:hover { color: var(--gold-light); }

.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}
.contact-item .ci-icon { font-size: 1rem; margin-top: 1px; flex-shrink: 0; color: var(--gold); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  gap: 16px;
  flex-wrap: wrap;
}

/* ── WhatsApp float ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: pulse-wa 2.5s infinite;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.6); }
.whatsapp-float svg { width: 28px; height: 28px; fill: var(--white); }

@keyframes pulse-wa {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7); }
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-features { display: none; }
  .hero-title { font-size: 2.3rem; }
  .strip-grid { grid-template-columns: repeat(3, 1fr); }
  .strip-item { border-bottom: 1px solid var(--gray-mid); }
  .strip-item:nth-child(3) { border-right: none; }
  .strip-item:nth-child(4),
  .strip-item:nth-child(5),
  .strip-item:nth-child(6) { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-container { grid-template-columns: 1fr; gap: 40px; }
  .why-image-wrap { max-width: 480px; }
}

@media (max-width: 768px) {
  nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }

  nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--navy-dark);
    padding: 16px 24px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    gap: 4px;
  }
  nav.open + .header-cta { display: flex; }

  .hero-container { grid-template-columns: 1fr; }
  .hero-image-wrap { display: none; }
  .hero-title { font-size: 2rem; }
  #hero { min-height: auto; padding: 120px 24px 60px; }

  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(2) { border-right: none; }
  .strip-item:nth-child(3) { border-right: 1px solid var(--gray-mid); }
  .strip-item:nth-child(4) { border-right: none; }
  .strip-item:nth-child(5) { border-bottom: none; border-right: 1px solid var(--gray-mid); }
  .strip-item:nth-child(6) { border-bottom: none; border-right: none; }

  .services-grid { grid-template-columns: 1fr; }

  .cta-container { flex-direction: column; text-align: center; }
  .cta-action { align-items: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .section-title { font-size: 1.65rem; }
  .hero-stats { gap: 24px; }
}
