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

:root {
  --primary: #1a3c6e;
  --primary-dark: #0f2548;
  --primary-darker: #081933;
  --primary-light: #2a5298;
  --accent: #e8a020;
  --accent-dark: #c78010;
  --text: #1e2d3d;
  --text-muted: #5a6a7a;
  --bg: #f5f7fa;
  --white: #ffffff;
  --border: #dde3ea;
  --shadow: 0 4px 24px rgba(26, 60, 110, 0.10);
  --shadow-lg: 0 8px 40px rgba(26, 60, 110, 0.16);
  --shadow-xl: 0 24px 60px -12px rgba(8, 25, 51, 0.45);
  --radius: 12px;
  --radius-lg: 18px;
  --transition: 0.3s ease;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(226, 232, 240, 0.6);
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--primary); color: var(--white); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

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

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

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px rgba(8, 25, 51, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 46px; width: auto; max-width: 200px; object-fit: contain; transition: transform 0.3s var(--ease-out); }
.logo:hover .logo-img { transform: scale(1.03); }
.footer-logo { height: 44px; margin-bottom: 16px; filter: brightness(0) invert(1); }

nav { display: flex; align-items: center; flex: 1; justify-content: flex-end; gap: 20px; }

.nav-links { display: flex; align-items: center; gap: 0.4rem; }
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--primary-dark); background: rgba(26, 60, 110, 0.06); }
.nav-links a:hover::after { width: calc(100% - 28px); }
.nav-links a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.nav-phone i {
  color: var(--primary);
  font-size: 0.8rem;
}
.nav-phone:hover { color: var(--primary-dark); background: rgba(26, 60, 110, 0.06); }

.btn-nav-cta {
  padding: 10px 18px;
  font-size: 0.85rem;
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(26, 60, 110, 0.25);
}
.btn-nav-cta:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(26, 60, 110, 0.35);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: rgba(26, 60, 110, 0.06);
  border: 1px solid rgba(26, 60, 110, 0.12);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s var(--ease-out);
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s var(--ease-out);
}
.hamburger:hover { background: rgba(26, 60, 110, 0.12); }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
  position: relative;
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1.5px solid #e2e8f0;
}
.lang-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: #f1f5f9;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
  white-space: nowrap;
}
.lang-trigger:hover {
  background: #e8eef5;
  border-color: #c8d5e4;
}
.lang-trigger .flag { font-size: 1.2rem; line-height: 1; }
.lang-trigger .lang-code { letter-spacing: 0.5px; }
.lang-trigger .chevron {
  font-size: 0.65rem;
  color: var(--text-muted);
  transition: transform var(--transition);
  margin-left: 2px;
}
.lang-switcher.open .lang-trigger { background: #e8eef5; border-color: var(--primary); }
.lang-switcher.open .chevron { transform: rotate(180deg); }

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  overflow: hidden;
  min-width: 160px;
  z-index: 100;
}
.lang-switcher.open .lang-dropdown { display: block; }

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background var(--transition);
  text-align: left;
}
.lang-option:hover { background: #f8fafc; }
.lang-option.active {
  background: #eef3fb;
  color: var(--primary);
  font-weight: 700;
}
.lang-option .flag { font-size: 1.25rem; line-height: 1; }
.lang-option .lang-name { flex: 1; }
.lang-option .check {
  font-size: 0.75rem;
  color: var(--primary);
  opacity: 0;
}
.lang-option.active .check { opacity: 1; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn i { font-size: 0.85em; transition: transform 0.2s var(--ease-out); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--primary-dark);
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(232, 160, 32, 0.32);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(232, 160, 32, 0.42);
}
.btn-primary:hover i.fa-arrow-right { transform: translateX(3px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}
.btn-ghost i { color: var(--accent); }
.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  border-color: #25d366;
  margin-top: 24px;
  font-size: 1rem;
  padding: 14px 32px;
}
.btn-whatsapp:hover {
  background: #1db954;
  border-color: #1db954;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}
.full-width { width: 100%; justify-content: center; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 140px 0 120px;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background:
    radial-gradient(at 78% 12%, rgba(42, 82, 152, 0.55), transparent 55%),
    radial-gradient(at 18% 88%, rgba(232, 160, 32, 0.18), transparent 50%),
    linear-gradient(160deg, var(--primary-darker) 0%, var(--primary-dark) 45%, var(--primary) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 35%, transparent 75%);
  opacity: 0.55;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  will-change: transform;
}
.hero-glow--1 {
  top: -120px; right: -80px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(42, 82, 152, 0.85), transparent 70%);
  animation: heroGlow1 14s ease-in-out infinite alternate;
}
.hero-glow--2 {
  bottom: -160px; left: -100px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(232, 160, 32, 0.4), transparent 70%);
  animation: heroGlow2 18s ease-in-out infinite alternate;
}
@keyframes heroGlow1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, 30px) scale(1.1); }
}
@keyframes heroGlow2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.08); }
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { animation: heroFadeUp 0.7s var(--ease-out) both; }
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 14px;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-eyebrow i { color: var(--accent); font-size: 0.85rem; }

