/* ============================================================
   Ildefonso Contabilidade — Stylesheet Principal
   Cores: #323335 (chumbo) | #d2bb5d (ouro)
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- Custom Properties ---------- */
:root {
  --gold:        #d2bb5d;
  --gold-light:  #e8d07a;
  --gold-dark:   #b09840;
  --dark:        #323335;
  --dark-2:      #1e1f21;
  --dark-3:      #2a2b2d;
  --white:       #ffffff;
  --off-white:   #f8f7f2;
  --gray-light:  #f1f0eb;
  --gray-mid:    #9a9a9a;
  --transition:  .35s cubic-bezier(.4,0,.2,1);
  --shadow-sm:   0 2px 12px rgba(0,0,0,.12);
  --shadow-md:   0 8px 32px rgba(0,0,0,.18);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.25);
  --radius:      6px;
  --radius-lg:   16px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--dark);
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; margin: 0; }

/* ---------- Utilities ---------- */
.text-gold    { color: var(--gold) !important; }
.bg-dark-1    { background-color: var(--dark) !important; }
.bg-dark-2    { background-color: var(--dark-2) !important; }
.bg-off-white { background-color: var(--off-white) !important; }
.fw-600       { font-weight: 600; }
.serif        { font-family: 'Playfair Display', serif; }
.mb-2rem      { margin-bottom: 2rem; }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  position: relative;
  display: inline-block;
}
.section-title.light { color: var(--white); }

.section-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray-mid);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.section-subtitle.light { color: var(--gold); }

.gold-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 1rem 0 1.75rem;
  border-radius: 99px;
}
.gold-divider.centered { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark-2) !important;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .04em;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(210,187,93,.35);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(210,187,93,.5);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--gold) !important;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .04em;
  padding: .82rem 1.9rem;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--dark-2) !important;
  transform: translateY(-2px);
}

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1050;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 1.4rem 0;
}
#mainNav.scrolled {
  background: rgba(30,31,33,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0,0,0,.4);
  padding: .8rem 0;
}
#mainNav .navbar-brand img { height: 50px; transition: height var(--transition); }
#mainNav.scrolled .navbar-brand img { height: 42px; }

#mainNav .nav-link {
  color: rgba(255,255,255,.85) !important;
  font-weight: 500;
  font-size: .88rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .4rem .9rem !important;
  position: relative;
  transition: color var(--transition);
}
#mainNav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--gold);
  transition: left var(--transition), right var(--transition);
  border-radius: 99px;
}
#mainNav .nav-link:hover,
#mainNav .nav-link.active { color: var(--gold) !important; }
#mainNav .nav-link:hover::after,
#mainNav .nav-link.active::after { left: .9rem; right: .9rem; }

#mainNav .navbar-toggler {
  border: 1px solid rgba(210,187,93,.5);
  padding: .3rem .6rem;
}
#mainNav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23d2bb5d' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark-2) !important;
  border-radius: var(--radius);
  padding: .4rem 1.1rem !important;
  font-weight: 700 !important;
  margin-left: .5rem;
  box-shadow: 0 2px 12px rgba(210,187,93,.3);
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 4px 20px rgba(210,187,93,.5);
  transform: translateY(-1px);
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark-2);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(30,31,33,.97) 0%, rgba(50,51,53,.92) 60%, rgba(30,31,33,.85) 100%);
  z-index: 1;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(210,187,93,.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(210,187,93,.06) 0%, transparent 50%),
    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='%23d2bb5d' 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");
  z-index: 1;
}

.hero-content { position: relative; z-index: 2; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(210,187,93,.12);
  border: 1px solid rgba(210,187,93,.25);
  color: var(--gold);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 99px;
  margin: 0;
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-title .highlight {
  color: var(--gold);
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.72);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-image-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero-image-wrapper img {
  max-height: 85vh;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.5));
  position: relative;
  z-index: 2;
  margin: 3rem 0 0 0;
}

.hero-image-glow {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 40%;
  background: radial-gradient(ellipse, rgba(210,187,93,.25) 0%, transparent 70%);
  z-index: 1;
}

