/* ===========================
   POSITIVUS DESIGN SYSTEM
   comprardiplomamec.com.br
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Bricolage+Grotesque:wght@400;500;600;700;800&display=swap');

:root {
  --green:   #B9FF66;
  --dark:    #191A23;
  --gray:    #F3F3F3;
  --white:   #FFFFFF;
  --text:    #191A23;
  --muted:   #6B7280;
  --border:  #191A23;

  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body:    'Space Grotesk', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --radius-xl: 45px;

  --shadow: 4px 4px 0 var(--dark);
  --shadow-sm: 2px 2px 0 var(--dark);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { font-size: 1rem; color: var(--muted); line-height: 1.7; }
a  { color: inherit; text-decoration: none; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }

/* ===== BADGE / LABEL ===== */
.badge {
  display: inline-block;
  background: var(--green);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-dark {
  background: var(--dark);
  color: var(--white);
}

/* ===== SECTION HEADER ===== */
.section-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-header .label {
  background: var(--green);
  color: var(--dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  padding: 4px 12px;
  border-radius: 6px;
  white-space: nowrap;
}
.section-header p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 420px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid var(--dark);
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover { background: #2d2f3d; transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.btn-outline {
  background: transparent;
  color: var(--dark);
}
.btn-outline:hover { background: var(--dark); color: var(--white); }
.btn-green {
  background: var(--green);
  color: var(--dark);
}
.btn-green:hover { background: #a0e850; transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }

/* ===== NAV ===== */
.navbar {
  background: var(--white);
  border-bottom: 1px solid rgba(25,26,35,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--dark);
}
.navbar-brand .logo-icon {
  width: 32px; height: 32px;
  background: var(--dark);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.navbar-brand .logo-icon svg { color: var(--green); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--dark);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--green);
  transition: width 0.2s;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { font-weight: 700; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  transition: all 0.3s;
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 99;
  padding: 100px 24px 40px;
  flex-direction: column;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  border-bottom: 1px solid var(--gray);
  padding-bottom: 16px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-top: 12px; }
.footer-col h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--white);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.85rem; }
.footer-cta-box {
  background: var(--green);
  color: var(--dark);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.footer-cta-box h3 { font-size: 1.4rem; color: var(--dark); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: all 0.2s;
}
.footer-social a:hover { border-color: var(--green); color: var(--green); }

/* ===== HERO ===== */
.hero { padding: 80px 0; background: var(--white); }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content { max-width: 540px; }
.hero-content h1 { margin-bottom: 24px; }
.hero-content p { font-size: 1.1rem; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; }
.trust-item .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.hero-visual {
  background: var(--gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ===== LOGOS BAR ===== */
.logos-bar {
  padding: 32px 0;
  border-top: 1px solid var(--gray);
  border-bottom: 1px solid var(--gray);
  overflow: hidden;
}
.logos-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  animation: scroll-logos 20s linear infinite;
  width: max-content;
}
.logos-inner span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
  opacity: 0.4;
  white-space: nowrap;
}
@keyframes scroll-logos { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.25s ease;
}
.card:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow); }
.card-dark {
  background: var(--dark);
  color: var(--white);
}
.card-dark p, .card-dark h3 { color: var(--white); }
.card-green {
  background: var(--green);
  color: var(--dark);
}
.card-gray { background: var(--gray); border-color: var(--gray); }

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 220px;
  transition: all 0.25s;
}
.service-card:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow); }
.service-card.dark { background: var(--dark); }
.service-card.green { background: var(--green); }
.service-card.gray { background: var(--gray); }
.service-card h3 { color: var(--dark); font-size: 1.4rem; }
.service-card.dark h3 { color: var(--white); }
.service-card .service-link {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  margin-top: 12px;
}
.service-card.dark .service-link { color: var(--white); }
.service-card .service-img {
  width: 120px; height: 120px;
  object-fit: contain;
  position: absolute;
  right: 20px; top: 20px;
}

