/* Techduto 2026 — Main Stylesheet (Design System) */
/* Adapted from preview-homepage-v3.css for WordPress */

/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #EE3124;
  --dark-red: #AA2C1C;
  --very-dark-red: #6B2111;
  --salmon: #FBC3B4;
  --gray6: #A7A8A9;
  --gray9: #777B83;
  --gray4: #C1C5CA;
  --gray11: #53565A;
  --dark-bg: #2b2b2b;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --font: 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  padding-top: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ========== HIGHLIGHT BAR (Brand Guide) ========== */
.section-header {
  margin-bottom: 28px;
  position: relative;
}

.section-header .bars {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 12px;
}

.section-header .bar-gray {
  height: 4px; width: 120px;
  background: var(--gray6); margin-bottom: 4px;
}

.section-header .bar-red {
  height: 6px; width: 100px;
  background: var(--red);
}

.section-header h2 {
  font-size: 32px; font-weight: 700;
  color: var(--red);
  display: flex; align-items: center; gap: 10px;
}

.section-header h2 .marker {
  color: var(--red); font-size: 18px; line-height: 1;
}

/* ========== PILL BUTTON ========== */
.btn-pill {
  display: inline-block; padding: 10px 28px;
  border-radius: 50px; font-weight: 600; font-size: 14px;
  cursor: pointer; transition: all 0.3s ease;
  border: none; text-transform: uppercase; letter-spacing: 0.5px;
}
.btn-pill-red { background: var(--red); color: var(--white); }
.btn-pill-red:hover { background: var(--dark-red); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(238,49,36,0.35); }
.btn-pill-white { background: var(--white); color: var(--red); }
.btn-pill-white:hover { background: #f0f0f0; transform: translateY(-1px); }
.btn-pill-green { background: #25D366; color: var(--white); }
.btn-pill-green:hover { background: #1da851; transform: translateY(-1px); }

/* ========== HEADER — 2-ROW RED (Based on staging) ========== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--red);
}

/* Top bar: logo + secondary menu (Empresa, Contato, PEAD) + WhatsApp + Search */
.header-top {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}

.header-logo img {
  height: 44px; width: auto;
  filter: brightness(0) invert(1);
}

.header-top-right {
  display: flex; align-items: center; gap: 24px;
}

.header-secondary-menu {
  display: flex; align-items: center; gap: 0;
}

.header-secondary-menu a {
  padding: 5px 12px;
  font-size: 13px; font-weight: 600;
  color: var(--white);
  transition: background 0.18s;
  letter-spacing: 0.3px;
  border-radius: 4px;
}
.header-secondary-menu a:hover { background: rgba(255,255,255,0.18); opacity: 1; }

/* Dropdown arrow for Empresa */
.header-secondary-menu .has-dropdown { position: relative; cursor: pointer; }
.header-secondary-menu .has-dropdown > a { text-transform: uppercase; }
.header-secondary-menu .has-dropdown .dropdown-arrow {
  display: inline-block; margin-left: 4px; font-size: 10px;
  color: var(--white); vertical-align: middle;
  transition: transform 0.2s;
}
.header-secondary-menu .has-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}
.header-secondary-menu .has-dropdown .dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--white); min-width: 220px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  border-radius: 0 0 8px 8px; padding: 8px 0; z-index: 100;
}
.header-secondary-menu .has-dropdown:hover .dropdown { display: block; }
.header-secondary-menu .dropdown a {
  display: block; padding: 8px 20px;
  color: var(--gray11); font-size: 13px;
}
.header-secondary-menu .dropdown a:hover {
  background: var(--light-bg); color: var(--red); opacity: 1;
}

.header-top-icons {
  display: flex; align-items: center; gap: 8px;
  border-left: 1px solid rgba(255,255,255,0.3);
  padding-left: 16px; margin-left: 8px;
}

.header-top-icons a {
  color: var(--white); display: flex;
  align-items: center; justify-content: center;
  width: 28px; height: 28px;
  transition: opacity 0.2s;
}
.header-top-icons a:hover { opacity: 0.8; }
.header-top-icons .icon-svg { width: 18px; height: 18px; fill: currentColor; }

/* Bottom bar: main nav + social icons */
.header-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
}

.header-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 48px;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}

.header-main-menu {
  display: flex; align-items: center; gap: 0;
}

.header-main-menu > li { position: relative; }

