/* ========================================
   NORTH CONTABILIDADE E ASSESSORIA EMPRESARIAL - Styles
   Design: Corporativo, moderno e sofisticado
   Paleta oficial: Azul #080A2C · Branco #FFFFFF · Escuro #221E1F
   ======================================== */

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

/* ── CSS Variables ── */
:root {
  --primary: #080A2C;          /* azul oficial North */
  --primary-dark: #05061d;     /* navy mais profundo (footer, gradientes) */
  --primary-light: #2e3470;    /* navy elevado (hovers, destaques, gradientes) */
  --primary-lighter: #edeef6;  /* navy bem claro (fundos, tags) */
  --secondary: #161a47;        /* cards escuros */
  --accent: #8a90c4;           /* periwinkle derivado do navy (acentos sutis) */
  --dark: #221E1F;             /* escuro oficial North */
  --gold: #c2a14e;             /* dourado discreto (selos e avaliacoes) */
  --gold-light: #d4b66a;
  --white: #FFFFFF;
  --bg-light: #F4F5F9;
  --bg-beige: #FAFBFD;
  --text: #1E1E1E;
  --text-secondary: #555555;
  --text-light: #777777;
  --border: #E2E4EC;
  --whatsapp: #25D366;
  --shadow-sm: 0 2px 8px rgba(8, 10, 44, 0.06);
  --shadow-md: 0 4px 20px rgba(8, 10, 44, 0.08);
  --shadow-lg: 0 8px 40px rgba(8, 10, 44, 0.12);
  --shadow-xl: 0 20px 60px rgba(8, 10, 44, 0.16);
  --radius: 4px;
  --radius-sm: 3px;
  --radius-lg: 4px;
  --transition: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: 3.2rem; letter-spacing: -0.02em; }
h2 { font-size: 2.6rem; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.display-font {
  font-family: 'Playfair Display', serif;
}

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

section {
  padding: 100px 0;
  position: relative;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-size: 17px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(8, 10, 44, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 25px rgba(8, 10, 44, 0.4);
  transform: translateY(-2px);
}

.btn-primary i {
  transition: transform 0.3s ease;
}

.btn-primary:hover i {
  transform: translateX(4px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background: var(--primary-lighter);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.btn-white-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

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

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #1fba59;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.btn-sm {
  padding: 12px 24px;
  font-size: 15px;
}

/* Botão WeChat (público chinês) */
.btn-wechat {
  background: #07C160;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(7, 193, 96, 0.3);
}
.btn-wechat:hover {
  background: #06AD56;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(7, 193, 96, 0.4);
}
.btn-wechat i { font-size: 1.15em; }

/* ── Section Headers ── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--primary-lighter);
  color: var(--primary);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.section-tag i {
  font-size: 16px;
}

.section-title {
  margin-bottom: 20px;
  max-width: 600px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 550px;
  line-height: 1.7;
}

/* ========================================
   1. HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}

.header.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.header-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
  transition: var(--transition);
}

.header-logo:hover .header-logo-icon {
  transform: rotate(-8deg) scale(1.05);
}

.header-logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

.header-logo-text span {
  color: var(--accent);
  font-weight: 400;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-nav a {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 4px;
  transition: var(--transition);
  position: relative;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--primary);
}

.header-nav a:hover::after,
.header-nav a.active::after {
  transform: scaleX(1);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-cta .btn {
  padding: 12px 28px;
  font-size: 15px;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  padding: 8px;
  z-index: 1001;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--primary-dark);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Nav */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: -360px;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  z-index: 1000;
  padding: 26px 20px 28px;
  box-shadow: var(--shadow-xl);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-logo {
  display: block;
  padding: 4px 4px 20px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.mobile-nav-logo img { height: 38px; width: auto; }

.mobile-nav a:not(.btn):not(.mobile-nav-logo) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-nav a:not(.btn):not(.mobile-nav-logo) + a:not(.btn):not(.mobile-nav-logo) { margin-top: 2px; }

.mobile-nav a:not(.btn):not(.mobile-nav-logo):hover {
  background: var(--bg-light);
  color: var(--primary);
}

.mobile-nav a:not(.btn).active {
  background: var(--primary-lighter);
  color: var(--primary);
}

.mobile-nav .btn {
  width: 100%;
  justify-content: center;
  margin-top: 24px;
  color: var(--white);
}

/* Botão de fechar (X) dentro do menu mobile */
.mobile-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 24px;
  z-index: 3;
  transition: var(--transition);
}
.mobile-close:hover { background: var(--primary-lighter); color: var(--primary); }

/* Acordeão de Serviços no menu mobile */
.mobile-group-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  background: none;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mobile-group-toggle:hover,
.mobile-group.open .mobile-group-toggle { color: var(--primary); }
.mobile-group-toggle i { font-size: 14px; transition: transform 0.3s ease; }
.mobile-group.open .mobile-group-toggle i { transform: rotate(180deg); }

.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  margin: 2px 0 2px 14px;
  border-left: 2px solid var(--border);
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-group.open .mobile-submenu { max-height: 360px; }
.mobile-nav .mobile-submenu a:not(.btn) {
  font-size: 14px;
  font-weight: 500;
  padding: 11px 14px;
  color: var(--text-secondary);
}
.mobile-nav .mobile-submenu a:not(.btn):hover { color: var(--primary); }

/* ========================================
   2. HERO SECTION
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background: linear-gradient(165deg, var(--white) 0%, var(--primary-lighter) 50%, #dfe2ef 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(8, 10, 44, 0.04) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
  z-index: 2;
}

/* Decorative grid pattern */
.hero-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.03;
  background-image:
    linear-gradient(var(--primary) 1px, transparent 1px),
    linear-gradient(90deg, var(--primary) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 3;
}

.hero-content {
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--white);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
  border: 1px solid var(--border);
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--whatsapp);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: 3.4rem;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  color: var(--primary-dark);
}

.hero h1 em {
  font-style: normal;
  color: var(--primary-light);
  position: relative;
}

.hero h1 em::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background: rgba(8, 10, 44, 0.12);
  border-radius: 4px;
  z-index: -1;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

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

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 32px;
}

