/* ================================================================
   ESPAÇO & FOCO — Design System
   Home Office em Apartamentos Pequenos
   ================================================================ */

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

:root {
  /* Colors */
  --color-purple:       #6C63FF;
  --color-purple-dark:  #5A52E8;
  --color-purple-light: #EEF0FF;
  --color-teal:         #4ECDC4;
  --color-teal-dark:    #3BBBAA;
  --color-teal-light:   #E8FAFA;
  --color-rose:         #FF6B8A;
  --color-rose-light:   #FFF0F3;
  --color-amber:        #F59E0B;
  --color-amber-light:  #FFFBEB;
  --color-green:        #10B981;
  --color-green-light:  #ECFDF5;

  /* Neutrals */
  --color-dark:         #0F0E17;
  --color-dark-2:       #1A1A2E;
  --color-gray-900:     #111827;
  --color-gray-800:     #1F2937;
  --color-gray-700:     #374151;
  --color-gray-500:     #6B7280;
  --color-gray-400:     #9CA3AF;
  --color-gray-200:     #E5E7EB;
  --color-gray-100:     #F3F4F6;
  --color-gray-50:      #F9FAFB;
  --color-white:        #FFFFFF;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #6C63FF 0%, #4ECDC4 100%);
  --gradient-dark:    linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Lora', Georgia, serif;

  /* Spacing */
  --section-py: 5rem;
  --section-sm-py: 3rem;
  --container-max: 1200px;
  --container-px: 1.5rem;

  /* Borders */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.09);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-purple: 0 8px 30px rgba(108,99,255,0.25);

  /* Transitions */
  --trans-fast: 150ms ease;
  --trans-base: 250ms ease;
  --trans-slow: 400ms ease;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-gray-50);
  color: var(--color-gray-700);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* ─── Sections ─── */
.section     { padding: var(--section-py) 0; }
.section-sm  { padding: var(--section-sm-py) 0; }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--color-gray-900);
  line-height: 1.2;
}

.section-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-purple);
  transition: color var(--trans-fast);
  white-space: nowrap;
}
.section-link:hover { color: var(--color-purple-dark); }

.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-purple);
  background: var(--color-purple-light);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 0.7rem 1.4rem;
  transition: all var(--trans-base);
  white-space: nowrap;
  line-height: 1.2;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-purple);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(108,99,255,0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--color-purple);
  border: 2px solid rgba(108,99,255,0.3);
}
.btn-ghost:hover {
  background: var(--color-purple-light);
  border-color: var(--color-purple);
}

.btn-outline {
  background: transparent;
  color: var(--color-purple);
  border: 2px solid currentColor;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}
.btn-outline:hover {
  background: var(--color-purple);
  color: var(--color-white);
}

.btn-sm { font-size: 0.875rem; padding: 0.5rem 1rem; }
.btn-lg { font-size: 1rem; padding: 0.9rem 2rem; }

/* ─── Gradient Text ─── */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Accent ─── */
.accent { color: var(--color-purple); }

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-gray-200);
  box-shadow: var(--shadow-xs);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 68px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-icon {
  flex-shrink: 0;
  transition: transform var(--trans-base);
}
.brand:hover .brand-icon { transform: rotate(-5deg) scale(1.05); }

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-gray-900);
  letter-spacing: -0.02em;
}

.brand-tagline {
  display: none !important;
}

/* Nav */
.main-nav { margin-left: auto; }

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav > ul > li { position: relative; }

.main-nav > ul > li > a {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-gray-700);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--trans-fast);
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
  color: var(--color-purple);
  background: var(--color-purple-light);
}

/* Dropdown */
.has-dropdown { position: relative; }

.dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all var(--trans-base);
  z-index: 200;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-700);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--trans-fast);
}
.dropdown li a:hover {
  color: var(--color-purple);
  background: var(--color-purple-light);
}

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: 1rem; }

.btn-search {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  color: var(--color-gray-500);
  transition: all var(--trans-fast);
}
.btn-search:hover { background: var(--color-gray-100); color: var(--color-purple); }