.header-main-menu > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 16px;
  font-size: 13px; font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: 5px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.header-main-menu > li > a:hover,
.header-main-menu > li:hover > a {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  opacity: 1;
}

/* Sub-menu dropdown: item hover com fundo vermelho */
.header-main-menu .sub-menu li a:hover {
  background: var(--red); color: var(--white); font-weight: 700;
}

.header-main-menu > li > a .arrow {
  display: inline-block; width: 10px; height: 6px; margin-left: 4px;
  vertical-align: middle; opacity: 0.85;
  transition: transform 0.2s;
}
.header-main-menu > li:hover > a .arrow {
  transform: rotate(180deg);
}

/* Main menu dropdowns */
.header-main-menu > li > .sub-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--white); min-width: 260px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-radius: 0 0 8px 8px; padding: 8px 0; z-index: 100;
}
.header-main-menu > li:hover > .sub-menu { display: block; }
.header-main-menu .sub-menu li a {
  display: block; padding: 8px 20px;
  font-size: 13px; color: var(--gray11);
  font-weight: 400; text-transform: none; letter-spacing: 0;
  transition: all 0.2s;
}

.header-social {
  display: flex; align-items: center; gap: 12px;
}

.header-social a {
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  transition: opacity 0.2s;
}
.header-social a:hover { opacity: 0.7; }
.header-social .icon-svg { width: 18px; height: 18px; fill: currentColor; }

/* ========== FLYOUT MENU (3 nivel) ========== */
.header-main-menu .sub-menu li.has-flyout { position: relative; }
.header-main-menu .sub-menu li.has-flyout > a {
  display: flex; align-items: center; justify-content: space-between;
  padding-right: 14px;
}
.flyout-arrow { width: 6px; height: 10px; flex-shrink: 0; margin-left: 8px; }
.header-main-menu .flyout-menu {
  display: none;
  position: absolute; top: 0; left: 100%;
  background: var(--white); min-width: 220px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-radius: 0 8px 8px 0; padding: 8px 0; z-index: 101;
}
.header-main-menu .sub-menu li.has-flyout:hover > .flyout-menu { display: block; }
.header-main-menu .flyout-menu li a {
  display: block; padding: 8px 20px;
  font-size: 13px; color: var(--gray11);
  font-weight: 400; transition: all 0.2s;
}
.header-main-menu .flyout-menu li a:hover {
  background: var(--red); color: var(--white); font-weight: 700;
}

/* Mobile: flyout vira lista indentada */
@media (max-width: 1024px) {
  /* Neutraliza hover do flyout no mobile (hover fica grudado em touch) */
  .header-main-menu.mobile-open .sub-menu li.has-flyout:hover > .flyout-menu { display: none; }
  .header-main-menu.mobile-open .flyout-menu {
    display: none; position: static;
    box-shadow: none; border-radius: 0;
    background: #eaeaea; padding: 0;
  }
  /* !important para garantir que mob-open sempre vence o hover residual */
  .header-main-menu.mobile-open li.has-flyout.mob-open > .flyout-menu { display: block !important; }
  .header-main-menu.mobile-open .flyout-menu li a {
    padding: 10px 52px; font-size: 12px;
    color: #333 !important; border-bottom: 1px solid #ddd;
  }
  .header-main-menu.mobile-open .flyout-menu li a:hover {
    background: var(--red) !important; color: var(--white) !important; font-weight: 700 !important;
  }
}

/* ========== STICKY COMPACT HEADER on scroll ========== */
/* Smooth transition: header-top slides up, compact logo fades in */
.header-top {
  height: 64px;
  transition: transform 0.3s ease, opacity 0.25s ease;
  transform: translateY(0);
  opacity: 1;
}

.site-header.scrolled .header-top {
  transform: translateY(-100%); height: 0; pointer-events: none;
  opacity: 0;
}

.site-header .header-bottom-logo {
  display: flex;
  align-items: center;
  margin-right: 16px;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.35s ease 0.1s, opacity 0.3s ease 0.15s;
}

.site-header.scrolled .header-bottom-logo {
  max-width: 160px;
  opacity: 1;
}

.site-header.scrolled .header-bottom-logo img {
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
}

.header-bottom-inner {
  transition: height 0.3s ease;
}

.site-header.scrolled .header-bottom-inner {
  height: 52px;
}