/* Stats bar inside hero */
.hero-stats {
  position: relative;
  z-index: 2;
  margin-top: 4rem;
}
.hero-stats .stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border-right: 1px solid rgba(210,187,93,.2);
}
.hero-stats .stat-card:last-child { border-right: none; }
.hero-stats .stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.hero-stats .stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: .35rem;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.5);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: fadeInUp 1s 1.5s both;
}
.scroll-indicator .mouse {
  width: 24px; height: 38px;
  border: 2px solid rgba(210,187,93,.4);
  border-radius: 12px;
  position: relative;
}
.scroll-indicator .wheel {
  width: 4px; height: 8px;
  background: var(--gold);
  border-radius: 99px;
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.6s infinite;
}
@keyframes scrollWheel {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* ============================================================
   FEATURES STRIP
   ============================================================ */
.features-strip {
  background: var(--gold);
  padding: 1.5rem 0;
}
.features-strip .feature-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-weight: 600;
  color: var(--dark-2);
  font-size: .88rem;
  letter-spacing: .03em;
}
.features-strip .feature-item i {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ============================================================
   ABOUT (preview na Home e página Sobre)
   ============================================================ */
.section-pad    { padding: 6rem 0; }
.section-pad-lg { padding: 8rem 0; }

.about-image-group {
  position: relative;
  padding: 2rem 2rem 2rem 0;
}
.about-main-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}
.about-badge {
  position: absolute;
  bottom: 1rem;
  right: -1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark-2);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  z-index: 3;
  min-width: 130px;
}
.about-badge .badge-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}
.about-badge .badge-text {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: .2rem;
}

.about-corner-accent {
  position: absolute;
  top: 0; left: 0;
  width: 120px; height: 120px;
  border-top: 3px solid var(--gold);
  border-left: 3px solid var(--gold);
  border-radius: 4px 0 0 0;
  z-index: 1;
}

.about-text .lead-text {
  font-size: 1.15rem;
  color: var(--dark-3);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .75rem;
  font-size: .95rem;
  color: var(--dark-3);
}
.check-list li i {
  color: var(--gold);
  margin-top: .2rem;
  flex-shrink: 0;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-section { background: var(--off-white); }

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow-sm);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(210,187,93,.2);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(210,187,93,.15), rgba(210,187,93,.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  font-size: 1.6rem;
  color: var(--gold);
  border: 1px solid rgba(210,187,93,.2);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark-2);
  border-color: transparent;
}

.service-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .75rem;
  color: var(--dark);
}
.service-card p {
  font-size: .9rem;
  color: var(--gray-mid);
  line-height: 1.75;
}
.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--gold);
  font-weight: 600;
  font-size: .85rem;
  margin-top: 1rem;
  transition: gap var(--transition);
}
.service-card:hover .learn-more { gap: .7rem; }

/* ============================================================
   WHY US
   ============================================================ */
.why-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(210,187,93,.07) 0%, transparent 60%);
  pointer-events: none;
}

.why-card {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  transition: var(--transition);
  height: 100%;
}
.why-card:hover {
  background: rgba(210,187,93,.08);
  border-color: rgba(210,187,93,.2);
}
.why-card-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--dark-2);
  flex-shrink: 0;
}
.why-card h5 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .4rem;
}
.why-card p {
  color: rgba(255,255,255,.55);
  font-size: .87rem;
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   PROCESS / HOW IT WORKS
   ============================================================ */
.process-step {
  text-align: center;
  position: relative;
  padding: 0 1rem;
}
.process-step::after {
  content: '';
  position: absolute;
  top: 32px; left: 60%;
  width: 80%;
  height: 2px;
  border-top: 2px dashed rgba(210,187,93,.3);
}
.process-step:last-child::after { display: none; }

.process-number {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--dark-2);
  box-shadow: 0 4px 20px rgba(210,187,93,.3);
}
.process-step h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--dark);
}
.process-step p {
  font-size: .85rem;
  color: var(--gray-mid);
  line-height: 1.7;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--dark-2); }

.testimonial-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover {
  background: rgba(210,187,93,.07);
  border-color: rgba(210,187,93,.2);
}
.testimonial-card .quote-icon {
  font-size: 3rem;
  color: var(--gold);
  opacity: .3;
  line-height: 1;
  margin-bottom: .5rem;
  font-family: Georgia, serif;
}
.testimonial-card p {
  color: rgba(255,255,255,.75);
  font-size: .93rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testimonial-author { display: flex; align-items: center; gap: .9rem; }
.testimonial-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--dark-2);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  color: var(--white);
  font-size: .9rem;
}
.testimonial-author span {
  font-size: .78rem;
  color: var(--gold);
}
.stars { color: var(--gold); font-size: .85rem; margin-bottom: .75rem; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: rgba(0,0,0,.06);
  border-radius: 50%;
}
.cta-section h2, .cta-section p { position: relative; z-index: 1; }
.cta-section h2 { color: var(--dark-2); }
.cta-section p  { color: rgba(30,31,33,.75); }

.btn-dark-solid {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--dark-2);
  color: var(--white) !important;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .04em;
  padding: .9rem 2.2rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(0,0,0,.3);
  position: relative; z-index: 1;
}
.btn-dark-solid:hover {
  background: var(--dark-3);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0,0,0,.4);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  height: 100%;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-light);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, rgba(210,187,93,.15), rgba(210,187,93,.05));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
  border: 1px solid rgba(210,187,93,.2);
}
.contact-item strong { display: block; font-size: .82rem; color: var(--gray-mid); text-transform: uppercase; letter-spacing: .05em; }
.contact-item span   { font-size: .95rem; color: var(--dark); font-weight: 500; }

