/* =========================================
   GRUPO NEXTIL — DESIGN SYSTEM
   ========================================= */

:root {
  /* Brand Colors */
  --navy: #080846;
  --navy-deep: #050530;
  --blue: #1b3094;
  --blue-mid: #2d4bb5;
  --blue-light: #4c77c6;
  --blue-pale: #7ba3e0;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f4f4f5;
  --gray-200: #e4e4e7;
  --gray-400: #a1a1aa;
  --gray-500: #71717a;
  --gray-600: #52525b;
  --gray-900: #18181b;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --max-w: 1200px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 100px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ocultar seta no desktop */
.scroll-indicator {
  display: none;
}

/* =========================================
   RESET
   ========================================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s var(--ease);
}

ul {
  list-style: none;
}

/* =========================================
   LAYOUT UTILITIES
   ========================================= */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

.section {
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.text-white {
  color: var(--white) !important;
}

.text-accent {
  color: var(--blue-light);
}

/* Section Header Pattern */
.section-header {
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--blue-light);
  margin-bottom: 0.75rem;
}

.section-tag-light {
  color: var(--blue-pale);
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 580px;
}

.title-divider {
  font-weight: 200;
  color: var(--gray-200);
  margin: 0 0.25em;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9375rem;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(8, 8, 70, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-200);
}

.btn-outline:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.btn-header {
  background: var(--blue-light);
  color: var(--white);
  border-color: var(--blue-light);
  padding: 0.6rem 1.5rem;
  font-size: 0.875rem;
}

.btn-header:hover {
  background: var(--blue);
  border-color: var(--blue);
}

/* Card Button Variants */
.btn-card {
  width: 100%;
  margin-top: auto;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-card:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-card-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-card-white:hover {
  background: var(--gray-100);
  border-color: var(--gray-100);
  transform: none;
}

.btn-card-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-card-navy:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

.btn-card-accent {
  background: var(--blue-light);
  color: var(--white);
  border-color: var(--blue-light);
}

.btn-card-accent:hover {
  background: var(--blue-mid);
  border-color: var(--blue-mid);
}

/* =========================================
   IMAGE PLACEHOLDERS
   ========================================= */
.image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 420px;
  background: var(--gray-100);
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-weight: 500;
  font-size: 0.9375rem;
  text-align: center;
  padding: 2rem;
}

.hero-placeholder {
  min-height: 500px;
  border-radius: var(--radius-lg);
}

/* =========================================
   HEADER & TOP BAR
   ========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  transition: all 0.3s var(--ease);
}

.top-bar {
  width: 100%;
  background: var(--navy-deep);
  color: var(--gray-400);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.8rem 0;
  pointer-events: auto;
  transition: all 0.3s var(--ease);
  position: relative;
  /* For the scroll indicator */
}

.header.scrolled .top-bar {
  transform: translateY(-100%);
  opacity: 0;
  position: absolute;
}

