/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  --asphalt: #14171C;
  --asphalt-2: #1D2129;
  --asphalt-3: #262B34;
  --paper: #F6F4EE;
  --paper-2: #EDEAE1;
  --signal: #FFC94A;
  --signal-ink: #3A2C05;
  --route: #21A366;
  --route-dark: #17754A;
  --ink: #14171C;
  --mist: #6B7280;
  --mist-light: #9AA1AC;
  --alert: #D8472E;
  --line: rgba(20, 23, 28, 0.10);
  --line-dark: rgba(246, 244, 238, 0.12);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --container: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.12; letter-spacing: -0.01em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--route);
  outline-offset: 2px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--route-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--route);
  display: inline-block;
}

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--dark { background: var(--asphalt); color: var(--paper); }
.section--paper2 { background: var(--paper-2); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); margin-top: 14px; }
.section-head p { margin-top: 16px; color: var(--mist); font-size: 17px; }
.section--dark .section-head p { color: var(--mist-light); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--signal);
  color: var(--signal-ink);
  box-shadow: 0 6px 0 0 #C99A2E;
}
.btn--primary:hover { box-shadow: 0 8px 0 0 #C99A2E; }
.btn--primary:active { transform: translateY(2px); box-shadow: 0 3px 0 0 #C99A2E; }
.btn--ghost {
  background: transparent;
  border-color: currentColor;
  color: var(--ink);
}
.section--dark .btn--ghost { color: var(--paper); }
.btn--ghost:hover { background: rgba(20,23,28,0.06); }
.section--dark .btn--ghost:hover { background: rgba(246,244,238,0.08); }
.btn--sm { padding: 10px 18px; font-size: 13.5px; }

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 244, 238, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--asphalt);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, var(--signal) 0 8px, transparent 8px 16px);
  height: 3px;
  top: 50%;
  margin-top: -1.5px;
  transform: rotate(-18deg) scale(1.4);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--mist);
  transition: color 0.15s ease;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -22px;
  height: 2px;
  background: var(--route);
}
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

@media (max-width: 880px) {
  .nav-links { position: fixed; top: 76px; left: 0; right: 0; bottom: 0; background: var(--paper); flex-direction: column; justify-content: flex-start; padding: 32px 24px; gap: 24px; transform: translateX(100%); transition: transform 0.25s ease; overflow-y: auto; }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 20px; }
  .nav-toggle { display: flex; }
  .nav-actions .btn--sm.header-cta-desktop { display: none; }
}

/* ============================================
   ROUTE LINE — signature element
   ============================================ */
.route-line {
  position: relative;
  height: 3px;
  background-image: linear-gradient(90deg, var(--route) 0 14px, transparent 14px 26px);
  background-repeat: repeat-x;
  background-size: 26px 3px;
  border-radius: 3px;
}
.route-line--vert {
  width: 3px; height: 100%;
  background-image: linear-gradient(180deg, var(--route) 0 14px, transparent 14px 26px);
  background-repeat: repeat-y;
  background-size: 3px 26px;
}
.route-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--route);
  box-shadow: 0 0 0 4px rgba(33,163,102,0.18);
  flex-shrink: 0;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 72px 0 40px;
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(38px, 5vw, 60px);
  margin-top: 18px;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--route-dark);
}
.hero-copy p {
  margin-top: 20px;
  font-size: 18px;
  color: var(--mist);
  max-width: 480px;
}
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero-meta div strong { display: block; font-family: var(--font-display); font-size: 26px; }
.hero-meta div span { font-size: 13px; color: var(--mist); }

