/* ==========================================
   EDUCACAO PARA VIDA - STYLESHEET
   Modern, Clean, Professional
   ========================================== */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #010483;
  --primary-dark: #01036f;
  --primary-deeper: #010351;
  --primary-mid: #0205a1;
  --accent: #1acc8d;
  --accent-light: #34e5a6;
  --accent-dark: #17b57d;
  --accent-glow: #7ceec6;
  --purple: #3f43fd;
  --white: #ffffff;
  --gray-50: #f8f9fe;
  --gray-100: #f0f2f8;
  --gray-200: #e2e5f0;
  --gray-300: #c8cce0;
  --gray-500: #6b7294;
  --gray-700: #3a3f5c;
  --gray-900: #1a1e36;
  --font-primary: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(1,4,131,0.06);
  --shadow-md: 0 8px 24px rgba(1,4,131,0.10);
  --shadow-lg: 0 16px 48px rgba(1,4,131,0.14);
  --shadow-xl: 0 24px 64px rgba(1,4,131,0.18);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset / Base ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Gradient Text ---------- */
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-light), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Section Styling ---------- */
section { padding: 100px 0; position: relative; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.section-label.center { justify-content: center; }

.label-line {
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-heading {
  font-family: var(--font-primary);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 48px;
}
.section-heading.light { color: var(--white); }

/* ---------- HEADER ---------- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}
#header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
}
#header.scrolled .logo { color: var(--gray-900); }
#header.scrolled .logo-icon { background: var(--primary); color: var(--white); }

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--white);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  transition: var(--transition);
}

.logo-text strong { font-weight: 800; }

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}
#header.scrolled .nav-links > li > a {
  color: var(--gray-700);
}
#header.scrolled .nav-links > li > a:hover,
#header.scrolled .nav-links > li > a.active {
  color: var(--primary);
  background: var(--gray-100);
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  border-radius: var(--radius-sm) !important;
  padding: 8px 20px !important;
}
.nav-cta:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-1px);
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  display: block !important;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px 8px 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  z-index: 100;
  pointer-events: none;
}
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 10px;
}
.dropdown:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.dropdown-menu li a {
  display: block;
  padding: 10px 16px;
  font-size: 0.875rem;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.dropdown-menu li a:hover {
  background: var(--gray-100);
  color: var(--primary);
  padding-left: 20px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
#header.scrolled .mobile-toggle span { background: var(--gray-900); }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 6px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -6px); }

/* ---------- HERO ---------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-deeper) 0%, var(--primary) 40%, var(--primary-mid) 70%, var(--purple) 100%);
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 20% 50%, rgba(26,204,141,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 30%, rgba(63,67,253,0.2) 0%, transparent 60%);
}

.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  background: var(--white);
}
.shape-1 { width: 400px; height: 400px; top: -100px; right: -100px; animation: float1 20s ease-in-out infinite; }
.shape-2 { width: 200px; height: 200px; bottom: 20%; left: 5%; animation: float2 15s ease-in-out infinite; }
.shape-3 { width: 120px; height: 120px; top: 30%; left: 30%; animation: float1 12s ease-in-out infinite reverse; }
.shape-4 { width: 60px; height: 60px; top: 20%; right: 30%; animation: float2 10s ease-in-out infinite; }
.shape-5 { width: 80px; height: 80px; bottom: 30%; right: 20%; animation: float1 18s ease-in-out infinite; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -30px); }
  66% { transform: translate(-20px, 20px); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-40px, -20px); }
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-light);
  border: 1px solid rgba(26,204,141,0.2);
  margin-bottom: 24px;
}
.hero-badge i { font-size: 1rem; }

#hero h1 {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(26,204,141,0.35);
  transition: var(--transition);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26,204,141,0.45);
  color: var(--white);
}
.btn-primary i { font-size: 1.1rem; transition: var(--transition); }
.btn-primary:hover i { transform: translateX(4px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,0.25);
  transition: var(--transition);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
}
.stat-item { text-align: center; }
.stat-number {
  display: block;
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-light);
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* Hero Visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 460px;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(26,204,141,0.25), transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.hero-image {
  position: relative;
  z-index: 2;
  width: 100%;
  animation: hero-float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ========== INTERACTIVE HEX LOGO 3D ========== */
.hex-logo {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: hero-float 6s ease-in-out infinite;
  filter: drop-shadow(0 25px 50px rgba(0,0,0,0.35));
}

.hex-scene {
  position: relative;
  width: 320px;
  height: 370px;
  perspective: 800px;
  transition: transform 0.4s cubic-bezier(.25,.46,.45,.94);
}

/* Face frontal - hexágono */
.hex-front {
  position: absolute;
  top: 0;
  left: 10px;
  width: 300px;
  height: 300px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: 3;
  overflow: hidden;
}

.hex-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  width: 100%;
  height: 100%;
  gap: 0;
}

.hex-quadrant {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: filter 0.35s ease, transform 0.35s ease;
  overflow: hidden;
}

/* Tooltip label on hover */
.hex-quadrant::after {
  content: attr(data-label);
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  opacity: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  pointer-events: none;
}
.hex-quadrant:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.hex-quadrant:hover {
  filter: brightness(1.12) saturate(1.1);
}

/* SVG icons inside quadrants */
.hex-svg-icon {
  width: 60px;
  height: 60px;
  transition: transform 0.35s ease;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
}
.hex-quadrant:hover .hex-svg-icon {
  transform: scale(1.18) rotate(3deg);
}

/* Quadrant colors - identical to original */
.hex-q1 { background: linear-gradient(160deg, #f9a825, #f7941d); }
.hex-q2 { background: linear-gradient(160deg, #4dd0e1, #00bcd4); }
.hex-q3 { background: linear-gradient(160deg, #aed581, #8bc34a); }
.hex-q4 { background: linear-gradient(160deg, #ef5350, #e53935); }

/* Center cross */
.hex-cross {
  position: absolute;
  background: rgba(255,255,255,0.2);
  z-index: 5;
  pointer-events: none;
}
.hex-cross-h {
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  transform: translateY(-50%);
}
.hex-cross-v {
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  transform: translateX(-50%);
}

/* 3D Side faces */
.hex-side {
  position: absolute;
  z-index: 1;
}
.hex-side-left {
  bottom: 0;
  left: 10px;
  width: 150px;
  height: 50px;
  background: linear-gradient(180deg, #6a9a2d, #4a7a1a);
  clip-path: polygon(0% 0%, 100% 0%, 50% 100%, 0% 60%);
  transform-origin: top;
  z-index: 2;
}
.hex-side-right {
  bottom: 0;
  right: 10px;
  width: 150px;
  height: 50px;
  background: linear-gradient(180deg, #c62828, #8e1c1c);
  clip-path: polygon(0% 0%, 100% 0%, 100% 60%, 50% 100%);
  transform-origin: top;
  z-index: 2;
}
.hex-side-bottom {
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.15), transparent);
  z-index: 2;
}

/* Logo title */
.hex-title {
  margin-top: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 1.65rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.hex-title span {
  color: var(--accent, #1acc8d);
}

/* Pulse animation on click */
.hex-quadrant.pulse {
  animation: quad-pulse 0.5s ease;
}
@keyframes quad-pulse {
  0% { filter: brightness(1); }
  50% { filter: brightness(1.5) saturate(1.3); }
  100% { filter: brightness(1); }
}

/* Shine sweep on hover */
.hex-quadrant::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: rotate(25deg);
  transition: left 0.6s ease;
  pointer-events: none;
  z-index: 4;
}
.hex-quadrant:hover::before {
  left: 120%;
}

/* Responsive */
@media (max-width: 768px) {
  .hex-scene { width: 240px; height: 280px; }
  .hex-front { width: 220px; height: 220px; left: 10px; }
  .hex-svg-icon { width: 44px; height: 44px; }
  .hex-title { font-size: 1.15rem; letter-spacing: 1.5px; }
  .hex-side-left { width: 110px; height: 38px; }
  .hex-side-right { width: 110px; height: 38px; }
}

/* Floating Cards */
.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-900);
  animation: card-float 5s ease-in-out infinite;
}
.floating-card i { font-size: 1.2rem; color: var(--accent); }
.card-1 { top: 10%; right: -10px; animation-delay: 0s; }
.card-2 { bottom: 25%; left: -20px; animation-delay: 1.5s; }
.card-3 { bottom: 5%; right: 20%; animation-delay: 3s; }
@keyframes card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Hero Wave */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 3;
}
.hero-wave svg { display: block; width: 100%; height: auto; }

/* ---------- ABOUT ---------- */
#about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.image-frame img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: var(--transition);
}
.image-frame:hover img {
  transform: scale(1.03);
}
.image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-image { position: relative; }

.experience-badge {
  position: absolute;
  bottom: -20px;
  left: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 3;
}
.exp-number {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-light);
}
.exp-text {
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.3;
}

.about-text {
  color: var(--gray-500);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  transition: var(--transition);
}
.feature-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
}
.feature-item h4 {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2px;
}
.feature-item p {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin: 0;
}

/* ---------- PHILOSOPHY ---------- */
.section-dark {
  background: linear-gradient(135deg, var(--primary-deeper) 0%, var(--primary) 50%, var(--primary-mid) 100%);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.image-frame.dark { box-shadow: 0 16px 48px rgba(0,0,0,0.3); }
.image-frame.dark img { height: 380px; }

.philosophy-text {
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.philosophy-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.value-card {
  text-align: center;
  padding: 24px 16px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
.value-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}
.value-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 1.4rem;
}
.value-card h4 {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.value-card p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

/* ---------- GALLERY ---------- */
#gallery { background: var(--gray-50); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(1,4,131,0.7), rgba(26,204,141,0.5));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-overlay i {
  font-size: 2rem;
  color: var(--white);
  transform: scale(0.5);
  transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-overlay i { transform: scale(1); }

/* ---------- CONTACT ---------- */
#contact { background: var(--white); position: relative; overflow: hidden; }

.contact-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: var(--gray-50);
  z-index: 0;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-card {
  background: var(--primary);
  color: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}
.contact-card h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.contact-card > p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26,204,141,0.15);
  color: var(--accent-light);
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
}
.contact-item h4 {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.contact-item p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

/* Contact Form */
.contact-form-wrapper {
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gray-900);
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition);
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(26,204,141,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-300);
}

/* ---------- FOOTER ---------- */
#footer {
  background: var(--gray-900);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo {
  margin-bottom: 16px;
}
.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-links ul li a:hover {
  color: var(--accent-light);
  padding-left: 4px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}
.footer-contact p i { color: var(--accent); }

.footer-bottom {
  text-align: center;
  padding: 24px 0;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-4px);
  color: var(--white);
}

/* ---------- PAGE HERO (Sub-pages) ---------- */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--primary-deeper) 0%, var(--primary) 40%, var(--primary-mid) 70%, var(--purple) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(26,204,141,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 80% 30%, rgba(63,67,253,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 80%, rgba(26,204,141,0.1) 0%, transparent 50%);
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Decorative shapes */
.page-hero .hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.page-hero .decor-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.06);
}
.page-hero .decor-circle-1 {
  width: 300px; height: 300px;
  top: -80px; right: -60px;
  animation: float1 18s ease-in-out infinite;
}
.page-hero .decor-circle-2 {
  width: 180px; height: 180px;
  bottom: -40px; left: 10%;
  animation: float2 14s ease-in-out infinite;
}
.page-hero .decor-circle-3 {
  width: 100px; height: 100px;
  top: 30%; left: 5%;
  background: rgba(26,204,141,0.06);
  animation: float1 12s ease-in-out infinite reverse;
}
.page-hero .decor-dot {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(26,204,141,0.3);
}
.page-hero .decor-dot-1 { top: 25%; left: 15%; animation: pulse-glow 3s ease-in-out infinite; }
.page-hero .decor-dot-2 { top: 40%; right: 20%; animation: pulse-glow 3s ease-in-out infinite 1s; }
.page-hero .decor-dot-3 { bottom: 30%; left: 30%; animation: pulse-glow 3s ease-in-out infinite 2s; }
.page-hero .decor-dot-4 { top: 20%; right: 35%; animation: pulse-glow 3s ease-in-out infinite 0.5s; }
.page-hero .decor-dot-5 { bottom: 25%; right: 10%; animation: pulse-glow 3s ease-in-out infinite 1.5s; }

