/* ============================================================================
   BLAISE PACKAR — MALAWI (mw.css)
   Cor de acento: verde profundo #1B4332
   ========================================================================== */

/* ---- Fallback de variáveis -------------------------------------------- */
:root {
  --mw-deep:   #1B4332;
  --mw-mid:    #2D6A4F;
  --mw-accent: #40916C;
  --mw-light:  #D8F3DC;
}

/* ---- HERO -------------------------------------------------------------- */
.mw-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--mw-deep);
}
.mw-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.mw-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mw-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg,
    rgba(27,67,50,0.92) 0%,
    rgba(27,67,50,0.75) 50%,
    rgba(27,67,50,0.55) 100%);
}
.mw-hero-wrap {
  position: relative;
  z-index: 3;
  padding: 100px 40px;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}
.mw-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mw-light);
  margin-bottom: 22px;
}
.mw-hero-kicker-line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--mw-light);
}
.mw-hero-title {
  font-family: var(--font-serif, Georgia, serif);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  color: #fff;
  margin: 0 0 26px;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.mw-hero-lede {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  margin: 0 0 36px;
}
.mw-hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.mw-hero-cta .btn-primary-light {
  background: var(--mw-accent);
  color: #fff;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  border-radius: 2px;
  transition: background .2s;
}
.mw-hero-cta .btn-primary-light:hover {
  background: var(--mw-mid);
}
.mw-hero-cta .btn-outline-light {
  border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  border-radius: 2px;
  transition: all .2s;
}
.mw-hero-cta .btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

/* ---- STATS ------------------------------------------------------------- */
.mw-stats {
  background: var(--mw-deep);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mw-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.mw-stat {
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.mw-stat:last-child { border-right: none; }
.mw-stat-num {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: var(--mw-light);
  margin-bottom: 10px;
}
.mw-stat-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* ---- SECTION HEAD ------------------------------------------------------ */
.mw-section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.mw-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mw-accent);
  margin-bottom: 14px;
}
.mw-section-head h2 {
  font-family: var(--font-serif, Georgia, serif);
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.15;
  color: #33420E;
  margin: 0 0 16px;
  letter-spacing: -0.015em;
  font-weight: 600;
}
.mw-section-head p {
  font-size: 16px;
  line-height: 1.7;
  color: #5C5F52;
  margin: 0;
}

/* ---- FOCUS ------------------------------------------------------------- */
.mw-focus { padding: 100px 0; background: #fff; }
.mw-focus .wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.mw-focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #E4E2D8;
  border: 1px solid #E4E2D8;
}
.mw-focus-card {
  background: #fff;
  padding: 40px 32px;
  transition: background .25s;
}
.mw-focus-card:hover { background: var(--mw-light); }
.mw-focus-icon {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 22px;
}
.mw-focus-card h3 {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 19px;
  line-height: 1.3;
  color: #33420E;
  margin: 0 0 12px;
  font-weight: 600;
}
.mw-focus-card p {
  font-size: 14px;
  line-height: 1.65;
  color: #5C5F52;
  margin: 0;
}

/* ---- SERVICES ---------------------------------------------------------- */
.mw-services { padding: 100px 0; background: #F7F6F0; }
.mw-services .wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.mw-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.mw-service-card {
  background: #fff;
  border: 1px solid #E4E2D8;
  padding: 36px 32px 32px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: border-color .25s, transform .25s;
}
.mw-service-card:hover {
  border-color: var(--mw-accent);
  transform: translateY(-3px);
}
.mw-service-num {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--mw-accent);
  margin-bottom: 18px;
}
.mw-service-card h3 {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 22px;
  line-height: 1.3;
  color: #33420E;
  margin: 0 0 14px;
  font-weight: 600;
}
.mw-service-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #5C5F52;
  margin: 0 0 22px;
  flex: 1;
}
.mw-service-more {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--mw-accent);
  letter-spacing: 0.02em;
  transition: color .2s;
}
.mw-service-card:hover .mw-service-more {
  color: var(--mw-mid);
}

/* ---- ABOUT ------------------------------------------------------------- */
.mw-about { padding: 100px 0; background: #fff; }
.mw-about-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.mw-about-media {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--mw-deep);
}
.mw-about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mw-about-text .mw-eyebrow { margin-bottom: 18px; }
.mw-quote {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 24px;
  line-height: 1.5;
  color: #33420E;
  font-style: italic;
  margin: 0 0 26px;
  padding: 0;
  border: none;
  font-weight: 500;
}
.mw-about-text p {
  font-size: 16px;
  line-height: 1.75;
  color: #5C5F52;
  margin: 0 0 18px;
}

