:root {
  --flor-red: #c8102e;
  --flor-red-dark: #9b0e24;
  --flor-gold: #e5b547;
  --flor-gold-light: #f4d488;
  --flor-white: #f8f9fa;
  --flor-gray: #e9ecef;
  --flor-dark: #121212;
  --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.08);
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.1);
  --transition-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--flor-white);
  color: var(--flor-dark);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

::selection {
  background: var(--flor-gold);
  color: var(--flor-dark);
}

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--flor-red), var(--flor-gold));
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
}

/* Navbar Glassmorphism */
.navbar {
  transition: all 0.4s var(--transition-ease);
  padding: 1.5rem 0;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(248, 249, 250, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* New Navbar Brand Styling */
.navbar-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 0;
  margin: 0;
  line-height: 1;
}
.navbar-logo-img {
  height: 45px;
  width: 45px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.4s var(--transition-ease);
  background: #000; /* Ensures the black background blends nicely */
}
.navbar.scrolled .navbar-logo-img {
  height: 36px;
  width: 36px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.navbar-logo-text {
  font-family: "Syne", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 5px;
  color: var(--flor-white);
  transition: all 0.4s var(--transition-ease);
}
.navbar.scrolled .navbar-logo-text {
  color: var(--flor-dark);
  font-size: 0.7rem;
  margin-top: 3px;
}

.nav-link {
  font-weight: 600;
  color: var(--flor-dark) !important;
  margin: 0 0.8rem;
  position: relative;
}
.navbar:not(.scrolled) .nav-link {
  color: var(--flor-white) !important;
}
.navbar:not(.scrolled) .btn-menu-outline {
  border-color: var(--flor-white);
  color: var(--flor-white);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--flor-gold);
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}

.btn-flor-primary {
  background: var(--flor-red);
  color: var(--flor-white);
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  border: none;
  transition: all 0.3s var(--transition-ease);
  box-shadow: 0 8px 20px rgba(200, 16, 46, 0.3);
}
.btn-flor-primary:hover {
  background: var(--flor-red-dark);
  color: var(--flor-white);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(200, 16, 46, 0.4);
}
.btn-menu-outline {
  border: 2px solid var(--flor-red);
  color: var(--flor-red) !important;
  border-radius: 50px;
  padding: 0.4rem 1.2rem !important;
  margin-left: 1rem;
  transition: all 0.3s ease;
}
.btn-menu-outline:hover {
  background: var(--flor-red);
  color: var(--flor-white) !important;
}

.btn-area-restrita {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 0.65rem;
  padding: 0.45rem 1rem !important;
  border-radius: 50px;
  background: var(--flor-gold);
  color: var(--flor-dark) !important;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.btn-area-restrita i {
  font-size: 0.85rem;
}

.btn-area-restrita:hover {
  background: var(--flor-gold-light);
  color: var(--flor-dark) !important;
  transform: translateY(-1px);
}

.navbar:not(.scrolled) .btn-area-restrita {
  color: var(--flor-dark) !important;
}

.btn-area-restrita::after {
  display: none;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--flor-white);
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(1.2);
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(18, 18, 18, 0.6),
    rgba(18, 18, 18, 0.4),
    rgba(18, 18, 18, 0.8)
  );
  z-index: 1;
}
.hero-content {
  z-index: 2;
  position: relative;
  max-width: 900px;
  padding: 0 20px;
}
.hero-logo {
  height: 160px;
  margin-bottom: 2rem;
  mix-blend-mode: screen;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.8));
  animation: floatLogo 6s ease-in-out infinite;
}
@keyframes floatLogo {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
  font-weight: 300;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-btns .btn-outline-light {
  border-radius: 50px;
  padding: 0.8rem 2rem;
  border-width: 2px;
  font-weight: 600;
  backdrop-filter: blur(5px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}
.hero-btns .btn-outline-light:hover {
  background: var(--flor-white);
  color: var(--flor-dark);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--flor-white);
  font-size: 2rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translate(-50%, 0);
  }
  40% {
    transform: translate(-50%, -20px);
  }
  60% {
    transform: translate(-50%, -10px);
  }
}