.hero-visual {
  position: relative;
  background: var(--asphalt);
  border-radius: 24px;
  padding: 32px;
  color: var(--paper);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.hero-visual::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255,201,74,0.18), transparent 70%);
}
.hero-visual-tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--mist-light); text-transform: uppercase; }
.route-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 20px 0;
  position: relative;
  z-index: 1;
}
.route-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}
.route-step .route-dot { background: var(--asphalt-3); box-shadow: none; border: 2px solid var(--mist-light); }
.route-step.is-active .route-dot { background: var(--signal); border-color: var(--signal); box-shadow: 0 0 0 5px rgba(255,201,74,0.16); }
.route-step .seg { flex: 1; font-size: 14.5px; }
.route-step .seg strong { display: block; font-weight: 600; }
.route-step .seg span { font-size: 12.5px; color: var(--mist-light); }
.route-connector {
  width: 3px;
  height: 22px;
  margin-left: 5.5px;
  background-image: linear-gradient(180deg, var(--mist-light) 0 6px, transparent 6px 12px);
  background-size: 3px 12px;
  background-repeat: repeat-y;
}
.hero-visual-badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  background: rgba(255,201,74,0.14);
  color: var(--signal);
  border: 1px solid rgba(255,201,74,0.4);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12.5px;
}

/* ============================================
   LOGO / TRUST STRIP
   ============================================ */
.trust-strip {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--mist);
  font-size: 13.5px;
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}
.trust-strip span { display: flex; align-items: center; gap: 9px; }

/* ============================================
   CATEGORY CARDS (document-stamp style)
   ============================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.cat-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.cat-card:hover { border-color: var(--route); transform: translateY(-4px); }
.cat-stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 18px;
  transform: rotate(-2deg);
}
.cat-card h3 { font-size: 19px; margin-bottom: 8px; }
.cat-card p { color: var(--mist); font-size: 14.5px; }
.cat-card .cat-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 13.5px; font-weight: 600; color: var(--route-dark); }

/* ============================================
   PROCESS TIMELINE (horizontal)
   ============================================ */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 27px; left: 0; right: 0;
  height: 3px;
  background-image: linear-gradient(90deg, var(--line) 0 14px, transparent 14px 26px);
  background-size: 26px 3px;
  background-repeat: repeat-x;
}
.timeline-step { position: relative; padding-top: 0; }
.timeline-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--asphalt);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 18px;
  position: relative; z-index: 1;
  margin-bottom: 20px;
}
.timeline-step:nth-child(odd) .timeline-num { border-color: var(--route); color: var(--route-dark); }
.timeline-step h4 { font-size: 16.5px; margin-bottom: 8px; padding-right: 12px; }
.timeline-step p { font-size: 13.5px; color: var(--mist); padding-right: 16px; }

@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 32px; }
  .timeline::before { left: 27px; top: 0; bottom: 0; right: auto; width: 3px; height: auto;
    background-image: linear-gradient(180deg, var(--line) 0 14px, transparent 14px 26px);
    background-size: 3px 26px; background-repeat: repeat-y; }
}