.site-header {
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

/* Mobile hamburger */
.nav-hamburger {
  display: none; flex-direction: column;
  gap: 6px; cursor: pointer; padding: 10px;
  -webkit-tap-highlight-color: transparent;
}
.nav-hamburger span {
  width: 28px; height: 3px; background: var(--white);
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1), opacity 0.2s, width 0.2s;
  transform-origin: center;
  display: block;
  border-radius: 2px;
}

/* ========== HERO VIDEO (Based on staging) ========== */
.hero-video-section {
  position: relative;
  height: 70vh;
  min-height: 420px;
  max-height: 680px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-video-section video {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 100%);
  z-index: 1;
}

.hero-video-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 24px 60px;
  max-width: 900px;
}

.hero-video-content h1 {
  font-family: var(--font);
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
  letter-spacing: -0.5px;
  font-style: normal;
}

/* ========== BRANDT STRIP ========== */
.brandt-strip {
  background: var(--light-bg); border-bottom: 1px solid #e9ecef;
  height: 54px; display: flex; align-items: center; overflow: hidden;
}
.brandt-strip .container {
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.brandt-strip p { font-size: 15px; color: var(--gray9); font-weight: 400; letter-spacing: 0.3px; }
.brandt-strip strong { font-weight: 700; color: var(--gray11); font-size: 16px; }

/* ========== SEGMENTS SECTION ========== */
.segments-section {
  padding: 0;
  background: var(--gray11);
}

.segments-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.segment-card {
  position: relative;
  overflow: hidden;
  height: 420px;
  cursor: pointer;
  transition: all 0.5s ease;
  text-decoration: none;
}

.segment-card:hover {
  box-shadow: inset 0 0 0 3px var(--red);
}

.segment-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: brightness(0.92);
}

.segment-card:hover img {
  transform: scale(1.1);
  filter: brightness(0.75);
}

.segment-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(175deg, transparent 0%, rgba(0,0,0,0.1) 45%, rgba(0,0,0,0.6) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 28px;
  transition: background 0.4s;
}

.segment-card:hover .segment-card-overlay {
  background: linear-gradient(175deg, rgba(238,49,36,0.02) 0%, rgba(238,49,36,0.2) 50%, rgba(170,44,28,0.82) 100%);
}

.segment-card-overlay .segment-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--red);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 5px 14px;
  border-radius: 3px;
  border: 1px solid rgba(238,49,36,0.4);
  margin-bottom: 14px;
  width: fit-content;
  transition: all 0.3s;
}

.segment-card:hover .segment-tag {
  background: rgba(255,255,255,0.95);
  color: var(--dark-red);
  border-color: transparent;
}

.segment-card-overlay h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.segment-card-overlay p {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
}

.segment-card:hover .segment-card-overlay p {
  max-height: 80px;
  opacity: 1;
}

.segment-card-overlay .segment-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.35s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.segment-card-overlay .segment-link::after {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--white);
  transition: width 0.3s;
}

.segment-card:hover .segment-link {
  opacity: 1;
  transform: translateY(0);
}

.segment-card:hover .segment-link::after {
  width: 36px;
}

/* ========== HISTORY SECTION ========== */
.history-section {
  padding: 50px 0 40px;
  background: var(--light-bg);
}

.history-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.history-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.history-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.history-card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: #e8e8e8;
}

.history-card-body {
  padding: 18px;
}

.history-card-year {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.history-card-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray11);
  margin-bottom: 6px;
  line-height: 1.3;
}

.history-card-body p {
  font-size: 13px;
  color: var(--gray9);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== DIFERENCIAIS SECTION — white monochrome icons ========== */
.diferenciais-section {
  padding: 50px 0 40px;
  background: var(--white);
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.diferencial-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--light-bg);
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.diferencial-card:hover {
  border-color: var(--red);
  box-shadow: 0 4px 16px rgba(238,49,36,0.08);
  transform: translateY(-2px);
}

.diferencial-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diferencial-icon svg {
  width: 24px; height: 24px; fill: var(--white);
}

.diferencial-text h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray11);
  margin-bottom: 4px;
}

.diferencial-text p {
  font-size: 13px;
  color: var(--gray9);
  line-height: 1.4;
}

/* ========== NUMBERS SECTION ========== */
.numbers-section {
  padding: 50px 0;
  background: var(--gray11);
  position: relative;
  overflow: hidden;
}

