/* ============================================================
   INSTITUTO FINREG — Custom Stylesheet
   Cores: #1064a9 | #e6ae9a | #628e90
   ============================================================ */

:root {
  --primary:        #1064a9;
  --primary-dark:   #0b4d84;
  --primary-light:  #2077bc;
  --secondary:      #e6ae9a;
  --secondary-dark: #d4957e;
  --tertiary:       #628e90;
  --tertiary-dark:  #4e7375;
  --teal:           #628e90;
  --dark:           #1a1a2e;
  --text-dark:      #2c3e50;
  --text-muted:     #6c757d;
  --gray-bg:        #f5f7fa;
  --white:          #ffffff;
  --border-color:   #e0e6ef;

  --font-heading: 'Merriweather', Georgia, serif;
  --font-body:    'Open Sans', Arial, sans-serif;

  --shadow-sm:   0 2px 10px rgba(16,100,169,.08);
  --shadow-md:   0 5px 25px rgba(16,100,169,.14);
  --shadow-lg:   0 10px 50px rgba(16,100,169,.20);
  --shadow-card: 0 3px 15px rgba(0,0,0,.08);

  --radius:    8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: all .35s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ───────────────────────────────────────────────── */
*  { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 75px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── Page Loader ─────────────────────────────────────────── */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity .6s ease, visibility .6s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo {
  width: 110px;
  border-radius: 12px;
  animation: loaderPulse 1.4s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%,100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.06); opacity: .8; }
}

/* ── Top Bar ─────────────────────────────────────────────── */
.top-bar {
  background: var(--dark);
  color: rgba(255,255,255,.8);
  padding: 7px 0;
  font-size: .8rem;
}
.top-bar a {
  color: var(--secondary);
  text-decoration: none;
  transition: var(--transition);
}
.top-bar a:hover { color: #fff; }

/* ── Navbar ──────────────────────────────────────────────── */
#mainNavbar {
  background: var(--primary) !important;
  padding: 8px 0;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
#mainNavbar.scrolled {
  padding: 5px 0;
  background: rgba(16,100,169,.97) !important;
  backdrop-filter: blur(10px);
}
.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}
.navbar-nav .nav-link {
  font-weight: 600;
  font-size: .78rem;
  color: rgba(255,255,255,.9) !important;
  padding: 7px 9px !important;
  text-transform: uppercase;
  letter-spacing: .3px;
  transition: var(--transition);
  white-space: nowrap;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active-nav { color: var(--secondary) !important; }

.dropdown-menu {
  background: var(--dark);
  border: none;
  border-top: 3px solid var(--secondary);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  min-width: 200px;
}
.dropdown-item {
  color: rgba(255,255,255,.85);
  font-size: .84rem;
  font-weight: 500;
  padding: 8px 20px;
  transition: var(--transition);
}
.dropdown-item:hover {
  background: var(--primary);
  color: var(--secondary);
  padding-left: 28px;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a3d6b 0%, var(--primary) 45%, var(--tertiary) 100%);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 55%, rgba(230,174,154,.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(98,142,144,.22) 0%, transparent 45%);
  pointer-events: none;
}
.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  line-height: 0;
  z-index: 1;
}
.hero-overlay {
  position: relative;
  z-index: 2;
  padding-top: 70px;
}
.hero-badge {
  background: rgba(230,174,154,.15);
  border: 1px solid var(--secondary);
  color: var(--secondary);
  font-size: .76rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 50px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  margin: 18px 0;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.85);
  max-width: 540px;
  margin-bottom: 32px;
  line-height: 1.85;
}
.btn-hero-primary {
  background: var(--secondary);
  border: none;
  color: var(--dark);
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  font-size: .95rem;
}
.btn-hero-primary:hover {
  background: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(230,174,154,.45);
  color: var(--dark);
}
.btn-hero-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,.7);
  color: #fff;
  font-weight: 600;
  padding: 13px 30px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  font-size: .95rem;
}
.btn-hero-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,.12);
  color: #fff;
  transform: translateY(-3px);
}
.hero-logo {
  max-width: 300px;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
  animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat {
  0%,100% { transform: translateY(0);    }
  50%      { transform: translateY(-16px); }
}
.hero-scroll {
  position: absolute;
  bottom: 110px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,.65);
  font-size: 1.7rem;
  text-decoration: none;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ── Stats Bar ───────────────────────────────────────────── */
.stats-bar {
  background: var(--dark);
  padding: 42px 0;
}
.stat-item { padding: 10px 5px; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1;
}
.stat-plus {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
}
.stat-label {
  color: rgba(255,255,255,.65);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

/* ── Shared Section ──────────────────────────────────────── */
.section-padding { padding: 88px 0; }

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--dark);
  margin: 10px 0;
}
.section-badge {
  display: inline-block;
  background: rgba(16,100,169,.1);
  color: var(--primary);
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.section-divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  margin: 14px auto;
}
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* ── About / Fundadora ───────────────────────────────────── */
.about-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}
.about-text { color: var(--text-muted); margin-bottom: 15px; }
.feature-item {
  display: flex; align-items: center;
  gap: 8px; font-weight: 500; font-size: .9rem;
  margin-bottom: 9px; color: var(--text-dark);
}
.feature-item i { color: var(--primary); font-size: 1rem; }
.about-logo-box {
  background: var(--gray-bg);
  border-radius: var(--radius-xl);
  padding: 35px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.about-logo-box img { max-width: 280px; }

.founder-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.founder-img {
  width: 100%; max-height: 560px;
  object-fit: cover; object-position: top center;
  display: block; transition: transform .5s ease;
}
.founder-wrap:hover .founder-img { transform: scale(1.04); }
.founder-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(16,100,169,.96), transparent);
  padding: 30px 28px 22px;
  transform: translateY(100%); transition: var(--transition);
}
.founder-wrap:hover .founder-overlay { transform: translateY(0); }
.founder-overlay h4 { font-family: var(--font-heading); color: #fff; font-size: 1.25rem; margin-bottom: 4px; }
.founder-overlay p  { color: rgba(255,255,255,.8); font-size: .88rem; margin: 0; }
.tag-badge {
  display: inline-block;
  background: rgba(16,100,169,.1);
  border: 1px solid rgba(16,100,169,.22);
  color: var(--primary); font-size: .75rem; font-weight: 600;
  padding: 4px 12px; border-radius: 50px; margin: 4px 4px 0 0;
}
.founder-badge-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  color: #fff;
  margin-top: 24px;
}
.founder-badge-card h5 { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 10px; color: var(--secondary); }
.founder-badge-card p  { font-size: .88rem; color: rgba(255,255,255,.85); margin: 0; }