.contact-form-card {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.contact-form-card .form-label {
  color: rgba(255,255,255,.75);
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: .4rem;
}
.contact-form-card .form-control,
.contact-form-card .form-select {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--white);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  font-size: .9rem;
  transition: var(--transition);
}
.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  background: rgba(255,255,255,.1);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(210,187,93,.15);
  color: var(--white);
}
.contact-form-card .form-control::placeholder { color: rgba(255,255,255,.3); }
.contact-form-card .form-select option { background: var(--dark); color: var(--white); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--dark-2);
  color: rgba(255,255,255,.65);
  font-size: .88rem;
}
.footer-top { padding: 5rem 0 3rem; }
.footer-brand img { height: 52px; margin-bottom: 1.2rem; }
.footer-brand p { font-size: .87rem; line-height: 1.8; color: rgba(255,255,255,.5); max-width: 280px; }
.footer-social { display: flex; gap: .75rem; margin-top: 1.2rem; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .95rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark-2);
  transform: translateY(-2px);
}

.footer-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: .6rem;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--gold);
  border-radius: 99px;
}

.footer-links li { margin-bottom: .5rem; }
.footer-links a {
  color: rgba(255,255,255,.5);
  font-size: .87rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.footer-links a:hover { color: var(--gold); padding-left: .4rem; }
.footer-links a i { font-size: .7rem; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .85rem;
  color: rgba(255,255,255,.5);
  font-size: .87rem;
}
.footer-contact-item i {
  color: var(--gold);
  margin-top: .1rem;
  flex-shrink: 0;
  font-size: .9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.5rem 0;
}
.footer-bottom p { margin: 0; font-size: .8rem; color: rgba(255,255,255,.35); }
.footer-bottom a { color: var(--gold); }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .6rem;
}
.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  transition: var(--transition);
}
.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37,211,102,.6);
}
.whatsapp-float .wpp-label {
  background: var(--dark-2);
  color: var(--white);
  font-size: .75rem;
  font-weight: 600;
  padding: .3rem .8rem;
  border-radius: 99px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
}
.whatsapp-float:hover .wpp-label { opacity: 1; transform: translateX(0); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
#backToTop {
  position: fixed;
  bottom: 7.5rem;
  right: 2rem;
  z-index: 9998;
  width: 42px; height: 42px;
  background: rgba(50,51,53,.9);
  border: 1px solid rgba(210,187,93,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  pointer-events: none;
  backdrop-filter: blur(8px);
}
#backToTop.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#backToTop:hover { background: var(--gold); color: var(--dark-2); }

/* ============================================================
   PAGE HEADER (páginas internas)
   ============================================================ */
.page-header {
  background: var(--dark-2);
  padding: 10rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(210,187,93,.07) 0%, transparent 60%),
    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'%3E%3Cg fill='%23d2bb5d' 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");
}
.page-header h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.5rem); position: relative; }
.breadcrumb { position: relative; }
.breadcrumb-item, .breadcrumb-item a { color: rgba(255,255,255,.5); font-size: .85rem; }
.breadcrumb-item.active { color: var(--gold); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.3); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
[data-aos] { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }
[data-aos="fade-left"]  { transform: translateX(30px); }
[data-aos="fade-left"].aos-animate  { transform: translateX(0); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }
[data-aos="zoom-in"] { transform: scale(.9); }
[data-aos="zoom-in"].aos-animate { transform: scale(1); }

/* ============================================================
   TOUCH DEVICE — remove stuck hover effects
   ============================================================ */
.touch-device .service-card:hover,
.touch-device .post-card:hover,
.touch-device .why-card:hover,
.touch-device .value-card:hover {
  transform: none;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
#cookieBanner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9997;
  background: rgba(30,31,33,.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(210,187,93,.2);
  padding: 1.2rem 0;
  transform: translateY(100%);
  transition: transform .4s ease;
}
#cookieBanner.show { transform: translateY(0); }
#cookieBanner p { color: rgba(255,255,255,.7); font-size: .85rem; margin: 0; }
#cookieBanner a { color: var(--gold); }

/* ============================================================
   FORM VALIDATION
   ============================================================ */
.form-control.is-invalid { border-color: #dc3545; }
.form-control.is-valid   { border-color: var(--gold); }

/* ============================================================
   SOBRE — Values / Team
   ============================================================ */
.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(210,187,93,.15);
  transition: var(--transition);
  background: var(--white);
}
.value-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(210,187,93,.12);
  transform: translateY(-4px);
}
.value-icon {
  width: 72px; height: 72px;
  margin: 0 auto 1.2rem;
  background: linear-gradient(135deg, rgba(210,187,93,.12), rgba(210,187,93,.04));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold);
}
.value-card h5 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.value-card p  { font-size: .87rem; color: var(--gray-mid); line-height: 1.7; margin: 0; }