/* ===== PROCESS / ACCORDION ===== */
.process-list { display: flex; flex-direction: column; gap: 0; }
.process-item {
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s;
}
.process-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  cursor: pointer;
  gap: 20px;
}
.process-header:hover { background: var(--gray); }
.process-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  min-width: 40px;
}
.process-title { font-weight: 600; font-size: 1.1rem; flex: 1; }
.process-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  font-weight: 300;
  transition: all 0.3s;
  flex-shrink: 0;
}
.process-body {
  display: none;
  padding: 0 32px 24px;
  border-top: 1px solid rgba(25,26,35,0.1);
}
.process-body p { padding-top: 16px; }
.process-item.open .process-body { display: block; }
.process-item.open .process-toggle { background: var(--dark); color: var(--white); transform: rotate(45deg); }
.process-item.open { background: var(--green); }
.process-item.open .process-header { background: transparent; }

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.25s;
}
.team-card:hover { transform: translate(-4px,-4px); box-shadow: var(--shadow); }
.team-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gray);
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid var(--border);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-info h4 { font-size: 1rem; margin-bottom: 4px; }
.team-info .role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
  display: block;
}
.team-info p { font-size: 0.88rem; }

/* ===== TESTIMONIALS ===== */
.testimonials-wrapper {
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.testimonial-card p { color: rgba(255,255,255,0.75); font-size: 0.95rem; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author .avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--dark);
}
.testimonial-author h5 { color: var(--white); font-size: 0.95rem; }
.testimonial-author span { color: rgba(255,255,255,0.4); font-size: 0.8rem; }
.stars { color: var(--green); font-size: 1.1rem; margin-bottom: 12px; }

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--dark);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(185,255,102,0.2);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.radio-group { display: flex; gap: 20px; flex-wrap: wrap; }
.radio-label {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; font-size: 0.95rem;
}
.radio-label input[type="radio"] { accent-color: var(--green); }

/* ===== CASE STUDIES ===== */
.cases-wrapper {
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}
.case-item { border-right: 1px solid rgba(255,255,255,0.15); padding-right: 32px; }
.case-item:last-child { border-right: none; }
.case-item p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.case-item a {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--green);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 20px;
  transition: gap 0.2s;
}
.case-item a:hover { gap: 12px; }

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
}
.pricing-card.featured {
  background: var(--dark);
  color: var(--white);
  transform: scale(1.04);
  position: relative;
}
.pricing-card.featured h3,
.pricing-card.featured h2 { color: var(--white); }
.pricing-card .price {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  margin: 16px 0 8px;
  color: var(--dark);
}
.pricing-card.featured .price { color: var(--white); }
.pricing-card .period { color: var(--muted); font-size: 0.9rem; }
.pricing-card.featured .period { color: rgba(255,255,255,0.5); }
.pricing-features { list-style: none; margin: 28px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; color: var(--muted);
}
.pricing-card.featured .pricing-features li { color: rgba(255,255,255,0.75); }
.pricing-features li::before { content: '✦'; color: var(--green); flex-shrink: 0; }

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translate(-4px,-4px); box-shadow: var(--shadow); }
.blog-card-img {
  aspect-ratio: 16/9;
  background: var(--gray);
  overflow: hidden;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.blog-card-body h3 { font-size: 1.1rem; }
.blog-card-body p { font-size: 0.9rem; flex: 1; }
.blog-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid var(--gray);
}
.blog-card-footer .date { font-size: 0.8rem; color: var(--muted); }
.blog-card-footer a { font-size: 0.9rem; font-weight: 600; color: var(--dark); display: flex; align-items: center; gap: 6px; }