/* ---- INSIGHTS ---------------------------------------------------------- */
.mw-insights { padding: 100px 0; background: #F7F6F0; }
.mw-insights .wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.mw-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.mw-insight-card {
  background: #fff;
  border: 1px solid #E4E2D8;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.mw-insight-card:hover {
  border-color: var(--mw-accent);
  transform: translateY(-3px);
}
.mw-insight-media {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--mw-deep);
}
.mw-insight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s ease;
}
.mw-insight-card:hover .mw-insight-media img { transform: scale(1.04); }
.mw-insight-body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mw-insight-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mw-accent);
  margin-bottom: 12px;
}
.mw-insight-body h3 {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 19px;
  line-height: 1.3;
  color: #33420E;
  margin: 0 0 12px;
  font-weight: 600;
}
.mw-insight-body p {
  font-size: 14px;
  line-height: 1.6;
  color: #5C5F52;
  margin: 0;
  flex: 1;
}

/* ---- INDUSTRIES -------------------------------------------------------- */
.mw-industries { padding: 100px 0; background: #fff; }
.mw-industries .wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.mw-industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #E4E2D8;
  border: 1px solid #E4E2D8;
}
.mw-industry-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: #fff;
  background: var(--mw-deep);
}
.mw-industry-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.mw-industry-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s ease;
}
.mw-industry-card:hover .mw-industry-bg img { transform: scale(1.06); }
.mw-industry-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,
    rgba(27,67,50,0.95) 0%,
    rgba(27,67,50,0.55) 50%,
    rgba(27,67,50,0.15) 100%);
}
.mw-industry-content {
  position: relative;
  z-index: 2;
  padding: 26px 24px 24px;
  width: 100%;
}
.mw-industry-content h3 {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 20px;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 8px;
  font-weight: 600;
}
.mw-industry-content p {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mw-industry-more {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mw-light);
  letter-spacing: 0.04em;
}

/* ---- CTA FINAL --------------------------------------------------------- */
.mw-cta {
  background: var(--mw-deep);
  padding: 100px 0;
  text-align: center;
}
.mw-cta-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 40px;
}
.mw-cta-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mw-light);
  margin-bottom: 18px;
}
.mw-cta h2 {
  font-family: var(--font-serif, Georgia, serif);
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.2;
  color: #fff;
  margin: 0 0 20px;
  letter-spacing: -0.015em;
  font-weight: 600;
}
.mw-cta p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  margin: 0 0 36px;
}
.mw-cta-btn {
  display: inline-block;
  background: var(--mw-accent);
  color: #fff;
  padding: 16px 36px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background .2s;
}
.mw-cta-btn:hover { background: var(--mw-mid); }

/* ---- RESPONSIVO -------------------------------------------------------- */
@media (max-width: 1100px) {
  .mw-focus-grid { grid-template-columns: repeat(2, 1fr); }
  .mw-services-grid { grid-template-columns: repeat(2, 1fr); }
  .mw-insights-grid { grid-template-columns: repeat(2, 1fr); }
  .mw-industries-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 880px) {
  .mw-hero { min-height: 520px; }
  .mw-hero-wrap { padding: 80px 24px; }
  .mw-hero-lede { font-size: 17px; }
  .mw-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .mw-stat { padding: 32px 20px; }
  .mw-stat:nth-child(2) { border-right: none; }
  .mw-stat:nth-child(1),
  .mw-stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .mw-focus,
  .mw-services,
  .mw-about,
  .mw-insights,
  .mw-industries { padding: 64px 0; }
  .mw-focus .wrap,
  .mw-services .wrap,
  .mw-insights .wrap,
  .mw-industries .wrap,
  .mw-about-wrap { padding: 0 24px; }
  .mw-about-wrap { grid-template-columns: 1fr; gap: 40px; }
  .mw-about-media { aspect-ratio: 16/10; }
  .mw-industries-grid { grid-template-columns: repeat(2, 1fr); }
  .mw-cta { padding: 72px 0; }
  .mw-cta-wrap { padding: 0 24px; }
}

@media (max-width: 640px) {
  .mw-hero { min-height: 460px; }
  .mw-hero-wrap { padding: 60px 20px; }
  .mw-hero-title { font-size: 30px; }
  .mw-focus-grid,
  .mw-services-grid,
  .mw-insights-grid { grid-template-columns: 1fr; }
  .mw-industries-grid { grid-template-columns: 1fr; }
  .mw-stat-num { font-size: 36px; }
  .mw-about-text .mw-quote { font-size: 20px; }
  .mw-section-head { margin-bottom: 40px; }
}