/* Numbers Section */
.numbers-section {
  padding: 6rem 0;
  background: var(--flor-gray);
}
.number-card {
  background: var(--flor-white);
  border-radius: 24px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.3s var(--transition-ease),
    box-shadow 0.3s var(--transition-ease);
  border: 1px solid rgba(0, 0, 0, 0.03);
  height: 100%;
}
.number-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.12);
}
.number-card .num {
  font-family: "Syne", sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: var(--flor-red);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}
.number-card p {
  color: var(--flor-dark);
  font-weight: 600;
  margin: 0;
}

/* History Section */
.history-section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}
.history-img {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  position: relative;
  height: 100%;
  min-height: 500px;
}
.history-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 10s ease;
  filter: contrast(1.1) saturate(1.1);
}
.history-img:hover img {
  transform: scale(1.1);
}
.timeline-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 2rem;
  border-left: 2px solid var(--flor-gray);
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 0;
  width: 16px;
  height: 16px;
  background: var(--flor-gold);
  border-radius: 50%;
  border: 3px solid var(--flor-white);
}
.timeline-year {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  color: var(--flor-red);
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
}
.section-title span {
  color: var(--flor-red);
}
.text-gold {
  color: var(--flor-gold);
}

/* Events Section */
.events-section {
  padding: 6rem 0;
  background: var(--flor-dark);
  color: var(--flor-white);
}
.events-section .section-title {
  color: var(--flor-white);
}
.event-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  backdrop-filter: blur(10px);
}
.event-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}
.event-img {
  height: 250px;
  overflow: hidden;
  position: relative;
}
.event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.event-card:hover .event-img img {
  transform: scale(1.1);
}
.event-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--flor-red);
  color: var(--flor-white);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  text-align: center;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.event-content {
  padding: 1.5rem;
}
.event-content h4 {
  color: var(--flor-white);
  margin-bottom: 0.5rem;
}
.event-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Gallery Section (Bento Grid) */
.gallery-section {
  padding: 8rem 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 15px;
}
.gallery-item {
  overflow: hidden;
  border-radius: 20px;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--transition-ease);
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-item::after {
  content: "\f00e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(200, 16, 46, 0.8);
  color: var(--flor-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover::after {
  opacity: 1;
}
.gi-big {
  grid-column: span 2;
  grid-row: span 2;
}
.gi-tall {
  grid-row: span 2;
}
.gi-wide {
  grid-column: span 2;
}

/* Membership CTA */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--flor-red), var(--flor-red-dark));
  color: var(--flor-white);
  position: relative;
  overflow: hidden;
}
.cta-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 1px,
    transparent 1px
  );
  background-size: 20px 20px;
  opacity: 0.5;
}
.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.cta-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.btn-gold {
  background: var(--flor-gold);
  color: var(--flor-dark);
  border-radius: 50px;
  padding: 1rem 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.btn-gold:hover {
  background: var(--flor-gold-light);
  color: var(--flor-dark);
  transform: translateY(-3px);
}

/* Donation Section */
.donate-section {
  padding: 8rem 0;
  background: var(--flor-gray);
}
.donate-card {
  background: var(--flor-white);
  border-radius: 30px;
  padding: 3rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 3rem;
}
.qr-code-box {
  background: var(--flor-white);
  padding: 1rem;
  border-radius: 15px;
  border: 2px dashed var(--flor-gold);
  min-width: 200px;
  text-align: center;
}
.qr-code-box img {
  max-width: 180px;
  width: 100%;
}

/* News Section */
.news-section {
  padding: 6rem 0;
}
.news-card {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
  height: 100%;
}
.news-card:hover {
  transform: translateY(-10px);
}
.news-img {
  height: 220px;
  overflow: hidden;
}
.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-img img {
  transform: scale(1.1);
}
.news-body {
  padding: 1.5rem;
}
.news-cat {
  color: var(--flor-red);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}
.news-body h4 {
  margin: 0.5rem 0 1rem;
  font-size: 1.25rem;
}

/* Sponsors */
.sponsors-section {
  padding: 4rem 0;
  background: var(--flor-dark);
}
.sponsor-logo {
  filter: grayscale(100%) brightness(150%) opacity(0.6);
  transition: all 0.3s ease;
  height: 60px;
  object-fit: contain;
  margin: 0 2rem;
}
.sponsor-logo:hover {
  filter: none;
  opacity: 1;
}

/* Footer */
footer {
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.7);
  padding: 5rem 0 2rem;
}
footer h5 {
  color: var(--flor-white);
  margin-bottom: 1.5rem;
  font-family: "Syne", sans-serif;
}
footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  margin-bottom: 0.8rem;
}
footer a:hover {
  color: var(--flor-gold);
}
.footer-crest {
  width: 140px;
  margin-bottom: 1.5rem;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 15px rgba(229, 181, 71, 0.3));
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 10px;
  color: var(--flor-white);
  transition: all 0.3s ease;
}
.social-icon:hover {
  background: var(--flor-red);
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--flor-gold);
  transition: width 0.3s ease;
}