.hero-stat {
  text-align: center;
  position: relative;
}

.hero-stat::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-stat:last-child::after {
  display: none;
}

.hero-stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
  font-family: 'DM Sans', sans-serif;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Image */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image {
  width: 480px;
  height: 580px;
  background: linear-gradient(145deg, var(--primary-light), var(--primary-dark));
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(8, 10, 44, 0.25);
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(8, 10, 44, 0.3));
  z-index: 1;
}

.hero-image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.2);
  font-size: 120px;
}

.hero-image-placeholder span {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Nametag */
.hero-nametag {
  position: absolute;
  bottom: 60px;
  left: -30px;
  background: var(--white);
  padding: 16px 24px;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
  animation: float 4s ease-in-out infinite;
}

.hero-nametag-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
}

.hero-nametag-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.hero-nametag-info span {
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

.hero-nametag-info .verified {
  color: #1DA1F2;
  font-size: 15px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounce 2.5s infinite;
}

.scroll-indicator-mouse {
  width: 28px;
  height: 44px;
  border: 2px solid var(--accent);
  border-radius: 4px;
  position: relative;
}

.scroll-indicator-mouse::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 10px;
  background: var(--accent);
  border-radius: 4px;
  animation: scrollWheel 2s infinite;
}

.scroll-indicator span {
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}

/* ========================================
   3. MARQUEE
   ======================================== */
