@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700;800;900&display=swap');

:root {
  --navy: #0f2138;
  --navy-2: #16324f;
  --navy-deep: #091522;
  --orange: #e07a3e;
  --orange-light: #ef9a63;
  --cream: #f7f4ee;
  --white: #FFFFFF;
  --gray: #e9e4d9;
  --text: #16232f;
  --text-light: #5c6b78;
  --shadow: 0 4px 20px rgba(15, 33, 56, 0.08);
  --shadow-lg: 0 14px 44px rgba(15, 33, 56, 0.16);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;

  /* legacy aliases kept so any untouched markup still resolves */
  --primary: var(--navy);
  --primary-light: var(--navy-2);
  --gold: var(--orange);
  --gold-light: var(--orange-light);
  --light-bg: var(--cream);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

h1, h2, h3, .headline-font {
  font-family: 'Playfair Display', Georgia, serif;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(9, 21, 34, 0.97);
  backdrop-filter: blur(10px);
  padding: 0 5%;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}

.navbar.scrolled {
  background: var(--navy-deep);
  border-bottom-color: var(--orange);
  box-shadow: var(--shadow-lg);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  position: relative;
  flex-shrink: 0;
}

.logo-icon::before,
.logo-icon::after {
  content: '';
  position: absolute;
  width: 62%;
  height: 68%;
  border-radius: 7px;
}

.logo-icon::before {
  top: 0;
  left: 0;
  border: 3px solid var(--white);
  border-right: none;
  border-radius: 7px 0 0 7px;
}

.logo-icon::after {
  bottom: 0;
  right: 0;
  border: 3px solid var(--orange);
  border-left: none;
  border-radius: 0 7px 7px 0;
}

.logo-text {
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  display: block;
  font-family: 'Playfair Display', serif;
}

.logo-subtext {
  color: var(--orange-light);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  line-height: 1;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange-light);
  background: rgba(224, 122, 62, 0.12);
}

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  margin-left: 8px;
  border-radius: 30px !important;
  padding: 9px 20px !important;
}

.nav-cta:hover {
  background: var(--orange-light) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-2) 100%);
  display: flex;
  align-items: center;
  padding: 130px 5% 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(224,122,62,0.10) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.ghost-stat {
  position: absolute;
  left: 4%;
  bottom: 6%;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(90px, 14vw, 210px);
  color: rgba(255,255,255,0.045);
  line-height: 0.85;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.ghost-stat span {
  display: block;
  font-size: 0.32em;
  letter-spacing: 4px;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(224, 122, 62, 0.14);
  border: 1px solid rgba(224, 122, 62, 0.35);
  color: var(--orange-light);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero h1 span { color: var(--orange-light); }

.hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  line-height: 1.8;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.icon-badges {
  display: flex;
  gap: 14px;
}

.icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
}

.icon-badge svg { width: 24px; height: 24px; }

.icon-badge.is-accent {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(224,122,62,0.25);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 400px;
}

.hero-card-title {
  color: var(--orange-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(224,122,62,0.2);
}

.service-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.82);
  font-size: 14px;
}

.service-list-item:last-child { border-bottom: none; }

.service-dot {
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== PILLARS ROW (overlaps hero bottom edge) ===== */
.pillars-row {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: -70px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  padding: 0 5%;
}

.pillar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray);
}

.pillar-card .pillar-letter {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 14px;
}

.pillar-card .pillar-letter.is-wide {
  width: auto;
  min-width: 40px;
  padding: 0 10px;
  font-size: 14px;
}

.pillar-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.pillar-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--orange);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  border: 2px solid var(--orange);
  cursor: pointer;
  font-family: inherit;
}

.btn-primary:hover {
  background: var(--orange-light);
  border-color: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(224,122,62,0.32);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  border: 2px solid rgba(255,255,255,0.28);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  border: 2px solid var(--navy);
  cursor: pointer;
  font-family: inherit;
}

.btn-dark:hover {
  background: var(--navy-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ===== SECTIONS ===== */
.section { padding: 80px 5%; }
.section-alt { background: var(--cream); }
.section-hero-adjacent { padding-top: 140px; }

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

.section-label {
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-light);
  max-width: 620px;
  line-height: 1.8;
}

.section-header { margin-bottom: 52px; }

.section-header.centered { text-align: center; }
.section-header.centered .section-desc { margin: 0 auto; }

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(224,122,62,0.25);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(15, 33, 56, 0.06);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--navy);
  color: var(--orange-light);
}

.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.75;
}

.service-card .card-tagline {
  font-size: 13px;
  font-style: italic;
  color: var(--orange);
  margin-bottom: 10px;
  display: block;
}

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 16px;
  transition: var(--transition);
}

.service-card .learn-more:hover { gap: 10px; }

/* ===== NUMBERED BADGE LIST (used throughout: quem somos, entregáveis, passos) ===== */
.num-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.num-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  transition: var(--transition);
}

.num-row:hover { box-shadow: var(--shadow); border-color: rgba(224,122,62,0.25); }

.num-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--orange-light);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.num-row h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.num-row p {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.7;
}