/* Cleber profile */
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.team-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--dark);
}
.team-img-wrap img {
  width: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .5s ease;
}
.team-card:hover .team-img-wrap img { transform: scale(1.03); }
.team-info { padding: 1.5rem; text-align: center; }
.team-info h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: .2rem; }
.team-info .team-role { color: var(--gold); font-size: .85rem; font-weight: 600; margin-bottom: .75rem; }
.team-social { display: flex; justify-content: center; gap: .5rem; }
.team-social a {
  width: 34px; height: 34px;
  background: var(--off-white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-3);
  font-size: .9rem;
  transition: var(--transition);
}
.team-social a:hover { background: var(--gold); color: var(--dark-2); }

/* ============================================================
   PRIVACY PAGE
   ============================================================ */
.privacy-content h2 { font-size: 1.5rem; font-weight: 700; color: var(--dark); margin: 2.5rem 0 1rem; }
.privacy-content h3 { font-size: 1.15rem; font-weight: 700; color: var(--dark); margin: 1.5rem 0 .75rem; }
.privacy-content p  { color: #555; line-height: 1.85; margin-bottom: 1rem; }
.privacy-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.privacy-content ul li { color: #555; line-height: 1.85; margin-bottom: .4rem; }
.privacy-content a { color: var(--gold-dark); }

/* ============================================================
   BLOG — LISTAGEM
   ============================================================ */
.post-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.06);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(210,187,93,.2);
}

.post-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--dark-3);
  flex-shrink: 0;
}
.post-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.post-card:hover .post-thumb img { transform: scale(1.06); }

.post-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(210,187,93,.3);
  background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
}

.post-category-badge {
  position: absolute;
  top: .9rem;
  left: .9rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark-2);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 99px;
  z-index: 2;
}

.post-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .76rem;
  color: var(--gray-mid);
  margin-bottom: .9rem;
  flex-wrap: wrap;
}
.post-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.post-meta i { color: var(--gold); font-size: .7rem; }

.post-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: .75rem;
  transition: color var(--transition);
}
.post-card:hover .post-title { color: var(--gold-dark); }

.post-excerpt {
  font-size: .87rem;
  color: var(--gray-mid);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-light);
}
.post-author {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.post-author-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  color: var(--dark-2);
  flex-shrink: 0;
  overflow: hidden;
}
.post-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.post-author-name { font-size: .78rem; font-weight: 600; color: var(--dark-3); }
.post-read-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold-dark);
  transition: gap var(--transition);
}
.post-card:hover .post-read-link { gap: .6rem; }

/* Post FEATURED */
.post-card-featured {
  background: var(--dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  transition: var(--transition);
}
.post-card-featured:hover { transform: translateY(-4px); box-shadow: 0 28px 70px rgba(0,0,0,.3); }

.post-featured-bg {
  position: absolute;
  inset: 0;
  background: var(--dark-2);
}
.post-featured-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .45;
  transition: transform .6s ease, opacity .4s ease;
}
.post-card-featured:hover .post-featured-bg img { transform: scale(1.04); opacity: .35; }

.post-featured-gradient {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 75%;
  background: linear-gradient(to top, rgba(20,21,23,.98) 0%, rgba(20,21,23,.6) 60%, transparent 100%);
  z-index: 1;
}

.post-featured-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
}
.post-featured-content .post-category-badge {
  position: static;
  display: inline-flex;
  margin-bottom: 1rem;
}
.post-featured-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: .9rem;
}
.post-featured-excerpt {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  line-height: 1.75;
  margin-bottom: 1.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-featured-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  flex-wrap: wrap;
}
.post-featured-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.post-featured-meta i { color: var(--gold); }