.marquee-section {
  padding: 24px 0;
  background: var(--primary-lighter);
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.marquee-track {
  display: flex;
  animation: marqueeScroll 45s linear infinite;
  width: max-content;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.marquee-item i {
  font-size: 20px;
  color: var(--accent);
}

.marquee-item .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-left: 30px;
}

/* ========================================
   4. ABOUT
   ======================================== */
.about {
  background: var(--white);
}

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

.about-image {
  position: relative;
}

.about-image-main {
  width: 100%;
  height: 550px;
  background: linear-gradient(135deg, var(--primary-lighter) 0%, #d3d6e6 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.about-image-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(8, 10, 44, 0.05), rgba(8, 10, 44, 0.15));
}

.about-image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 80px;
  opacity: 0.3;
}

.about-image-placeholder span {
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 3px solid var(--primary-lighter);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-image-badge {
  position: absolute;
  top: 30px;
  right: -30px;
  background: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
  animation: float 5s ease-in-out infinite;
}

.about-image-badge i {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 4px;
}

.about-image-badge .number {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  display: block;
  line-height: 1;
}

.about-image-badge span {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.about-content .section-tag {
  margin-bottom: 16px;
}

.about-content h2 {
  margin-bottom: 24px;
  max-width: 500px;
}

.about-text {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.about-highlight {
  text-align: center;
}

.about-highlight-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-lighter);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 32px;
  color: var(--primary);
  transition: var(--transition);
}

.about-highlight:hover .about-highlight-icon {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(8, 10, 44, 0.25);
}

.about-highlight h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.about-mobile-cta {
  display: none;
  margin-top: 32px;
}

/* ========================================
   5. SERVICES
   ======================================== */
.services {
  background: var(--primary-dark) url('/img/solucoes-bg.webp') center center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 18% 40%, rgba(46, 52, 112, 0.28) 0%, transparent 55%),
    linear-gradient(160deg, rgba(8, 10, 44, 0.93) 0%, rgba(8, 10, 44, 0.86) 45%, rgba(5, 6, 29, 0.93) 100%);
  pointer-events: none;
}

.services .section-tag {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.services .section-title {
  color: var(--white);
}

.services .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.services-header .section-title,
.services-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

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

.service-card {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card-light {
  background: var(--white);
}

.service-card-dark {
  background: var(--secondary);
}

.service-card-dark .service-card-title {
  color: var(--white);
}

.service-card-dark .service-card-desc {
  color: rgba(255, 255, 255, 0.65);
}

.service-card-dark .service-card-icon {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
  opacity: 1;
}

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

.service-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  background: var(--primary-lighter);
  color: var(--primary);
  transition: var(--transition);
}

.service-card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  transition: var(--transition);
}

.service-card-desc {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  transition: var(--transition);
}

/* ========================================
   6. TESTIMONIALS
   ======================================== */
.testimonials {
  background: linear-gradient(180deg, var(--primary-dark) 0%, #0b0d24 100%);
  overflow: hidden;
}

.testimonials .section-tag {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-header .section-title {
  color: var(--white);
  margin-left: auto;
  margin-right: auto;
}

.testimonials-header .section-subtitle {
  color: rgba(255, 255, 255, 0.5);
  margin-left: auto;
  margin-right: auto;
}

.testimonials-track-wrapper {
  overflow: hidden;
  padding: 20px 0;
}

.testimonials-track {
  display: flex;
  gap: 28px;
  animation: testimonialScroll 40s linear infinite;
  width: max-content;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

.testimonial-card {
  width: 380px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-stars i {
  color: var(--gold-light);
  font-size: 18px;
}

.testimonial-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial-text::before {
  content: '\201C';
  font-size: 48px;
  font-family: 'Playfair Display', serif;
  color: rgba(255, 255, 255, 0.15);
  display: block;
  line-height: 0.5;
  margin-bottom: 12px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
}

.testimonial-author-info h4 {
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}

.testimonial-author-info span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
}

/* ========================================
   7. BLOG
   ======================================== */
.blog {
  background: var(--bg-light);
}

.blog-header {
  text-align: center;
  margin-bottom: 60px;
}

.blog-header .section-title,
.blog-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

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

.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.blog-card-image {
  width: 100%;
  height: 280px;
  position: relative;
  overflow: hidden;
}

.blog-card-large .blog-card-image {
  height: 340px;
}

.blog-card-image-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  transition: transform 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card:hover .blog-card-image-bg {
  transform: scale(1.08);
}

.blog-card-image-bg i {
  font-size: 60px;
  color: rgba(255, 255, 255, 0.15);
}

.blog-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
}

.blog-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  z-index: 1;
}

.blog-card-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.blog-card-title {
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
}

.blog-card-large .blog-card-title {
  font-size: 24px;
}

.blog-card-date {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Bottom row: 3 columns */
.blog-grid-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 0;
  grid-column: 1 / -1;
}

/* ========================================
   8. FAQ
   ======================================== */
.faq {
  background: var(--white);
}

.faq .container {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}

.faq-sidebar {
  position: sticky;
  top: 120px;
}

.faq-sidebar .section-tag {
  margin-bottom: 16px;
}

.faq-sidebar h2 {
  margin-bottom: 20px;
}

.faq-sidebar p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(8, 10, 44, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: var(--white);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  gap: 16px;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-item.active .faq-question {
  background: var(--primary);
  color: var(--white);
}

.faq-question-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--primary-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary);
  transition: all 0.3s ease;
}

.faq-item.active .faq-question-icon {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 28px 24px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 16px;
}

/* ========================================
   9. CTA SECTION
   ======================================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #0b0d24 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(46, 52, 112, 0.15) 0%, transparent 60%);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(46, 52, 112, 0.1) 0%, transparent 60%);
  border-radius: 50%;
}

.cta-section .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 20px;
  line-height: 1.15;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 500px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-image-circle {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cta-image-circle::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.08);
}

.cta-image-circle i {
  font-size: 100px;
  color: rgba(255, 255, 255, 0.12);
}

/* ========================================
   10. LOCATION / CONTACT
   ======================================== */
.contact {
  background: var(--bg-light);
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-header .section-title,
.contact-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 450px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: center;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.contact-info-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 4px;
  background: var(--primary-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
}

.contact-info-text h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-info-text p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.contact-whatsapp {
  margin-top: 8px;
}

/* ========================================
   11. FOOTER
   ======================================== */
.footer {
  background: var(--primary-dark);
  padding: 80px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  max-width: 280px;
}

.footer-brand .header-logo {
  margin-bottom: 4px;
}

.footer-brand .header-logo-icon {
  background: rgba(255, 255, 255, 0.1);
}

.footer-brand .header-logo-text {
  color: var(--white);
}

.footer-brand .header-logo-text span {
  color: rgba(255, 255, 255, 0.5);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary-light);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--white);
  padding-left: 6px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: var(--white);
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.footer-credit a {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.5);
}
.footer-credit a:hover { color: var(--white); }
.footer-credit-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.footer-credit a:hover .footer-credit-logo { transform: scale(1.25); }