.num-row .num-tags {
  margin-top: 10px;
}

/* ===== DIFERENTIALS ===== */
.diferentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.diferential-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray);
  transition: var(--transition);
}

.diferential-card:hover {
  border-color: rgba(224,122,62,0.4);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.diferential-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-light);
  margin: 0 auto 20px;
}

.diferential-icon svg { width: 26px; height: 26px; }

.diferential-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.diferential-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.75;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(150deg, var(--navy-deep), var(--navy));
  padding: 90px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(224,122,62,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: 16px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.65);
  padding: 64px 5% 32px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--orange-light); }

.footer-bottom {
  max-width: 1200px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(150deg, var(--navy-deep), var(--navy));
  padding: 150px 5% 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(224,122,62,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.page-hero h1 span { color: var(--orange-light); }

.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.breadcrumb a { color: var(--orange-light); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== OFFER BLOCKS (A / B / C / D) ===== */
.offer-block {
  position: relative;
  padding: 70px 5%;
  border-bottom: 1px solid var(--gray);
}

.offer-block.alt { background: var(--cream); }

.offer-header {
  max-width: 1200px;
  margin: 0 auto 44px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.offer-letter {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(56px, 8vw, 96px);
  color: var(--navy);
  opacity: 0.1;
  line-height: 0.8;
  flex-shrink: 0;
}

.offer-header-text .section-label { margin-bottom: 6px; }

.offer-header-text h2 {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}

.offer-header-text p {
  font-size: 15px;
  color: var(--text-light);
  max-width: 640px;
  line-height: 1.75;
}

.offer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.offer-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: var(--transition);
}

.offer-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.offer-card .offer-card-code {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.offer-card h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.offer-card ul {
  list-style: none;
  margin-bottom: 14px;
}

.offer-card ul li {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.9;
  padding-left: 16px;
  position: relative;
}

.offer-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

.offer-card .offer-deliverables {
  font-size: 12px;
  color: var(--navy);
  background: var(--cream);
  border-radius: 8px;
  padding: 10px 12px;
  line-height: 1.7;
}

.offer-card .offer-deliverables strong { color: var(--orange); }

/* ===== PRICING / FORMATOS ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.pricing-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray);
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.pricing-card.is-featured { border-color: var(--orange); box-shadow: var(--shadow-lg); }

.pricing-card-head {
  background: var(--navy);
  color: var(--white);
  padding: 22px 22px 18px;
}

.pricing-card.is-featured .pricing-card-head { background: var(--orange); }

.pricing-card-head h4 {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-card-head span {
  font-size: 12px;
  opacity: 0.8;
}

.pricing-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pricing-card-body ul { list-style: none; margin-bottom: 16px; flex: 1; }

.pricing-card-body ul li {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.9;
  padding-left: 16px;
  position: relative;
}

.pricing-card-body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

.pricing-card-foot {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  padding-top: 14px;
  border-top: 1px solid var(--gray);
}

/* ===== TRANSITION DIAGRAM (ICMS/ISS/PIS-COFINS → CBS/IBS) ===== */
.transition-diagram-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  padding: 32px 28px 26px;
  box-shadow: var(--shadow);
  overflow-x: auto;
}

.transition-old-row {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 150px;
  min-width: 680px;
}

.transition-new-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  min-width: 680px;
  margin-top: 3px;
}

.transition-year-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-end;
}

.transition-new-row .transition-year-col {
  justify-content: flex-start;
  height: auto;
}

.transition-seg {
  width: 100%;
  font-size: 9px;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.3px;
  text-align: center;
  line-height: 1.15;
  padding: 1px 2px;
}

.transition-seg.is-icms { background: var(--navy); border-radius: 4px 4px 0 0; }
.transition-seg.is-iss { background: #5c7089; }
.transition-seg.is-pis { background: var(--gray); color: var(--navy); }
.transition-seg.is-cbs { background: var(--orange-light); }
.transition-seg.is-ibs { background: var(--orange); border-radius: 0 0 4px 4px; }

.transition-timeline {
  display: flex;
  background: var(--navy);
  border-radius: 6px;
  min-width: 680px;
  gap: 6px;
}

.transition-timeline .t-year {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  color: var(--white);
  font-weight: 800;
  font-family: 'Playfair Display', serif;
  font-size: 14px;
}

.transition-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  justify-content: center;
}

.transition-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-light);
}

.transition-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}

.transition-notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.transition-note {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 12.5px;
  color: var(--text-light);
  line-height: 1.6;
}

.transition-note strong { color: var(--navy); }

/* ===== DATA TABLE ===== */
.data-table-wrap {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.data-table th {
  background: var(--navy);
  color: var(--white);
  text-align: left;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.data-table td {
  padding: 14px 18px;
  border-top: 1px solid var(--gray);
  color: var(--text);
}

.data-table tr.is-highlight td {
  background: rgba(224,122,62,0.07);
  font-weight: 700;
  color: var(--navy);
}

.data-table-note {
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text-light);
  background: var(--cream);
  border-top: 1px solid var(--gray);
}

/* ===== STEPS ROW (próximos passos / how we work) ===== */
.steps-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  position: relative;
}