/* ── Tabs ────────────────────────────────────────────────── */
.nav-tabs-custom {
  border-bottom: 2px solid var(--border-color);
  flex-wrap: nowrap; overflow-x: auto;
  gap: 4px; scrollbar-width: none;
}
.nav-tabs-custom::-webkit-scrollbar { display: none; }
.nav-tabs-custom .nav-link {
  color: var(--text-muted); font-weight: 600; font-size: .83rem;
  padding: 10px 16px; border: none;
  border-radius: var(--radius) var(--radius) 0 0;
  white-space: nowrap; background: transparent;
  transition: var(--transition);
}
.nav-tabs-custom .nav-link:hover { color: var(--primary); background: rgba(16,100,169,.06); }
.nav-tabs-custom .nav-link.active {
  color: var(--primary); background: #fff;
  border-bottom: 3px solid var(--primary); font-weight: 700;
}
.nav-tabs-custom .nav-link i { margin-right: 6px; }
.tab-content { background: transparent; }

/* ── Content Card ────────────────────────────────────────── */
.content-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
  padding: 2rem;
  overflow: visible;
  transition: var(--transition);
}
.content-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card-accent-bar { height: 4px; background: linear-gradient(90deg, var(--primary), var(--tertiary)); }
.card-cat {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.2px; color: var(--tertiary); margin-bottom: 8px;
}
.content-card h5 {
  font-family: var(--font-heading); font-size: 1rem; font-weight: 700;
  color: var(--dark); line-height: 1.5; margin-bottom: .3rem;
}
.content-card p { font-size: .86rem; color: var(--text-muted); line-height: 1.7; }
.card-foot {
  background: var(--gray-bg);
  padding: 11px 22px;
  border-top: 1px solid var(--border-color);
  display: flex; align-items: center; justify-content: space-between;
  font-size: .8rem; color: var(--text-muted);
}
.btn-dl {
  background: var(--primary); color: #fff; border: none;
  border-radius: 50px; padding: 5px 16px;
  font-size: .78rem; font-weight: 600;
  text-decoration: none; display: inline-flex; align-items: center; gap: 5px;
  transition: var(--transition);
}
.btn-dl:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }

/* ── Video Card ──────────────────────────────────────────── */
.video-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.video-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
/* .video-thumb kept for legacy use — new videos use .yt-wrap */
.video-thumb {
  position: relative; overflow: hidden;
  background: var(--dark); aspect-ratio: 16/9;
}
.video-thumb iframe { width: 100%; height: 100%; border: none; display: block; }
.video-card .card-body { padding: 20px; }
.video-card h6 {
  font-family: var(--font-heading); font-size: .9rem; font-weight: 700;
  color: var(--dark); line-height: 1.5; margin-bottom: 6px;
}

/* ── Event Card ──────────────────────────────────────────── */
.event-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
  display: flex; transition: var(--transition);
}
.event-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.event-date-box {
  background: var(--primary); color: #fff;
  min-width: 72px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 14px 10px; text-align: center;
}
.event-date-box .ev-month { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--secondary); }
.event-date-box .ev-day   { font-size: 2.1rem; font-weight: 900; line-height: 1; }
.event-date-box .ev-year  { font-size: .68rem; opacity: .75; }
.event-body { padding: 18px 20px; flex: 1; }
.event-body h5 {
  font-family: var(--font-heading); font-size: .93rem; font-weight: 700;
  color: var(--dark); margin-bottom: 6px; line-height: 1.4;
}
.event-meta { font-size: .8rem; color: var(--text-muted); }
.event-meta i { color: var(--tertiary); margin-right: 4px; }
.badge-online  { background: rgba(98,142,144,.15); color: var(--tertiary-dark); }
.badge-presencial { background: rgba(16,100,169,.1); color: var(--primary-dark); }