/* ========================================
   12. FLOATING ELEMENTS
   ======================================== */
.float-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 998;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.float-whatsapp.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.float-whatsapp:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.float-whatsapp .tooltip {
  position: absolute;
  right: 72px;
  background: var(--white);
  color: var(--text);
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.float-whatsapp:hover .tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Botão flutuante WeChat (página chinesa) */
.float-wechat {
  background: #07C160;
  box-shadow: 0 4px 20px rgba(7, 193, 96, 0.4);
}
.float-wechat:hover {
  box-shadow: 0 8px 30px rgba(7, 193, 96, 0.5);
}

.float-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--primary);
  box-shadow: var(--shadow-md);
  z-index: 998;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid var(--border);
}

.float-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.float-top:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-4px);
  border-color: var(--primary);
}

/* Só interativos quando visíveis (evita "tap morto" no canto) e acima de tudo */
.float-whatsapp,
.float-top { pointer-events: none; z-index: 999; }
.float-whatsapp.visible,
.float-top.visible { pointer-events: auto; }

/* ========================================
   13. MODAL
   ======================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
}

.modal-overlay.hidden {
  display: none;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-icon {
  width: 72px;
  height: 72px;
  background: var(--primary-lighter);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 32px;
  color: var(--primary);
}

.modal h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.modal p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.modal .btn {
  width: 100%;
  justify-content: center;
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2.2rem; }
  section { padding: 80px 0; }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-subtitle { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }

  .hero-image-wrapper {
    order: -1;
  }

  .hero-image {
    width: 360px;
    height: 440px;
  }

  .hero-nametag {
    left: 50%;
    transform: translateX(-50%);
    bottom: 40px;
  }

  .about .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Centraliza o conteúdo do "Sobre" quando empilha, como as demais seções */
  .about-content { text-align: center; }
  .about-content .section-tag,
  .about-content h2,
  .about-content .about-text { margin-left: auto; margin-right: auto; }

  .about-image-main { height: 400px; }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .blog-grid-bottom {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .faq-sidebar {
    position: static;
    text-align: center;
  }

  .cta-section .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-content p { margin: 0 auto 36px; }
  .cta-buttons { justify-content: center; }
  .cta-image { display: none; }

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  body { font-size: 16px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.25rem; }
  section { padding: 60px 0; }
  .container { padding: 0 20px; }

  .header-nav { display: none; }
  .header-cta .btn { display: none; }
  .hamburger { display: flex; }
  .mobile-overlay { display: block; }
  .mobile-nav { display: block; }

  .hero { padding-top: 80px; min-height: auto; padding-bottom: 80px; }
  .hero h1 { font-size: 2rem; }

  .hero-image {
    width: 280px;
    height: 340px;
  }

  .hero-nametag {
    display: none;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .hero-stat::after { display: none; }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn { width: 100%; justify-content: center; }

  .about-highlights {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .about-highlight-icon { width: 60px; height: 60px; font-size: 26px; }
  .about-highlight h4 { font-size: 13px; }
  .about-image-badge { right: 8px; top: 12px; }

  .about-mobile-cta { display: block; }

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

  .testimonial-card { width: 300px; }

  .blog-grid-bottom {
    grid-template-columns: 1fr;
  }

  .faq-question {
    padding: 18px 20px;
    font-size: 15px;
  }

  .faq-answer-inner { padding: 0 20px 20px; }

  .cta-content h2 { font-size: 2rem; }

  .contact-map { height: 300px; }

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

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

  .modal {
    padding: 32px 24px;
  }

  .float-whatsapp {
    width: 54px;
    height: 54px;
    font-size: 26px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    right: 18px;
  }

  .float-whatsapp .tooltip { display: none; }

  .float-top {
    width: 46px;
    height: 46px;
    font-size: 20px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    left: 18px;
  }

  .scroll-indicator { display: none; }
}

/* Small */
@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  section { padding: 48px 0; }

  .hero-image {
    width: 240px;
    height: 300px;
    border-radius: 4px;
  }

  .btn {
    padding: 14px 28px;
    font-size: 15px;
  }

  .service-card { padding: 28px 24px; }

  .testimonial-card {
    width: 270px;
    padding: 24px;
  }

  .blog-card-image { height: 220px; }
  .blog-card-large .blog-card-image { height: 260px; }
}

/* ========================================
   NORTH - COMPONENTES INSTITUCIONAIS
   ======================================== */

/* ── Logo em imagem ── */
.header-logo-img {
  height: 52px;
  width: auto;
  display: block;
  transition: var(--transition);
}
.header-logo:hover .header-logo-img { transform: scale(1.03); }
.footer-brand .header-logo-img { height: 58px; }

/* ── Preloader ── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: linear-gradient(150deg, var(--primary-dark) 0%, var(--primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  /* Fallback: some sozinho mesmo se o JS não rodar (some por volta de 3,5s) */
  animation: preloaderAutohide 0.6s ease 3s forwards;
}
.preloader.loaded { opacity: 0; visibility: hidden; }
@keyframes preloaderAutohide { to { opacity: 0; visibility: hidden; } }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.preloader-logo { height: 56px; width: auto; animation: preloaderPulse 1.6s ease-in-out infinite; }
.preloader-bar { width: 150px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.15); overflow: hidden; }
.preloader-bar span { display: block; height: 100%; width: 40%; background: var(--white); border-radius: 2px; animation: preloaderBar 1.15s ease-in-out infinite; }
@keyframes preloaderPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.55; transform: scale(0.95); } }
@keyframes preloaderBar { 0% { transform: translateX(-130%); } 100% { transform: translateX(380%); } }
@media (max-width: 768px) { .preloader-logo { height: 44px; } }