.btn-menu-mobile {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  padding: 6px;
  transition: background var(--trans-fast);
}
.btn-menu-mobile:hover { background: var(--color-gray-100); }
.btn-menu-mobile span {
  display: block;
  height: 2px;
  background: var(--color-gray-700);
  border-radius: 2px;
  transition: all var(--trans-base);
}
.btn-menu-mobile.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.btn-menu-mobile.is-open span:nth-child(2) { opacity: 0; }
.btn-menu-mobile.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  background: var(--color-white);
  border-top: 1px solid var(--color-gray-200);
  padding: 1rem var(--container-px);
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--trans-slow);
}
.mobile-nav.is-open { max-height: 500px; }
.mobile-nav li a {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-gray-700);
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--color-gray-100);
}
.mobile-nav li:last-child a { border-bottom: none; }
.mobile-nav li a:hover { color: var(--color-purple); }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 6rem;
  background: var(--gradient-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 50%, rgba(108,99,255,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 20% 80%, rgba(78,205,196,0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* Decorative dots */
.hero::before {
  content: '';
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 300px;
  height: 300px;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-teal);
  background: rgba(78,205,196,0.12);
  border: 1px solid rgba(78,205,196,0.2);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-white);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* Hero Visual */
.hero-visual { position: relative; }

.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
  aspect-ratio: 4/3;
  background: var(--color-gray-800);
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-slow);
}
.hero-img-wrap:hover img { transform: scale(1.03); }


/* ================================================================
   CATEGORIES STRIP
   ================================================================ */
.categories-strip { background: var(--color-white); border-bottom: 1px solid var(--color-gray-200); }

.cats-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  scrollbar-width: none;
}
.cats-grid::-webkit-scrollbar { display: none; }

.cat-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all var(--trans-base);
  flex-shrink: 0;
  border: 2px solid transparent;
}

.cat-icon { font-size: 1rem; }

.cat-purple { background: var(--color-purple-light); color: var(--color-purple); border-color: rgba(108,99,255,0.2); }
.cat-purple:hover { background: var(--color-purple); color: var(--color-white); transform: translateY(-2px); }

.cat-teal { background: var(--color-teal-light); color: var(--color-teal-dark); border-color: rgba(78,205,196,0.2); }
.cat-teal:hover { background: var(--color-teal); color: var(--color-white); transform: translateY(-2px); }

.cat-rose { background: var(--color-rose-light); color: var(--color-rose); border-color: rgba(255,107,138,0.2); }
.cat-rose:hover { background: var(--color-rose); color: var(--color-white); transform: translateY(-2px); }

.cat-amber { background: var(--color-amber-light); color: #B45309; border-color: rgba(245,158,11,0.2); }
.cat-amber:hover { background: var(--color-amber); color: var(--color-white); transform: translateY(-2px); }

.cat-green { background: var(--color-green-light); color: #047857; border-color: rgba(16,185,129,0.2); }
.cat-green:hover { background: var(--color-green); color: var(--color-white); transform: translateY(-2px); }

/* ================================================================
   FEATURED SECTION
   ================================================================ */
.featured-section { background: var(--color-white); }

.featured-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2rem;
}

.post-featured {
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--trans-base);
}
.post-featured:hover { box-shadow: var(--shadow-md); }

.post-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-gray-100);
}
.post-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-slow);
}
.post-featured:hover .post-img-wrap img { transform: scale(1.04); }

.post-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-purple);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  z-index: 1;
}

.post-content { padding: 1.75rem; }

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
}

.post-cat {
  font-weight: 700;
  color: var(--color-purple);
  background: var(--color-purple-light);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.post-cat:hover { background: var(--color-purple); color: var(--color-white); }

time { color: var(--color-gray-400); }
.read-time { color: var(--color-gray-400); }

.post-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-gray-900);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
.post-title a:hover { color: var(--color-purple); }