/* ── Download / File Card ────────────────────────────────── */
.file-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 16px;
  transition: var(--transition);
  text-decoration: none; color: inherit;
}
.file-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
  color: inherit;
}
.file-icon { font-size: 2rem; }
.file-icon.pdf   { color: #e74c3c; }
.file-icon.slide { color: var(--secondary-dark); }
.file-icon.doc   { color: var(--primary); }
.file-info { flex: 1; }
.file-info strong { display: block; font-size: .9rem; color: var(--dark); margin-bottom: 2px; }
.file-info small  { font-size: .78rem; color: var(--text-muted); }

/* ── Novas Fronteiras ────────────────────────────────────── */
.nf-hero {
  background: linear-gradient(135deg, var(--tertiary-dark), var(--tertiary));
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  color: #fff; text-align: center;
}
.nf-hero h2 { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.nf-hero p  { font-size: 1.05rem; color: rgba(255,255,255,.88); max-width: 580px; margin: 0 auto 24px; }
.btn-nf {
  background: #fff; color: var(--tertiary-dark); font-weight: 700;
  padding: 12px 28px; border-radius: 50px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: var(--transition);
}
.btn-nf:hover { background: var(--secondary); color: var(--dark); transform: translateY(-3px); }

/* ── Seleção M/D Timeline ────────────────────────────────── */
.selecao-timeline { position: relative; padding-left: 32px; }
.selecao-timeline::before {
  content: ''; position: absolute;
  left: 12px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--tertiary));
}
.timeline-item {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px 24px;
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
}
.timeline-item::before {
  content: ''; position: absolute;
  left: -24px; top: 22px;
  width: 14px; height: 14px;
  background: var(--primary); border-radius: 50%;
  border: 3px solid #fff; box-shadow: 0 0 0 3px var(--primary);
}
.timeline-item h6 { font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.timeline-item p  { font-size: .87rem; color: var(--text-muted); margin: 0; }

/* ── Publicações Section ─────────────────────────────────── */
.pub-filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.pub-filter-btn {
  background: #fff; border: 1px solid var(--border-color);
  color: var(--text-muted); font-size: .8rem; font-weight: 600;
  padding: 7px 18px; border-radius: 50px;
  cursor: pointer; transition: var(--transition);
}
.pub-filter-btn:hover,
.pub-filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ── Envio e Retorno Form ────────────────────────────────── */
.form-wrap {
  background: #fff; border-radius: var(--radius-xl);
  padding: 40px; box-shadow: var(--shadow-md);
}
.form-label { font-weight: 600; font-size: .87rem; color: var(--text-dark); margin-bottom: 5px; }
.form-control, .form-select {
  border: 1px solid var(--border-color);
  border-radius: var(--radius); padding: 10px 15px; font-size: .9rem;
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16,100,169,.1);
}
.btn-submit {
  background: var(--primary); color: #fff; border: none;
  border-radius: 50px; padding: 12px 32px; font-weight: 700;
  font-size: .95rem; transition: var(--transition); width: 100%;
}
.btn-submit:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-accordion .accordion-item {
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius) !important;
  margin-bottom: 12px; overflow: hidden;
}
.faq-accordion .accordion-button {
  font-weight: 600; font-size: .93rem; color: var(--text-dark); background: #fff;
}
.faq-accordion .accordion-button:not(.collapsed) { background: var(--primary); color: #fff; box-shadow: none; }
.faq-accordion .accordion-button:not(.collapsed)::after { filter: brightness(10); }
.faq-accordion .accordion-button:focus { box-shadow: none; }
.faq-accordion .accordion-body { font-size: .9rem; color: var(--text-muted); line-height: 1.75; }

/* ── DEAA Section ────────────────────────────────────────── */
.deaa-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-xl); padding: 50px 40px; color: #fff;
}
.deaa-hero h3 { font-family: var(--font-heading); font-size: 1.9rem; color: var(--secondary); margin-bottom: 12px; }
.deaa-hero p  { color: rgba(255,255,255,.87); font-size: 1rem; line-height: 1.8; }
.deaa-info-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 28px; box-shadow: var(--shadow-sm);
  height: auto; transition: var(--transition);  /* height:100% causava overflow em colunas empilhadas */
}
.deaa-info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.deaa-info-card .icon-wrap {
  width: 52px; height: 52px; background: rgba(16,100,169,.1);
  border-radius: var(--radius); display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; color: var(--primary); margin-bottom: 14px;
}
.deaa-info-card h6 { font-family: var(--font-heading); font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.deaa-info-card p  { font-size: .87rem; color: var(--text-muted); margin: 0; }

/* ── Política da Loja ────────────────────────────────────── */
.policy-card {
  background: #fff; border-radius: var(--radius-lg);
  border-left: 5px solid var(--primary);
  padding: 24px 28px; box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.policy-card h5 { font-family: var(--font-heading); color: var(--dark); font-size: 1rem; margin-bottom: 10px; }
.policy-card p  { font-size: .89rem; color: var(--text-muted); margin: 0; line-height: 1.75; }

/* ── Newsletter ──────────────────────────────────────────── */
.newsletter-box {
  background: linear-gradient(135deg, var(--primary), var(--tertiary));
  border-radius: var(--radius-xl); padding: 50px 40px; color: #fff; text-align: center;
}
.newsletter-box h3 { font-family: var(--font-heading); font-size: 1.7rem; margin-bottom: 10px; }
.newsletter-box p  { color: rgba(255,255,255,.85); margin-bottom: 24px; }
.newsletter-input-group { max-width: 480px; margin: 0 auto; }
.newsletter-input-group .form-control {
  border: none; border-radius: 50px 0 0 50px;
  padding: 14px 22px; font-size: .93rem;
}
.btn-nl {
  background: var(--secondary); color: var(--dark); font-weight: 700;
  border: none; padding: 13px 26px; border-radius: 50px;
  transition: var(--transition);
}
.btn-nl:hover { background: var(--secondary-dark); color: var(--dark); }
.newsletter-input-group .btn-nl { border-radius: 0 50px 50px 0; }

/* ── Footer ──────────────────────────────────────────────── */
footer { background: var(--dark); color: rgba(255,255,255,.75); padding: 65px 0 0; }
footer h5 {
  font-family: var(--font-heading); color: #fff; font-size: .97rem;
  font-weight: 700; margin-bottom: 20px; padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary); display: inline-block;
}
footer p { font-size: .87rem; line-height: 1.8; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li { margin-bottom: 8px; }
footer ul li a {
  color: rgba(255,255,255,.7); text-decoration: none;
  font-size: .87rem; transition: var(--transition);
  display: flex; align-items: center; gap: 6px;
}
footer ul li a:hover { color: var(--secondary); padding-left: 5px; }
footer ul li a i { font-size: .9rem; color: var(--secondary); }
.footer-logo { max-width: 110px; border-radius: 8px; margin-bottom: 16px; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.social-links a {
  width: 38px; height: 38px; background: rgba(255,255,255,.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem; text-decoration: none; transition: var(--transition);
}
.social-links a:hover { background: var(--secondary); color: var(--dark); transform: translateY(-3px); }
.footer-contact li { display: flex; gap: 10px; font-size: .87rem; margin-bottom: 12px; color: rgba(255,255,255,.7); }
.footer-contact li i { color: var(--secondary); font-size: 1rem; flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  background: rgba(0,0,0,.2); padding: 16px 0;
  margin-top: 48px; text-align: center; font-size: .8rem;
}
.footer-bottom a { color: var(--secondary); text-decoration: none; }

/* ── Back to Top ─────────────────────────────────────────── */
#backToTop {
  position: fixed; bottom: 30px; right: 30px;
  width: 46px; height: 46px;
  background: var(--primary); color: #fff;
  border: none; border-radius: 50%; font-size: 1.1rem;
  cursor: pointer; opacity: 0; transform: translateY(20px);
  transition: var(--transition); z-index: 999;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
#backToTop.visible { opacity: 1; transform: translateY(0); }
#backToTop:hover   { background: var(--primary-dark); transform: translateY(-3px); }

/* ── Scroll Animations ───────────────────────────────────── */
.fade-up   { opacity: 0; transform: translateY(28px);  transition: opacity .65s ease, transform .65s ease; }
.fade-left { opacity: 0; transform: translateX(-28px); transition: opacity .65s ease, transform .65s ease; }
.fade-right{ opacity: 0; transform: translateX(28px);  transition: opacity .65s ease, transform .65s ease; }
.fade-up.vis, .fade-left.vis, .fade-right.vis { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* ── YouTube Click-to-Load ───────────────────────────────── */
.yt-wrap {
  position: relative; aspect-ratio: 16/9;
  overflow: hidden; background: var(--dark); cursor: pointer;
  border-radius: var(--radius) var(--radius) 0 0;
}
.yt-wrap iframe { width: 100%; height: 100%; border: none; display: block; }
.yt-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; position: relative;
  background: linear-gradient(135deg, #0a1628, var(--primary-dark));
  transition: var(--transition);
}
.yt-placeholder:hover { background: linear-gradient(135deg, #0a1628, var(--primary)); }
.yt-play-icon {
  font-size: 4rem; color: rgba(255,255,255,.88);
  filter: drop-shadow(0 3px 10px rgba(0,0,0,.6));
  transition: var(--transition);
}
.yt-placeholder:hover .yt-play-icon { transform: scale(1.12); color: #fff; }
.yt-label {
  color: rgba(255,255,255,.7); font-size: .8rem; font-weight: 500;
  letter-spacing: .5px; text-align: center; padding: 0 16px;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1400px) {
  .navbar-nav .nav-link { font-size: .74rem; padding: 7px 7px !important; }
}
@media (max-width: 1200px) {
  .navbar-nav .nav-link { font-size: .7rem; padding: 7px 6px !important; }
}
@media (max-width: 992px) {
  .section-padding { padding: 60px 0; }
  .hero-title { font-size: 2rem; }
  .nf-hero { padding: 40px 24px; }
  .deaa-hero { padding: 35px 24px; }
  .form-wrap { padding: 28px; }
}
@media (max-width: 768px) {
  .section-padding { padding: 50px 0; }
  .event-card { flex-direction: column; }
  .event-date-box { flex-direction: row; gap: 12px; padding: 12px 20px; }
  .stats-bar .col-6 { border-bottom: 1px solid rgba(255,255,255,.08); }
}
@media (max-width: 576px) {
  .hero-title { font-size: 1.7rem; }
  .hero-subtitle { font-size: .95rem; }
  .newsletter-input-group .form-control { border-radius: 50px; margin-bottom: 10px; }
  .newsletter-input-group .btn-nl { border-radius: 50px; width: 100%; }
  .newsletter-input-group { display: block !important; }
}

/* ── Active nav underline (desktop) ──────────────────────── */
@media (min-width: 1200px) {
  .navbar-nav .nav-link.active-nav {
    color: var(--secondary) !important;
    position: relative;
  }
  .navbar-nav .nav-link.active-nav::after {
    content: '';
    position: absolute; bottom: 0; left: 9px; right: 9px;
    height: 2px; background: var(--secondary); border-radius: 2px;
  }
}

/* ── Hero ring decoration ────────────────────────────────── */
.hero-ring {
  position: absolute;
  top: 12%; right: -100px;
  width: 360px; height: 360px;
  border: 1px solid rgba(230,174,154,.1);
  border-radius: 50%;
  pointer-events: none; z-index: 1;
}
.hero-ring::before {
  content: ''; position: absolute;
  inset: 40px;
  border: 1px solid rgba(98,142,144,.15);
  border-radius: 50%;
}

/* ── Skip-to-content (accessibility) ────────────────────── */
.skip-link {
  position: absolute; top: -100px; left: 10px;
  background: var(--primary); color: #fff; padding: 8px 16px;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600; z-index: 99999; transition: top .2s;
  text-decoration: none;
}
.skip-link:focus { top: 0; color: #fff; }

/* ── Prevent horizontal overflow from fade-* transforms ─── */
/* Note: body { overflow-x: hidden } already clips at page level.
   Only apply overflow-x: hidden to self-contained wrappers that
   don't have auto height, to avoid triggering implicit overflow-y: auto */
.stats-bar,
.newsletter-box { overflow: hidden; }

/* ── Informações Importantes sidebar — forçar auto-height ── */
.info-sidebar .deaa-info-card { height: auto !important; }

/* ── Print ───────────────────────────────────────────────── */
@media print {
  .top-bar, #mainNavbar, .hero-section, .stats-bar,
  #backToTop, .page-loader, footer { display: none !important; }
  .section-padding { padding: 20px 0; }
}

/* ── Selection color ─────────────────────────────────────── */
::selection { background: rgba(16,100,169,.2); color: var(--dark); }

/* ── Page Hero (inner pages) ─────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0a4a80 100%);
  padding: 90px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: .5rem;
}
.page-hero p.lead {
  color: rgba(255,255,255,.8);
  font-size: 1.05rem;
  max-width: 600px;
}
.page-hero .breadcrumb {
  background: transparent;
  padding: 0;
  margin-top: .75rem;
}
.page-hero .breadcrumb-item { color: rgba(255,255,255,.65); font-size: .875rem; }
.page-hero .breadcrumb-item a { color: var(--secondary); text-decoration: none; }
.page-hero .breadcrumb-item a:hover { color: #fff; }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,.85); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }
.page-hero-icon {
  font-size: 5rem;
  color: rgba(255,255,255,.12);
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
}

/* ── Nav-tabs custom (inner pages) ──────────────────────── */
.nav-tabs-custom {
  border-bottom: 2px solid rgba(16,100,169,.15);
  margin-bottom: 2rem;
  gap: .25rem;
}
.nav-tabs-custom .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--dark);
  font-weight: 500;
  padding: .65rem 1.1rem;
  border-radius: 0;
  transition: color .2s, border-color .2s;
}
.nav-tabs-custom .nav-link:hover { color: var(--primary); }
.nav-tabs-custom .nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: transparent;
}
.nav-tabs-custom .nav-link i { margin-right: .4rem; }

/* ── Content card extras ─────────────────────────────────── */
.content-card .card-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.25rem;
  flex-shrink: 0;
}
.content-card h5 { font-family: var(--font-heading); font-size: 1rem; margin-bottom: .3rem; }
.content-card .meta { font-size: .8rem; color: #888; }
.content-card .badge-cat {
  font-size: .72rem; font-weight: 600;
  padding: .3em .7em; border-radius: 20px;
  background: rgba(16,100,169,.1); color: var(--primary);
}

/* ── Teaser cards (home page section preview) ───────────── */
.teaser-card {
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transition: transform .25s, box-shadow .25s;
  height: 100%;
}
.teaser-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(16,100,169,.15); }
.teaser-card .card-header-img {
  height: 140px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.teaser-card .card-body { padding: 1.4rem; }
.teaser-card .card-title { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; }
.teaser-card .card-text { font-size: .875rem; color: #666; }