/* ── Hero com imagem de fundo (home) ── */
.hero-bg {
  background: url('/img/hero-bg.webp') center center / cover no-repeat;
  background-color: var(--primary-dark);
  min-height: 100vh;
  padding-top: 160px;
  padding-bottom: 100px;
}
/* Parallax sutil do fundo (transição suave aplicada via JS) */
.hero-bg,
.page-hero.has-image { transition: background-position 0.35s ease-out; }
.hero-bg::before,
.hero-bg::after { display: none; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 10, 44, 0.70) 0%, rgba(8, 10, 44, 0) 22%),
    linear-gradient(105deg, rgba(8, 10, 44, 0.86) 0%, rgba(8, 10, 44, 0.68) 42%, rgba(8, 10, 44, 0.34) 100%);
}
.hero-bg .container {
  position: relative;
  z-index: 2;
  display: block;
}
.hero-bg .hero-content { max-width: 680px; }
.hero-bg h1 { color: var(--white); }
.hero-bg h1 em { color: #a7adda; }
.hero-bg h1 em::after { display: none; }
.hero-bg .hero-subtitle { color: rgba(255, 255, 255, 0.82); max-width: 560px; }

/* ── Header transparente sobre o hero escuro (somente home) ── */
body:not(.inner-page) .header .logo-dark { display: none; }
body:not(.inner-page) .header.scrolled .logo-light { display: none; }
body:not(.inner-page) .header.scrolled .logo-dark { display: block; }
body:not(.inner-page) .header:not(.scrolled) .header-nav > a,
body:not(.inner-page) .header:not(.scrolled) .header-nav > .has-dropdown > a {
  color: rgba(255, 255, 255, 0.85);
}
body:not(.inner-page) .header:not(.scrolled) .header-nav > a:hover,
body:not(.inner-page) .header:not(.scrolled) .header-nav > a.active,
body:not(.inner-page) .header:not(.scrolled) .header-nav > .has-dropdown > a:hover {
  color: var(--white);
}
body:not(.inner-page) .header:not(.scrolled) .header-nav > a::after,
body:not(.inner-page) .header:not(.scrolled) .header-nav > .has-dropdown > a::after {
  background: var(--white);
}
body:not(.inner-page) .header:not(.scrolled) .hamburger span { background: var(--white); }
body:not(.inner-page) .header:not(.scrolled) .hamburger.active span { background: var(--primary-dark); }
body:not(.inner-page) .header:not(.scrolled) .header-cta .btn-primary {
  background: var(--white);
  color: var(--primary);
  box-shadow: none;
}
body:not(.inner-page) .header:not(.scrolled) .header-cta .btn-primary:hover {
  background: var(--primary-lighter);
  transform: translateY(-2px);
}

/* ── Foto real na seção Sobre ── */
.about-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Formulário de contato/lead ── */
.contact-grid { align-items: stretch; }
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 { font-size: 1.5rem; color: var(--primary); margin-bottom: 8px; }
.contact-form > p { color: var(--text-secondary); font-size: 15px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: end; }
.form-field { margin-bottom: 18px; display: flex; flex-direction: column; }
.form-row .form-field input { margin-top: auto; }
.form-field label,
.form-label { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.form-field input {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 15px;
  background: var(--white);
  color: var(--text);
  width: 100%;
  transition: var(--transition);
}
.form-field input::placeholder { color: var(--text-light); }
.form-field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(8, 10, 44, 0.08);
}
.form-field input.invalid {
  border-color: #d9534f;
  box-shadow: 0 0 0 3px rgba(217, 83, 79, 0.12);
}
.pref-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pref-option { position: relative; cursor: pointer; }
.pref-option input { position: absolute; opacity: 0; pointer-events: none; }
.pref-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-secondary);
  transition: var(--transition);
}
.pref-option span i { font-size: 18px; }
.pref-option input:checked + span {
  border-color: var(--primary);
  background: var(--primary-lighter);
  color: var(--primary);
}
.pref-option input:focus-visible + span { box-shadow: 0 0 0 3px rgba(8, 10, 44, 0.12); }
.form-submit { width: 100%; justify-content: center; margin-top: 6px; }
.form-status { margin-top: 14px; font-size: 14px; font-weight: 600; min-height: 1.1em; }
.form-status.ok { color: #1a8f4a; }
.form-status.err { color: #c0392b; }

.contact-aside { display: flex; flex-direction: column; gap: 18px; }
.contact-aside .contact-map { flex: 1 1 auto; height: auto; min-height: 280px; }

/* ── Página 404 ── */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 135%);
}
.error-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    linear-gradient(var(--white) 1px, transparent 1px),
    linear-gradient(90deg, var(--white) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.error-page::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(138, 144, 196, 0.14) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.error-inner { position: relative; z-index: 1; max-width: 580px; }
.error-logo { height: 54px; width: auto; margin: 0 auto 36px; display: block; }
.error-code {
  font-size: clamp(110px, 20vw, 190px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 12px;
}
.error-code span { color: var(--accent); }
.error-inner h1 { color: var(--white); font-size: 2rem; margin-bottom: 14px; }
.error-inner p { color: rgba(255, 255, 255, 0.75); font-size: 18px; line-height: 1.7; margin-bottom: 36px; }
.error-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 480px) {
  .error-actions .btn { width: 100%; justify-content: center; }
}

/* ── Header sólido nas páginas internas ── */
body.inner-page .header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(8, 10, 44, 0.08);
  padding: 12px 0;
}