.top-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.top-bar-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.top-bar-link {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.top-bar-link:hover,
.top-bar-link.active {
  color: var(--white);
}

.header.scrolled {
  padding-top: 0.6rem;
}

.header-inner {
  pointer-events: auto;
  background: var(--white);
  padding: 0.65rem 0.65rem 0.65rem 1.75rem;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 2rem;
  width: calc(100% - clamp(2rem, 6vw, 5rem));
  max-width: 1100px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s var(--ease);
  margin-top: 0.75rem;
}

.header.scrolled .header-inner {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

/* Logo */
.logo {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-shrink: 0;
}

.logo-grupo {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.logo-nextil {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.02em;
}

/* Nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.nav-link {
  color: var(--gray-600);
  font-weight: 500;
  font-size: 0.875rem;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-light);
  border-radius: 1px;
  transition: width 0.3s var(--ease);
}

.nav-link:hover {
  color: var(--navy);
}

.nav-link:hover::after {
  width: 100%;
}

/* Hamburger */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Drawer */
.mobile-drawer {
  pointer-events: auto;
  position: absolute;
  top: 100%;
  margin-top: 8px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: calc(100% - 2.5rem);
  max-width: 500px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
  z-index: 999;
}

.mobile-drawer.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mobile-link {
  display: block;
  padding: 0.875rem 1rem;
  font-weight: 500;
  font-size: 1rem;
  color: var(--gray-600);
  border-radius: 10px;
  transition: all 0.2s var(--ease);
}

.mobile-link:hover {
  background: var(--gray-100);
  color: var(--navy);
}

.mobile-cta {
  margin-top: 0.5rem;
  text-align: center;
}

/* =========================================
   HERO (Full-bleed with overlay)
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* 
     TO ADD YOUR BACKGROUND IMAGE:
     Replace the background below with:
     background: url('./assets/hero-bg.jpg') center/cover no-repeat;
  */
  background: url('./assets/hero_bg.webp') center/cover no-repeat;
  background-color: var(--navy-deep);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Dark gradient overlay — ensures text readability over any image */
  background:
    linear-gradient(180deg,
      rgba(5, 5, 48, 0.65) 0%,
      rgba(5, 5, 48, 0.80) 50%,
      rgba(5, 5, 48, 0.95) 100%);
  z-index: 1;
}

.hero-center {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  text-align: center;
  padding-top: clamp(7rem, 14vw, 10rem);
  padding-bottom: clamp(5rem, 10vw, 8rem);
}

.hero-content {
  max-width: 780px;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  color: rgba(255, 255, 255, 0.65);
  margin: 0 auto 3rem;
  max-width: 640px;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Buttons */
.btn-hero-primary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  padding: 1rem 2.25rem;
}

.btn-hero-primary:hover {
  background: var(--gray-100);
  border-color: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  padding: 1rem 2.25rem;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

/* =========================================
   ABOUT (QUEM SOMOS) — Curved Cutout Tab
   ========================================= */
.about {
  background: var(--gray-50);
  /* Gray background to make the white card pop */
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

/* Curved Cutout Implementation */
.curved-wrapper {
  position: relative;
  margin-top: 48px;
  /* Space for the tab */
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.06));
  /* Drop shadow applies to the entire composite shape */
}

.curved-tab {
  position: absolute;
  top: -48px;
  left: 0;
  height: 48px;
  background: var(--white);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  z-index: 2;
}

.curved-tab .mb-0 {
  margin-bottom: 0;
}

/* The inverted curve connecting the right side of the tab to the main body */
.curved-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -24px;
  width: 24px;
  height: 24px;
  /* Perfect inverted corner using radial-gradient */
  background: radial-gradient(circle at 100% 0, transparent 24px, var(--white) 24px);
  z-index: 1;
}

.curved-body {
  background: var(--white);
  /* Top-left is 0 because the tab is there */
  border-radius: 0 24px 24px 24px;
  padding: clamp(2rem, 4vw, 3.5rem);
}

.about-text .section-title {
  margin-top: 0;
}

.about-text .text-body p {
  font-size: 1.0625rem;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

/* =========================================
   FEATURES (DIFERENCIAIS)
/* =========================================
   FEATURES (DIFERENCIAIS) — Bento Grid
   ========================================= */
.features {
  background: var(--gray-50);
}

.features-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bento-content {
  padding: 2.5rem 2rem;
  z-index: 2;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Specific Bento Placements */
.bento-1 {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--navy-deep);
  color: var(--white);
  border: none;
}

.bento-2 {
  grid-column: span 2;
  grid-row: span 1;
  background: var(--navy);
  color: var(--white);
  border: none;
}

.bento-3 {
  grid-column: span 1;
  grid-row: span 1;
  background: var(--blue);
  color: var(--white);
  border: none;
}

.bento-4 {
  grid-column: span 1;
  grid-row: span 1;
  background: var(--blue-mid);
  color: var(--white);
  border: none;
}

.bento-5 {
  grid-column: span 4;
  background: var(--blue-light);
  color: var(--white);
  border: none;
}

/* Typography & Colors */
.feature-number {
  display: block;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--blue-light);
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  margin-top: auto;
}

.feature-desc {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Color Overrides for dark cards */
.feature-card .feature-title {
  color: var(--white);
}

.feature-card .feature-desc {
  color: rgba(255, 255, 255, 0.8);
}

.feature-card .feature-number {
  color: rgba(255, 255, 255, 0.4);
}

.bento-1 .feature-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.bento-1 .feature-desc {
  font-size: 1.125rem;
  max-width: 90%;
}

/* Giant Background Number for Bento 1 */
.bento-bg-num {
  position: absolute;
  bottom: -2rem;
  right: -1rem;
  font-size: 12rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  z-index: 1;
  pointer-events: none;
}

/* Bento Row for Card 5 */
.bento-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.bento-col {
  flex: 1;
  max-width: 600px;
}

.btn-card-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--navy);
  padding: 1rem 2rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: all 0.3s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.btn-card-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Hover effects */
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(8, 8, 70, 0.07);
  border-color: transparent;
}

