/* =============================================
   DJ CONSULTORIA — DESIGN SYSTEM
   Versão: 2.0  |  2026
   ============================================= */

/* ---------- TOKENS — MANUAL DE MARCA DJ CONSULTORIA ---------- */
:root {
  --navy-deep:   #014B92;   /* Azul escuro principal */
  --navy:        #0070AB;   /* Azul médio */
  --navy-light:  #1C9BCD;   /* Azul accent */
  --gold:        #1C9BCD;   /* Accent (brand bright blue) */
  --gold-hover:  #0070AB;   /* Accent hover */
  --white:       #FFFFFF;
  --off-white:   #FBFBFC;   /* Branco marca */
  --gray-light:  #EAF3FA;
  --gray:        #959596;   /* Cinza marca */
  --text:        #111827;
  --muted:       #6B7280;
  --border:      #C8DFF0;

  --shadow-sm:   0 2px 8px rgba(1,75,146,.08);
  --shadow-md:   0 6px 24px rgba(1,75,146,.14);
  --shadow-lg:   0 16px 48px rgba(1,75,146,.20);

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;

  --transition:  all .25s ease;

  --max-width:   1200px;
  --section-py:  80px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

body::-webkit-scrollbar { width: 6px; }
body::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 10px; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

::selection { background: var(--navy); color: var(--white); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
p  { line-height: 1.75; }

/* ---------- UTILITIES ---------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section    { padding: var(--section-py) 0; }
.section-dark { background: var(--navy-deep); color: var(--white); }
.section-alt  { background: var(--off-white); }

.gold-line {
  display: block;
  width: 56px; height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin: 12px 0 20px;
}
.gold-line.center { margin: 12px auto 20px; }

.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---------- NAVBAR ---------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}

#navbar.scrolled {
  background: var(--navy-deep);
  box-shadow: var(--shadow-md);
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.nav-logo-text {
  line-height: 1.2;
}
.nav-logo-text strong {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .5px;
}
.nav-logo-text span {
  font-size: .78rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 8px 14px;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
  background: rgba(255,255,255,.08);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
  font-weight: 700 !important;
  padding: 8px 20px !important;
  border-radius: 50px !important;
  transition: var(--transition) !important;
}
.nav-cta:hover {
  background: var(--gold-hover) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--navy-deep);
  padding: 16px 24px 24px;
  z-index: 999;
  transform: translateY(-120%);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
  box-shadow: var(--shadow-md);
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: var(--transition);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--gold); padding-left: 8px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #002B5C 0%, #014B92 50%, #0070AB 100%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(28,155,205,.18) 0%, transparent 60%),
    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");
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(28,155,205,.15);
  border: 1px solid rgba(28,155,205,.35);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 800;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(28,155,205,.38);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  letter-spacing: 1px;
  cursor: pointer;
}
.hero-scroll .scroll-arrow {
  width: 32px; height: 32px;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 1.8s ease infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ---------- STATS BAR ---------- */
.stats-bar {
  background: linear-gradient(90deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 20px 0;
}
.stats-bar .container {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.stat-icon {
  width: 40px; height: 40px;
  background: rgba(28,155,205,.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-icon svg { width: 20px; height: 20px; stroke: var(--gold); }
.stat-text strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-text span {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  letter-spacing: .5px;
}

/* ---------- VALORES ---------- */
.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.valor-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  transition: var(--transition);
  cursor: default;
}
.valor-card:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(28,155,205,.35);
  transform: translateY(-4px);
}
.valor-icon {
  width: 56px; height: 56px;
  background: rgba(28,155,205,.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.valor-icon svg { width: 28px; height: 28px; stroke: var(--gold); }
.valor-card h3 {
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 12px;
}
.valor-card p {
  color: rgba(255,255,255,.7);
  font-size: .95rem;
}

/* ---------- SOBRE NÓS ---------- */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.sobre-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-light);
}
.sobre-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.sobre-img::after {
  content: '';
  position: absolute;
  bottom: -12px; right: -12px;
  width: 60%; height: 60%;
  border: 3px solid var(--gold);
  border-radius: var(--radius-md);
  z-index: -1;
}
.sobre-content h2 { color: var(--navy-deep); margin-bottom: 8px; }
.sobre-content p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 1rem;
}
.sobre-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 600;
  font-size: .9rem;
  margin-top: 8px;
  transition: var(--transition);
}
.sobre-link svg { width: 16px; height: 16px; transition: var(--transition); }
.sobre-link:hover { color: var(--gold-hover); }
.sobre-link:hover svg { transform: translateX(4px); }

/* ---------- NÚCLEOS ---------- */
.nucleos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.nucleo-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.nucleo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.nucleo-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
  border-color: transparent;
}
.nucleo-card:hover::before { transform: scaleX(1); }
.nucleo-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-light);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -2px;
}
.nucleo-icon {
  width: 52px; height: 52px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}