.post-excerpt {
  font-size: 0.9rem;
  color: var(--color-gray-500);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Posts Side */
.posts-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.post-card-horizontal {
  display: flex;
  gap: 1rem;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  padding: 0.9rem;
  transition: all var(--trans-base);
}
.post-card-horizontal:hover {
  border-color: var(--color-purple);
  box-shadow: var(--shadow-sm);
  transform: translateX(3px);
}

.post-img-sm {
  flex-shrink: 0;
  width: 90px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-gray-100);
}
.post-img-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-slow);
}
.post-card-horizontal:hover .post-img-sm img { transform: scale(1.06); }

.post-content-sm { flex: 1; min-width: 0; }

.post-meta-sm {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
}
.post-content-sm h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-gray-800);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-content-sm h4 a:hover { color: var(--color-purple); }

/* ================================================================
   VALUE SECTION
   ================================================================ */
.value-section {
  position: relative;
  background: var(--color-gray-50);
  overflow: hidden;
}

.value-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(108,99,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.value-text p {
  font-size: 1rem;
  color: var(--color-gray-500);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.value-list {
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.value-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-gray-700);
}

.value-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.value-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-gray-200);
  background: var(--color-white);
  box-shadow: var(--shadow-xs);
  transition: all var(--trans-base);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.value-card:hover.vc-1 { border-color: rgba(108,99,255,0.3); }
.value-card:hover.vc-2 { border-color: rgba(78,205,196,0.3); }
.value-card:hover.vc-3 { border-color: rgba(245,158,11,0.3); }
.value-card:hover.vc-4 { border-color: rgba(16,185,129,0.3); }

.vc-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.value-card h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-gray-900);
  margin-bottom: 0.4rem;
}
.value-card p {
  font-size: 0.83rem;
  color: var(--color-gray-500);
  line-height: 1.6;
}

/* ================================================================
   POSTS GRID
   ================================================================ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.post-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all var(--trans-base);
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(108,99,255,0.2);
}

.post-card-img-link { display: block; }
.post-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-gray-100);
}
.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-slow);
}
.post-card:hover .post-card-img img { transform: scale(1.06); }

.post-card-body {
  padding: 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-body h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-gray-900);
  line-height: 1.4;
  margin-bottom: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card-body h3 a:hover { color: var(--color-purple); }

.post-card-body p {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  line-height: 1.65;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}

.post-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-gray-100);
}
.read-time { display: none; }
.post-read-link {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--color-purple);
  margin-left: auto;
}
.post-read-link:hover { text-decoration: underline; }
.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.article-read-link {
  margin-left: auto;
}

.posts-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ================================================================
   NEWSLETTER
   ================================================================ */
.newsletter-section {
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 100% 50%, rgba(108,99,255,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 0% 50%, rgba(78,205,196,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.newsletter-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.nl-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-teal);
  background: rgba(78,205,196,0.12);
  border: 1px solid rgba(78,205,196,0.2);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.newsletter-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.newsletter-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

.nl-input-wrap {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.nl-input-wrap input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--trans-fast);
}
.nl-input-wrap input::placeholder { color: rgba(255,255,255,0.4); }
.nl-input-wrap input:focus {
  outline: none;
  border-color: rgba(108,99,255,0.6);
}

.nl-privacy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.nl-privacy a { color: rgba(255,255,255,0.6); text-decoration: underline; }
.nl-privacy a:hover { color: var(--color-white); }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer { background: var(--color-dark-2); }

.footer-top { padding: 4rem 0 3rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  width: fit-content;
}
.footer-brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-white);
}

.footer-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-contact {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}
.footer-contact a { color: var(--color-teal); }
.footer-contact a:hover { text-decoration: underline; }

.footer-affiliate-disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
  padding: 0.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
}

.footer-heading {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--trans-fast);
  line-height: 1.5;
}
.footer-links li a:hover { color: var(--color-teal); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.5rem 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.35);
}
.footer-legal { font-size: 0.78rem !important; }

/* ================================================================
   SEARCH OVERLAY
   ================================================================ */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,10,20,0.85);
  backdrop-filter: blur(8px);
  z-index: 500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans-base);
}
.search-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.search-box {
  position: relative;
  width: 100%;
  max-width: 600px;
  padding: 0 var(--container-px);
}
.search-close {
  position: absolute;
  top: -3rem;
  right: var(--container-px);
  color: rgba(255,255,255,0.6);
  font-size: 1.2rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: all var(--trans-fast);
}
.search-close:hover { color: var(--color-white); background: rgba(255,255,255,0.1); }