.hero-content h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 22px;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.78) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-trust i {
  color: var(--accent);
  font-size: 0.85rem;
}

/* Stats card grid */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  align-content: center;
  animation: heroFadeUp 0.8s 0.15s var(--ease-out) both;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.35s var(--ease-out), background 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.stat-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
}
.stat-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(232, 160, 32, 0.22), rgba(232, 160, 32, 0.08));
  border: 1px solid rgba(232, 160, 32, 0.3);
  color: var(--accent);
  font-size: 1.15rem;
  flex-shrink: 0;
}
.stat-card__value {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat-card__label {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}
.stat-card--featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(232, 160, 32, 0.18), rgba(232, 160, 32, 0.04));
  border-color: rgba(232, 160, 32, 0.35);
}
.stat-card--featured .stat-card__icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-color: transparent;
  color: var(--primary-dark);
}
.stat-card--featured .stat-card__value { font-size: 1.2rem; }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  z-index: 2;
  transition: color 0.2s var(--ease-out);
}
.hero-scroll-hint:hover { color: var(--white); }
.hero-scroll-hint__line {
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.6));
}
.hero-scroll-hint i { animation: heroBounce 2.2s ease-in-out infinite; }
@keyframes heroBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow--1, .hero-glow--2, .hero-scroll-hint i { animation: none; }
  .hero-content, .hero-stats { animation: none; }
}