.page-hero .decor-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26,204,141,0.15), transparent);
}
.page-hero .decor-line-1 { width: 200px; top: 35%; left: 0; transform: rotate(-15deg); }
.page-hero .decor-line-2 { width: 150px; bottom: 30%; right: 0; transform: rotate(20deg); }

/* Hero content */
.page-hero .container {
  position: relative;
  z-index: 2;
}
.page-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(26,204,141,0.12);
  border: 1px solid rgba(26,204,141,0.2);
  border-radius: var(--radius-md);
  margin: 0 auto 20px;
  font-size: 1.6rem;
  color: var(--accent-light);
  backdrop-filter: blur(8px);
  animation: hero-float 5s ease-in-out infinite;
}
.page-hero-title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  letter-spacing: -0.02em;
}
.page-hero-title .title-accent {
  display: block;
  background: linear-gradient(135deg, var(--accent), var(--accent-light), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  max-width: 500px;
  margin: 0 auto 24px;
  position: relative;
}
.breadcrumb-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.85rem;
  position: relative;
  padding: 8px 20px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.08);
}
.breadcrumb-nav a {
  color: var(--accent-light);
}
.breadcrumb-nav a:hover {
  color: var(--white);
}
.breadcrumb-nav span {
  color: rgba(255,255,255,0.5);
}