.bento-1:hover {
  box-shadow: 0 16px 48px rgba(5, 5, 48, 0.25);
}

.bento-5:hover {
  box-shadow: 0 16px 48px rgba(45, 75, 181, 0.25);
}

/* =========================================
   BRANDS VERTICAL GRID
   ========================================= */
.brands-vertical-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.brand-vcard {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  box-shadow: 0 8px 24px rgba(5, 5, 48, 0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  min-height: 380px;
  min-width: 0;
  box-sizing: border-box;
}

.brand-vcard:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(5, 5, 48, 0.12);
  border-color: transparent;
}

.brand-vlogo {
  height: 64px;
  width: 100%;
  max-width: 160px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  align-self: center;
}

.brand-vtitle {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--navy);
}

.brand-vdesc {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.6;
  text-align: left;
}

.btn-brand {
  width: 100%;
  background: var(--navy-deep);
  color: var(--white);
  border: 1px solid var(--navy-deep);
  text-align: center;
  transition: all 0.3s var(--ease);
}

.btn-brand:hover {
  background: var(--blue-mid);
  border-color: var(--blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 75, 181, 0.2);
}

.mt-auto {
  margin-top: auto !important;
}

@media (max-width: 1024px) {
  .brands-vertical-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .brands-vertical-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   ECOSYSTEM (ECOSSISTEMA) — Stacked Rows
   ========================================= */
.ecosystem {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow in background */
.ecosystem::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(76, 119, 198, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.ecosystem::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 40%;
  height: 70%;
  background: radial-gradient(circle, rgba(45, 75, 181, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.ecosystem .section-title {
  color: var(--white);
}

.ecosystem .section-tag {
  color: var(--blue-pale);
}

.ecosystem .section-subtitle {
  color: rgba(255, 255, 255, 0.5);
}

.section-header-center {
  text-align: center;
}

.section-header-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.eco-stack {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.eco-row {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s var(--ease);
  text-decoration: none;
  color: var(--white);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 2px;
}

.eco-row:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Glassmorphism hover background */
.eco-row:hover {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.12);
  padding-left: clamp(2rem, 4vw, 3.5rem);
}

/* Animated bottom highlight on hover */
.eco-row::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  transition: width 0.5s var(--ease);
}

.eco-row-1::after {
  background: var(--white);
}

.eco-row-2::after {
  background: var(--blue-pale);
}

.eco-row-3::after {
  background: var(--blue-light);
}

.eco-row-4::after {
  background: var(--blue-pale);
}

.eco-row-5::after {
  background: var(--white);
}

.eco-row:hover::after {
  width: 100%;
}

/* Number */
.eco-num {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.1);
  letter-spacing: -0.03em;
  line-height: 1;
  flex-shrink: 0;
  min-width: 70px;
  transition: color 0.4s var(--ease);
}

.eco-row:hover .eco-num {
  color: rgba(255, 255, 255, 0.5);
}

/* Content */
.eco-info {
  flex: 1;
}

.eco-info h3 {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.375rem;
  transition: color 0.3s var(--ease);
}

.eco-info p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 600px;
}

.eco-row:hover .eco-info p {
  color: rgba(255, 255, 255, 0.7);
}

/* Arrow */
.eco-arrow {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
  opacity: 0;
  transform: translateX(-8px);
  text-decoration: none;
  position: relative;
}

/* Full row clickable area for desktop */
.eco-arrow::before {
  content: '';
  position: absolute;
  top: -500px;
  right: -500px;
  bottom: -500px;
  left: -500px;
  z-index: 10;
}

.eco-row:hover .eco-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--white);
}