/* ===== HIGHLIGHTS ===== */
.highlights {
  background: var(--white);
  padding: 0;
  margin-top: -1px;
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--border);
}
.highlight-card {
  padding: 40px 32px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background 0.3s var(--ease-out);
  position: relative;
}
.highlight-card::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
  transform-origin: center;
}
.highlight-card:last-child { border-right: none; }
.highlight-card:hover { background: var(--bg); }
.highlight-card:hover::before { transform: scaleX(1); }
.highlight-card:hover i { transform: scale(1.08); color: var(--accent); }
.highlight-card i {
  transition: transform 0.3s var(--ease-out), color 0.3s var(--ease-out);
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.highlight-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.highlight-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== SECTION BASE ===== */
.section { padding: 96px 0; }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header.light h2,
.section-header.light p { color: var(--white); }
.section-header.light .section-tag { color: var(--accent); }

.section-tag {
  display: inline-block;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 16px;
}
.section-header p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== SERVICES ===== */
.services { background: var(--bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover .service-icon {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 10px 24px rgba(26, 60, 110, 0.28);
}
.service-icon {
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.service-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.service-badge {
  position: absolute;
  top: -12px; right: 24px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon i { font-size: 1.4rem; color: var(--white); }
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.service-card > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.service-card ul { display: flex; flex-direction: column; gap: 8px; }
.service-card ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text);
}
.service-card ul li i { color: var(--accent); font-size: 0.75rem; }
.btn-service {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding: 10px 22px;
  background: var(--primary);
  color: var(--white);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition);
  border: 2px solid var(--primary);
}
.btn-service:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(26,60,110,0.3);
}

/* ===== PORTFOLIO ===== */
.portfolio {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.portfolio-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
}
.portfolio-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}
.portfolio-icon {
  width: 56px; height: 56px;
  background: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.portfolio-icon i { font-size: 1.4rem; color: var(--primary-dark); }
.portfolio-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.portfolio-card p { font-size: 0.875rem; color: rgba(255,255,255,0.7); margin-bottom: 20px; }
.portfolio-tag {
  display: inline-block;
  background: rgba(232,160,32,0.2);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid rgba(232,160,32,0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== ABOUT ===== */
.about { background: var(--white); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: start;
}
.about-text .section-tag { display: block; margin-bottom: 12px; }
.about-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 20px;
}
.about-text > p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}
.about-text strong { color: var(--primary); }

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.mvv-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 20px;
  border-left: 3px solid var(--primary);
}
.mvv-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mvv-card h4 i { color: var(--primary); }
.mvv-card p { font-size: 0.825rem; color: var(--text-muted); line-height: 1.6; }

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 180px;
}
.stat {
  text-align: center;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px 20px;
  border: 1px solid var(--border);
}
.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== CONTACT ===== */
.contact { background: var(--bg); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info .section-tag { display: block; margin-bottom: 12px; }
.contact-info h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.contact-info > p { color: var(--text-muted); margin-bottom: 32px; }

.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.country-flag { font-size: 1rem; line-height: 1; vertical-align: middle; margin-right: 2px; }

.contact-item i {
  font-size: 1.2rem;
  color: var(--primary);
  width: 40px;
  height: 40px;
  background: rgba(26,60,110,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item .fab.fa-whatsapp { color: #25d366; background: rgba(37,211,102,0.1); }
.contact-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-item strong { font-size: 0.85rem; color: var(--primary-dark); font-weight: 700; }
.contact-item a, .contact-item span { font-size: 0.9rem; color: var(--text-muted); }
.contact-item a:hover { color: var(--primary); }

/* FORM */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.contact-form h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,60,110,0.1);
  background: var(--white);
}
.form-group textarea { resize: vertical; }
.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  color: #16a34a;
  font-weight: 600;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding: 60px 24px 40px;
}
.footer-brand .logo-text { color: var(--white); }
.footer-brand .logo-sub { display: block; color: var(--accent); margin-bottom: 16px; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; }

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  position: relative;
  font-size: 0.875rem;
  transition: color 0.25s var(--ease-out), padding-left 0.25s var(--ease-out);
}
.footer-links a::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.25s var(--ease-out);
}
.footer-links a:hover {
  color: var(--accent);
  padding-left: 14px;
}
.footer-links a:hover::before { width: 10px; }

.footer-contact p {
  font-size: 0.875rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact i { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 20px 24px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,211,102,0.5);
  transition: all var(--transition);
  z-index: 999;
  animation: pulse 2.5s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.6);
  animation: none;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,0.8); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .nav-phone span { display: none; }
  .nav-phone { padding: 8px 10px; }
  .hero-inner { gap: 56px; }
}