.nucleo-card:hover .nucleo-icon {
  background: rgba(28,155,205,.15);
}
.nucleo-icon svg { width: 26px; height: 26px; stroke: var(--navy); transition: var(--transition); }
.nucleo-card:hover .nucleo-icon svg { stroke: var(--gold-hover); }
.nucleo-card h3 {
  font-size: 1.05rem;
  color: var(--navy-deep);
  margin-bottom: 12px;
  line-height: 1.4;
}
.nucleo-card p {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.7;
}
.nucleo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: var(--transition);
}
.nucleo-link svg { width: 14px; height: 14px; transition: var(--transition); }
.nucleo-card:hover .nucleo-link { color: var(--gold-hover); }
.nucleo-card:hover .nucleo-link svg { transform: translateX(4px); }

/* ---------- ESPECIALISTAS ---------- */
.esp-section { background: var(--off-white); }
.esp-header { text-align: center; margin-bottom: 56px; }
.esp-header h2 { color: var(--navy-deep); }
.esp-header p { color: var(--muted); max-width: 520px; margin: 0 auto; }

.esp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.esp-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  transition: var(--transition);
  cursor: pointer;
}
.esp-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.esp-photo {
  width: 140px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.esp-photo img {
  width: 140px;
  height: 100%;
  object-fit: cover;
}
.esp-photo .initials {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -1px;
}
.esp-info {
  padding: 24px 20px;
  flex: 1;
}
.esp-info h3 {
  font-size: 1rem;
  color: var(--navy-deep);
  margin-bottom: 6px;
  line-height: 1.3;
}
.esp-info .esp-title {
  font-size: .8rem;
  font-weight: 600;
  color: var(--gold-hover);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 10px;
}
.esp-bio {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.esp-bio.expanded {
  -webkit-line-clamp: unset;
  overflow: visible;
}
.esp-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  transition: var(--transition);
}
.esp-toggle:hover { color: var(--gold-hover); }
.esp-toggle svg { width: 12px; height: 12px; transition: var(--transition); }
.esp-toggle.open svg { transform: rotate(180deg); }

/* Section heading shared */
.section-heading { text-align: center; margin-bottom: 16px; }
.section-heading h2 { color: var(--navy-deep); }
.section-heading p { color: var(--muted); margin-top: 12px; }

/* ---------- CONTATOS ---------- */
.contatos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contato-form-wrap h3 { color: var(--navy-deep); margin-bottom: 8px; }
.contato-form-wrap .sub { color: var(--muted); font-size: .9rem; margin-bottom: 28px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', sans-serif;
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0,112,171,.10);
}
.form-group textarea { height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: .5px;
}
.form-submit:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contato-info h3 { color: var(--navy-deep); margin-bottom: 8px; }
.contato-info .sub { color: var(--muted); font-size: .9rem; margin-bottom: 28px; }
.map-embed {
  width: 100%;
  height: 260px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 28px;
  border: none;
}
.info-items { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.info-item-icon {
  width: 40px; height: 40px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-item-icon svg { width: 18px; height: 18px; stroke: var(--navy); }
.info-item-text strong { display: block; font-size: .85rem; font-weight: 700; color: var(--navy-deep); }
.info-item-text span { font-size: .85rem; color: var(--muted); }

.social-links { display: flex; gap: 12px; }
.social-link {
  width: 44px; height: 44px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}
.social-link:hover {
  background: var(--navy);
  transform: translateY(-3px);
}
.social-link:hover svg { stroke: var(--white); }
.social-link svg { width: 18px; height: 18px; stroke: var(--navy); transition: var(--transition); }

/* ---------- FOOTER ---------- */
footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.75);
}
.footer-main {
  padding: 64px 0 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: .88rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-size: .85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.footer-col ul a:hover { color: var(--gold); padding-left: 4px; }
.footer-col address {
  font-style: normal;
  font-size: .88rem;
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom .social-links .social-link {
  background: rgba(255,255,255,.06);
}
.footer-bottom .social-links .social-link:hover {
  background: var(--gold);
}
.footer-bottom .social-links .social-link:hover svg { stroke: var(--navy-deep); }
.footer-bottom .social-links .social-link svg { stroke: rgba(255,255,255,.6); }

/* ---------- BANNER (subpages) ---------- */
.page-banner {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::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-banner .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 16px;
}
.page-banner .breadcrumb a { color: var(--gold); }
.page-banner .breadcrumb svg { width: 14px; height: 14px; stroke: rgba(255,255,255,.4); }
.page-banner h1 { color: var(--white); margin-bottom: 16px; }
.page-banner p { color: rgba(255,255,255,.7); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ---------- NUCLEO PAGE ---------- */
.nucleo-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.nucleo-content.reverse { direction: rtl; }
.nucleo-content.reverse > * { direction: ltr; }
.nucleo-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-light);
}
.nucleo-img img { width: 100%; height: 100%; object-fit: cover; }
.nucleo-text h2 { color: var(--navy-deep); margin-bottom: 8px; }
.nucleo-text > p { color: var(--muted); margin-bottom: 24px; }
.nucleo-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.nucleo-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
}
.nucleo-list-item svg { width: 18px; height: 18px; stroke: var(--gold-hover); flex-shrink: 0; margin-top: 2px; }
.nucleo-list-item p { font-size: .9rem; color: var(--text); }