.step-item {
  position: relative;
  padding: 0 20px;
  text-align: center;
}

.step-item::before {
  content: '';
  position: absolute;
  top: 27px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--gray) 0 8px, transparent 8px 14px);
  z-index: 0;
}

.step-item:first-child::before { display: none; }

.step-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--orange);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
  font-family: 'Playfair Display', serif;
}

.step-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.step-item p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== BAR CHART (curva de transição) ===== */
.chart-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  padding: 32px 28px 20px;
  box-shadow: var(--shadow);
}

.chart-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  height: 200px;
  margin-top: 20px;
}

.chart-bar {
  flex: 1;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.chart-bar-fill {
  width: 100%;
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  border-radius: 6px 6px 0 0;
  position: relative;
}

.chart-bar.is-peak .chart-bar-fill { background: linear-gradient(180deg, var(--orange-light), var(--orange)); }

.chart-bar-value {
  position: absolute;
  top: -22px;
  left: 0; right: 0;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}

.chart-bar.is-peak .chart-bar-value { color: var(--orange); }

.chart-labels {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.chart-labels span {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--text-light);
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray);
}

.contact-form-box h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15,33,56,0.08);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.contact-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}

.contact-info > p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 32px;
  font-size: 15px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(15,33,56,0.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}

.contact-item-icon svg { width: 20px; height: 20px; }

.contact-item-text h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-item-text p {
  font-size: 14px;
  color: var(--text-light);
}

.contact-item-text a { color: var(--text-light); text-decoration: none; }
.contact-item-text a:hover { color: var(--orange); }

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-visual {
  background: linear-gradient(150deg, var(--navy-deep), var(--navy-2));
  border-radius: var(--radius-lg);
  padding: 44px 36px;
}

.about-visual h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--orange-light);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(224,122,62,0.25);
}

.value-item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}

.value-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--orange-light);
}

.value-item:last-child { margin-bottom: 0; }

.value-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.value-item p {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

.mission-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray);
  margin-bottom: 20px;
}

.mission-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.mission-card p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.75;
}

/* ===== REFORMA TRIBUTÁRIA ===== */
.reforma-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.reforma-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--orange);
  transition: var(--transition);
}

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

.reforma-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(15,33,56,0.06);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.reforma-card-icon svg { width: 22px; height: 22px; }

.reforma-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.reforma-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.75;
}

.timeline {
  position: relative;
  padding-left: 36px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 9px; top: 0; bottom: 0;
  width: 2px;
  background: var(--gray);
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 5px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--orange);
}

.timeline-year {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.timeline-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.65;
}

.alert-box {
  background: rgba(224,122,62,0.08);
  border: 1px solid rgba(224,122,62,0.3);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 32px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.alert-box-icon { font-size: 22px; flex-shrink: 0; }

.alert-box-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.alert-box-text p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== TAGS ===== */
.tag {
  display: inline-block;
  background: rgba(15,33,56,0.06);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin: 4px 4px 4px 0;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  text-decoration: none;
  color: white;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

/* ===== ATUALIZAÇÕES / UPDATES ===== */
.updates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.update-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.update-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(224,122,62,0.3);
}

.update-card-date {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.update-card-tag {
  display: inline-block;
  background: rgba(15, 33, 56, 0.07);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.update-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.update-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.75;
}

/* ===== SUCCESS MESSAGE ===== */
.success-message {
  display: none;
  background: rgba(39,174,96,0.1);
  border: 1px solid rgba(39,174,96,0.3);
  color: #1e8449;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.error-message {
  display: none;
  background: rgba(192,57,43,0.08);
  border: 1px solid rgba(192,57,43,0.3);
  color: #a93226;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.error-message a { color: inherit; text-decoration: underline; }

/* Honeypot: campo isca contra bots, invisível para humanos */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ===== TESTIMONIAL PLACEHOLDER ===== */
.testimonial-placeholder {
  border: 2px dashed var(--gray);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  background: var(--white);
}

.testimonial-placeholder .quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  color: var(--gray);
  line-height: 1;
  margin-bottom: 6px;
}

.testimonial-placeholder .quote-text {
  font-style: italic;
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 14px;
}

.testimonial-placeholder .quote-author {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 2000;
  background: var(--orange);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 48px; }
  .offer-header { flex-direction: column; gap: 8px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 74px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 16px 20px 24px;
    transform: translateY(-110%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    box-shadow: var(--shadow-lg);
    gap: 4px;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 10px 14px; }
  .nav-cta { margin-left: 0 !important; margin-top: 8px; text-align: center; }

  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-buttons { justify-content: center; }
  .icon-badges { justify-content: center; }
  .hero p { margin-left: auto; margin-right: auto; }

  .pillars-row { margin-top: -40px; grid-template-columns: 1fr; }

  .contact-grid,
  .about-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

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

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .cta-section p { margin-bottom: 32px; }

  .step-item::before { display: none; }
  .steps-row { grid-template-columns: 1fr 1fr; gap: 32px 0; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 5%; }
  .chart-row { height: 160px; }
  .steps-row { grid-template-columns: 1fr; }
}