/* Stagger reveals */
.eco-stack .eco-row:nth-child(1) {
  transition-delay: 0s;
}

.eco-stack .eco-row:nth-child(2) {
  transition-delay: 0.06s;
}

.eco-stack .eco-row:nth-child(3) {
  transition-delay: 0.12s;
}

.eco-stack .eco-row:nth-child(4) {
  transition-delay: 0.18s;
}

.eco-stack .eco-row:nth-child(5) {
  transition-delay: 0.24s;
}

/* =========================================
   AUDIENCE (PÚBLICO)
   ========================================= */
.audience {
  background: var(--gray-50);
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.audience-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  transition: transform 0.4s var(--ease);
}

.audience-card:hover {
  transform: translateY(-6px);
}

.audience-card-content {
  flex: 1;
}

.audience-card-dark {
  background: var(--navy-deep);
  color: var(--white);
}

.audience-card-primary {
  background: var(--blue);
  color: var(--white);
}

.audience-card-accent {
  background: var(--blue-light);
  color: var(--white);
}

.audience-card h3 {
  font-size: 1.625rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.audience-list {
  margin-bottom: 2.5rem;
  padding: 0;
  list-style: none;
}

.audience-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.875rem;
  font-size: 1rem;
  opacity: 0.92;
  line-height: 1.5;
}

.audience-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

/* =========================================
   PURPOSE (PROPÓSITO)
   ========================================= */
.purpose {
  background: var(--white);
}

.purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.purpose-title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.purpose-text {
  font-size: 1.0625rem;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.purpose-statement {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 2.5rem;
  line-height: 1.4;
  padding-left: 1.25rem;
  border-left: 3px solid var(--blue-light);
}

/* =========================================
   CAROUSEL (ONDE COMPRAR)
   ========================================= */
.carousel-section {
  background: var(--white);
}

.carousel-wrapper {
  position: relative;
}

.carousel-track-container {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s var(--ease);
}

.carousel-slide {
  min-width: 100%;
  width: 100%;
  max-width: 100%;
  flex-shrink: 0;
}

.carousel-card {
  display: flex;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
}

.card-dark {
  background: var(--navy-deep);
  color: var(--white);
}

.card-primary {
  background: var(--blue);
  color: var(--white);
}

.card-accent {
  background: var(--blue-light);
  color: var(--white);
}

.carousel-card .card-text {
  flex: 1;
  padding: clamp(2rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.carousel-card h3 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.carousel-card p {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 380px;
}

.carousel-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.carousel-card .card-image {
  flex: 1.1;
  position: relative;
  overflow: hidden;
  min-height: 250px;
}

.carousel-card .card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.carousel-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 100%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
  font-size: 0.9375rem;
}

/* Carousel Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  padding: 0;
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-200);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  padding: 0;
}

.carousel-dot.active {
  background: var(--navy);
  width: 28px;
  border-radius: 5px;
}

.carousel-arrows {
  position: absolute;
  top: calc(50% - 20px);
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 0.5rem;
  z-index: 10;
  transform: translateY(-50%);
}

.carousel-btn {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy);
  transition: all 0.3s var(--ease);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.85);
  color: var(--navy-deep);
  transform: scale(1.05);
}

/* =========================================
   FINAL CTA
   ========================================= */
.final-cta {
  position: relative;
  background: var(--navy-deep);
  background-image: url('./assets/contato_bg.webp');
  background-size: cover;
  background-position: center;
  padding: clamp(6rem, 12vw, 8rem) 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 5, 48, 0.95) 0%, rgba(45, 75, 181, 0.7) 60%, rgba(5, 5, 48, 0.2) 100%);
  z-index: 1;
}

.cta-container {
  position: relative;
  z-index: 2;
}

.cta-content {
  max-width: 650px;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.cta-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 2.5rem;
}

.cta-subtitle strong {
  font-weight: 800;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: clamp(4rem, 8vw, 6rem) 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-top: 1.25rem;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  transition: all 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-grid .footer-col:last-child h4 {
  text-align: right;
}

.footer-brand-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.btn-footer-brand {
  display: block;
  text-align: center;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s var(--ease);
  width: 190px;
}

.btn-footer-brand:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  transform: translateY(-2px);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  text-align: center;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: all 0.3s var(--ease);
}