/* Hero wave bottom */
.page-hero .page-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 3;
}
.page-hero .page-hero-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- SUB-PAGE CONTENT ---------- */
#main {
  padding: 60px 0;
  background: var(--white);
}

/* Legacy section-title from old template */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title h2 {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.section-title p {
  color: var(--gray-500);
  font-size: 1rem;
}

/* Legacy features/icon-box from old template */
.features .icon-box {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  transition: var(--transition);
  margin-bottom: 20px;
}
.features .icon-box:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.features .icon-box i {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}
.features .icon-box h3 {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}
.features .icon-box h3 a {
  color: var(--gray-900);
  transition: var(--transition);
}
.features .icon-box h3 a:hover {
  color: var(--accent);
}

/* Legacy details section */
.details .content h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}
.details .content p {
  color: var(--gray-500);
  margin-bottom: 12px;
}
.details .content ul {
  padding-left: 0;
}
.details .content ul li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--gray-500);
}
.details .content ul li::before {
  content: '\f00c';
  font-family: 'remixicon';
  content: '\eb7b';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1rem;
}
.details img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* Legacy gallery section for sub-pages */
.portfolio .portfolio-item {
  margin-bottom: 24px;
}
.portfolio .portfolio-item img {
  border-radius: var(--radius-md);
  width: 100%;
  transition: var(--transition);
}
.portfolio .portfolio-item:hover img {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

/* Cards styling for content sections */
.card {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ---------- CONTENT SECTIONS (Sub-pages Modern) ---------- */
.content-section {
  padding: 80px 0;
}
.content-section.bg-light {
  background: var(--gray-50);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.content-grid-reverse {
  direction: ltr;
}
.content-grid-reverse .content-text {
  order: 1;
}
.content-grid-reverse .content-image {
  order: 2;
}

.content-text p {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.8;
}
.content-text-full {
  max-width: 800px;
  margin: 0 auto;
}
.content-text-full p {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.8;
}
.content-text-full.light-text p {
  color: rgba(255,255,255,0.75);
}

.content-image .image-frame img {
  height: auto;
  max-height: 420px;
  object-fit: cover;
}

.section-subtitle {
  color: var(--gray-500);
  font-size: 1.05rem;
  margin-top: -32px;
  margin-bottom: 48px;
}

/* Quote Block */
.quote-block {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 48px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--accent);
}
.quote-block i {
  font-size: 2.5rem;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 12px;
  display: block;
}
.quote-block p {
  color: var(--gray-700);
  font-size: 1.05rem;
  line-height: 1.8;
  font-style: italic;
  margin: 0;
}

/* Tips Grid */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.tip-card {
  padding: 32px 24px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-align: center;
}
.tip-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.tip-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 1.5rem;
}
.tip-card h4 {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.tip-card p {
  color: var(--gray-500);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0;
}

/* Alert Block */
.alert-block {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  max-width: 800px;
  margin: 0 auto;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-left: 4px solid #e74c3c;
}
.alert-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(231,76,60,0.1);
  color: #e74c3c;
  border-radius: var(--radius-sm);
  font-size: 1.6rem;
}
.alert-block h3 {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.alert-block p {
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 10px;
}
.alert-block p:last-child { margin-bottom: 0; }
.alert-block strong { color: var(--gray-900); }

/* Video Wrapper */
.video-wrapper {
  max-width: 700px;
  margin: 0 auto;
}
.video-play-btn {
  display: block;
}
.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 80px 40px;
  background: linear-gradient(135deg, var(--primary-deeper), var(--primary), var(--purple));
  border-radius: var(--radius-lg);
  transition: var(--transition);
  cursor: pointer;
}
.video-placeholder:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
}
.video-placeholder i {
  font-size: 4rem;
  color: var(--white);
}
.video-placeholder span {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

/* ---------- PROJETOS PAGE ---------- */
.text-accent {
  color: var(--accent);
}

/* Intro */
.proj-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 20px 0;
}
.proj-intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26,204,141,0.1);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.proj-intro-title {
  font-family: var(--font-primary);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}