@media (max-width: 1024px) {
  .nav-links a { padding: 8px 10px; font-size: 0.85rem; }
  .nav-actions { gap: 10px; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight-card:nth-child(2) { border-right: none; }
  .highlight-card:nth-child(3) { border-top: 1px solid var(--border); }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-stats { flex-direction: row; flex-wrap: wrap; min-width: unset; }
  .stat { flex: 1; min-width: 120px; }
  .mvv-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-stats { max-width: 560px; }
  .hero-sub { max-width: none; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.is-open {
    display: flex;
    position: fixed;
    inset: 76px 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 24px 24px 48px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(8, 25, 51, 0.16);
    overflow-y: auto;
    animation: navSlide 0.3s var(--ease-out);
  }
  @keyframes navSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links a {
    width: 100%;
    padding: 16px 8px;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 600;
  }
  .nav-links a::after { display: none; }
  .nav-links a:hover { background: rgba(26, 60, 110, 0.04); }
  .hamburger { display: flex; }
  .btn-nav-cta { display: none; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 768px) {
  .nav-inner { height: 68px; }
  .logo-img { height: 40px; }
  .nav-links.is-open { inset: 68px 0 0 0; }
  .lang-switcher { border-left: none; padding-left: 0; margin-left: 0; }
  .lang-dropdown { right: 0; left: auto; }

  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px 32px; }
  .highlights-grid { grid-template-columns: 1fr; }
  .highlight-card { border-right: none; border-bottom: 1px solid var(--border); }
  .highlight-card:last-child { border-bottom: none; }

  .hero { padding: 120px 0 80px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { grid-template-columns: 1fr; }
  .stat-card--featured { grid-column: span 1; }
  .hero-trust { gap: 8px 16px; font-size: 0.8rem; }
  .hero-scroll-hint { display: none; }
}

/* ===== FOOTER LEGAL LINKS (LGPD) ===== */
.footer-legal {
  margin-top: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--accent); text-decoration: underline; }
.footer-legal span { color: rgba(255, 255, 255, 0.4); }

/* ===== LGPD COOKIE CONSENT BANNER ===== */
.lgpd-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 9999;
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  animation: lgpd-slide-up 0.35s ease-out;
}
@keyframes lgpd-slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.lgpd-banner-hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.25s, transform 0.25s;
}
.lgpd-banner-msg {
  margin: 0;
  color: var(--text);
}
.lgpd-banner-link {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}
.lgpd-banner-link:hover { color: var(--primary-dark); }
.lgpd-banner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.lgpd-btn {
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform 0.15s;
}
.lgpd-btn:hover { transform: translateY(-1px); }
.lgpd-btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
}
.lgpd-btn-primary:hover { background: var(--accent-dark); color: var(--white); }
.lgpd-btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.lgpd-btn-secondary:hover { background: var(--primary); color: var(--white); }

@media (min-width: 768px) {
  .lgpd-banner {
    flex-direction: row;
    align-items: center;
    max-width: 720px;
    left: auto;
    right: 24px;
    bottom: 24px;
    padding: 20px 24px;
  }
  .lgpd-banner-msg { flex: 1; }
  .lgpd-banner-actions { flex-shrink: 0; }
}

/* ===== LEGAL PAGES (Privacy / Terms) ===== */
.legal-page {
  padding: 120px 0 80px;
  background: var(--bg);
  min-height: 70vh;
}
.legal-page .container { max-width: 880px; }
.legal-disclaimer {
  background: #fff4d6;
  border: 1.5px solid #e8a020;
  border-left: 5px solid #c78010;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 32px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: #6b4a0a;
  font-size: 0.92rem;
}
.legal-disclaimer i {
  font-size: 1.4rem;
  color: #c78010;
  flex-shrink: 0;
  margin-top: 2px;
}
.legal-disclaimer strong { color: #4a3308; }
.legal-page h1 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.legal-page .legal-meta {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 28px;
}
.legal-page h2 {
  color: var(--primary);
  font-size: 1.4rem;
  margin: 32px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--border);
}
.legal-page h3 {
  color: var(--primary-dark);
  font-size: 1.1rem;
  margin: 20px 0 8px;
}
.legal-page p,
.legal-page li { color: var(--text); margin-bottom: 10px; }
.legal-page ul { padding-left: 22px; list-style: disc; margin-bottom: 14px; }
.legal-page li { margin-bottom: 6px; }
.legal-page a { color: var(--primary); text-decoration: underline; }
.legal-page a:hover { color: var(--accent-dark); }
.legal-breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.legal-breadcrumb a { color: var(--primary); text-decoration: none; }
.legal-breadcrumb a:hover { text-decoration: underline; }