.footer-social a:hover {
  background: var(--blue-mid);
  transform: translateY(-3px);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8125rem;
}

/* =========================================
   SCROLL REVEAL ANIMATIONS
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for bento grid children */
.features-bento .bento-1 {
  transition-delay: 0s;
}

.features-bento .bento-2 {
  transition-delay: 0.1s;
}

.features-bento .bento-3 {
  transition-delay: 0.2s;
}

.features-bento .bento-4 {
  transition-delay: 0.3s;
}

.features-bento .bento-5 {
  transition-delay: 0.4s;
}



.audience-grid .audience-card:nth-child(1) {
  transition-delay: 0s;
}

.audience-grid .audience-card:nth-child(2) {
  transition-delay: 0.1s;
}

.audience-grid .audience-card:nth-child(3) {
  transition-delay: 0.2s;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {

  .about-grid,
  .purpose-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100%;
    gap: 3rem;
  }

  .about-image {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  .about-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto !important;
  }

  .image-placeholder {
    min-height: 350px;
  }

  .features-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-1,
  .bento-2,
  .bento-3,
  .bento-4,
  .bento-5 {
    grid-column: span 2;
  }

  .bento-1 {
    grid-row: span 1;
  }

  .eco-num {
    min-width: 50px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .btn-header {
    display: none;
  }

  .top-bar-inner {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 1rem 0.3rem 1rem;
    gap: 1.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
  }

  .top-bar-inner::-webkit-scrollbar {
    height: 4px;
  }

  .top-bar-inner::-webkit-scrollbar-track {
    background: transparent;
  }

  .top-bar-inner::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
  }

  .top-bar-links {
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .top-bar-inner>span {
    display: none;
    /* Hide 'Ecossistema:' text on mobile to save space */
  }

  .scroll-indicator {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
    background: linear-gradient(to right, transparent, var(--navy-deep) 60%);
    color: var(--white);
    font-size: 1.25rem;
    pointer-events: auto;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
    z-index: 5;
  }

  .scroll-indicator.visible {
    opacity: 1;
    animation: pulseArrow 2s infinite ease-in-out;
  }

  @keyframes pulseArrow {
    0% {
      transform: translateX(0);
    }

    50% {
      transform: translateX(4px);
    }

    100% {
      transform: translateX(0);
    }
  }

  .mobile-menu-btn {
    display: flex;
  }

  .header-inner {
    padding: 0.65rem 1.25rem;
  }

  .audience {
    display: block;
    min-height: unset;
    align-items: unset;
  }

  .audience .container {
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
  }

  .audience-grid {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
  }

  .audience-card {
    width: 100%;
    max-width: 100%;
    padding: 2.5rem 1.5rem;
    text-align: center;
    align-items: center;
  }

  .audience-list {
    text-align: left;
    display: inline-block;
    max-width: 100%;
    margin: 0 auto 2.5rem auto;
  }

  .audience-card .btn-card {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: normal;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .features-bento {
    grid-template-columns: 1fr;
  }

  .bento-1,
  .bento-2,
  .bento-3,
  .bento-4,
  .bento-5 {
    grid-column: span 1;
  }

  .bento-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .bento-bg-num {
    font-size: 8rem;
    bottom: -1rem;
    right: -0.5rem;
  }

  .eco-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1.5rem;
  }

  .eco-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    opacity: 1;
    transform: none;
    margin-top: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .eco-arrow::before {
    display: none;
  }

  .carousel-card {
    flex-direction: column;
    min-height: auto;
  }

  .carousel-card .card-text {
    padding: 2.5rem 1.5rem;
  }

  .carousel-card h3 {
    font-size: 2rem;
  }

  .carousel-card p {
    margin-bottom: 2rem;
  }

  .carousel-card .btn {
    width: 100%;
    text-align: center;
    padding: 1rem;
    white-space: normal;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .carousel-card .card-image {
    min-height: 250px;
    flex: 1;
  }

  .carousel-img-placeholder {
    flex: 1;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-grid .footer-col:last-child {
    grid-column: span 2;
  }

  .footer-grid .footer-col:last-child h4 {
    text-align: center;
  }

  .footer-brand-buttons {
    align-items: center;
  }

  .carousel-controls {
    flex-direction: column-reverse;
    gap: 1.25rem;
    align-items: center;
  }

  .final-cta {
    background-position: 70% center;
    text-align: center;
  }

  .cta-overlay {
    background: linear-gradient(180deg, rgba(5, 5, 48, 0.95) 0%, rgba(45, 75, 181, 0.85) 100%);
  }

  .cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
  }
}

/* =========================================
   WHATSAPP FLOATING BUTTON
   ========================================= */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #FFF;
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* =========================================
   ANNOUNCEMENT BAR & EVENTS
   ========================================= */

.announcement-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-mid);
  color: var(--white);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  z-index: 1001;
  transition: all 0.3s var(--ease);
  width: 100%;
  pointer-events: auto;
}