.search-box input {
  width: 100%;
  padding: 1.1rem 1.5rem;
  font-size: 1.2rem;
  font-family: var(--font-sans);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  color: var(--color-white);
  transition: border-color var(--trans-fast);
}
.search-box input::placeholder { color: rgba(255,255,255,0.35); }
.search-box input:focus { outline: none; border-color: rgba(108,99,255,0.7); }

.search-hint {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .newsletter-inner { gap: 2.5rem; }
  .value-grid { gap: 3rem; }
}

@media (max-width: 768px) {
  :root { --section-py: 3rem; --section-sm-py: 2rem; }

  /* Header */
  .main-nav { display: none; }
  .btn-menu-mobile { display: flex; }
  .mobile-nav { display: block; }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: -1; }
  .hero-title { font-size: clamp(1.75rem, 5vw, 2.5rem); }

  /* Featured */
  .featured-grid { grid-template-columns: 1fr; }
  .posts-side { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

  /* Grid */
  .posts-grid { grid-template-columns: 1fr 1fr; }

  /* Value */
  .value-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .value-cards { grid-template-columns: 1fr 1fr; }

  /* Newsletter */
  .newsletter-inner { grid-template-columns: 1fr; gap: 2rem; }
  .nl-input-wrap { flex-direction: column; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-stats { gap: 1rem; }
  .posts-grid { grid-template-columns: 1fr; }
  .posts-side { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .value-cards { grid-template-columns: 1fr; }
}

/* ─── Utilities ─── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* Fade in animation for page load */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content { animation: fadeUp 0.6s ease both; }
.hero-visual  { animation: fadeUp 0.6s ease 0.15s both; }

/* ================================================================
   COOKIE CONSENT POPUP CARD (Card Flutuante Arredondado)
   ================================================================ */
#cookiePopupCard {
  position: fixed !important;
  bottom: 24px !important;
  left: 24px !important;
  right: auto !important;
  z-index: 2147483647 !important;
  background: #181b22 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5) !important;
  padding: 14px 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1.5rem !important;
  max-width: 560px !important;
  box-sizing: border-box !important;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
  font-size: 0.9rem !important;
  line-height: 1.45 !important;
  opacity: 0 !important;
  transform: translateY(20px) !important;
  transition: opacity 0.35s ease, transform 0.35s ease !important;
  pointer-events: none !important;
}

#cookiePopupCard.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

#cookiePopupCard.is-hiding {
  opacity: 0 !important;
  transform: translateY(20px) !important;
  pointer-events: none !important;
}

#cookiePopupCard * {
  box-sizing: border-box !important;
}

.cookie-popup-content {
  flex: 1 1 auto !important;
  color: #ffffff !important;
  font-size: 0.88rem !important;
  line-height: 1.45 !important;
  margin: 0 !important;
}

.cookie-popup-content a {
  color: #ffffff !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  font-weight: 500 !important;
  transition: color 0.15s ease !important;
}

.cookie-popup-content a:hover {
  color: #38bdf8 !important;
}

.cookie-popup-actions {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

.btn-cookie-agree {
  background: #3b82f6 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 0.6rem 1.4rem !important;
  font-family: inherit !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: background 0.15s ease, transform 0.1s ease !important;
  outline: none !important;
}

.btn-cookie-agree:hover {
  background: #2563eb !important;
  transform: translateY(-1px) !important;
}

.btn-cookie-agree:active {
  transform: translateY(0) !important;
}

@media (max-width: 640px) {
  #cookiePopupCard {
    bottom: 16px !important;
    left: 16px !important;
    right: 16px !important;
    max-width: none !important;
    padding: 12px 16px !important;
    gap: 0.85rem !important;
    font-size: 0.825rem !important;
  }
  .cookie-popup-content {
    font-size: 0.825rem !important;
  }
  .btn-cookie-agree {
    padding: 0.5rem 1.15rem !important;
    font-size: 0.825rem !important;
  }
}


