/* ==========================================
   TALENTOS CAPIXABA - DESIGN SYSTEM
   ========================================== */

   :root {
    /* Core Colors */
    --color-primary: hsl(142, 71%, 35%);
    --color-primary-light: hsl(142, 71%, 45%);
    --color-primary-dark: hsl(142, 71%, 25%);
    --color-primary-foreground: hsl(0, 0%, 100%);

    --color-accent: hsl(38, 92%, 50%);
    --color-accent-light: hsl(45, 93%, 47%);
    --color-accent-foreground: hsl(0, 0%, 10%);

    --color-secondary: hsl(150, 10%, 12%);
    --color-secondary-foreground: hsl(0, 0%, 98%);

    /* Background & Foreground */
    --color-background: hsl(0, 0%, 100%);
    --color-foreground: hsl(150, 10%, 10%);
    --color-muted: hsl(140, 10%, 95%);
    --color-muted-foreground: hsl(150, 10%, 40%);
    --color-border: hsl(140, 10%, 90%);

    /* Card */
    --color-card: hsl(0, 0%, 100%);
    --color-card-foreground: hsl(150, 10%, 10%);

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, hsla(142, 71%, 35%, 0.95) 0%, hsla(150, 10%, 12%, 0.95) 100%);
    --gradient-gold: linear-gradient(135deg, hsl(38, 92%, 50%) 0%, hsl(45, 93%, 47%) 100%);
    --gradient-dark: linear-gradient(180deg, hsl(150, 10%, 8%) 0%, hsl(150, 10%, 15%) 100%);

    /* Shadows */
    --shadow-card: 0 4px 24px -4px hsla(150, 10%, 10%, 0.1);
    --shadow-elevated: 0 12px 40px -8px hsla(150, 10%, 10%, 0.15);
    --shadow-glow: 0 0 40px hsla(142, 71%, 35%, 0.3);

    /* Spacing */
    --radius: 0.75rem;
    --container-max: 1400px;
    --container-padding: 2rem;

    /* Typography */
    --font-sans: 'Inter', system-ui, sans-serif;
    --font-display: 'Montserrat', system-ui, sans-serif;
  }

  /* ==========================================
     RESET & BASE STYLES
     ========================================== */

  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: var(--font-sans);
    background-color: var(--color-background);
    color: var(--color-foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }

  a {
    text-decoration: none;
    color: inherit;
  }

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

  button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
  }

  /* ==========================================
     UTILITIES
     ========================================== */

  .container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
  }

  .text-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .text-primary {
    color: var(--color-primary);
  }

  .hidden {
    display: none !important;
  }

  /* Animations */
  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes bounce {
    0%, 100% { transform: translateY(0) translateX(-50%); }
    50% { transform: translateY(-10px) translateX(-50%); }
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
  }

  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }

  .animate-fade-up {
    animation: fadeUp 0.6s ease-out forwards;
    opacity: 0;
  }

  .animate-fade-in {
    animation: fadeIn 0.3s ease-out forwards;
  }

  /* ==========================================
     BUTTONS
     ========================================== */

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    white-space: nowrap;
  }

  .btn-hero {
    background: var(--color-accent);
    color: var(--color-accent-foreground);
    box-shadow: 0 8px 24px -4px hsla(38, 92%, 50%, 0.4);
  }

  .btn-hero:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px -4px hsla(38, 92%, 50%, 0.5);
  }

  .btn-hero-outline {
    background: transparent;
    color: var(--color-primary-foreground);
    border: 2px solid hsla(0, 0%, 100%, 0.8);
    backdrop-filter: blur(4px);
  }

  .btn-hero-outline:hover {
    background: hsla(0, 0%, 100%, 0.1);
  }

  .btn-primary {
    background: var(--color-primary);
    color: var(--color-primary-foreground);
    box-shadow: var(--shadow-card);
  }

  .btn-primary:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-elevated);
  }

  /* ==========================================
     HEADER
     ========================================== */

  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: hsla(0, 0%, 100%, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid hsla(140, 10%, 90%, 0.5);
  }

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

  @media (min-width: 768px) {
    .header-content {
      height: 5rem;
    }
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
  }

  .logo:hover .logo-icon {
    box-shadow: var(--shadow-glow);
  }

  .logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-foreground);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.3s ease;
  }

  @media (min-width: 768px) {
    .logo-icon {
      width: 3rem;
      height: 3rem;
      font-size: 1.25rem;
    }
  }

  .logo-text {
    display: none;
  }

  @media (min-width: 640px) {
    .logo-text {
      display: flex;
      flex-direction: column;
    }
  }

  .logo-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--color-foreground);
    line-height: 1.3;
  }

  @media (min-width: 768px) {
    .logo-title {
      font-size: 1rem;
    }
  }

  .logo-subtitle {
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
  }

  /* Navigation */
  .nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
  }

  @media (min-width: 768px) {
    .nav-desktop {
      display: flex;
    }
  }

  .nav-link {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    padding: 0.25rem 0;
    position: relative;
    transition: color 0.3s ease;
    letter-spacing: 0.02em;
  }

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

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

  .nav-link.active::after {
    transform: scaleX(1);
  }

  /* Mobile Menu */
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    color: var(--color-foreground);
    border-radius: 0.5rem;
    transition: background 0.2s ease;
  }

  .menu-toggle:hover {
    background: var(--color-muted);
  }

  @media (min-width: 768px) {
    .menu-toggle {
      display: none;
    }
  }

  .menu-icon,
  .close-icon {
    width: 1.25rem;
    height: 1.25rem;
  }

  .nav-mobile {
    padding: 1rem;
    border-top: 1px solid hsla(140, 10%, 90%, 0.5);
  }

  @media (min-width: 768px) {
    .nav-mobile {
      display: none !important;
    }
  }

  .nav-mobile-link {
    display: block;
    padding: 0.75rem 1rem;
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--color-muted-foreground);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
  }

  .nav-mobile-link:hover,
  .nav-mobile-link.active {
    background: hsla(142, 71%, 35%, 0.1);
    color: var(--color-primary);
  }

  /* ==========================================
     HERO SECTION
     ========================================== */

  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
  }

  .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
  }

  .hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 5rem 0 3rem;
    max-width: 56rem;
    margin: 0 auto;
  }

  /* Hero Badge */
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: hsla(0, 0%, 100%, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid hsla(0, 0%, 100%, 0.2);
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    color: hsla(0, 0%, 100%, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
  }

  .badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--color-accent);
    animation: pulse 2s infinite;
  }

  /* Hero Title */
  .hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-primary-foreground);
    line-height: 1.1;
    margin-bottom: 1.5rem;
  }

  @media (min-width: 768px) {
    .hero-title {
      font-size: 3.25rem;
    }
  }

  @media (min-width: 1024px) {
    .hero-title {
      font-size: 4.5rem;
    }
  }

  .hero-title span {
    display: block;
    margin-top: 0.5rem;
  }

  /* Hero Subtitle */
  .hero-subtitle {
    color: hsla(0, 0%, 100%, 0.85);
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
  }

  @media (min-width: 768px) {
    .hero-subtitle {
      font-size: 1.25rem;
    }
  }

  /* Hero Buttons */
  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
  }

  @media (min-width: 640px) {
    .hero-buttons {
      flex-direction: row;
    }
  }

  /* Hero Stats */
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 42rem;
    margin: 0 auto;
  }

  @media (min-width: 768px) {
    .hero-stats {
      gap: 2rem;
    }
  }

  .stat-card {
    background: hsla(0, 0%, 100%, 0.1);
    backdrop-filter: blur(4px);
    border-radius: 0.75rem;
    padding: 1rem;
    border: 1px solid hsla(0, 0%, 100%, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  @media (min-width: 768px) {
    .stat-card {
      padding: 1.5rem;
      border-radius: 1rem;
    }
  }

  .stat-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
  }

  @media (min-width: 768px) {
    .stat-icon {
      width: 2rem;
      height: 2rem;
    }
  }

  .stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-primary-foreground);
  }

  @media (min-width: 768px) {
    .stat-number {
      font-size: 2.5rem;
    }
  }

  .stat-label {
    font-size: 0.75rem;
    color: hsla(0, 0%, 100%, 0.7);
    text-align: center;
  }

  @media (min-width: 768px) {
    .stat-label {
      font-size: 0.875rem;
    }
  }

  /* Scroll Indicator */
  .scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
  }

  .scroll-mouse {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid hsla(0, 0%, 100%, 0.3);
    border-radius: 9999px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0.5rem;
  }

  .scroll-wheel {
    width: 0.375rem;
    height: 0.75rem;
    background: hsla(0, 0%, 100%, 0.5);
    border-radius: 9999px;
    animation: pulse 2s infinite;
  }

  /* ==========================================
     ABOUT SECTION
     ========================================== */

  .about {
    padding: 5rem 0;
    background: var(--color-muted);
  }

  @media (min-width: 768px) {
    .about {
      padding: 8rem 0;
    }
  }

  .about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
  }

  @media (min-width: 1024px) {
    .about-content {
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
    }
  }

  /* Section Badge */
  .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: hsla(142, 71%, 35%, 0.1);
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
  }

  .badge-dot-green {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--color-primary);
  }

  /* Section Title */
  .section-title {
    font-size: 1.875rem;
    color: var(--color-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.2;
  }

  @media (min-width: 768px) {
    .section-title {
      font-size: 2.25rem;
    }
  }

  @media (min-width: 1024px) {
    .section-title {
      font-size: 3rem;
    }
  }

  .section-title-center {
    font-size: 1.875rem;
    color: var(--color-foreground);
    margin-bottom: 1rem;
    text-align: center;
  }

  @media (min-width: 768px) {
    .section-title-center {
      font-size: 2.25rem;
    }
  }

  /* About Text */
  .about-description {
    color: var(--color-muted-foreground);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1rem;
  }

  .about-description strong {
    color: var(--color-foreground);
  }

  .about-text-secondary {
    color: var(--color-muted-foreground);
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }

  /* President Card */
  .president-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--color-card);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-card);
  }

  .president-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: hsla(142, 71%, 35%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-family: var(--font-display);
    font-weight: 700;
    flex-shrink: 0;
  }

  .president-info {
    display: flex;
    flex-direction: column;
  }

  .president-name {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--color-foreground);
  }

  .president-role {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
  }

  /* Features Grid */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  @media (min-width: 768px) {
    .features-grid {
      gap: 1.5rem;
    }
  }

  .feature-card {
    background: var(--color-card);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
  }

  .feature-card:hover {
    box-shadow: var(--shadow-elevated);
    transform: translateY(-4px);
  }

  .feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: hsla(142, 71%, 35%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
  }

  .feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-primary);
    transition: color 0.3s ease;
  }

  .feature-card:hover .feature-icon {
    background: var(--color-primary);
  }

  .feature-card:hover .feature-icon svg {
    color: var(--color-primary-foreground);
  }

  .feature-title {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-foreground);
    margin-bottom: 0.5rem;
    font-size: 1rem;
  }

  .feature-description {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    line-height: 1.6;
  }

  /* ==========================================
     PARTNERS SECTION
     ========================================== */

  .partners {
    padding: 5rem 0;
    background: var(--color-background);
  }

  @media (min-width: 768px) {
    .partners {
      padding: 6rem 0;
    }
  }

  .partners-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 3rem;
  }

  .partners-subtitle {
    color: var(--color-muted-foreground);
  }

  .partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }

  .partner-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--color-card);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
  }

  .partner-card:hover {
    box-shadow: var(--shadow-elevated);
  }

  .partner-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    background: hsla(142, 71%, 35%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .partner-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--color-primary);
  }

  .partner-icon-gold {
    background: hsla(38, 92%, 50%, 0.1);
  }

  .partner-icon-gold span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-accent);
  }

  .partner-info {
    display: flex;
    flex-direction: column;
  }

  .partner-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--color-foreground);
  }

  .partner-role {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
  }

  /* ==========================================
     CTA SECTION
     ========================================== */

  .cta {
    padding: 5rem 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
  }

  @media (min-width: 768px) {
    .cta {
      padding: 6rem 0;
    }
  }

  .cta-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
  }

  .cta-decoration-1 {
    top: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    background: hsla(142, 71%, 35%, 0.1);
    transform: translateY(-50%) translateX(50%);
  }

  .cta-decoration-2 {
    bottom: 0;
    left: 0;
    width: 16rem;
    height: 16rem;
    background: hsla(38, 92%, 50%, 0.1);
    transform: translateY(50%) translateX(-50%);
  }

  .cta-content {
    position: relative;
    z-index: 10;
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
  }

  .section-badge-dark {
    background: hsla(142, 71%, 35%, 0.2);
  }

  .cta-title {
    font-size: 1.875rem;
    color: var(--color-secondary-foreground);
    margin-bottom: 1.5rem;
  }

  @media (min-width: 768px) {
    .cta-title {
      font-size: 2.25rem;
    }
  }

  @media (min-width: 1024px) {
    .cta-title {
      font-size: 3rem;
    }
  }

  .cta-subtitle {
    color: hsla(0, 0%, 100%, 0.8);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
  }

  /* ==========================================
     FOOTER
     ========================================== */

  .footer {
    background: var(--color-secondary);
    color: var(--color-secondary-foreground);
  }

  .footer-content {
    padding: 3rem 0;
  }

  @media (min-width: 768px) {
    .footer-content {
      padding: 2rem 0;
    }
  }

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

  @media (min-width: 768px) {
    .footer-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 3rem;
      padding-bottom: 30px;
    }
  }

  .footer-brand .logo-title,
  .footer-brand .logo-subtitle {
    color: var(--color-secondary-foreground);
  }

  .footer-brand .logo-subtitle {
    opacity: 0.7;
  }

  .footer-description {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: hsla(0, 0%, 100%, 0.8);
    line-height: 1.7;
  }

  .footer-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-nav a {
    font-size: 0.875rem;
    color: hsla(0, 0%, 100%, 0.8);
    transition: color 0.3s ease;
  }

  .footer-nav a:hover {
    color: var(--color-primary);
  }

  .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .contact-item svg {
    width: 1rem;
    height: 1rem;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
  }

  .contact-item p,
  .contact-item a {
    font-size: 0.875rem;
    color: hsla(0, 0%, 100%, 0.8);
    line-height: 1.6;
  }

  .contact-item a:hover {
    color: var(--color-primary);
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid hsla(0, 0%, 100%, 0.1);
    text-align: center;
  }

  @media (min-width: 768px) {
    .footer-bottom {
      flex-direction: row;
      justify-content: space-between;
    }
  }

  .footer-bottom p {
    font-size: 0.875rem;
    color: hsla(0, 0%, 100%, 0.6);
  }

  .footer-cnpj {
    font-size: 0.75rem !important;
  }

  /* ==========================================
     GALLERY SECTION
     ========================================== */

  .gallery {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--color-background) 0%, var(--color-muted) 50%, var(--color-background) 100%);
    position: relative;
    overflow: hidden;
  }

  .gallery-container {
    position: relative;
    z-index: 10;
  }

  .gallery-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
  }

  .gallery-decoration-1 {
    top: 0;
    left: 0;
    width: 18rem;
    height: 18rem;
    background: hsla(142, 71%, 35%, 0.08);
    transform: translate(-50%, -50%);
  }

  .gallery-decoration-2 {
    bottom: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    background: hsla(38, 92%, 50%, 0.08);
    transform: translate(50%, 50%);
  }

  .gallery-header {
    text-align: center;
    margin-bottom: 4rem;
  }

  .section-badge-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: hsla(142, 71%, 35%, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid hsla(142, 71%, 35%, 0.2);
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 500;
  }

  .section-badge-primary svg {
    width: 1rem;
    height: 1rem;
  }

  .gallery-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-foreground);
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
  }

  @media (min-width: 768px) {
    .gallery-title {
      font-size: 3rem;
    }
  }

  @media (min-width: 1024px) {
    .gallery-title {
      font-size: 3.5rem;
    }
  }

  .gallery-subtitle {
    font-size: 1.125rem;
    color: var(--color-muted-foreground);
    max-width: 40rem;
    margin: 0 auto;
  }

  /* Masonry Grid */
  .gallery-grid-masonry {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 72rem;
    margin: 0 auto;
  }

  @media (min-width: 768px) {
    .gallery-grid-masonry {
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }
  }

  .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    cursor: pointer;
    aspect-ratio: 1;
    box-shadow: 0 4px 24px -4px hsla(150, 10%, 10%, 0.15);
    transition: box-shadow 0.5s ease, transform 0.5s ease;
  }

  .gallery-item:hover {
    box-shadow: 0 12px 40px -8px hsla(150, 10%, 10%, 0.25);
    transform: translateY(-4px);
  }

  .gallery-item-tall {
    aspect-ratio: 3/4;
  }

  @media (min-width: 768px) {
    .gallery-item-tall {
      grid-row: span 2;
    }
  }

  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
  }

  .gallery-item:hover img {
    transform: scale(1.1);
  }

  /* Gradient overlay */
  .gallery-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsla(0, 0%, 0%, 0.8) 0%, hsla(0, 0%, 0%, 0.2) 50%, transparent 100%);
    opacity: 0.6;
    transition: opacity 0.3s ease;
  }

  .gallery-item:hover .gallery-gradient {
    opacity: 0.9;
  }

  /* Content overlay */
  .gallery-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
  }

  @media (min-width: 768px) {
    .gallery-content {
      padding: 1.5rem;
    }
  }

  .gallery-content > * {
    transform: translateY(1rem);
    transition: transform 0.3s ease;
  }

  .gallery-item:hover .gallery-content > * {
    transform: translateY(0);
  }

  .gallery-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    color: hsla(0, 0%, 100%, 0.8);
  }

  .gallery-item-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary-foreground);
    margin-top: 0.25rem;
  }

  @media (min-width: 768px) {
    .gallery-item-title {
      font-size: 1.25rem;
    }
  }

  /* Zoom icon */
  .gallery-zoom {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    background: hsla(0, 0%, 100%, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.75);
    transition: all 0.3s ease;
  }

  .gallery-item:hover .gallery-zoom {
    opacity: 1;
    transform: scale(1);
  }

  .gallery-zoom svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-primary-foreground);
  }

  /* Border glow */
  .gallery-border {
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    border: 2px solid transparent;
    pointer-events: none;
    transition: border-color 0.3s ease;
  }

  .gallery-item:hover .gallery-border {
    border-color: hsla(142, 71%, 35%, 0.5);
  }

  /* ==========================================
     LIGHTBOX
     ========================================== */

  .lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: hsla(0, 0%, 0%, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .lightbox.active {
    opacity: 1;
    visibility: visible;
  }

  .lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-foreground);
    background: hsla(0, 0%, 100%, 0.1);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .lightbox-close:hover {
    background: hsla(0, 0%, 100%, 0.2);
    color: var(--color-primary);
    transform: scale(1.1);
  }

  .lightbox-close svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  .lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px hsla(0, 0%, 0%, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
  }

  .lightbox.active .lightbox-image {
    transform: scale(1);
  }