/* ── Dropdown de Serviços ── */
.has-dropdown { position: relative; }
.has-dropdown > a { display: inline-flex; align-items: center; gap: 6px; }
.has-dropdown > a .ph-caret-down { font-size: 13px; transition: transform 0.3s ease; }
.has-dropdown:hover > a .ph-caret-down { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 260px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1002;
}
.dropdown-menu::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 14px;
}
.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}
.dropdown-menu a i { font-size: 18px; color: var(--primary); min-width: 18px; }
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover {
  background: var(--primary-lighter);
  color: var(--primary);
}

/* ── Page Hero (páginas internas) ── */
.page-hero {
  background: linear-gradient(150deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 130%);
  color: var(--white);
  padding: 150px 0 90px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(138, 144, 196, 0.12) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(var(--white) 1px, transparent 1px),
    linear-gradient(90deg, var(--white) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; max-width: 820px; }

/* Page hero com imagem de fundo (mantém a grade de quadradinhos por cima) */
.page-hero.has-image {
  background-color: var(--primary-dark);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.page-hero.img-importacoes { background-image: url('/img/importacoes-bg.webp'); }
.page-hero.img-china { background-image: url('/img/china-bg.webp'); }
.page-hero.img-sobre { background-image: url('/img/sobre-hero.webp'); }
.page-hero.img-servicos { background-image: url('/img/servicos-bg.webp'); }
.page-hero.has-image::before {
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  z-index: 1;
  background: linear-gradient(150deg, rgba(8, 10, 44, 0.82) 0%, rgba(8, 10, 44, 0.66) 50%, rgba(8, 10, 44, 0.40) 130%);
}
.page-hero.has-image .page-hero-pattern { opacity: 0.07; z-index: 2; }
.page-hero.has-image .container { z-index: 3; }

/* Camada de imagem para o parallax (leve zoom = sempre sobra dos lados) */
.hero-parallax {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  transform: scale(1.12);
  transition: transform 0.45s ease-out;
  will-change: transform;
  z-index: 0;
  pointer-events: none;
}
.page-hero .section-tag {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
}
.page-hero h1 {
  color: var(--white);
  font-size: 3rem;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
  max-width: 640px;
  line-height: 1.7;
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 24px;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb i { font-size: 12px; }
.breadcrumb span { color: var(--white); font-weight: 500; }

/* ── Numbers / Stats band ── */
.stats-band { background: var(--white); }
.stats-band .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.stats-band.stats-3 .container {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1000px;
}
.stat-block {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-light);
  transition: var(--transition);
}
.stat-block:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); background: var(--white); }
.stat-block i { font-size: 34px; color: var(--primary); margin-bottom: 12px; }
.stat-block .stat-number {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-block .stat-label {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Mission / Vision / Values ── */
.mvv { background: var(--bg-light); }
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.mvv-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--primary);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mvv-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.mvv-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 4px;
  background: var(--primary-lighter);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 20px;
}
.mvv-card h3 { margin-bottom: 12px; }
.mvv-card p { color: var(--text-secondary); font-size: 16px; line-height: 1.75; }
.mvv-card ul { display: flex; flex-direction: column; gap: 10px; }
.mvv-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 15px;
}
.mvv-card ul li i { color: var(--primary); font-size: 18px; margin-top: 3px; }