/* ===== STATS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 48px 0;
  border-top: 1px solid var(--gray);
  border-bottom: 1px solid var(--gray);
}
.stat-item { text-align: center; }
.stat-item .number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  display: block;
}
.stat-item p { font-size: 0.85rem; margin-top: 4px; }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; }
.faq-item {
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  gap: 16px;
}
.faq-header:hover { background: var(--gray); }
.faq-toggle {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: all 0.3s;
}
.faq-body { display: none; padding: 0 24px 20px; }
.faq-body p { padding-top: 12px; font-size: 0.95rem; border-top: 1px solid rgba(25,26,35,0.1); }
.faq-item.open .faq-body { display: block; }
.faq-item.open { background: var(--green); }
.faq-item.open .faq-header { background: transparent; }
.faq-item.open .faq-toggle { background: var(--dark); color: var(--white); transform: rotate(45deg); border-color: var(--dark); }

/* ===== CTA BOX ===== */
.cta-box {
  background: var(--green);
  border-radius: var(--radius-xl);
  padding: 60px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-box h2 { color: var(--dark); max-width: 400px; }
.cta-box p { color: rgba(25,26,35,0.7); max-width: 350px; margin-top: 8px; }
.cta-deco {
  width: 200px; height: 200px;
  position: absolute;
  right: 80px; top: 50%;
  transform: translateY(-50%);
  opacity: 0.15;
  pointer-events: none;
}

/* ===== TIMELINE ===== */
.timeline { position: relative; padding: 0 0 0 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 0; bottom: 0;
  width: 2px;
  background: var(--gray);
}
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-dot {
  position: absolute;
  left: -32px;
  top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--dark);
  z-index: 1;
}
.timeline-year {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}
.timeline-card {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}
.timeline-card h4 { color: var(--green); font-size: 1rem; margin-bottom: 8px; }
.timeline-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--muted);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--dark); font-weight: 500; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { color: var(--muted); }

/* ===== PAGE HERO ===== */
.page-hero {
  background: var(--gray);
  border-radius: var(--radius-xl);
  padding: 60px;
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
  overflow: hidden;
}
.page-hero-content { flex: 1; }
.page-hero-content h1 { margin-bottom: 16px; }
.page-hero-content p { font-size: 1.05rem; max-width: 480px; }
.page-hero-visual {
  width: 320px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.page-hero-visual img { width: 100%; height: auto; }

/* ===== ARTICLE ===== */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}
.article-content h2 { margin: 40px 0 16px; font-size: 1.5rem; }
.article-content h3 { margin: 32px 0 12px; }
.article-content p { margin-bottom: 20px; color: var(--muted); }
.article-content ul, .article-content ol {
  margin: 0 0 20px 24px; color: var(--muted);
}
.article-content li { margin-bottom: 8px; }
.article-content blockquote {
  border-left: 4px solid var(--green);
  padding: 16px 24px;
  background: var(--gray);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0;
  font-style: italic;
}
.article-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.sidebar-widget h4 { margin-bottom: 16px; }
.sidebar-widget ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.sidebar-widget ul li a { font-size: 0.9rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.sidebar-widget ul li a:hover { color: var(--dark); }
.sidebar-widget ul li a::before { content: '→'; color: var(--green); }

/* ===== STAT BOXES (dark) ===== */
.stat-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-box {
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}
.stat-box .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
}
.stat-box p { color: rgba(255,255,255,0.6); font-size: 0.8rem; margin-top: 4px; }

/* ===== UTILITY ===== */
.text-green { color: var(--green); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.highlight {
  background: var(--green);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--dark);
}