footer.footer {
    padding: 24px;
}

section.hero {
    padding: 130px 30px 110px 30px;
}



/* ==========================================
   EDITAIS & DOCUMENTOS
   ========================================== */

.editais-hero {
  padding: 12rem 0 6rem;
  background: var(--color-primary-dark);
  color: var(--color-primary-foreground);
  text-align: center;
}

.editais-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 48rem;
  margin: 0 auto;
}

.editais-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .editais-title {
    font-size: 3rem;
  }
}

.editais-subtitle {
  font-size: 1.125rem;
  color: hsla(0, 0%, 100%, 0.8);
  line-height: 1.6;
}

.editais-section {
  padding: 5rem 0;
  background: var(--color-background);
}

.editais-wrapper {
  max-width: 56rem;
  margin: 0 auto;
}

.document-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.document-card:hover {
  box-shadow: var(--shadow-elevated);
  border-color: var(--color-primary);
}

.document-header {
  padding: 1.5rem;
  background: var(--color-muted);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .document-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.document-header-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.document-icon-wrapper {
  width: 3rem;
  height: 3rem;
  background: hsla(215, 90%, 35%, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.document-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.document-title-wrapper {
  display: flex;
  flex-direction: column;
}

.document-type {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--color-accent);
}

.document-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-foreground);
  font-weight: 600;
  line-height: 1.2;
}

.document-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  background: hsla(0, 0%, 100%, 0.5);
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  border: 1px solid var(--color-border);
}

.document-body {
  padding: 2rem;
}

.document-description {
  font-size: 1rem;
  color: var(--color-muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.document-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--color-muted);
  border-radius: 0.5rem;
  border: 1px solid var(--color-border);
}

@media (min-width: 640px) {
  .document-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.document-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.document-info-item svg {
  color: var(--color-primary);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.info-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted-foreground);
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.info-value {
  display: block;
  font-weight: 600;
  color: var(--color-foreground);
}

.document-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .document-actions {
    flex-direction: row;
  }
}

.document-actions .btn {
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  flex: 1;
}

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

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: hsla(215, 90%, 35%, 0.05);
}

.document-body.document-description.politica-body h2 {
  color: #126d34;
  letter-spacing: 1px;
  font-weight: 600;
  font-size: 30px;
}