/* ── Timeline ── */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 36px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}
.timeline.visible::before { transform: scaleY(1); }
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--primary);
  transform: scale(0);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}
.timeline-item.visible::before {
  transform: scale(1);
  box-shadow: 0 0 0 6px rgba(8, 10, 44, 0.06);
}
.timeline-year {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.timeline-item h4 { margin-bottom: 8px; }
.timeline-item p { color: var(--text-secondary); font-size: 16px; line-height: 1.7; }

/* ── Team ── */
.team { background: var(--white); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.team-photo {
  height: 320px;
  background: linear-gradient(145deg, var(--primary-light), var(--primary-dark));
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.25);
}
.team-photo i { font-size: 96px; }
.team-photo span {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 8px;
}
.team-info { padding: 24px 28px 28px; }
.team-info h3 { font-size: 20px; margin-bottom: 4px; }
.team-role {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.team-info p { color: var(--text-secondary); font-size: 15px; line-height: 1.7; }
.team-socials { display: flex; gap: 10px; margin-top: 16px; }
.team-socials a {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  background: var(--primary-lighter);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.team-socials a:hover { background: var(--primary); color: var(--white); }

/* ── Partners ── */
.partners { background: var(--bg-light); }
.partner-card {
  display: grid;
  grid-template-columns: 1.15fr 1.1fr;
  gap: 48px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}
.partner-visual {
  height: 320px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 24px;
}
.partner-visual i { font-size: 72px; margin-bottom: 16px; color: rgba(255,255,255,0.9); }
.partner-visual .partner-name { font-size: 26px; font-weight: 700; color: var(--white); }
.partner-visual .partner-tagline { font-size: 14px; color: rgba(255,255,255,0.6); margin-top: 14px; }
.partner-logo-img { width: 100%; max-width: 520px; height: auto; display: block; }

/* Card de parceria com duas logos (North + Prolink) */
.partner-visual-duo {
  flex-direction: column;
  gap: 16px;
  min-height: 440px;
  padding: 40px 28px;
}
.partner-visual-duo .duo-logo { width: 80%; max-width: 320px; height: auto; display: block; }
.partner-visual-duo .duo-plus {
  font-size: 38px;
  font-weight: 300;
  line-height: 1;
  color: rgba(255, 255, 255, 0.65);
}
.partner-visual-duo a { display: inline-block; transition: var(--transition); }
.partner-visual-duo a:hover { transform: scale(1.03); }
@media (max-width: 1024px) { .partner-visual-duo { min-height: 340px; } }
.partner-visual a { display: inline-block; transition: var(--transition); }
.partner-visual a:hover { transform: scale(1.04); }
.partner-body .section-tag { margin-bottom: 16px; }
.partner-body h3 { font-size: 1.8rem; margin-bottom: 16px; }
.partner-body p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.8; }
.partner-features { display: flex; flex-direction: column; gap: 12px; margin: 20px 0 28px; }
.partner-feature { display: flex; align-items: flex-start; gap: 12px; }
.partner-feature i { color: var(--primary); font-size: 20px; margin-top: 2px; }
.partner-feature span { color: var(--text); font-size: 15px; }

/* ── Service Tabs (subabas) ── */
.service-tabs { background: var(--white); }
.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
}
.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 4px;
  background: var(--bg-light);
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.tab-btn i { font-size: 18px; }
.tab-btn:hover { color: var(--primary); border-color: var(--primary); }
.tab-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(8, 10, 44, 0.25);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeTab 0.5s ease; }
@keyframes fadeTab { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.tab-panel-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.tab-panel-head h2 { margin-bottom: 14px; }
.tab-panel-head p { color: var(--text-secondary); font-size: 17px; line-height: 1.7; }

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-item {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.35s ease;
}
.service-item:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-item-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 4px;
  background: var(--primary-lighter);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  transition: var(--transition);
}
.service-item:hover .service-item-icon { background: var(--primary); color: var(--white); }
.service-item h3 { font-size: 18px; margin-bottom: 8px; }
.service-item p { color: var(--text-secondary); font-size: 15px; line-height: 1.7; }