.proj-intro-text {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* Feature card */
.proj-feature {
  padding: 80px 0;
}
.proj-feature-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
}
.proj-feature-card--reverse {
  direction: rtl;
}
.proj-feature-card--reverse > * {
  direction: ltr;
}
.proj-feature-img {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
}
.proj-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.proj-feature-card:hover .proj-feature-img img {
  transform: scale(1.03);
}
.proj-feature-badge-img {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(26,204,141,0.95);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
}
.proj-feature-body {
  padding: 48px 40px;
}
.proj-feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.proj-feature-body h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}
.proj-feature-body p {
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 12px;
}

/* Highlights list */
.proj-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}
.proj-highlight-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 18px;
  background: rgba(26,204,141,0.04);
  border-radius: var(--radius-md);
  border: 1px solid rgba(26,204,141,0.08);
  transition: all 0.3s ease;
}
.proj-highlight-item:hover {
  background: rgba(26,204,141,0.08);
  transform: translateX(4px);
}
.proj-highlight-item > i {
  font-size: 1.3rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.proj-highlight-item strong {
  display: block;
  font-weight: 700;
  color: var(--dark);
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.proj-highlight-item span {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Dark section (PATIRE) */
.proj-dark {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-deeper), var(--primary));
}
.proj-dark-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: var(--white);
}
.proj-dark-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(26,204,141,0.15);
  border: 1px solid rgba(26,204,141,0.25);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  color: var(--accent-light);
  margin-bottom: 20px;
}
.proj-dark-inner h3 {
  font-family: var(--font-primary);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 8px;
}
.proj-dark-subtitle {
  font-size: 0.95rem;
  color: var(--accent-light);
  font-weight: 600;
  margin-bottom: 24px;
}
.proj-dark-inner p {
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 14px;
}

/* Logomarca section */
.proj-logo-section {
  text-align: center;
}
.proj-logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(63,67,253,0.08);
  border-radius: var(--radius-md);
  font-size: 1.4rem;
  color: var(--purple);
  margin-bottom: 16px;
}
.proj-logo-section h3 {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 32px;
}
.proj-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.proj-logo-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.04);
  text-align: center;
  transition: all 0.3s ease;
}
.proj-logo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.proj-logo-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin-bottom: 16px;
  font-size: 1.3rem;
}
.proj-logo-card:nth-child(1) .proj-logo-card-icon {
  background: rgba(239,68,68,0.1);
  color: #ef4444;
}
.proj-logo-card:nth-child(2) .proj-logo-card-icon {
  background: rgba(59,130,246,0.1);
  color: #3b82f6;
}
.proj-logo-card:nth-child(3) .proj-logo-card-icon {
  background: rgba(34,197,94,0.1);
  color: #22c55e;
}
.proj-logo-card h4 {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.proj-logo-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* Tools section */
.proj-tools-header {
  text-align: center;
  margin-bottom: 40px;
}
.proj-tools-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(63,67,253,0.08);
  border-radius: var(--radius-md);
  font-size: 1.3rem;
  color: var(--purple);
  margin-bottom: 16px;
}
.proj-tools-header h2 {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}
.proj-tools-header p {
  color: var(--text-light);
}
.proj-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.proj-tool-card {
  display: flex;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}
.proj-tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.proj-tool-img {
  width: 180px;
  flex-shrink: 0;
  overflow: hidden;
}
.proj-tool-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.proj-tool-body {
  padding: 24px;
}
.proj-tool-body h4 {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.proj-tool-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* Gallery section */
.proj-gallery-header {
  text-align: center;
  margin-bottom: 32px;
}
.proj-gallery-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(26,204,141,0.08);
  border-radius: var(--radius-md);
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 16px;
}
.proj-gallery-header h2 {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}
.proj-gallery-header p {
  color: var(--text-light);
}