/* ============================================================
   BLOG — SIDEBAR
   ============================================================ */
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,.07);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.sidebar-card-header {
  background: var(--dark);
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.sidebar-card-header i { color: var(--gold); font-size: .95rem; }
.sidebar-card-header h5 {
  color: var(--white);
  font-size: .9rem;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.sidebar-card-body { padding: 1.3rem 1.4rem; }

.sidebar-search { position: relative; }
.sidebar-search input {
  width: 100%;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: var(--radius);
  padding: .7rem 2.8rem .7rem 1rem;
  font-size: .88rem;
  color: var(--dark);
  outline: none;
  transition: var(--transition);
}
.sidebar-search input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(210,187,93,.12); }
.sidebar-search button {
  position: absolute;
  top: 50%; right: .75rem;
  transform: translateY(-50%);
  background: none; border: none;
  color: var(--gold); cursor: pointer;
  font-size: .9rem; padding: 0;
}

.sidebar-categories li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .55rem 0;
  border-bottom: 1px solid var(--gray-light);
  font-size: .87rem;
}
.sidebar-categories li:last-child { border-bottom: none; }
.sidebar-categories a {
  color: var(--dark-3);
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: var(--transition);
}
.sidebar-categories a:hover { color: var(--gold-dark); padding-left: .35rem; }
.sidebar-categories a i { color: var(--gold); font-size: .7rem; }
.cat-count {
  background: var(--off-white);
  color: var(--gray-mid);
  font-size: .72rem;
  font-weight: 700;
  padding: .15rem .55rem;
  border-radius: 99px;
}

.sidebar-post {
  display: flex;
  gap: .9rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--gray-light);
}
.sidebar-post:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-post-thumb {
  width: 66px; height: 54px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--dark-3);
}
.sidebar-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-post-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: rgba(210,187,93,.35);
  background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
}
.sidebar-post-info { flex: 1; min-width: 0; }
.sidebar-post-title {
  font-size: .83rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: .3rem;
  transition: color var(--transition);
}
.sidebar-post:hover .sidebar-post-title { color: var(--gold-dark); }
.sidebar-post-date { font-size: .72rem; color: var(--gray-mid); }

.tags-cloud { display: flex; flex-wrap: wrap; gap: .45rem; }
.tag-item {
  display: inline-block;
  background: var(--off-white);
  color: var(--dark-3);
  border: 1px solid rgba(0,0,0,.08);
  font-size: .75rem;
  font-weight: 500;
  padding: .3rem .75rem;
  border-radius: 99px;
  transition: var(--transition);
}
.tag-item:hover { background: var(--gold); color: var(--dark-2); border-color: var(--gold); }

.sidebar-newsletter {
  background: linear-gradient(135deg, var(--dark), var(--dark-3));
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  text-align: center;
  margin-bottom: 1.5rem;
}
.sidebar-newsletter .newsletter-icon {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--dark-2);
  margin: 0 auto 1rem;
}
.sidebar-newsletter h5 { color: var(--white); font-size: .95rem; margin-bottom: .4rem; }
.sidebar-newsletter p  { color: rgba(255,255,255,.55); font-size: .8rem; line-height: 1.65; margin-bottom: 1rem; }
.sidebar-newsletter input {
  width: 100%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: .65rem 1rem;
  color: var(--white);
  font-size: .85rem;
  margin-bottom: .6rem;
  outline: none;
  transition: var(--transition);
}
.sidebar-newsletter input::placeholder { color: rgba(255,255,255,.3); }
.sidebar-newsletter input:focus { border-color: var(--gold); }
.sidebar-newsletter .btn-gold { width: 100%; justify-content: center; padding: .7rem; font-size: .83rem; }

/* ============================================================
   BLOG — PAGINAÇÃO
   ============================================================ */
.blog-pagination .page-item .page-link {
  border: 1px solid rgba(0,0,0,.1);
  color: var(--dark-3);
  font-weight: 600;
  font-size: .85rem;
  padding: .6rem 1rem;
  transition: var(--transition);
  border-radius: var(--radius) !important;
  margin: 0 .2rem;
}
.blog-pagination .page-item .page-link:hover    { background: var(--gold); border-color: var(--gold); color: var(--dark-2); }
.blog-pagination .page-item.active .page-link   { background: var(--gold); border-color: var(--gold); color: var(--dark-2); box-shadow: 0 4px 14px rgba(210,187,93,.3); }
.blog-pagination .page-item.disabled .page-link { opacity: .4; }

/* ============================================================
   BLOG — POST INDIVIDUAL
   ============================================================ */
.post-hero-placeholder {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: rgba(210,187,93,.25);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

.post-single-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  color: var(--dark);
}
.post-single-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: .82rem;
  color: var(--gray-mid);
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--gray-light);
  margin-bottom: 2rem;
}
.post-single-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.post-single-meta i { color: var(--gold); }

