/* ===================================================================
   GRUPO PROPENZA - GROWTH MAP LANDING PAGE
   DESIGN SYSTEM & CUSTOM STYLES (TASTE-SKILL 2.5 ANTI-SLOP SPEC)
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&display=swap');

:root {
  /* Core Brand Colors */
  --color-bg-dark: #131227;
  --color-bg-dark-card: #181733;
  --color-bg-dark-card-hover: #1f1d40;
  --color-bg-light: #ffffff;
  --color-bg-light-muted: #f7f7fa;

  --color-text-light: #f5f5f7;
  --color-text-muted: #9f9ea8;
  --color-text-dim: #6c6b78;

  --color-text-dark: #131227;
  --color-text-dark-muted: #4a485c;

  /* Metallic Gold Gradient & Accent */
  --gold-start: #d7af6f;
  --gold-mid: #f1e8d4;
  --gold-end: #d7af6f;
  --gradient-gold: linear-gradient(135deg, #d7af6f 0%, #f1e8d4 50%, #d7af6f 100%);
  --color-illumination: #f1e8d4;

  /* Borders & Outlines */
  --border-white-faint: rgba(255, 255, 255, 0.12);
  --border-white-mid: rgba(255, 255, 255, 0.25);
  --border-white-strong: rgba(255, 255, 255, 0.6);
  --border-dark-faint: rgba(19, 18, 39, 0.12);
  --border-dark-mid: rgba(19, 18, 39, 0.28);

  /* Typography */
  --font-family: "Gilroy", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Strict Angular Geometry (Rule: No rounded corners) */
  --radius-none: 0px;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important; /* Strict sharp-edge requirement */
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
}

/* Ambient Illumination Layer (#f1e8d4) */
.ambient-glow {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50% !important; /* Visual radial glow blur */
  background: radial-gradient(circle, rgba(241, 232, 212, 0.08) 0%, rgba(241, 232, 212, 0) 70%);
  filter: blur(80px);
}

.ambient-glow-subtle {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(215, 175, 111, 0.06) 0%, rgba(19, 18, 39, 0) 70%);
  filter: blur(100px);
}

/* Typography Utility */
.font-gold-gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 18px;
  border-radius: 9999px !important; /* Retângulo 100% border-radius / circular */
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important; /* Traçado branco meio apagado */
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.eyebrow::before {
  display: none !important; /* Remove quadradinho */
}

.section-white .eyebrow,
.eyebrow-dark {
  border: 1px solid rgba(19, 18, 39, 0.22) !important;
  color: #131227 !important;
  background: transparent !important;
}

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

/* Containers & Grid */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}