/* Gallery tabs */
.proj-gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}
.proj-gallery-tab {
  padding: 8px 18px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 50px;
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
}
.proj-gallery-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.proj-gallery-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* Gallery grid */
.proj-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.proj-gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.proj-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.proj-gallery-item:hover img {
  transform: scale(1.08);
}
.proj-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(1,4,131,0.7), transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.proj-gallery-item:hover .proj-gallery-overlay {
  opacity: 1;
}
.proj-gallery-overlay span {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive - projetos */
@media (max-width: 991px) {
  .proj-feature-card {
    grid-template-columns: 1fr;
  }
  .proj-feature-card--reverse {
    direction: ltr;
  }
  .proj-feature-img {
    min-height: 280px;
  }
  .proj-feature-body {
    padding: 32px 24px;
  }
  .proj-logo-grid {
    grid-template-columns: 1fr;
  }
  .proj-tools-grid {
    grid-template-columns: 1fr;
  }
  .proj-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 575px) {
  .proj-tool-card {
    flex-direction: column;
  }
  .proj-tool-img {
    width: 100%;
    height: 180px;
  }
  .proj-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .proj-gallery-tabs {
    gap: 6px;
  }
  .proj-gallery-tab {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
}

/* ---------- OBJ APRENDIZAGEM PAGE ---------- */
.oa-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26,204,141,0.1);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.oa-about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}
.oa-about-content h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}
.oa-about-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 14px;
}
.oa-about-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 10px;
}
.oa-mini-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}
.oa-mini-card:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}
.oa-mini-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.oa-mini-card:nth-child(1) .oa-mini-icon {
  background: rgba(26,204,141,0.1);
  color: var(--accent);
}
.oa-mini-card:nth-child(2) .oa-mini-icon {
  background: rgba(63,67,253,0.1);
  color: var(--purple);
}
.oa-mini-card:nth-child(3) .oa-mini-icon {
  background: rgba(59,130,246,0.1);
  color: #3b82f6;
}
.oa-mini-card strong {
  display: block;
  font-weight: 700;
  color: var(--dark);
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.oa-mini-card span {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Quote */
.oa-quote-section {
  background: var(--white);
}
.oa-blockquote {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.oa-blockquote-icon {
  font-size: 2.5rem;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 16px;
}
.oa-blockquote blockquote {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.9;
  font-style: italic;
  position: relative;
  padding: 0 20px;
}

/* Section header */
.oa-section-header {
  text-align: center;
  margin-bottom: 40px;
}
.oa-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(26,204,141,0.08);
  border-radius: var(--radius-md);
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 16px;
}
.oa-section-header h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}
.oa-section-header p {
  color: var(--text-light);
  max-width: 550px;
  margin: 0 auto;
}

/* Repos grid */
.oa-repos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.oa-repo-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  text-decoration: none;
}
.oa-repo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.oa-repo-img {
  height: 120px;
  overflow: hidden;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.oa-repo-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 12px;
}
.oa-repo-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.oa-repo-body h4 {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.oa-repo-body p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 12px;
}
.oa-repo-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s ease;
}
.oa-repo-card:hover .oa-repo-link {
  gap: 8px;
}

/* Apps grid */
.oa-apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.oa-app-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  text-decoration: none;
}
.oa-app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border-color: var(--accent);
}
.oa-app-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(63,67,253,0.1), rgba(26,204,141,0.1));
  color: var(--purple);
  transition: all 0.3s ease;
}
.oa-app-card:hover .oa-app-icon {
  background: linear-gradient(135deg, var(--purple), var(--accent));
  color: var(--white);
}
.oa-app-card h4 {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.oa-app-dl {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Links section */
.oa-links-section {
  background: linear-gradient(135deg, var(--primary-deeper), var(--primary));
}
.oa-links-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  color: var(--white);
}
.oa-links-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(26,204,141,0.15);
  border: 1px solid rgba(26,204,141,0.25);
  border-radius: var(--radius-md);
  font-size: 1.4rem;
  color: var(--accent-light);
  margin-bottom: 20px;
}
.oa-links-inner h3 {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.oa-links-inner p {
  color: rgba(255,255,255,0.65);
  margin-bottom: 24px;
}
.oa-links-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.oa-links-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  color: var(--white);
}

/* OA Responsive */
@media (max-width: 991px) {
  .oa-about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .oa-repos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .oa-apps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 575px) {
  .oa-repos-grid {
    grid-template-columns: 1fr;
  }
  .oa-apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .oa-app-card {
    padding: 24px 16px;
  }
}

/* ---------- TEC ASSISTIVA PAGE ---------- */
/* Quote hero */
.ta-quote-hero {
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
  padding: 20px 0;
}
.ta-quote-hero-icon {
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.25;
  margin-bottom: 12px;
}
.ta-quote-hero blockquote {
  font-family: var(--font-primary);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 16px;
}
.ta-quote-hero blockquote strong {
  color: var(--accent);
}
.ta-quote-hero cite {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: normal;
  font-weight: 500;
}

/* Intro grid */
.ta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26,204,141,0.1);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.ta-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.ta-intro-content h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}
.ta-intro-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 14px;
}
.ta-definition {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: rgba(26,204,141,0.04);
  border-radius: var(--radius-md);
  margin-top: 12px;
}
.ta-definition-bar {
  width: 4px;
  flex-shrink: 0;
  border-radius: 4px;
  background: linear-gradient(to bottom, var(--accent), var(--purple));
}
.ta-definition p {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.75;
  margin: 0;
}
.ta-intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}
.ta-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Section header */
.ta-section-header {
  text-align: center;
  margin-bottom: 40px;
}
.ta-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(26,204,141,0.08);
  border-radius: var(--radius-md);
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 16px;
}
.ta-section-header h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}
.ta-section-header p {
  color: var(--text-light);
  max-width: 550px;
  margin: 0 auto;
}