.numbers-section::before {
  content: ')))  )))  )))  )))  )))  )))  )))  )))';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 120px; font-weight: 900;
  color: rgba(255,255,255,0.03);
  white-space: nowrap; pointer-events: none; letter-spacing: 20px;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 48px;
  position: relative; z-index: 1;
}

.number-item { text-align: center; }

.number-item .number {
  font-size: 48px; font-weight: 700;
  color: var(--white); line-height: 1.1; margin-bottom: 8px;
}

.number-item .accent-line {
  width: 40px; height: 3px;
  background: var(--red); margin: 0 auto 12px;
}

.number-item .label {
  font-size: 14px; font-weight: 400;
  color: var(--gray4); line-height: 1.4;
}

/* ========== SOLUTIONS SECTION (Problem > Transformation > Product) ========== */
.solutions-section {
  padding: 60px 0 50px;
  background: var(--light-bg);
}

.solutions-intro {
  text-align: center; max-width: 700px; margin: 0 auto 40px;
  font-size: 16px; color: var(--gray9); line-height: 1.7;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.solution-card {
  background: var(--white); border-radius: 12px;
  overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.35s ease; position: relative;
  display: flex; flex-direction: row;
}
.solution-card:hover { box-shadow: 0 12px 36px rgba(0,0,0,0.12); transform: translateY(-4px); }

.solution-card-img {
  width: 220px; min-height: 240px;
  object-fit: cover; background: #eee; flex-shrink: 0;
}

.solution-card-body {
  padding: 28px 24px; display: flex;
  flex-direction: column; justify-content: center;
}

.solution-card-body h3 {
  font-size: 20px; font-weight: 700;
  color: var(--gray11); margin-bottom: 8px; line-height: 1.3;
}

.solution-card-body .solution-transform {
  font-size: 14px; color: var(--gray9);
  margin-bottom: 16px; line-height: 1.6;
}

.solution-label {
  display: block;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.2px; color: var(--red); margin-bottom: 8px;
}

.solution-card-products {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.solution-card-products .product-tag {
  display: inline-block; padding: 5px 14px;
  background: var(--light-bg); border-radius: 20px;
  font-size: 12px; font-weight: 600; color: var(--gray11);
  border: 1px solid var(--gray4);
  transition: all 0.2s; cursor: pointer; text-decoration: none;
}
.solution-card-products .product-tag:hover {
  background: var(--red); color: var(--white);
  border-color: var(--red); transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(238,49,36,0.25);
}

/* ========== ABOUT SECTION ========== */
.about-section {
  padding: 50px 0 40px;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}

.about-text h2 { margin-bottom: 0; }
.about-text .section-header { margin-bottom: 24px; }

.about-text p {
  font-size: 15px; color: var(--gray11);
  line-height: 1.7; margin-bottom: 16px;
}

.about-text .btn-pill { margin-top: 8px; }

.about-image {
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  position: relative;
}

.about-image::after {
  content: ')))'; position: absolute;
  bottom: -20px; right: -10px;
  font-size: 100px; font-weight: 900;
  color: rgba(238,49,36,0.06);
  letter-spacing: -5px; pointer-events: none;
}

.about-image img { width: 100%; height: 380px; object-fit: cover; }

/* ========== ARTICLES SECTION ========== */
.articles-section {
  padding: 50px 0 40px;
  background: var(--light-bg);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--white); border-radius: 8px;
  overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.article-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); transform: translateY(-3px); }

.article-card-img {
  width: 100%; aspect-ratio: 16/9;
  object-fit: cover; background: #eee;
}

.article-card-body { padding: 20px; }

.article-card-body h3 {
  font-size: 15px; font-weight: 600;
  color: var(--gray11); margin-bottom: 12px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}

.article-card-body .read-more {
  font-size: 13px; font-weight: 600;
  color: var(--red); transition: color 0.2s;
}
.article-card-body .read-more:hover { color: var(--dark-red); }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--dark-bg);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 40px;
}

.footer-col h4 {
  font-size: 14px; font-weight: 700; color: var(--white);
  margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px;
}

.footer-logo { height: 58px; width: auto; margin-bottom: 14px; }

.footer-col p {
  font-size: 13px; color: var(--gray6);
  line-height: 1.6; margin-bottom: 16px;
}

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