/* ============================================
   PRICING
   ============================================ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.price-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
}
.price-card--highlight {
  border-color: var(--asphalt);
  background: var(--asphalt);
  color: var(--paper);
  position: relative;
}
.price-card--highlight .price-note, .price-card--highlight ul li { color: var(--mist-light); }
.price-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--signal);
  color: var(--signal-ink);
  padding: 5px 12px;
  border-radius: 999px;
  align-self: flex-start;
  margin-bottom: 18px;
}
.price-card h3 { font-size: 21px; }
.price-amount { font-family: var(--font-display); font-size: 40px; margin: 14px 0 4px; }
.price-amount span { font-size: 15px; font-family: var(--font-body); color: var(--mist); font-weight: 500; }
.price-card--highlight .price-amount span { color: var(--mist-light); }
.price-card ul { margin: 24px 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.price-card ul li { display: flex; gap: 10px; font-size: 14.5px; align-items: flex-start; }
.price-card ul li::before { content: "✓"; color: var(--route); font-weight: 700; flex-shrink: 0; }
.price-card--highlight ul li::before { color: var(--signal); }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.testi-card {
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: 26px;
}
.testi-card p { font-size: 15px; }
.testi-who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.testi-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--asphalt); color: var(--signal); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 13px; font-weight: 700; }
.testi-who strong { display: block; font-size: 13.5px; }
.testi-who span { font-size: 12px; color: var(--mist); }

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
}
.faq-q .plus { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--ink); transition: transform 0.2s ease; }
.faq-q .plus::before { width: 100%; height: 2px; top: 50%; margin-top: -1px; }
.faq-q .plus::after { height: 100%; width: 2px; left: 50%; margin-left: -1px; }
.faq-item.open .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-a p { padding: 0 0 22px; color: var(--mist); font-size: 15px; max-width: 640px; }

/* ============================================
   BLOG
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.blog-card {
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--route); }
.blog-thumb { height: 160px; background: var(--asphalt); position: relative; overflow: hidden; }
.blog-thumb::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, var(--signal) 0 20px, transparent 20px 40px);
  height: 4px; top: 50%; margin-top: -2px; opacity: 0.7;
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; z-index: 1; }
.post-cover { border-radius: var(--radius); overflow: hidden; margin: 28px 0 8px; }
.post-cover img { width: 100%; display: block; }
.blog-cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--route-dark); }
.blog-body { padding: 22px; }
.blog-body h3 { font-size: 18px; margin: 10px 0 8px; }
.blog-body p { font-size: 14px; color: var(--mist); }
.blog-meta { margin-top: 16px; font-size: 12.5px; color: var(--mist-light); font-family: var(--font-mono); }

.post-hero { padding: 64px 0 20px; }
.post-hero .eyebrow { margin-bottom: 16px; }
.post-hero h1 { font-size: clamp(30px, 4vw, 44px); }
.post-hero .post-meta { margin-top: 18px; color: var(--mist); font-size: 14px; font-family: var(--font-mono); }
.post-body { max-width: 720px; margin: 0 auto; padding: 20px 24px 80px; }
.post-body h2 { font-size: 25px; margin: 40px 0 16px; }
.post-body h3 { font-size: 19px; margin: 28px 0 12px; }
.post-body p { margin-bottom: 18px; color: var(--ink); font-size: 16.5px; }
.post-body ul { margin: 0 0 18px; }
.post-body ul li { padding-left: 22px; position: relative; margin-bottom: 10px; }
.post-body ul li::before { content: "—"; position: absolute; left: 0; color: var(--route); }
.post-cta { background: var(--paper-2); border-radius: var(--radius); padding: 28px; margin: 36px 0; text-align: center; }
.post-cta p { margin-bottom: 16px; font-weight: 600; }

/* ============================================
   FORM (matrícula / contato)
   ============================================ */
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.form-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 36px;
}
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--paper);
  transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--route);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 12.5px; color: var(--mist); margin-top: 10px; }
.form-side h3 { font-size: 22px; margin-bottom: 18px; }
.info-row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-row strong { display: block; font-size: 14px; }
.info-row span { font-size: 13.5px; color: var(--mist); }

@media (max-width: 860px) {
  .form-wrap { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero .container { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--asphalt);
  color: var(--paper);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mist-light); margin-bottom: 18px; font-family: var(--font-mono); font-weight: 500; }
.footer-grid ul li { margin-bottom: 11px; }
.footer-grid ul li a { font-size: 14.5px; color: var(--paper); opacity: 0.85; }
.footer-grid ul li a:hover { opacity: 1; color: var(--signal); }
.contact-link { display: inline-flex; align-items: center; gap: 9px; }
.ic { flex-shrink: 0; color: var(--signal); opacity: 0.9; }
.footer-grid ul li a:hover .ic { color: var(--signal); opacity: 1; }
.info-row .ic { color: var(--route); }
.trust-strip span .ic { color: var(--route); }
.footer-about p { font-size: 14.5px; color: var(--mist-light); margin-top: 14px; max-width: 300px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--mist-light); }

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--route);
  color: #fff;
  padding: 14px 20px 14px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(23,117,74,0.35);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float .wa-icon {
  width: 30px; height: 30px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wa-msg { max-width: 160px; line-height: 1.25; display: none; }
@media (min-width: 600px) { .wa-msg { display: block; } }

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb { font-family: var(--font-mono); font-size: 12.5px; color: var(--mist); padding: 22px 0 0; }
.breadcrumb a { color: var(--mist); }
.breadcrumb a:hover { color: var(--route-dark); }
.breadcrumb span { margin: 0 8px; }

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0 !important; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