/* Clean Internal Header */
.internal-hero {
  position: relative;
  background: linear-gradient(135deg, var(--flor-red), var(--flor-red-dark));
  color: var(--flor-white);
  padding: 12rem 0 6rem;
  text-align: center;
  overflow: hidden;
}

.internal-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.08) 1px,
    transparent 1px
  );
  background-size: 20px 20px;
  opacity: 0.6;
  z-index: 1;
}

.internal-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
  margin: 0 auto;
}

.breadcrumb-custom {
  background: transparent;
  justify-content: center;
  margin-bottom: 1.5rem;
  padding: 0;
}

.breadcrumb-custom a,
.breadcrumb-custom .active {
  color: var(--flor-gold);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}

.breadcrumb-custom .active::before {
  content: "/ ";
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-custom .active {
  color: var(--flor-white);
}

.internal-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1rem;
}

.internal-hero p {
  font-size: 1.2rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}

/* General Section Styles */
.section-pad {
  padding: 8rem 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.section-title span {
  color: var(--flor-red);
}

.text-gold {
  color: var(--flor-gold);
}

/* Back to Top Floating Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--flor-red);
  color: var(--flor-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  box-shadow: 0 8px 20px rgba(200, 16, 46, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--transition-ease);
  z-index: 9998; /* Fica abaixo do progress bar, mas acima do conteúdo */
  border: none;
}
.back-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--flor-gold);
  color: var(--flor-dark);
  transform: translateY(-5px);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .navbar-collapse {
    background: rgba(248, 249, 250, 0.95);
    padding: 1rem;
    border-radius: 15px;
    margin-top: 1rem;
  }
  .navbar:not(.scrolled) .nav-link {
    color: var(--flor-dark) !important;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .donate-card {
    flex-direction: column;
    text-align: center;
  }

  .btn-area-restrita {
    width: 100%;
    justify-content: center;
    margin: 0.75rem 0 0;
  }

  .btn-menu-outline {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero-logo {
    height: 120px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 150px;
  }
  .gi-big,
  .gi-tall,
  .gi-wide {
    grid-column: span 1;
    grid-row: span 1;
  }
  .navbar-logo-text {
    font-size: 0.7rem;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

/* Focus visible for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--flor-gold);
  outline-offset: 2px;
}

/* Faça Parte */
.faca-parte-page {
  background: var(--flor-white);
}

.faca-parte-hero {
  padding-bottom: 7rem;
}

.faca-parte-hero .internal-hero-content {
  max-width: 1000px;
}

.faca-parte-hero .internal-hero-content > p:not(.faca-parte-eyebrow) {
  max-width: 820px;
}

.faca-parte-eyebrow,
.section-kicker {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--flor-red);
  font-family: "Syne", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.faca-parte-hero .faca-parte-eyebrow {
  color: var(--flor-gold-light);
}

.faca-parte-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.faca-parte-choices .btn {
  border-radius: 50px;
  padding: 0.9rem 1.5rem;
  font-weight: 700;
}

.faca-parte-choices .btn-flor-primary {
  background: var(--flor-white);
  color: var(--flor-red-dark);
}

.faca-parte-choices .btn-flor-primary:hover {
  background: var(--flor-gold-light);
  color: var(--flor-dark);
}

.section-heading {
  max-width: 880px;
  margin: 0 auto 3.5rem;
}

.section-heading p,
.virtual-document-section p,
.credential-section p {
  color: #495057;
  font-size: 1.05rem;
  line-height: 1.8;
}

.participation-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 2.25rem;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.3s var(--transition-ease),
    box-shadow 0.3s var(--transition-ease);
}

.participation-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.12);
}