/* Objectives grid */
.ta-objectives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ta-obj-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}
.ta-obj-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.ta-obj-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}
.ta-obj-card:nth-child(1) .ta-obj-icon { background: rgba(26,204,141,0.1); color: var(--accent); }
.ta-obj-card:nth-child(2) .ta-obj-icon { background: rgba(63,67,253,0.1); color: var(--purple); }
.ta-obj-card:nth-child(3) .ta-obj-icon { background: rgba(59,130,246,0.1); color: #3b82f6; }
.ta-obj-card:nth-child(4) .ta-obj-icon { background: rgba(245,158,11,0.1); color: #f59e0b; }
.ta-obj-card:nth-child(5) .ta-obj-icon { background: rgba(239,68,68,0.1); color: #ef4444; }
.ta-obj-card:nth-child(6) .ta-obj-icon { background: rgba(168,85,247,0.1); color: #a855f7; }
.ta-obj-card:hover .ta-obj-icon {
  transform: scale(1.1);
}
.ta-obj-card h4 {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.ta-obj-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Services section */
.ta-services-section {
  background: linear-gradient(135deg, var(--primary-deeper), var(--primary));
}
.ta-services-inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  color: var(--white);
}
.ta-services-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(26,204,141,0.15);
  border: 1px solid rgba(26,204,141,0.25);
  border-radius: var(--radius-md);
  font-size: 1.4rem;
  color: var(--accent-light);
  margin-bottom: 20px;
}
.ta-services-inner h3 {
  font-family: var(--font-primary);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.ta-services-desc {
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 28px;
}
.ta-services-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.ta-services-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}
.ta-services-tags span:hover {
  background: rgba(26,204,141,0.2);
  border-color: rgba(26,204,141,0.3);
  color: var(--white);
}

/* Research section */
.ta-research-header {
  text-align: center;
  margin-bottom: 36px;
}
.ta-research-header h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--dark);
}
.ta-research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ta-research-card {
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}
.ta-research-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.ta-research-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.ta-research-card:nth-child(1) .ta-research-card-icon { background: rgba(63,67,253,0.08); color: var(--purple); }
.ta-research-card:nth-child(2) .ta-research-card-icon { background: rgba(26,204,141,0.08); color: var(--accent); }
.ta-research-card:nth-child(3) .ta-research-card-icon { background: rgba(245,158,11,0.08); color: #f59e0b; }
.ta-research-card h4 {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.ta-research-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* Commerce section */
.ta-commerce-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.ta-commerce-main p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 14px;
}
.ta-commerce-main strong {
  color: var(--dark);
}
.ta-commerce-main em {
  color: var(--primary);
}
.ta-commerce-tips {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.04);
}
.ta-commerce-tips h4 {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ta-commerce-tips h4 i {
  color: var(--accent);
}
.ta-tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ta-tips-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}
.ta-tips-list li i {
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.ta-tips-list li strong {
  color: var(--dark);
}

/* Success case */
.ta-success-case {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background: linear-gradient(135deg, rgba(26,204,141,0.06), rgba(63,67,253,0.04));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26,204,141,0.1);
}
.ta-success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(26,204,141,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent);
  flex-shrink: 0;
}
.ta-success-body h4 {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.ta-success-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* TA Responsive */
@media (max-width: 991px) {
  .ta-intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ta-objectives-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ta-research-grid {
    grid-template-columns: 1fr;
  }
  .ta-commerce-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575px) {
  .ta-objectives-grid {
    grid-template-columns: 1fr;
  }
  .ta-services-tags span {
    padding: 8px 14px;
    font-size: 0.78rem;
  }
  .ta-success-case {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* ========== ARTIGOS PAGE (ar-) ========== */

/* Group Header */
.ar-group-head {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  align-items: flex-start;
}
.ar-group-icon {
  flex: 0 0 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(26,204,141,0.08);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.ar-group-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 20px;
  background: rgba(26,204,141,0.08);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.ar-group-head h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.ar-group-head p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 6px;
}
.ar-group-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.ar-group-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: #9ca3af;
}

/* Viewers Grid */
.ar-viewers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.ar-viewers-single {
  grid-template-columns: 1fr;
  max-width: 700px;
}

/* Viewer Card */
.ar-viewer-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
}
.ar-viewer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.ar-viewer-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid #f0f0f0;
}
.ar-label-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ar-viewer-label h4 {
  flex: 1;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--primary-dark);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ar-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(26,204,141,0.08);
  color: var(--green);
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
  flex-shrink: 0;
}
.ar-dl:hover {
  background: var(--green);
  color: #fff;
}