.section {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

/* Alternate Section Background Colors */
.section-darker {
  background-color: #0c0b1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-deep {
  background-color: #070611;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Subtle Low-Opacity Background Watermarks */
.bg-watermark {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.bg-watermark-star {
  opacity: 0.032;
  filter: invert(1);
}

.bg-watermark-photo {
  opacity: 0.035;
  filter: grayscale(100%) contrast(120%);
  object-fit: cover;
}

/* Sequential Stagger Animation for Dobra 6 */
.stagger-card {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.stagger-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 3 White Sections Specification */
.section-white {
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  border-bottom: 1px solid var(--border-dark-faint);
}

.section-white h1, 
.section-white h2, 
.section-white h3, 
.section-white h4 {
  color: var(--color-text-dark);
}

.section-white p {
  color: var(--color-text-dark-muted);
}

/* Linear Outline Cards (Sem opacidade no centro) */
.outline-card {
  background: transparent;
  border: 1px solid var(--border-white-faint);
  padding: 32px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.outline-card:hover {
  border-color: var(--border-white-strong);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.outline-card-purple {
  background: rgba(24, 23, 51, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 32px;
  position: relative;
  transition: all 0.3s ease;
}

.outline-card-purple:hover {
  background: rgba(31, 29, 64, 0.6);
  border-color: var(--gold-start);
  transform: translateY(-3px);
}

.outline-card-white {
  background: #ffffff;
  border: 1px solid var(--border-dark-mid);
  padding: 32px;
  position: relative;
  transition: all 0.3s ease;
}

.outline-card-white:hover {
  border-color: var(--color-text-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(19, 18, 39, 0.08);
}

/* Buttons (Candidatura & Actions) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: var(--font-family);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  border: none;
  outline: none;
}

.btn-gold {
  background: var(--gradient-gold);
  color: var(--color-text-dark);
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(215, 175, 111, 0.25);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(215, 175, 111, 0.45);
  filter: brightness(1.05);
}

.btn-outline-gold {
  background: transparent;
  color: var(--color-illumination);
  border: 1px solid var(--gold-start);
}

.btn-outline-gold:hover {
  background: var(--gradient-gold);
  color: var(--color-text-dark);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-dark {
  background: var(--color-bg-dark);
  color: var(--color-illumination);
  border: 1px solid var(--color-bg-dark);
}

.btn-dark:hover {
  background: #1e1d3b;
  transform: translateY(-2px);
}

.microcopy {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 10px;
}

.section-white .microcopy {
  color: var(--color-text-dark-muted);
}

/* Navbar & Top Variant Banner */
.variant-banner {
  background: #0b0a17;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 20px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 38px;
  z-index: 102;
}

.navbar {
  position: fixed;
  top: 38px; /* Positioned right below the variant banner */
  left: 0;
  width: 100%;
  height: 74px;
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(19, 18, 39, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  height: 66px;
  background: rgba(19, 18, 39, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.navbar .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text-light);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--gold-start);
}

.variant-btn-group {
  display: flex;
  gap: 4px;
}

.variant-btn {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2px 10px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}

.variant-btn.active {
  background: var(--gradient-gold);
  color: #131227;
  border-color: transparent;
  font-weight: 700;
}

/* Logo Ticker / Continuous Carousel (Dobra 1) */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  border-top: none !important;
  border-bottom: none !important;
  background: transparent !important;
  position: relative;
}

.ticker {
  display: flex;
  width: max-content;
  animation: tickerSlide 35s linear infinite;
}

.ticker:hover {
  animation-play-state: paused;
}

.ticker-item {
  flex-shrink: 0;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ticker-item img {
  height: 34px;
  max-width: 170px;
  object-fit: contain;
  opacity: 0.85;
  transition: all 0.25s ease;
}

.ticker-item:hover img {
  opacity: 1;
  transform: scale(1.06);
}

/* Hero elements immediate visibility */
#hero .reveal-on-scroll {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* White Section Continuous Logo Ticker (Dobra 7) */
.ticker-wrap-white {
  width: 100%;
  overflow: hidden;
  padding: 32px 0;
  border-top: 1px solid rgba(19, 18, 39, 0.08);
  border-bottom: 1px solid rgba(19, 18, 39, 0.08);
  background: #ffffff;
  position: relative;
}

.ticker-item-white {
  flex-shrink: 0;
  padding: 0 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ticker-item-white img {
  height: 38px;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.85) contrast(150%) brightness(40%);
  transition: all 0.25s ease;
}

.ticker-item-white:hover img {
  filter: grayscale(0%) opacity(1) contrast(100%) brightness(100%);
  transform: scale(1.06);
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Timeline / Process (Dobra 5) */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.timeline-step {
  border: 1px solid var(--border-white-faint);
  background: rgba(24, 23, 51, 0.3);
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.step-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold-start);
  margin-bottom: 12px;
  font-family: var(--font-family);
}

/* Units Grid (Dobra 9) */
.units-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.unit-card {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(24, 23, 51, 0.3);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s;
}

.unit-card:hover {
  border-color: var(--gold-start);
  background: rgba(31, 29, 64, 0.6);
  transform: translateY(-4px);
}

.unit-logo-container {
  height: 48px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.unit-logo-container img {
  max-height: 40px;
  max-width: 100%;
  object-fit: contain;
}

.unit-link {
  color: var(--gold-mid);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.unit-link:hover {
  color: #fff;
  gap: 10px;
}

/* Pricing Card (Dobra 10) */
.price-card {
  max-width: 640px;
  margin: 0 auto;
  border: 2px solid var(--gold-start);
  background: #ffffff;
  color: var(--color-text-dark);
  padding: 48px 40px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.price-card .price-value {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--color-text-dark);
  margin: 20px 0 10px;
}

/* FAQ Accordion (Dobra 11) */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border-white-faint);
  background: rgba(24, 23, 51, 0.25);
  transition: border-color 0.2s;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px 28px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s;
  color: var(--gold-start);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 28px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  padding-bottom: 24px;
}

/* POPUP MODAL (CANDIDATURA) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 9, 20, 0.88);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--color-bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  max-width: 640px;
  max-height: 94vh;
  overflow-y: auto;
  padding: 32px 36px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
  transform: scale(0.96) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.15rem;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: #ffffff;
  color: #131227;
  border-color: #ffffff;
}

/* Form Styles */
.form-group {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--color-illumination);
}

.form-input, .form-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 10px 14px;
  color: #ffffff;
  font-family: var(--font-family);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-select option {
  background: #181733;
  color: #ffffff;
}

.form-input:focus, .form-select:focus {
  border-color: var(--gold-start);
  background: rgba(255, 255, 255, 0.07);
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin: 16px 0;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold-start);
  flex-shrink: 0;
}

/* Success Confirmation Screen in Modal */
.modal-success-screen {
  display: none;
  text-align: center;
  padding: 30px 10px;
}

.modal-success-screen.active {
  display: block;
}

/* Scroll Animation (IntersectionObserver Reveal) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .units-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Mobile menu simplification */
  }

  .timeline-grid {
    grid-template-columns: 1fr;
  }

  .units-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile Fullscreen Modal Rule */
  .modal-overlay {
    padding: 0;
  }
  .modal-content {
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    padding: 32px 20px;
  }

  .price-card {
    padding: 32px 20px;
  }
  .price-card .price-value {
    font-size: 3rem;
  }
}

/* =========================================================================
   PROPENZA TYPOGRAPHY & BRAND DUAL-TONE (from official asset)
   ========================================================================= */
.font-propenza-gold {
  color: #ddae6b !important;
  font-weight: 800;
}

.font-propenza-cream {
  color: #f2e8d5 !important;
  font-weight: 800;
}

/* =========================================================================
   DOBRA 6 FEATURED BACKGROUND (DISTINCT MIDNIGHT OBSIDIAN WITH GOLD GLOW)
   ========================================================================= */
.section-deep-featured {
  background: radial-gradient(circle at 50% 12%, rgba(221, 174, 107, 0.06) 0%, rgba(6, 5, 14, 0.98) 65%), #06050e !important;
  position: relative;
  overflow: hidden;
}

/* =========================================================================
   DOBRA 7 CLIENT LOGOS FULL GRID (GRADE COMPLETA - HIGH CONTRAST)
   ========================================================================= */
.client-grid-full {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 28px;
}

@media (max-width: 1200px) {
  .client-grid-full {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .client-grid-full {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .client-grid-full {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.client-card-tile {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 18px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  border-radius: 0 !important;
}

.client-card-tile:hover {
  background: rgba(221, 174, 107, 0.08);
  border-color: var(--gold-start);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
}

.client-card-tile img {
  max-height: 40px;
  max-width: 82%;
  object-fit: contain;
  opacity: 0.88;
  transition: all 0.25s ease;
  filter: brightness(100%);
}

.client-card-tile:hover img {
  opacity: 1;
  transform: scale(1.08);
}

/* Print Lightbox Trigger Cards */
.print-card-interactive {
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.print-card-interactive:hover {
  border-color: var(--gold-start) !important;
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
}

.print-card-interactive:hover img {
  transform: scale(1.03);
}

/* Lightbox Modal Overlay */
.print-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 4, 13, 0.96);
  backdrop-filter: blur(16px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.print-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.print-lightbox-container {
  max-width: 1100px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background: #0c0b1a;
  border: 1px solid var(--gold-start);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
}

.print-lightbox-header {
  padding: 16px 24px;
  background: #080712;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.print-lightbox-img-wrap {
  overflow: auto;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.print-lightbox-img-wrap img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
}

.print-lightbox-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.2s ease;
}

.print-lightbox-close:hover {
  color: var(--gold-start);
}