/* Speakers section (Cursos page) */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.speaker-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}
.speaker-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.speaker-photo {
  height: 200px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.speaker-photo img { width: 100%; height: 100%; object-fit: cover; }
.speaker-photo .initials {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
}
.speaker-info { padding: 20px; }
.speaker-info h3 { font-size: 1rem; color: var(--navy-deep); margin-bottom: 8px; }
.speaker-bio {
  font-size: .83rem;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.speaker-bio.expanded {
  -webkit-line-clamp: unset;
  overflow: visible;
}
.speaker-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  transition: var(--transition);
}
.speaker-toggle:hover { color: var(--gold-hover); }

/* ---------- BLOG PREVIEW (homepage) ---------- */
.blog-preview-section { background: var(--off-white); }

.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

/* skeleton loaders */
.blog-skeleton {
  height: 380px;
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, #e2ecf5 25%, #d0e3f0 50%, #e2ecf5 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* blog card */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.blog-card-img {
  display: block;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  position: relative;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.35);
}
.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.blog-card-meta time {
  font-size: .75rem;
  color: var(--muted);
  font-weight: 500;
}
.blog-category {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  background: var(--gray-light);
  color: var(--navy-deep);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.blog-card-body h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--navy-deep);
}
.blog-card-body h3 a { color: inherit; transition: color .2s; }
.blog-card-body h3 a:hover { color: var(--navy); }
.blog-card-body p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 4px;
  transition: color .2s, gap .2s;
}
.blog-read-more:hover { color: var(--navy-light); gap: 8px; }