/* ── Process Steps (importações) ── */
.process { background: var(--bg-light); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.process-step {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.process-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}
.process-step h4 { margin-bottom: 10px; }
.process-step p { color: var(--text-secondary); font-size: 15px; line-height: 1.7; }

/* ── Prose / content blocks (páginas internas) ── */
.content-section { background: var(--white); }
.content-narrow { max-width: 820px; margin: 0 auto; }
.prose p { color: var(--text-secondary); font-size: 17px; line-height: 1.85; margin-bottom: 20px; }
.prose h2 { margin: 40px 0 18px; }
.prose h3 { margin: 28px 0 12px; }
.prose strong { color: var(--text); font-weight: 600; }

/* ── Two-column feature (texto + destaques) ── */
.feature-split { background: var(--white); }
.feature-split .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.feature-visual {
  height: 460px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--primary-lighter), #d3d6e6);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.feature-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-visual i { font-size: 88px; opacity: 0.4; }
.feature-visual span { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 10px; font-weight: 600; }
.feature-list { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.feature-list-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-list-item .fli-icon {
  width: 48px; height: 48px; min-width: 48px;
  border-radius: 4px;
  background: var(--primary-lighter);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.feature-list-item h4 { font-size: 17px; margin-bottom: 4px; }
.feature-list-item p { color: var(--text-secondary); font-size: 15px; line-height: 1.6; }

/* ── Language pill (página chinesa) ── */
.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.lang-pill:hover { background: rgba(255, 255, 255, 0.2); }
.header-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}
.header-lang:hover { background: var(--primary-lighter); }

/* ── Simple CTA band (sem imagem) ── */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
}
.cta-band .container { max-width: 720px; }
.cta-band h2 { color: var(--white); font-size: 2.4rem; margin-bottom: 16px; }
.cta-band p { color: rgba(255, 255, 255, 0.72); font-size: 18px; margin-bottom: 32px; }
.cta-band .cta-buttons { justify-content: center; }

/* ── Responsivo dos novos componentes ── */
@media (max-width: 1024px) {
  .stats-band .container { grid-template-columns: repeat(2, 1fr); }
  .mvv-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-card { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-split .container { grid-template-columns: 1fr; gap: 40px; }
  .feature-visual { height: 360px; }
  .page-hero h1 { font-size: 2.4rem; }
}

@media (max-width: 768px) {
  .header-logo-img { height: 42px; }
  .hero-bg { min-height: 80vh; padding: 120px 0 70px; }
  .hero-bg .hero-overlay {
    background: linear-gradient(180deg, rgba(8, 10, 44, 0.82) 0%, rgba(8, 10, 44, 0.6) 45%, rgba(8, 10, 44, 0.78) 100%);
  }
  .page-hero { padding: 120px 0 56px; min-height: 88vh; }
  .page-hero h1 { font-size: 2rem; }
  .page-hero p { font-size: 17px; }
  .stats-band .container { grid-template-columns: 1fr; gap: 16px; }
  .stats-band.stats-3 .container { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .tabs-nav { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .tab-btn { white-space: nowrap; }
  .partner-card { padding: 28px; }
  .cta-band h2 { font-size: 1.8rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .pref-toggle { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
  .cta-buttons { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-buttons,
  .error-actions { flex-direction: column; align-items: stretch; }
  /* Todos os botões ocupam a largura total do container no mobile */
  .btn { width: 100%; justify-content: center; }
}