/* ===== TAGS ===== */
.tag {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  z-index: 1000;
  transition: transform 0.2s;
  color: white;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ===== NOTIFICATION TOAST ===== */
.toast {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--dark);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.95rem;
  z-index: 2000;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex; align-items: center; gap: 10px;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast::before { content: '✓'; background: var(--green); color: var(--dark); width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.8rem; flex-shrink: 0; }

/* ================================================
   RESPONSIVE — Mobile-first breakpoints
   ================================================ */

/* ── Tablet (≤ 1024px) ──────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid       { grid-template-columns: 1fr 1fr; gap: 32px; }
  .article-layout    { grid-template-columns: 1fr; gap: 40px; }
  .article-sidebar   { position: static; }
  .team-grid         { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid      { gap: 16px; }
  .cases-grid        { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .blog-grid         { grid-template-columns: repeat(2, 1fr); }
  .stats-grid        { grid-template-columns: repeat(4, 1fr); }
}

/* ── Mobile (≤ 768px) ──────────────────────────── */
@media (max-width: 768px) {

  /* --- Base --- */
  section    { padding: 48px 0; }
  h1         { font-size: clamp(1.7rem, 6vw, 2.2rem); }
  h2         { font-size: clamp(1.4rem, 5vw, 1.8rem); }
  h3         { font-size: 1.15rem; }

  /* --- Nav --- */
  .navbar          { padding: 12px 0; }
  .nav-links,
  .nav-cta         { display: none; }
  .hamburger       { display: flex; }

  /* --- Section header --- */
  .section-header          { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 32px; }
  .section-header .label   { font-size: 1.2rem; }
  .section-header p        { font-size: 0.9rem; max-width: 100%; }

  /* --- Hero --- */
  .hero          { padding: 40px 0; }
  .hero-inner    { grid-template-columns: 1fr; gap: 0; }
  .hero-visual   { display: none; }
  .hero-content  { max-width: 100%; }
  .hero-actions  { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-trust    { gap: 12px; margin-top: 28px; }
  .hero-badge    { font-size: 0.78rem; }

  /* --- Page hero --- */
  .page-hero {
    flex-direction: column-reverse;
    padding: 32px 24px;
    gap: 24px;
    border-radius: var(--radius-lg);
    margin-bottom: 48px;
  }
  .page-hero-visual { width: 140px; margin: 0 auto; }
  .page-hero-content h1 { font-size: clamp(1.6rem, 6vw, 2rem); }

  /* --- Logos bar --- */
  .logos-bar    { padding: 20px 0; }
  .partner-logo { font-size: 0.9rem; }

  /* --- Services grid --- */
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card  { min-height: 160px; padding: 28px 24px; border-radius: var(--radius-lg); }
  .service-card .service-img { width: 80px; height: 80px; top: 16px; right: 16px; }
  .service-card h3 { font-size: 1.2rem; }

  /* --- Process accordion --- */
  .process-header  { padding: 18px 20px; }
  .process-number  { font-size: 1.2rem; min-width: 32px; }
  .process-title   { font-size: 1rem; }
  .process-toggle  { width: 30px; height: 30px; font-size: 1.2rem; }
  .process-body    { padding: 0 20px 20px; }

  /* --- Team --- */
  .team-grid  { grid-template-columns: 1fr; gap: 16px; }
  .team-card  { padding: 20px; gap: 16px; }

  /* --- Testimonials --- */
  .testimonials-wrapper  { padding: 32px 20px; border-radius: var(--radius-lg); }
  .testimonials-grid     { grid-template-columns: 1fr; gap: 16px; }
  .testimonial-card      { padding: 22px 20px; }

  /* --- Cases --- */
  .cases-wrapper { padding: 32px 20px; border-radius: var(--radius-lg); }
  .cases-grid    { grid-template-columns: 1fr; gap: 0; }
  .case-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding: 0 0 28px;
    margin-bottom: 28px;
  }
  .case-item:last-child { border-bottom: none; margin-bottom: 0; }

  /* --- Blog --- */
  .blog-grid     { grid-template-columns: 1fr; gap: 20px; }
  .blog-card-img { aspect-ratio: 16/9; }

  /* --- Pricing --- */
  .pricing-grid          { grid-template-columns: 1fr; gap: 16px; }
  .pricing-card          { padding: 28px 24px; }
  .pricing-card.featured { transform: none; }
  .pricing-card .price   { font-size: 2.2rem; }

  /* --- Stats --- */
  .stats-grid       { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; padding: 36px 0; }
  .stat-item .number { font-size: 2rem; }
  .stat-boxes       { grid-template-columns: repeat(2, 1fr); }

  /* --- FAQ --- */
  .faq-header { padding: 16px 18px; font-size: 0.9rem; gap: 12px; }
  .faq-toggle { width: 28px; height: 28px; font-size: 1.1rem; }
  .faq-body   { padding: 0 18px 18px; }

  /* --- Contact --- */
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .form-row     { grid-template-columns: 1fr; gap: 0; }

  /* --- Article --- */
  .article-content h2 { font-size: 1.3rem; margin: 28px 0 12px; }
  .article-content blockquote { padding: 12px 16px; }

  /* --- Breadcrumb --- */
  .breadcrumb { font-size: 0.8rem; margin-bottom: 16px; flex-wrap: wrap; }

  /* --- CTA box --- */
  .cta-box {
    padding: 36px 24px;
    border-radius: var(--radius-lg);
    flex-direction: column;
    gap: 24px;
  }
  .cta-box h2   { font-size: 1.5rem; max-width: 100%; }
  .cta-deco     { display: none; }

  /* --- Footer --- */
  .footer               { padding: 48px 0 28px; }
  .footer-grid          { grid-template-columns: 1fr; gap: 32px; }
  .footer-cta-box       { flex-direction: column; gap: 20px; padding: 28px 24px; border-radius: var(--radius-lg); }
  .footer-cta-box h3    { font-size: 1.2rem; }
  .footer-cta-box .btn  { width: 100%; justify-content: center; }
  .footer-bottom        { flex-direction: column; gap: 8px; text-align: center; }
  .footer-social        { justify-content: center; }

  /* --- Cards (generic) --- */
  .card { padding: 24px 20px; }

  /* --- Buttons --- */
  .btn-lg { padding: 15px 28px; font-size: 1rem; }

  /* --- Timeline (sobre-nos) --- */
  .timeline-grid { grid-template-columns: 1fr !important; gap: 0 !important; margin-top: 0 !important; }
  .timeline-grid > div:last-child { margin-top: 0 !important; }

  /* --- Cursos stats row --- */
  .stats-row { grid-template-columns: 1fr !important; }

  /* --- Cursos grid (outros cursos) --- */
  #cursos-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
}

/* ── Small mobile (≤ 480px) ────────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.35rem; }

  section { padding: 40px 0; }

  /* Hero */
  .hero { padding: 32px 0; }
  .hero-content p  { font-size: 0.95rem; }

  /* Nav */
  .navbar-brand { font-size: 1.15rem; }
  .navbar-brand .logo-icon { width: 26px; height: 26px; }

  /* Page hero */
  .page-hero { padding: 24px 16px; border-radius: var(--radius-md); }
  .page-hero-visual { display: none; }

  /* Service cards */
  .service-card { min-height: 140px; padding: 24px 20px; }
  .service-card .service-img { display: none; }

  /* Process */
  .process-header { padding: 16px; gap: 12px; }
  .process-number { font-size: 1rem; min-width: 26px; }

  /* Team */
  .team-avatar { width: 52px; height: 52px; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .stat-item .number { font-size: 1.8rem; }

  /* Blog card */
  .blog-card-body { padding: 18px; gap: 8px; }
  .blog-card-body h3 { font-size: 1rem; }
  .blog-card-footer { padding: 12px 18px; }

  /* Pricing */
  .pricing-card .price { font-size: 2rem; }

  /* Cases */
  .cases-wrapper { padding: 24px 16px; }

  /* Testimonials */
  .testimonials-wrapper { padding: 28px 16px; }

  /* CTA */
  .cta-box { padding: 28px 16px; }

  /* Footer */
  .footer-cta-box { padding: 24px 16px; }
  .footer-col h4  { font-size: 0.95rem; }
  .footer-col ul li a { font-size: 0.85rem; }

  /* Forms */
  .form-group input,
  .form-group textarea,
  .form-group select { padding: 12px 14px; font-size: 0.95rem; }

  /* Breadcrumb */
  .breadcrumb { gap: 6px; }

  /* Outros cursos */
  #cursos-grid { grid-template-columns: 1fr !important; }

  /* Timeline */
  .timeline-year { font-size: 1.5rem; }
  .timeline-card { padding: 18px 20px; }

  /* Article */
  .article-content ul,
  .article-content ol { margin-left: 18px; }

  /* WhatsApp float */
  .whatsapp-float { bottom: 20px; right: 16px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}