.blog-preview-cta {
  text-align: center;
  margin-top: 48px;
}

/* ---------- BLOG LISTING PAGE ---------- */
.blog-hero {
  background: linear-gradient(135deg, #002B5C 0%, var(--navy-deep) 60%, var(--navy) 100%);
  padding: 140px 0 80px;
  text-align: center;
  color: var(--white);
}
.blog-hero h1 { margin-bottom: 12px; }
.blog-hero p {
  color: rgba(255,255,255,.7);
  max-width: 540px;
  margin: 0 auto;
}

.blog-filters {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 72px;
  z-index: 100;
}
.blog-filters-inner {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-btn {
  padding: 6px 16px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--muted);
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--white);
}

.blog-main { padding: 64px 0 80px; }
.blog-main .blog-preview-grid { margin-top: 0; }

.blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.blog-empty svg { margin: 0 auto 16px; display: block; opacity: .3; }
.blog-empty p { font-size: 1rem; }

/* ---------- BLOG ARTICLE PAGE ---------- */
.article-hero {
  background: linear-gradient(135deg, #002B5C 0%, var(--navy-deep) 60%, var(--navy) 100%);
  padding: 120px 0 60px;
  color: var(--white);
}
.article-breadcrumb {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.article-breadcrumb a { color: rgba(255,255,255,.65); transition: color .2s; }
.article-breadcrumb a:hover { color: var(--white); }
.article-hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.article-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.25;
  max-width: 860px;
}
.article-hero-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
  font-size: .82rem;
  color: rgba(255,255,255,.65);
}
.article-hero-info span { display: flex; align-items: center; gap: 5px; }

.article-cover {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
  background: var(--gray-light);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: 56px 0 80px;
  align-items: start;
}
.article-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
}
.article-body h2 {
  font-size: 1.5rem;
  color: var(--navy-deep);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.article-body h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin: 28px 0 12px;
}
.article-body p { margin-bottom: 20px; }
.article-body ul, .article-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
  border-left: 4px solid var(--navy-light);
  padding: 16px 20px;
  margin: 24px 0;
  background: var(--gray-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--muted);
}
.article-body a { color: var(--navy); text-decoration: underline; }
.article-body img { max-width: 100%; border-radius: var(--radius-sm); margin: 24px 0; }

.article-sidebar { position: sticky; top: 96px; }
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-card h4 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--navy-deep);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-light);
}
.sidebar-recent-list { display: flex; flex-direction: column; gap: 14px; }
.sidebar-recent-item a {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  transition: color .2s;
}
.sidebar-recent-item a:hover { color: var(--navy); }
.sidebar-recent-item time { display: block; font-size: .75rem; color: var(--muted); margin-top: 3px; }

.article-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 40px;
  transition: gap .2s, color .2s;
}
.article-back-btn:hover { color: var(--navy-light); gap: 10px; }

.article-share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.article-share span { font-size: .82rem; font-weight: 600; color: var(--muted); }
.share-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.share-btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--white); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .nucleos-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .speakers-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}

@media (max-width: 768px) {
  :root { --section-py: 56px; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero-content { max-width: 100%; }
  .hero-actions .btn { padding: 12px 24px; font-size: .88rem; }

  .stats-bar .container { gap: 24px; }

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

  .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
  .sobre-img::after { display: none; }

  .nucleos-grid { grid-template-columns: 1fr; max-width: 100%; }

  .esp-grid { grid-template-columns: 1fr; }
  .esp-card { flex-direction: column; }
  .esp-photo { width: 100%; height: 200px; }

  .contatos-grid { grid-template-columns: 1fr; gap: 40px; }

  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }

  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

  .nucleo-content { grid-template-columns: 1fr; gap: 40px; }
  .nucleo-content.reverse { direction: ltr; }

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

  .blog-preview-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .stats-bar .container { flex-direction: column; gap: 16px; }
}