/* PDF Frame */
.ar-viewer-frame {
  position: relative;
  width: 100%;
  height: 500px;
  background: #f3f4f6;
}
.ar-viewer-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* AR Responsive */
@media (max-width: 991px) {
  .ar-viewers-grid {
    grid-template-columns: 1fr;
  }
  .ar-viewer-frame {
    height: 450px;
  }
}
@media (max-width: 575px) {
  .ar-group-head {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .ar-group-meta {
    justify-content: center;
  }
  .ar-viewer-frame {
    height: 380px;
  }
}

/* ========== EDUCAÇÃO INFANTIL / BANCO DE QUESTÕES PAGE (bq-) ========== */

/* Age header */
.bq-age-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}
.bq-age-header h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0;
}
.bq-age-header p {
  font-size: 1rem;
  color: #6b7280;
  margin: 4px 0 0;
}
.bq-age-badge {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.bq-age-3 { background: linear-gradient(135deg, #ff6b6b, #ee5a24); }
.bq-age-4 { background: linear-gradient(135deg, #3f43fd, #6366f1); }
.bq-age-5 { background: linear-gradient(135deg, #1acc8d, #17b57d); }

/* Fund 1 year badges */
.bq-year-1 { background: linear-gradient(135deg, #ff6b6b, #ee5a24); }
.bq-year-2 { background: linear-gradient(135deg, #3f43fd, #6366f1); }
.bq-year-3 { background: linear-gradient(135deg, #1acc8d, #17b57d); }
.bq-year-4 { background: linear-gradient(135deg, #ff9f43, #ee8921); }
.bq-year-5 { background: linear-gradient(135deg, #a855f7, #7c3aed); }

/* Fund 2 year badges */
.bq-year-6 { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
.bq-year-7 { background: linear-gradient(135deg, #f43f5e, #e11d48); }
.bq-year-8 { background: linear-gradient(135deg, #10b981, #059669); }
.bq-year-9 { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }

/* Cards grid */
.bq-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.bq-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border-radius: 16px;
  padding: 32px 20px 24px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  border: 2px solid transparent;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.bq-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.35s ease;
}
.bq-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  border-color: var(--blue-light);
}
.bq-card:hover::before {
  transform: scaleX(1);
}
.bq-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.bq-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 12px;
}
.bq-card-action {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.bq-card:hover .bq-card-action {
  color: var(--green);
}

/* Section header (for videos) */
.bq-section-header {
  text-align: center;
  margin-bottom: 48px;
}
.bq-section-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 16px;
}
.bq-section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 8px;
}
.bq-section-header p {
  font-size: 1.05rem;
  color: #6b7280;
  max-width: 580px;
  margin: 0 auto;
}

/* Compact section header variant (fund pages) */
.bq-section-header--sm {
  margin-bottom: 32px;
}
.bq-section-header--sm h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.bq-section-header--sm h3 i {
  font-size: 1.6rem;
}

/* Videos grid */
.bq-videos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.bq-video-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: all 0.35s ease;
}
.bq-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.bq-video-wrap {
  position: relative;
  padding-top: 56.25%;
}
.bq-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.bq-video-label {
  padding: 12px 16px;
  text-align: center;
}
.bq-video-label span {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
}

/* Responsive */
@media (max-width: 991px) {
  .bq-videos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .bq-age-header h2 { font-size: 1.5rem; }
  .bq-age-badge { width: 56px; height: 56px; font-size: 1.5rem; border-radius: 14px; }
  .bq-cards-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .bq-card { padding: 24px 14px 18px; }
  .bq-card-icon { width: 52px; height: 52px; font-size: 1.3rem; }
  .bq-videos-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .bq-section-header h2 { font-size: 1.6rem; }
  .bq-section-header--sm h3 { font-size: 1.25rem; }
}
@media (max-width: 480px) {
  .bq-videos-grid { grid-template-columns: 1fr; }
  .bq-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========== TECNOLOGIA EDUCACIONAL PAGE (te-) ========== */

/* Intro */
.te-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
}
.te-intro-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  margin-bottom: 12px;
}
.te-intro-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 16px;
}
.te-intro-content p {
  color: var(--gray);
  line-height: 1.75;
  font-size: 0.95rem;
  margin-bottom: 10px;
}
.te-intro-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.te-stat-card {
  background: var(--white);
  border-radius: 16px;
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  min-width: 150px;
}
.te-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(26,204,141,0.08);
  color: var(--green);
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.te-stat-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-dark);
}
.te-stat-card span {
  font-size: 0.8rem;
  color: var(--gray);
}

/* Section Header */
.te-section-header {
  text-align: center;
  margin-bottom: 32px;
}
.te-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(26,204,141,0.08);
  color: var(--green);
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.te-section-header h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.te-section-header p {
  color: var(--gray);
  font-size: 1rem;
}

/* Filter Tabs */
.te-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
.te-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 40px;
  border: 2px solid #e5e7eb;
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  transition: all 0.3s;
}
.te-tab:hover {
  border-color: var(--green);
  color: var(--primary-dark);
}
.te-tab.active {
  background: var(--gradient);
  border-color: transparent;
  color: var(--white);
}
.te-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  border-radius: 12px;
  background: rgba(0,0,0,0.08);
  font-size: 0.75rem;
  font-weight: 700;
}
.te-tab.active .te-tab-count {
  background: rgba(255,255,255,0.25);
}

/* Apps Grid */
.te-apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.te-app-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #f0f0f0;
  text-decoration: none;
  transition: all 0.3s;
}
.te-app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  border-color: transparent;
}
.te-app-img {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.te-app-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.te-app-body {
  flex: 1;
  min-width: 0;
}
.te-app-body h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-dark);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.te-app-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
}
.te-badge-comunicacao {
  background: rgba(26,204,141,0.1);
  color: #17b57d;
}
.te-badge-sinais {
  background: rgba(63,67,253,0.08);
  color: var(--purple);
}
.te-badge-comportamento {
  background: rgba(245,158,11,0.1);
  color: #d97706;
}
.te-badge-aprendizagem {
  background: rgba(59,130,246,0.08);
  color: #3b82f6;
}
.te-app-arrow {
  flex: 0 0 auto;
  color: #d1d5db;
  font-size: 1rem;
  transition: color 0.2s;
}
.te-app-card:hover .te-app-arrow {
  color: var(--green);
}

/* CTA */
.te-cta {
  text-align: center;
  padding: 24px 0;
}
.te-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 20px;
}
.te-cta h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.te-cta p {
  font-size: 1rem;
  opacity: 0.85;
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.te-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 12px;
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}
.te-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  color: var(--primary);
  text-decoration: none;
}

/* TE Responsive */
@media (max-width: 991px) {
  .te-intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .te-intro-stats {
    flex-direction: row;
    justify-content: center;
  }
  .te-apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .te-intro-stats {
    flex-direction: column;
    align-items: stretch;
  }
  .te-apps-grid {
    grid-template-columns: 1fr;
  }
  .te-filter-tabs {
    gap: 6px;
  }
  .te-tab {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}

/* ========== LIVROS PAGE (lv-) ========== */

/* Author Card */
.lv-author-card {
  display: flex;
  gap: 48px;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.lv-author-img {
  flex: 0 0 320px;
  position: relative;
  overflow: hidden;
}
.lv-author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lv-author-body {
  flex: 1;
  padding: 40px 40px 40px 0;
}
.lv-author-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  margin-bottom: 12px;
}
.tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.lv-author-body h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 16px;
}
.lv-author-body p {
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.lv-author-stats {
  display: flex;
  gap: 32px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}
.lv-stat {
  text-align: center;
}
.lv-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}
.lv-stat span {
  font-size: 0.8rem;
  color: var(--gray);
}

/* Section Header */
.lv-section-header {
  text-align: center;
  margin-bottom: 48px;
}
.lv-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(26,204,141,0.08);
  color: var(--green);
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.lv-section-header h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.lv-section-header p {
  color: var(--gray);
  font-size: 1rem;
}

/* Books Grid */
.lv-books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.lv-book-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}
.lv-book-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}
.lv-book-cover {
  position: relative;
  height: 180px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.lv-book-spine {
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 100%;
  background: rgba(0,0,0,0.15);
}
.lv-book-cover i {
  font-size: 3rem;
  color: rgba(255,255,255,0.2);
}
.lv-book-info {
  padding: 20px;
  text-align: center;
}
.lv-book-info h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: 4px;
}
.lv-book-author {
  display: block;
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 12px;
}
.lv-book-dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
  transition: color 0.2s;
}
.lv-book-card:hover .lv-book-dl {
  color: var(--primary);
}

/* Collections Grid */
.lv-collections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.lv-collection-card {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  align-items: flex-start;
}
.lv-collection-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}
.lv-collection-icon {
  flex: 0 0 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(26,204,141,0.08);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.lv-collection-body h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.lv-collection-body p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 12px;
}
.lv-collection-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  transition: color 0.2s;
}
.lv-collection-card:hover .lv-collection-link {
  color: var(--green);
}

/* Featured Book */
.lv-featured-book {
  display: flex;
  gap: 48px;
  align-items: center;
}
.lv-featured-img {
  flex: 0 0 380px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.lv-featured-img img {
  width: 100%;
  display: block;
}
.lv-featured-overlay {
  position: absolute;
  inset: 0;
  background: rgba(1,4,131,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.lv-featured-overlay i {
  font-size: 2rem;
}
.lv-featured-img:hover .lv-featured-overlay {
  opacity: 1;
}
.lv-featured-body {
  flex: 1;
}
.lv-featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(26,204,141,0.1);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.lv-featured-body h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 16px;
}
.lv-featured-body p {
  color: var(--gray);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 24px;
}
.lv-featured-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  background: var(--gradient);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}
.lv-featured-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,204,141,0.3);
  color: var(--white);
  text-decoration: none;
}

