/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
  --blue-main: #004E75;
  --blue-accent: #4CA0A8;
  --green-cta: #387003;
  --red-alert: #7A1000;
  --overlay-dark: rgba(0, 0, 0, 0.40);
  --brand-light: #e6f2f3;
  --gray-light: #f8f9fa;
}

body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding-top: 70px;
  background-color: #f4f4f4;
}

body.home {
  padding-top: 0;
}

/* ==========================================================================
   2. NAVBAR & NAVIGATION
   ========================================================================== */
.navbar {
  background: rgba(0, 78, 117, 0.95) !important;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
  height: 44px;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 5px 12px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.navbar-brand img:hover {
  transform: scale(1.05);
  background-color: #fff;
}

.nav-link {
  color: #fff !important;
  font-weight: 600;
  padding: 0.5rem 1rem !important;
}

.dropdown-menu {
  background: var(--blue-main);
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.dropdown-item {
  color: #fff;
  padding: 0.6rem 1.5rem;
}

.dropdown-item:hover {
  background: var(--blue-accent);
  color: #fff;
}

/* ==========================================================================
   3. PAGE IDENTITY BAR 
   ========================================================================== */
.page-identity-bar {
  background-color: var(--gray-light);
  border-bottom: 1px solid #dee2e6;
  padding: 12px 0;
  margin-bottom: 0;
  position: relative;
  z-index: 900;
}

.event-mini-title {
  color: var(--blue-main);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   4. HERO HOME (Apenas Index)
   ========================================================================== */
.hero-home {
  min-height: 100vh;
  background: linear-gradient(var(--overlay-dark), var(--overlay-dark)),
    url('../images/mollusk_braganca_2026.webp?v=1') center / cover no-repeat;
  display: flex;
  align-items: center;
  color: #fff;
  padding-top: 20px;
}

.hero-home h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 0.6rem 0;
}

@media (max-width: 768px) {
  .hero-home h1 {
    font-size: 2.2rem;
  }

  body {
    padding-top: 70px;
  }
}

/* ==========================================================================
   5. INTERNAL CONTENT STRUCTURE
   ========================================================================== */
.main-content-inner {
  min-height: 80vh;
  background: url('../images/website_background_1920x1080.jpg') no-repeat center center fixed;
  background-size: cover;
  padding: 40px 0;
}

.bg-white-transparent {
  background-color: rgba(255, 255, 255, 0.94);
  border-top: 5px solid var(--blue-main);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   6. COMPONENTS (Cards, Tables, Timelines, Buttons)
   ========================================================================== */

/* Timeline ZigZag */
.timeline-zigzag {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-zigzag::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--blue-accent);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-container {
  padding: 10px 40px;
  position: relative;
  width: 50%;
}

.timeline-container::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: white;
  border: 4px solid var(--blue-main);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.left {
  left: 0;
  text-align: right;
}

.right {
  left: 50%;
  text-align: left;
}

.right::after {
  left: -10px;
}

/* Keynote Cards */
.keynote-card {
  transition: transform 0.3s ease;
}

.keynote-card:hover {
  transform: translateY(-10px);
}

.keynote-card img {
  height: 280px;
  object-fit: cover;
}

/* --- BOTÕES DO HERO --- */
.hero-home .btn-lg {
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none !important;
}

/* Abstract (Azul) */
.btn-abstract {
  background-color: var(--blue-accent) !important;
  color: #fff !important;
}

.btn-abstract:hover {
  background-color: var(--blue-main) !important;
  transform: translateY(-3px);
}

/* Registration (Verde) */
.btn-register {
  background-color: var(--green-cta) !important;
  color: #fff !important;
}

.btn-register:hover {
  background-color: #2d5a02 !important;
  transform: translateY(-3px);
}

/* 1st Circular (Cinza Azulado) */
.btn-circular {
  background-color: #536d7a !important;
  color: #fff !important;
}

.btn-circular:hover {
  background-color: #3e525c !important;
  transform: translateY(-3px);
}

/* Tabelas */
.table-registration thead tr th {
  background-color: var(--blue-main) !important;
  color: white !important;
}

/* Links */
.modern-link {
  color: var(--blue-accent);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.modern-link:hover {
  color: var(--blue-main);
  border-bottom: 2px solid var(--blue-main);
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
footer {
  background: #081f26;
  color: #cfe6e8;
  padding: 40px 0;
  font-size: 0.9rem;
}

footer a {
  color: #9fd6db;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

footer img,
.footer-logos img {
  max-height: 70px;
  margin: 10px 20px;
  width: auto;
  filter: none;
  opacity: 1;
}

footer img:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}

/* ==========================================================================
   8. SECTION: HIGHLIGHTS
   ========================================================================== */
section.highlights {
  background-color: var(--brand-light);
  padding: 80px 0;
}

.highlight-box {
  border-left: 6px solid var(--blue-accent);
  padding: 10px 0 10px 40px;
  background: transparent;
}

.welcome-text-original {
  color: var(--blue-main);
  font-weight: 700;
  font-size: 1.65rem;
  line-height: 1.6;
  margin: 0;
  text-align: justify;
}

@media (max-width: 768px) {
  .welcome-text-original {
    font-size: 1.25rem;
  }

  .highlight-box {
    padding-left: 20px;
    border-left-width: 4px;
  }

  section.highlights {
    padding: 50px 0;
  }
}