.footer-col ul li a {
  font-size: 13px; color: var(--gray6); transition: color 0.2s;
  display: flex; align-items: center; gap: 8px;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-col .footer-icon {
  width: 16px; height: 16px; fill: var(--gray6);
  flex-shrink: 0;
}

.footer-social { display: flex; gap: 10px; }

.footer-social a {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray6); font-size: 14px; transition: all 0.2s;
}
.footer-social a:hover { background: var(--red); color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0; text-align: center;
}
.footer-bottom p { font-size: 12px; color: var(--gray9); }

/* ========== SOCIAL ICON SVGs ========== */
.icon-svg { width: 18px; height: 18px; fill: currentColor; }
.footer-social .icon-svg { width: 16px; height: 16px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
  .header-main-menu > li > a { padding: 10px 12px; font-size: 12px; }
  .header-secondary-menu a { padding: 5px 9px; font-size: 12px; }
}

@media (max-width: 992px) {
  .solutions-grid { grid-template-columns: 1fr; }
  .solution-card { flex-direction: row; }
  .solution-card-img { width: 200px; min-height: 200px; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .numbers-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .segments-grid { grid-template-columns: repeat(3, 1fr); }
  .segment-card { height: 360px; }
  .history-grid { grid-template-columns: repeat(2, 1fr); }
  .diferenciais-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-video-content h1 { font-size: 38px; }
}

/* ========== MOBILE — Abrangente e cuidadoso ========== */
@media (max-width: 768px) {

  /* --- HEADER MOBILE: logo + hamburguer na mesma linha --- */
  .header-top { display: none !important; }

  /* Mostra logo no bottom bar sempre (nao so no scroll) */
  .site-header .header-bottom-logo {
    max-width: 180px !important;
    opacity: 1 !important;
    transition: none !important;
  }
  .site-header .header-bottom-logo img { height: 34px; width: auto; }

  /* Remove animacao de scroll no mobile — evita loop */
  .header-bottom-inner {
    height: 56px !important;
    transition: none !important;
    justify-content: space-between;
  }

  /* Sombra estatica, sem transicao loop */
  .site-header { box-shadow: 0 2px 10px rgba(0,0,0,0.2) !important; transition: none !important; }
  .site-header.scrolled { box-shadow: 0 2px 10px rgba(0,0,0,0.2) !important; }

  /* Menu principal oculto ate abrir */
  .header-main-menu { display: none !important; }
  .header-secondary-menu { display: none; }
  .header-social { display: none; }
  .header-top-icons { display: none; }
  .nav-hamburger { display: flex; }

  /* Menu mobile aberto — estilo original (fundo branco, texto escuro, alinhado a esquerda) */
  .header-main-menu.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #ffffff;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    animation: mobileMenuIn 0.22s cubic-bezier(0.4,0,0.2,1);
    z-index: 200;
  }

  @keyframes mobileMenuIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .header-main-menu.mobile-open {
    align-items: stretch !important;
  }
  .header-main-menu.mobile-open > li {
    border-bottom: 1px solid #eee;
    width: 100%;
  }

  .header-main-menu.mobile-open > li > a {
    padding: 18px 24px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #1a1a1a !important;
    border-radius: 0;
    background: none !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  /* Seta chevron preta a direita nos itens com sub-menu */
  .header-main-menu.mobile-open > li > a .menu-arrow,
  .header-main-menu.mobile-open > li > a img {
    filter: brightness(0);
    margin-left: auto;
  }
  .header-main-menu.mobile-open > li > a .arrow path {
    stroke: #333 !important;
  }
  .header-main-menu.mobile-open > li > a .arrow {
    width: 12px;
    height: 8px;
    margin-left: auto;
    flex-shrink: 0;
  }

  /* Sub-menus mobile: fundo cinza claro */
  /* Neutraliza hover do desktop (especificidade maior que .sub-menu hover) */
  .header-main-menu.mobile-open > li:hover > .sub-menu { display: none; }
  .header-main-menu.mobile-open .sub-menu li.has-flyout:hover > .flyout-menu { display: none; }
  .header-main-menu.mobile-open .sub-menu {
    display: none;
    position: static; box-shadow: none;
    background: #f5f5f5;
    border-radius: 0; padding: 4px 0;
    animation: mobileMenuIn 0.15s ease;
  }
  /* mob-open com !important para ganhar de qualquer hover residual */
  .header-main-menu.mobile-open li.mob-open > .sub-menu { display: block !important; }
  .header-main-menu.mobile-open .sub-menu li a {
    color: #333 !important;
    padding: 12px 36px;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid #e8e8e8;
  }
  .header-main-menu.mobile-open .sub-menu li a:hover {
    background: var(--red) !important; color: var(--white) !important; font-weight: 700 !important;
  }
  .header-main-menu.mobile-open .sub-menu li:last-child a { border-bottom: none; }

  /* --- BRANDT STRIP menor --- */
  .brandt-strip { height: auto; padding: 8px 0; overflow: visible; }
  .brandt-strip .container { flex-wrap: wrap; justify-content: center; gap: 0; }
  .brandt-strip p { font-size: 11px; letter-spacing: 0; line-height: 1.5; white-space: normal; text-align: center; overflow: visible; text-overflow: clip; }
  .brandt-strip strong { font-size: 11px; }

  /* --- HERO --- */
  .hero-video-section { height: 54vh; min-height: 300px; }
  .hero-video-content h1 { font-size: 26px; letter-spacing: -0.3px; }
  .hero-video-content { padding: 0 20px 36px; }

  /* --- SEGMENTOS: 2x2 (4 cards), esconde o 5o --- */
  .segments-section { padding: 0; }
  .segments-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .segment-card { height: 220px; }
  .segment-card:nth-child(5) { display: none; }
  .segment-card-overlay { padding: 14px 16px; }
  .segment-card-overlay h3 { font-size: 15px; margin-bottom: 0; }
  .segment-card-overlay p { display: none; }
  .segment-tag { font-size: 9px; letter-spacing: 1.2px; padding: 3px 9px; margin-bottom: 8px; }
  .segment-card-overlay .segment-link { display: none; }

  /* --- HISTORIA: carrossel horizontal com scroll snap --- */
  .history-section { padding: 32px 0 24px; }
  .history-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding: 0 24px 16px;
    margin: 0 -24px;
    scrollbar-width: none;
  }
  .history-grid::-webkit-scrollbar { display: none; }
  .history-card {
    min-width: 48vw;
    max-width: 200px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
  .history-card-img { height: 90px; }

  /* --- DIFERENCIAIS: 2 colunas compactas --- */
  .diferenciais-section { padding: 32px 0 24px; }
  .diferenciais-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .diferencial-card { padding: 14px 12px; gap: 10px; align-items: flex-start; }
  .diferencial-icon { width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0; }
  .diferencial-icon svg { width: 18px; height: 18px; }
  .diferencial-text h3 { font-size: 13px; margin-bottom: 2px; }
  .diferencial-text p { font-size: 11.5px; line-height: 1.35; }

  /* --- NUMEROS --- */
  .numbers-section { padding: 36px 0; }
  .numbers-grid { grid-template-columns: repeat(3, 1fr); gap: 20px 12px; }
  .number-item .number { font-size: 30px; }
  .number-item .label { font-size: 11px; }

  /* --- SOLUCOES --- */
  .solutions-section { padding: 32px 0 24px; }
  .solution-card { flex-direction: column; }
  .solution-card-img { width: 100%; min-height: 160px; max-height: 200px; }
  .solution-card-body { padding: 20px 18px; }
  .solution-card-body h3 { font-size: 17px; }
  .solutions-section .section-header h2 { display: block; text-align: center; }
  .solutions-section .section-header h2 .marker { display: none; }
  .solution-card:nth-child(n+3) { display: none; }

  /* --- SOBRE --- */
  .about-section { padding: 32px 0 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 0; }
  .about-image { display: none; }
  .about-text p:nth-of-type(n+2) { display: none; }

  /* --- ARTIGOS --- */
  .articles-section { padding: 32px 0 24px; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .article-card:nth-child(n+3) { display: none; }

  /* --- SECTION HEADERS --- */
  .section-header h2 { font-size: 22px; }
  .section-header { margin-bottom: 20px; }

  /* --- FOOTER --- */
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .site-footer { padding: 40px 0 0; }
}

@media (max-width: 480px) {
  .hero-video-content h1 { font-size: 22px; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .number-item .number { font-size: 26px; }
  .history-card { min-width: 48vw; max-width: 190px; }
  .solution-card-body h3 { font-size: 16px; }
  .articles-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .segment-card { height: 180px; }
  .segment-card-overlay h3 { font-size: 14px; }
}