/* LV Responsive */
@media (max-width: 991px) {
  .lv-author-card {
    flex-direction: column;
  }
  .lv-author-img {
    flex: none;
    height: 280px;
  }
  .lv-author-body {
    padding: 32px;
  }
  .lv-books-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lv-collections-grid {
    grid-template-columns: 1fr;
  }
  .lv-featured-book {
    flex-direction: column;
    gap: 32px;
  }
  .lv-featured-img {
    flex: none;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
}
@media (max-width: 575px) {
  .lv-author-body h2 {
    font-size: 1.5rem;
  }
  .lv-author-stats {
    flex-direction: column;
    gap: 16px;
  }
  .lv-books-grid {
    grid-template-columns: 1fr;
  }
  .lv-collection-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .lv-featured-body h2 {
    font-size: 1.5rem;
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
  .mobile-toggle { display: flex; }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    background: var(--white);
    padding: 80px 24px 24px;
    gap: 4px;
    box-shadow: var(--shadow-xl);
    transition: 0.4s ease;
    z-index: 999;
    overflow-y: auto;
  }
  .nav-links.active { right: 0; }
  .nav-links > li { width: 100%; }
  .nav-links > li > a {
    color: var(--gray-700) !important;
    width: 100%;
    padding: 12px 16px !important;
  }
  .nav-links > li > a:hover,
  .nav-links > li > a.active {
    color: var(--primary) !important;
    background: var(--gray-100) !important;
  }
  
  .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0 0 0 16px;
    display: none !important;
    pointer-events: auto;
  }
  .dropdown.open .dropdown-menu { display: block !important; }
  
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .hero-image-wrapper { max-width: 320px; margin: 0 auto; }
  
  .about-grid,
  .philosophy-grid,
  .contact-grid,
  .content-grid { grid-template-columns: 1fr; gap: 40px; }
  
  .content-grid-reverse .content-image { order: -1; }
  .content-image { text-align: center; }
  .content-image .image-frame img { max-height: 300px; }
  
  .contact-bg { display: none; }
  
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .tips-grid { grid-template-columns: 1fr 1fr; }
  
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
  section { padding: 70px 0; }
  
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { width: 40px; height: 1px; }
  
  .about-features { grid-template-columns: 1fr; }
  .philosophy-values { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tips-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .quote-block { padding: 28px 24px; }
  .alert-block { flex-direction: column; }
  .content-section { padding: 50px 0; }
  
  .floating-card { display: none; }
}