.participation-card h3 {
  margin-bottom: 1rem;
  font-size: 1.45rem;
}

.participation-card p:not(.card-kicker) {
  color: #5c636a;
  line-height: 1.7;
}

.participation-card .btn {
  white-space: normal;
}

.participation-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border-radius: 18px;
  background: rgba(200, 16, 46, 0.1);
  color: var(--flor-red);
  font-size: 1.4rem;
}

.card-kicker {
  margin-bottom: 0.55rem;
  color: var(--flor-red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.founder-card {
  border-top: 4px solid #757575;
}

.sponsor-card {
  border: 1px solid rgba(229, 181, 71, 0.55);
  border-top: 4px solid var(--flor-gold);
}

.sponsor-card .participation-icon,
.sponsor-card .card-kicker {
  color: #83610a;
}

.sponsor-card .participation-icon {
  background: rgba(229, 181, 71, 0.18);
}

.btn-outline-neutral {
  border: 2px solid #6c757d;
  border-radius: 50px;
  color: #343a40;
  font-weight: 700;
  padding: 0.8rem 1.25rem;
}

.btn-outline-neutral:hover {
  background: #343a40;
  color: #fff;
}

.benefits-section,
.faq-section {
  background: var(--flor-gray);
}

.benefits-table-wrap {
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.benefits-table {
  min-width: 780px;
  margin-bottom: 0;
}

.benefits-table th,
.benefits-table td {
  padding: 1rem 1.25rem;
  border-color: #eceff1;
}

.benefits-table thead th {
  background: var(--flor-dark);
  color: #fff;
  font-family: "Syne", sans-serif;
}

.benefits-table tbody th {
  color: var(--flor-dark);
}

.benefits-table .sponsor-column {
  color: var(--flor-gold-light);
}

.institutional-notice,
.privacy-note,
.minor-notice {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--flor-gold);
  border-radius: 12px;
  background: #fff8e7;
  color: #4d411f;
}

.institutional-notice i,
.privacy-note i,
.minor-notice i {
  margin-top: 0.25rem;
  color: #83610a;
  font-size: 1.25rem;
}

.institutional-notice p,
.privacy-note,
.minor-notice {
  line-height: 1.7;
}

.institutional-notice p {
  margin: 0;
}

.document-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.75rem 0;
  padding: 0;
  list-style: none;
}

.document-fields li {
  position: relative;
  padding-left: 1.7rem;
  color: #343a40;
}

.document-fields li::before {
  position: absolute;
  left: 0;
  color: var(--flor-red);
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.status-panel {
  overflow: hidden;
  border-radius: 24px;
  background: var(--flor-dark);
  box-shadow: var(--shadow-soft);
  color: #fff;
}

.status-panel > div {
  display: grid;
  grid-template-columns: auto 1fr;
  padding: 1.35rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  column-gap: 1rem;
}

.status-panel > div:last-child {
  border-bottom: 0;
}

.status-panel h3 {
  margin: 0;
  font-size: 1.1rem;
}

.status-panel p {
  grid-column: 2;
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.5;
}

.status-dot {
  width: 12px;
  height: 12px;
  margin-top: 0.25rem;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
}

.status-dot.active {
  background: #35c56f;
}
.status-dot.pending {
  background: var(--flor-gold);
}
.status-dot.inactive {
  background: #9aa0a6;
}

.privacy-note {
  background: #f3f6f8;
  color: #3d4852;
  font-size: 0.92rem;
}

.nation-section {
  background: var(--flor-dark);
  color: #fff;
}

.nation-section .section-title,
.nation-section .section-heading p {
  color: #fff;
}

.nation-section .section-heading > p:first-of-type {
  color: rgba(255, 255, 255, 0.76);
}

.nation-free-notice {
  display: inline-block;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.nation-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: #1d1d1d;
  box-shadow: none;
  color: #fff;
}

.nation-card h3,
.nation-card p:not(.card-kicker) {
  color: #fff;
}

.nation-card p:not(.card-kicker) {
  color: rgba(255, 255, 255, 0.7);
}

.credential-section {
  background: linear-gradient(180deg, #fff, #f3f4f6);
}

.credential-info-card {
  padding: 3rem;
  border-radius: 28px;
  background: linear-gradient(145deg, var(--flor-red-dark), var(--flor-red));
  box-shadow: 0 30px 60px rgba(155, 14, 36, 0.25);
  color: #fff;
}

.credential-info-card > i {
  margin-bottom: 1.5rem;
  color: var(--flor-gold-light);
  font-size: 3rem;
}

.credential-info-card p {
  color: rgba(255, 255, 255, 0.8);
}

.dual-link-section {
  padding: 5rem 0;
  background: var(--flor-red);
}

.dual-link-card {
  display: flex;
  gap: 2rem;
  align-items: center;
  max-width: 1050px;
  margin: 0 auto;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  background: rgba(0, 0, 0, 0.13);
  color: #fff;
}

.dual-link-card .section-kicker {
  color: var(--flor-gold-light);
}

.dual-link-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  line-height: 1.75;
}

.dual-link-icon {
  display: flex;
  min-width: 88px;
  height: 88px;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: #fff;
  color: var(--flor-red);
  font-size: 2rem;
}

.faca-parte-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.faca-parte-accordion .accordion-item {
  overflow: hidden;
  margin-bottom: 0.85rem;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
}

.faca-parte-accordion .accordion-button {
  padding: 1.25rem 1.5rem;
  color: var(--flor-dark);
  font-family: "Syne", sans-serif;
  font-weight: 700;
}

.faca-parte-accordion .accordion-button:not(.collapsed) {
  background: var(--flor-red);
  color: #fff;
  box-shadow: none;
}

.faca-parte-accordion .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.rules-section {
  padding: 6rem 0;
  background: #fff;
}

.rules-card {
  height: 100%;
  padding: 2rem;
  border: 1px solid #eceff1;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.rules-card > i {
  margin-bottom: 1rem;
  color: var(--flor-red);
  font-size: 1.75rem;
}

.rules-card h2 {
  font-size: 1.4rem;
}

.rules-card p {
  color: #5c636a;
  line-height: 1.7;
}

.rules-card a:not(.btn) {
  color: var(--flor-red);
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .faca-parte-hero {
    padding-top: 9rem;
    padding-bottom: 5rem;
  }

  .faca-parte-choices {
    align-items: stretch;
    flex-direction: column;
  }

  .faca-parte-choices .btn {
    width: 100%;
  }

  .participation-card,
  .credential-info-card,
  .dual-link-card {
    padding: 1.6rem;
  }

  .document-fields {
    grid-template-columns: 1fr;
  }

  .dual-link-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .dual-link-icon {
    min-width: 64px;
    width: 64px;
    height: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Cadastro e validação de participação */
.compact-internal-hero {
  padding: 10rem 0 4rem;
}

.registration-main {
  min-height: 55vh;
  padding: 5rem 0 7rem;
  background: var(--flor-gray);
}

.registration-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.35fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.registration-summary,
.registration-form-card,
.registration-result {
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.registration-summary {
  position: sticky;
  top: 110px;
  padding: 2rem;
  border-top: 4px solid var(--flor-red);
}

.registration-summary h2 {
  font-size: 1.5rem;
}

.registration-summary p {
  color: #5c636a;
  line-height: 1.7;
}

.registration-summary a {
  color: var(--flor-red);
  font-weight: 700;
}

.registration-form-card {
  padding: 2.5rem;
}

.registration-form-card > h2 {
  margin-bottom: 0.5rem;
}

.form-intro {
  margin-bottom: 2rem;
  color: #5c636a;
}

.participation-form fieldset {
  margin: 0 0 2.25rem;
  padding: 0 0 2.25rem;
  border: 0;
  border-bottom: 1px solid #e4e7ea;
}

.participation-form legend {
  margin-bottom: 1.25rem;
  color: var(--flor-dark);
  font-family: "Syne", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field-wide {
  grid-column: span 2;
}

.form-field label,
.check-field {
  margin-bottom: 0.4rem;
  color: #30343b;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1px solid #b8bec5;
  border-radius: 10px;
  background: #fff;
  color: var(--flor-dark);
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--flor-red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.14);
  outline: 0;
}

.form-field small {
  margin-top: 0.35rem;
  color: #68717a;
}

.check-field {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  font-weight: 500;
  line-height: 1.55;
}

.check-field input {
  min-width: 19px;
  width: 19px;
  height: 19px;
  margin-top: 0.15rem;
  accent-color: var(--flor-red);
}

.minor-fields {
  padding: 1.5rem !important;
  border: 1px solid #f0cf72 !important;
  border-radius: 14px;
  background: #fff9e8;
}

.minor-fields[hidden] {
  display: none;
}

.form-notice {
  display: flex;
  gap: 0.8rem;
  margin: 1.5rem 0;
  padding: 1rem;
  border-radius: 12px;
  background: #f3f6f8;
  color: #3d4852;
}

.form-notice i {
  color: var(--flor-red);
}

.form-notice p {
  margin: 0;
}

.submit-participation:disabled {
  cursor: wait;
  opacity: 0.65;
}

.participation-form.was-validated :invalid {
  border-color: #b3261e;
}

.registration-result {
  max-width: 760px;
  margin: 0 auto;
  padding: 3.5rem;
  text-align: center;
}

.registration-result > i {
  margin-bottom: 1.25rem;
  color: var(--flor-red);
  font-size: 3.5rem;
}

.success-result > i {
  color: #21844a;
}

.registration-result p {
  color: #5c636a;
  font-size: 1.05rem;
  line-height: 1.7;
}

.protocol-number {
  padding: 1rem;
  border-radius: 10px;
  background: #f3f6f8;
  color: var(--flor-dark) !important;
}

.registration-choice-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.validation-main {
  display: grid;
  min-height: 100vh;
  padding: 2rem 1rem;
  place-items: center;
  background: linear-gradient(135deg, #0a0a0a, #251014);
}

.validation-card {
  width: min(100%, 620px);
  padding: 2.5rem;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.validation-logo {
  width: 86px;
  height: 86px;
  margin-bottom: 1rem;
  border-radius: 18px;
  object-fit: cover;
  background: #000;
}

.validation-card h1 {
  margin: 1rem 0 1.5rem;
  font-size: clamp(1.75rem, 5vw, 2.6rem);
}

.validation-status {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-radius: 50px;
  font-weight: 800;
}

.validation-status.is-valid {
  background: #e4f6eb;
  color: #146c3a;
}

.validation-status.is-invalid {
  background: #fde8e7;
  color: #a52a24;
}

.validation-data {
  overflow: hidden;
  margin: 0 0 1.5rem;
  border: 1px solid #e5e7e9;
  border-radius: 14px;
  text-align: left;
}

.validation-data > div {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e5e7e9;
}

.validation-data > div:last-child {
  border-bottom: 0;
}

.validation-data dt {
  color: #68717a;
  font-weight: 600;
}

.validation-data dd {
  margin: 0;
  font-weight: 800;
}

.validation-privacy {
  padding: 1rem;
  border-radius: 10px;
  background: #f3f6f8;
  color: #505961;
  font-size: 0.9rem;
}

@media (max-width: 991.98px) {
  .registration-layout {
    grid-template-columns: 1fr;
  }
  .registration-summary {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .registration-form-card,
  .registration-result,
  .validation-card {
    padding: 1.5rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-field-wide {
    grid-column: span 1;
  }
  .validation-data > div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}