.announcement-bar.hidden {
  display: none !important;
}

.announcement-bar-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: var(--max-w);
  width: 100%;
  justify-content: center;
}

.announcement-text {
  opacity: 0.9;
}

.announcement-cta {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.2s var(--ease);
}

.announcement-cta:hover {
  opacity: 0.8;
}

.announcement-close {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0 0.5rem;
  opacity: 0.7;
  transition: opacity 0.2s;
  position: absolute;
  right: 1rem;
}

.announcement-close:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .announcement-bar-inner {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
    padding-right: 2rem;
  }
  .announcement-close {
    top: 50%;
    transform: translateY(-50%);
  }
}

/* Nav Badge */
.nav-badge {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  margin-left: 6px;
  vertical-align: middle;
  position: relative;
  top: -1px;
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0% { box-shadow: 0 0 0 0 rgba(45, 75, 181, 0.4); }
  70% { box-shadow: 0 0 0 4px rgba(45, 75, 181, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 75, 181, 0); }
}

/* Event Page specific */
.hero-event {
  position: relative;
  padding: 12rem 0 6rem 0;
  background: url('assets/hero_feira.webp') center/cover no-repeat;
  background-color: var(--navy-deep);
  color: var(--white);
  text-align: center;
}

.hero-event .hero-overlay {
  background: linear-gradient(135deg, rgba(5,5,48,0.85) 0%, rgba(20,35,90,0.85) 100%);
}

.hero-event .container {
  position: relative;
  z-index: 2;
}

.hero-event h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-event p {
  font-size: 1.25rem;
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto;
}

.event-status-block {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  max-width: 700px;
  margin: -3rem auto 3rem auto;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.event-status-block h3 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.event-status-block p {
  color: var(--gray-500);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.event-status-badge {
  display: inline-block;
  background: var(--gray-100);
  color: var(--gray-600);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}


/* =========================================
   FENIM EVENT SPECIFIC
   ========================================= */

.event-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
  text-align: left;
}

.event-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-info-item h4 {
  font-size: 1rem;
  color: var(--navy);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.event-info-item p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.4;
}

.event-icon {
  color: var(--blue);
}

.chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.chip {
  background: var(--gray-100);
  color: var(--navy);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--gray-200);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 500;
}

.checklist li::before {
  content: '?';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 800;
}

@media (max-width: 768px) {
  .event-info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Fix mobile header overlapping hero content and titles */
  .hero {
    align-items: flex-start !important;
  }

  .hero-center {
    padding-top: 190px !important;
    padding-bottom: 5rem !important;
  }

  main[style*="padding-top"] {
    padding-top: 190px !important;
  }
}

/* =========================================
   MODAL (MAPA DA FEIRA)
   ========================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  position: relative;
  overflow: hidden;
  transform: translateY(20px);
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--gray-200);
}

.modal-title {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.125rem;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gray-500);
  cursor: pointer;
  line-height: 1;
  padding: 0.5rem;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--navy);
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  justify-content: center;
}

.modal-image-placeholder {
  width: 100%;
  aspect-ratio: 1080 / 1350;
  background: var(--gray-100);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  text-align: center;
  padding: 2rem;
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
}