/* Conteúdo do post (TinyMCE output) */
.post-content h2 { font-size: 1.6rem; font-weight: 700; color: var(--dark); margin: 2.5rem 0 1rem; }
.post-content h3 { font-size: 1.25rem; font-weight: 700; color: var(--dark); margin: 2rem 0 .85rem; }
.post-content p  { color: #444; line-height: 1.9; margin-bottom: 1.3rem; font-size: .97rem; }
.post-content ul,
.post-content ol { padding-left: 1.5rem; margin-bottom: 1.3rem; }
.post-content ul li,
.post-content ol li { color: #444; line-height: 1.85; margin-bottom: .4rem; font-size: .97rem; }
.post-content strong { color: var(--dark); }
.post-content a { color: var(--gold-dark); text-decoration: underline; }
/* Tabelas geradas pelo TinyMCE — scroll horizontal em telas pequenas */
.post-content table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.post-content blockquote {
  border-left: 4px solid var(--gold);
  background: var(--off-white);
  padding: 1.2rem 1.5rem;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin: 2rem 0;
  font-style: italic;
  color: var(--dark-3);
  font-size: 1.05rem;
  line-height: 1.8;
}
.post-content blockquote cite {
  display: block;
  margin-top: .75rem;
  font-size: .82rem;
  color: var(--gold-dark);
  font-style: normal;
  font-weight: 700;
}

.post-content .highlight-box {
  background: linear-gradient(135deg, rgba(210,187,93,.1), rgba(210,187,93,.05));
  border: 1px solid rgba(210,187,93,.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
}
.post-content .highlight-box h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.post-content .highlight-box h4 i { color: var(--gold); }

/* Tabela comparativa (classe manual) */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: .88rem;
}
.comparison-table th {
  background: var(--dark);
  color: var(--white);
  padding: .9rem 1rem;
  text-align: left;
  font-weight: 700;
}
.comparison-table td {
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--gray-light);
  color: #444;
  vertical-align: top;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: var(--off-white); }
.comparison-table .check { color: #28a745; font-weight: 700; }
.comparison-table .cross { color: #dc3545; font-weight: 700; }
.comparison-table .td-highlight { background: rgba(210,187,93,.08) !important; font-weight: 600; color: var(--gold-dark); }

/* Compartilhar */
.post-share {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
.post-share strong { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: #999; margin-right: .2rem; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 700;
  padding: .45rem 1rem;
  border-radius: 99px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.share-btn.whatsapp { background: #25d366; color: #fff; }
.share-btn.whatsapp:hover { background: #1da554; transform: translateY(-1px); }
.share-btn.linkedin  { background: #0077b5; color: #fff; }
.share-btn.linkedin:hover  { background: #005e8f; transform: translateY(-1px); }
.share-btn.facebook  { background: #1877f2; color: #fff; }
.share-btn.facebook:hover  { background: #1260cc; transform: translateY(-1px); }
.share-btn.copy { background: var(--dark); color: var(--white); }
.share-btn.copy:hover { background: var(--dark-3); transform: translateY(-1px); }

/* Autor */
.author-box {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  margin-top: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.author-box-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark-2);
}
.author-box-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-box h5 { font-size: 1rem; font-weight: 700; margin-bottom: .15rem; }
.author-box .author-role { font-size: .78rem; color: var(--gold-dark); font-weight: 600; margin-bottom: .7rem; }
.author-box p  { font-size: .87rem; color: #666; line-height: 1.75; margin: 0; }

/* Posts relacionados */
.related-posts-section { margin-top: 3.5rem; }
.related-posts-section h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: .7rem;
}
.related-posts-section h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 40px; height: 3px;
  background: var(--gold);
  border-radius: 99px;
}

/* CTA box dentro do post */
.post-cta-box {
  background: linear-gradient(135deg, var(--dark), var(--dark-3));
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  margin: 2.5rem 0;
  position: relative;
  overflow: hidden;
}
.post-cta-box::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 150px; height: 150px;
  background: rgba(210,187,93,.06);
  border-radius: 50%;
}
.post-cta-box h4 { color: var(--white); font-size: 1.15rem; margin-bottom: .5rem; position: relative; }
.post-cta-box p  { color: rgba(255,255,255,.6); font-size: .87rem; margin-bottom: 1.2rem; position: relative; }

/* ============================================================
   BLOG — FILTRO DE CATEGORIAS
   ============================================================ */
.category-filter {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.category-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--white);
  border: 1px solid rgba(0,0,0,.1);
  color: var(--dark-3);
  font-size: .8rem;
  font-weight: 600;
  padding: .45rem 1rem;
  border-radius: 99px;
  cursor: pointer;
  transition: var(--transition);
}
.category-filter-btn:hover,
.category-filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark-2);
}

/* ============================================================
   SERVIÇOS — cards de detalhe
   ============================================================ */
.service-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem .75rem;
}
.service-features li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .88rem;
  color: #555;
}
.service-features li i { color: var(--gold); margin-top: .1rem; flex-shrink: 0; font-size: .8rem; }

.service-detail-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  background: var(--white);
  border: 1px solid rgba(0,0,0,.06);
  transition: var(--transition);
}
.service-detail-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.service-detail-header {
  background: var(--dark);
  padding: 1.6rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.service-detail-header .svc-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--dark-2);
  flex-shrink: 0;
}
.service-detail-header h3 { color: var(--white); font-size: 1.2rem; margin: 0; }
.service-detail-header p  { color: rgba(255,255,255,.55); font-size: .83rem; margin: .2rem 0 0; }
.service-detail-body { padding: 1.8rem 2rem; }
.service-detail-body p { color: #555; line-height: 1.85; margin-bottom: 1.2rem; }

.service-nav-sidebar {
  position: sticky;
  top: 100px;
}
.service-nav-sidebar .nav-link {
  color: #555;
  font-size: .88rem;
  font-weight: 500;
  padding: .55rem 1rem;
  border-left: 3px solid transparent;
  border-radius: 0;
  transition: .25s;
}
.service-nav-sidebar .nav-link:hover,
.service-nav-sidebar .nav-link.active {
  color: var(--gold-dark);
  border-left-color: var(--gold);
  background: rgba(210,187,93,.06);
}

/* ============================================================
   RESPONSIVE — TABLET  ≤ 991px
   ============================================================ */
@media (max-width: 991.98px) {

  /* Navbar mobile */
  #mainNav .navbar-collapse {
    background: rgba(20,21,23,.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(210,187,93,.15);
    border-radius: 0 0 12px 12px;
    padding: 1rem 1.2rem 1.4rem;
    margin-top: .5rem;
    box-shadow: 0 12px 32px rgba(0,0,0,.4);
  }
  #mainNav .nav-link {
    padding: .75rem .9rem !important;
    border-bottom: 1px solid rgba(255,255,255,.05);
    font-size: .85rem;
  }
  #mainNav .nav-link:last-of-type { border-bottom: none; }
  #mainNav .nav-link::after { display: none; }
  .nav-cta {
    margin-left: 0 !important;
    margin-top: .5rem;
    display: inline-flex !important;
    justify-content: center;
    width: 100%;
  }

  /* Hero */
  .hero-image-wrapper {
    margin-top: 2rem;
    max-height: 55vh;
    overflow: hidden;
  }
  .hero-image-wrapper img {
    max-height: 55vh;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-image-glow   { display: none; }
  .scroll-indicator  { display: none; }

  /* About */
  .about-badge       { right: 0; }
  .about-image-group { padding: 1.5rem 1rem 2rem 0; }
  .about-corner-accent { width: 80px; height: 80px; }

  /* Process */
  .process-step::after { display: none; }

  /* Page header */
  .page-header { padding: 7rem 0 3rem; }

  /* Footer */
  .footer-top { padding: 3.5rem 0 2rem; }
  .footer-brand p { max-width: 100%; }
}

/* ============================================================
   RESPONSIVE — MOBILE  ≤ 767px
   ============================================================ */
@media (max-width: 767.98px) {

  /* Espaçamentos gerais */
  .section-pad    { padding: 3.5rem 0; }
  .section-pad-lg { padding: 4.5rem 0; }

  /* Hero */
  #hero .row.min-vh-100 {
    min-height: auto !important;
    padding-top: 6rem;
    padding-bottom: 3rem;
  }
  .hero-tag      { margin-top: 0; }     /* cancela o margin do bloco ≤991px */
  .hero-title    { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-subtitle { font-size: 1rem; margin-bottom: 2rem; }
  .hero-actions  { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-gold,
  .hero-actions .btn-outline-gold { width: 100%; justify-content: center; }
  .hero-image-wrapper     { max-height: 45vh; }
  .hero-image-wrapper img { max-height: 45vh; }
  .hero-stats             { margin-top: 2.5rem; }
  .hero-stats .stat-card  {
    border-right: none;
    border-bottom: 1px solid rgba(210,187,93,.15);
  }
  /* Remove border-bottom dos dois últimos itens (2ª linha do grid 2×2) */
  .hero-stats .stat-card:nth-child(3),
  .hero-stats .stat-card:nth-child(4) { border-bottom: none; }

  /* About */
  .about-image-group   { padding: 1rem 0 2.5rem; }
  .about-corner-accent { display: none; }
  .about-badge {
    right: 0;
    bottom: .5rem;
    padding: .8rem 1rem;
    min-width: 110px;
  }
  .about-badge .badge-number { font-size: 1.7rem; }
  .about-text .lead-text { font-size: 1rem; }

  /* Contact */
  .contact-form-card { padding: 1.6rem 1.1rem; }
  .contact-info-card { padding: 1.4rem; }

  /* Page header */
  .page-header { padding: 6rem 0 2.5rem; }

  /* Footer */
  .footer-top { padding: 3rem 0 2rem; }
  .footer-bottom { text-align: center; }
  .footer-bottom .text-md-end { text-align: center !important; }
  .footer-brand { text-align: center; }
  .footer-brand img { margin: 0 auto 1rem; }
  .footer-brand p { max-width: 100%; }
  .footer-social { justify-content: center; }
  .footer-heading::after { left: 50%; transform: translateX(-50%); }
  .footer-links { text-align: center; }
  .footer-links a { justify-content: center; }
  .footer-contact-item { justify-content: center; text-align: left; }

  /* Floats + cookie */
  .whatsapp-float { bottom: 1.2rem; right: 1.2rem; }
  .whatsapp-float a { width: 50px; height: 50px; font-size: 1.5rem; }
  #backToTop { bottom: 4.8rem; right: 1.2rem; }
  body.cookie-visible .whatsapp-float { bottom: 5.5rem; }
  body.cookie-visible #backToTop     { bottom: 9rem; }

  /* CTA buttons */
  .cta-section .d-flex.gap-3 { flex-direction: column; align-items: stretch; }
  .cta-section .btn-dark-solid,
  .cta-section .btn-outline-gold { width: 100%; justify-content: center; }

  /* Cards */
  .testimonial-card { padding: 1.5rem; }
  .why-card         { padding: 1.2rem; }
  .service-card     { padding: 1.8rem 1.4rem; }

  /* Blog — post featured */
  .post-card-featured    { min-height: 360px; }
  .post-featured-content { padding: 1.5rem; }
  .post-featured-title   { font-size: 1.3rem; }

  /* Blog — autor */
  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .author-box-avatar { margin: 0 auto; }

  /* Blog — compartilhar */
  .post-share { justify-content: center; flex-wrap: wrap; }

  /* Blog — sidebar */
  .sidebar-card       { margin-bottom: 1.2rem; }
  .sidebar-newsletter { padding: 1.3rem; }

  /* Blog — conteúdo do post */
  .post-single-title  { font-size: 1.6rem; }
  .post-single-meta   { gap: .6rem; flex-wrap: wrap; }
  .post-content h2    { font-size: 1.35rem; margin: 2rem 0 .75rem; }
  .post-content h3    { font-size: 1.1rem; }
  .post-content p,
  .post-content li    { font-size: .93rem; }
  .post-content blockquote { font-size: .95rem; padding: 1rem 1.2rem; }
  .post-cta-box       { padding: 1.5rem 1.2rem; }
  .post-cta-box .btn-gold { width: 100%; justify-content: center; }

  /* Blog — comparison table */
  .comparison-table th,
  .comparison-table td { padding: .6rem .7rem; font-size: .8rem; }

  /* Serviços */
  .service-detail-header { padding: 1.2rem 1.4rem; }
  .service-detail-body   { padding: 1.4rem; }
  .service-detail-header h3 { font-size: 1.05rem; }
}

/* ============================================================
   RESPONSIVE — XS  ≤ 480px
   ============================================================ */
@media (max-width: 479.98px) {

  /* Navbar */
  #mainNav .navbar-brand img { height: 38px; }

  /* Hero */
  .hero-tag                  { font-size: .72rem; padding: .35rem .8rem; }
  .hero-stats .stat-number   { font-size: 1.8rem; }
  .hero-stats .stat-label    { font-size: .7rem; }

  /* Features strip — 1 coluna */
  .features-strip .col-6 { flex: 0 0 100%; max-width: 100%; }
  .features-strip .feature-item { justify-content: center; }

  /* Cards */
  .service-card { padding: 1.6rem 1.2rem; }
  .why-card     { flex-direction: column; }
  .value-card   { padding: 1.5rem 1rem; }

  /* Blog — filtro de categorias scroll horizontal */
  .category-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: .5rem;
    margin-bottom: 2rem;
  }
  .category-filter::-webkit-scrollbar { display: none; }
  .category-filter-btn { flex-shrink: 0; }

  /* Blog — post featured compacto */
  .post-card-featured { min-height: 300px; }
  .post-featured-title { font-size: 1.2rem; }

  /* Blog — compartilhar: coluna */
  .post-share { flex-direction: column; align-items: center; }
  .share-btn  { width: 100%; justify-content: center; }

  /* Blog — process */
  .process-number { width: 52px; height: 52px; font-size: 1.2rem; }

  /* About — badge oculto */
  .about-badge { display: none; }

  /* Contact */
  .contact-form-card { padding: 1.3rem .9rem; }

  /* Page header */
  .page-header { padding: 5.5rem 0 2rem; }

  /* Team */
  .team-img-wrap { height: auto !important; aspect-ratio: 3/4; }

  /* Serviços — features em 1 coluna */
  .service-features { grid-template-columns: 1fr; }

  /* Cookie banner — aumenta offset dos floats pois o banner fica mais alto ao empilhar */
  body.cookie-visible .whatsapp-float { bottom: 8rem; }
  body.cookie-visible #backToTop     { bottom: 11.5rem; }
}
