:root{
  --brand: #38418B;
  --brand-dark: #3D427A;
  --bg: #F6F7F9;
  --line: #E6E7E8;
  --text: #111827;
}

html, body{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

/* Topbar */
.topbar{
  position: relative;
  z-index: 1020;
  margin-top: 40px; /* altura da navbar */
  background: var(--brand);
  color: #fff;
}
.topbar-link{
  color: #fff;
  text-decoration: none;
  opacity: .95;
}
.topbar-link:hover{
  opacity: 1;
  text-decoration: underline;
}

/* Botões */
.btn-brand{
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  border-radius: 12px;
}
.btn-brand:hover{
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}
.btn-ghost{
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  border-radius: 12px;
}
.btn-ghost:hover{
  border-color: rgba(255,255,255,.55);
  color: #fff;
  background: rgba(255,255,255,.08);
}

/* Navbar moderna */
.navbar-fixed{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1030;
  background: transparent;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
body{
  padding-top: 64px; /* evita o conteúdo passar por baixo da navbar */
}

.navbar-modern .nav-link{
  font-weight: 600;
  transition: color .2s ease, opacity .2s ease;
}

/* ===== NAVBAR NO TOPO (glass escuro) ===== */
.navbar-modern{
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}

.navbar-modern:not(.is-scrolled){
  background: rgba(251, 253, 254, 0.925) !important;   /* garante contraste */
  backdrop-filter: blur(10px);
}

.navbar-modern:not(.is-scrolled) .nav-link,
.navbar-modern:not(.is-scrolled) .navbar-brand{
  color: #111827 !important;
}

.navbar-modern:not(.is-scrolled) .nav-link:hover{
  color: #3D427A !important;
  opacity: 1;
}

/* ===== NAVBAR AO SCROLL (glass claro) ===== */
.navbar-modern.is-scrolled{
  background: rgba(255,255,255,.86) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(17,24,39,.10);
}

.navbar-modern.is-scrolled .nav-link,
.navbar-modern.is-scrolled .navbar-brand{
  color: #111827 !important;
}


/* Badge soft */
.badge-soft{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  padding: .40rem .70rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

/* ===== HERO COM SLIDER (Swiper) - CORRIGIDO ===== */
.hero-slider{
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0b1020;
}

/* Só o container do Swiper fica absoluto */
.hero-slider .heroSwiper{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Swiper precisa de altura no wrapper e slides */
.hero-slider .heroSwiper .swiper-wrapper{
  height: 100%;
}

.hero-slider .heroSwiper .swiper-slide{
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Overlay acima do slider */
.hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(60% 70% at 30% 20%,
    rgba(56,65,139,.55) 0%,
    rgba(11,16,32,.85) 55%,
    rgba(11,16,32,.92) 100%);
}

/* Conteúdo acima de tudo */
.hero-content{
  position: relative;
  z-index: 2;
  padding: 84px 0;
}


/* Card glass no hero */
.glass-card{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.92);
}

/* Setas e paginação do Swiper (premium) */
.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(10px);
  transition: transform .15s ease, background .15s ease;
}
.heroSwiper .swiper-button-next:hover,
.heroSwiper .swiper-button-prev:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.22);
}
.heroSwiper .swiper-button-next::after,
.heroSwiper .swiper-button-prev::after{
  font-size: 16px;
  color: #fff;
}

.heroSwiper .swiper-pagination{
  bottom: 18px !important;
}
.heroSwiper .swiper-pagination-bullet{
  background: rgba(255,255,255,.55);
  opacity: 1;
}
.heroSwiper .swiper-pagination-bullet-active{
  background: #fff;
}

.hero-slider .heroSwiper .swiper-slide{
  background-size: cover;
  background-position: center;
  filter: saturate(1.02);
}


/* Hint de scroll */
.hero-scroll-hint{
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,.78);
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.16);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
}
.hero-scroll-hint:hover{
  color: #fff;
}

/* Seções */
.section{
  padding: 72px 0;
}

/* Pills (chips) */
.pill{
  display: inline-flex;
  align-items: center;
  padding: .35rem .65rem;
  border-radius: 999px;
  border: 1px solid rgba(56,65,139,.22);
  background: rgba(56,65,139,.08);
  color: var(--brand);
  font-weight: 600;
  font-size: .9rem;
}

/* Cards hover premium */
.card{
  border-radius: 16px;
  border: 1px solid var(--line);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(17,24,39,.10);
  border-color: rgba(56,65,139,.25);
}

/* Links footer */
.footer-link{
  text-decoration: none;
  color: var(--text);
}
.footer-link:hover{
  color: var(--brand);
  text-decoration: underline;
}

/* Reveal ao scroll */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Reduzir movimento */
@media (prefers-reduced-motion: reduce){
  .reveal, .card, .navbar-modern, .swiper-slide{
    transition: none !important;
    transform: none !important;
  }
}

/* ===== SEÇÕES (modelo inspiração) ===== */
.section-white{ background: #fff; }
.section-soft{
  background: linear-gradient(180deg, #f6f7f9 0%, #eef2f7 100%);
}

.section-head{ margin-bottom: 8px; }
.eyebrow{
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(17,24,39,.55);
  font-weight: 700;
  letter-spacing: .18em;
  font-size: .78rem;
  text-transform: uppercase;
}
.eyebrow-line{
  height: 1px;
  background: rgba(17,24,39,.18);
  flex: 0 0 120px;
}
.section-title{
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ===== VÍDEO CARD ===== */
.video-card{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(17,24,39,.10);
  box-shadow: 0 18px 45px rgba(17,24,39,.08);
  background: #0b1020;
}

/* ===== ACCORDION LIMPO (PILARES) ===== */
.accordion-clean .accordion-item{
  border: 0;
  margin-bottom: 12px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(17,24,39,.06);
}
.accordion-clean .accordion-button{
  background: #fff;
  font-weight: 700;
  padding: 18px 18px;
}
.accordion-clean .accordion-button:focus{
  box-shadow: none;
}
.accordion-clean .accordion-button:not(.collapsed){
  color: #111827;
  background: #fff;
}
.acc-num{
  display: inline-flex;
  width: 32px;
  justify-content: center;
  margin-right: 10px;
  color: rgba(56,65,139,.9);
  font-weight: 800;
}

/* ===== FAQ (pergunta à esquerda / resposta à direita) ===== */
.faq-list{
  border-top: 1px solid rgba(17,24,39,.10);
}
.faq-row{
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(17,24,39,.10);
}
.faq-q{
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.faq-icon{
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 2px solid rgba(56,65,139,.55);
  color: rgba(56,65,139,.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  margin-top: 2px;
}
@media (max-width: 991px){
  .faq-row{ grid-template-columns: 1fr; }
}

/* ===== FALE CONOSCO (cards + form) ===== */
.info-card{
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 22px 18px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(17,24,39,.10);
  box-shadow: 0 18px 45px rgba(17,24,39,.08);
  text-decoration: none;
  color: inherit;
}
.info-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 55px rgba(17,24,39,.10);
  border-color: rgba(56,65,139,.20);
}
.info-ico{
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 2px dotted rgba(56,65,139,.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(56,65,139,.9);
  font-size: 22px;
}
.info-title{
  font-weight: 800;
}

.contact-form-card{
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(17,24,39,.10);
  box-shadow: 0 22px 60px rgba(17,24,39,.10);
  padding: 26px;
}
.contact-form-card .form-control{
  border-radius: 12px;
  border-color: rgba(17,24,39,.16);
}
.contact-form-card .form-control:focus{
  border-color: rgba(56,65,139,.45);
  box-shadow: 0 0 0 .2rem rgba(56,65,139,.12);
}

/* Texto do Quem somos: menor e mais “corporativo” */
.who-text{
  font-size: 0.98rem;
  line-height: 1.75;
  max-width: 62ch;
}

/* Pilares: texto da esquerda (mais compacto) */
.pillars-lead-left{
  font-size: 0.98rem;
  line-height: 1.75;
  max-width: 42ch;
}

/* Pilares: centralizar o bloco do accordion dentro da coluna direita */
.pillars-wrap{
  max-width: 720px;     /* controla a “largura premium” do accordion */
  margin-left: auto;    /* empurra para a direita e centraliza na coluna */
}

/* Em telas menores, deixa full width */
@media (max-width: 991px){
  .pillars-wrap{
    max-width: 100%;
    margin-left: 0;
  }
  .pillars-lead-left{
    max-width: 65ch;
  }
}

/* Botão outline no padrão da marca (mais “tema”) */
.btn-outline-brand{
  border-radius: 12px;
  border: 1px solid rgba(56,65,139,.55);
  color: var(--brand);
  font-weight: 700;
  padding: .85rem 1.25rem;
}
.btn-outline-brand:hover{
  background: rgba(56, 66, 139, 0.166);
  border-color: rgba(56,65,139,.75);
  color: var(--brand);
}

/* Opcional: deixar a seção Quem somos com mais “respiro” horizontal */
@media (min-width: 992px){
  #quem-somos .who-text{
    max-width: 70ch;
  }
}

/* ===== FOOTER FOLDER (BRANCO) ===== */
.footer-folder.footer-folder-light{
  background: #fff;
  color: var(--text);
  border-top: 1px solid rgba(17,24,39,.10);
}

.footer-folder-light .footer-top{
  padding: 72px 0 44px;
  border-bottom: 1px solid rgba(17,24,39,.10);
}

.footer-folder-light .footer-bottom{
  padding: 18px 0 22px;
}

.footer-folder-light .footer-title{
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.footer-folder-light .footer-text{
  color: rgba(17,24,39,.68);
  line-height: 1.7;
}

.footer-folder-light .footer-muted{
  color: rgba(17,24,39,.55);
}

.footer-folder-light .footer-links a{
  display: inline-block;
  padding: 6px 0;
  color: rgba(17,24,39,.78);
  text-decoration: none;
}
.footer-folder-light .footer-links a:hover{
  color: var(--brand);
  text-decoration: underline;
}

.footer-folder-light .footer-meta{
  color: rgba(17,24,39,.68);
}
.footer-folder-light .footer-meta li{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 6px 0;
}
.footer-folder-light .footer-meta i{
  margin-top: 2px;
  opacity: .9;
  color: rgba(56,65,139,.85);
}

/* Ícones sociais (claros) */
.footer-folder-light .footer-social{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17,24,39,.12);
  color: rgba(17,24,39,.75);
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.footer-folder-light .footer-social:hover{
  transform: translateY(-2px);
  background: rgba(56,65,139,.08);
  border-color: rgba(56,65,139,.20);
  color: var(--brand);
}

/* Form do footer (claro) */
.footer-folder-light .footer-form .form-control{
  border-radius: 12px 0 0 12px;
  border-color: rgba(17,24,39,.14);
  background: #fff;
  color: var(--text);
}
.footer-folder-light .footer-form .form-control::placeholder{
  color: rgba(17,24,39,.55);
}
.footer-folder-light .footer-form .form-control:focus{
  border-color: rgba(56,65,139,.45);
  box-shadow: 0 0 0 .2rem rgba(56,65,139,.12);
}
.footer-folder-light .footer-form .btn{
  border-radius: 0 12px 12px 0;
}


/* ===== SEÇÃO AZUL (mesmo tom da topbar / marca) ===== */
.section-brand{
  background: var(--brand);
  color: rgba(255,255,255,.92);
  position: relative;
  overflow: hidden;
}

/* brilho suave (para não ficar chapado) */
.section-brand::before{
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(60% 55% at 25% 20%, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 60%);
  pointer-events: none;
}

.section-brand > .container{
  position: relative;
  z-index: 1;
}

.section-brand .section-title{
  color: #fff;
}

.section-brand .text-muted{
  color: rgba(255,255,255,.72) !important;
}

.section-brand .eyebrow{
  color: rgba(255,255,255,.70);
}
.section-brand .eyebrow-line{
  background: rgba(255,255,255,.22);
}

/* Cards dentro da seção azul: “glass” claro */
.section-brand .card,
.section-brand .info-card,
.section-brand .contact-form-card,
.section-brand .accordion-clean .accordion-item{
  background: rgba(255,255,255,.10) !important;
  border-color: rgba(255,255,255,.20) !important;
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
}

.section-brand .accordion-clean .accordion-button{
  background: rgba(255,255,255,.10) !important;
  color: #fff;
}

.section-brand .accordion-clean .accordion-body{
  color: rgba(255,255,255,.80) !important;
}

.section-brand .acc-num{
  color: rgba(255,255,255,.92);
}

/* FAQ dentro de azul (se algum dia usar) */
.section-brand .faq-icon{
  border-color: rgba(255,255,255,.55);
  color: rgba(255,255,255,.90);
}

/* Inputs dentro da seção azul */
.section-brand .form-control{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.22);
  color: #fff;
}
.section-brand .form-control::placeholder{
  color: rgba(255,255,255,.65);
}
.section-brand .form-control:focus{
  border-color: rgba(255,255,255,.40);
  box-shadow: 0 0 0 .2rem rgba(255,255,255,.10);
}

/* ===== AJUSTES: FALE CONOSCO dentro de .section-brand ===== */

/* Ícones dos cards (círculo + ícone) */
.section-brand .info-ico{
  border-color: rgba(255,255,255,.28) !important;
  color: rgba(255,255,255,.92) !important;
  background: rgba(255,255,255,.08);
}

/* Cards do lado esquerdo: texto em branco */
.section-brand .info-card{
  color: rgba(255,255,255,.92) !important;
}
.section-brand .info-card .text-muted{
  color: rgba(255,255,255,.70) !important;
}

/* Formulário: bordas e placeholders claros */
.section-brand .contact-form-card{
  background: rgba(255,255,255,.10) !important;
  border-color: rgba(255,255,255,.20) !important;
}
.section-brand .contact-form-card .form-control{
  background: rgba(255,255,255,.10) !important;
  border-color: rgba(255,255,255,.22) !important;
  color: #fff !important;
}
.section-brand .contact-form-card .form-control::placeholder{
  color: rgba(255,255,255,.68) !important;
}

/* Botão Enviar: versão branca (bem visível) */
.section-brand .contact-form-card .btn-brand{
  background: #fff !important;
  color: var(--brand) !important;
  border-color: rgba(255,255,255,.80) !important;
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
}
.section-brand .contact-form-card .btn-brand:hover{
  background: rgba(255,255,255,.92) !important;
  transform: translateY(-1px);
}

.section-brand .contact-form-card .btn-brand{
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.75) !important;
}
.section-brand .contact-form-card .btn-brand:hover{
  background: rgba(255,255,255,.12) !important;
}

/* ===== PÁGINAS INTERNAS (SOBRE / ATUAÇÃO) ===== */
.inner-hero{
  position: relative;
  padding: 64px 0 56px;
  overflow: hidden;
}
.inner-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.inner-hero > .container{ position: relative; z-index: 1; }

.inner-hero-brand{
  background: linear-gradient(135deg, rgba(56,65,139,.98) 0%, rgba(61,66,122,.98) 58%, #1b2250 100%);
  color: #fff;
}
.inner-hero-brand::before{
  background: radial-gradient(50% 60% at 15% 15%, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 70%);
}
.inner-hero-brand .glass-card{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}

.inner-hero-light{
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
  border-bottom: 1px solid rgba(17,24,39,.06);
}
.inner-hero-light::before{
  background: radial-gradient(50% 50% at 90% 10%, rgba(56,65,139,.08) 0%, rgba(56,65,139,0) 75%);
}

.content-panel{
  background: #fff;
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 14px 38px rgba(17,24,39,.05);
}
.content-panel p{ line-height: 1.75; }

.list-clean{
  list-style: none;
  padding: 0;
  margin: 0;
}
.list-clean li{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
}
.list-clean i{
  color: rgba(56,65,139,.9);
  margin-top: 2px;
}

.icon-card .icon-circle,
.service-card-law .icon-circle{
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(56,65,139,.18);
  background: rgba(56,65,139,.07);
  color: var(--brand);
  font-size: 1.2rem;
}

.timeline-lite{
  display: grid;
  gap: 12px;
}
.timeline-item{
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(17,24,39,.04);
}
.timeline-item > span{
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(56,65,139,.08);
  border: 1px solid rgba(56,65,139,.16);
  color: var(--brand);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.timeline-item strong{ display: block; margin-bottom: 4px; }

.check-grid{
  display: grid;
  gap: 10px;
}
.check-grid > div{
  background: #fff;
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.check-grid i{
  color: rgba(56,65,139,.9);
  margin-top: 2px;
}

@media (max-width: 991px){
  .inner-hero{ padding: 46px 0 40px; }
  .timeline-item{ grid-template-columns: 42px 1fr; }
  .timeline-item > span{ width: 42px; height: 42px; border-radius: 12px; }
}

/* =========================================================
   PÁGINA - ASSOCIADOS (ESBOÇO)
   ========================================================= */

.inner-hero.associados-hero {
  padding: 140px 0 72px;
  background:
    linear-gradient(180deg, rgba(6, 10, 20, 0.86), rgba(6, 10, 20, 0.92)),
    radial-gradient(circle at 15% 20%, rgba(40, 93, 170, 0.18), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.05), transparent 40%),
    #0b1220;
  color: #fff;
}

.inner-hero__content {
  max-width: 820px;
}

.inner-hero__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  font-size: .85rem;
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.04);
}

.inner-hero__content h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
}

.inner-hero__content p {
  margin: 0;
  color: rgba(255,255,255,.82);
  max-width: 720px;
  line-height: 1.65;
}

/* Seções */
.associados-destaques,
.associados-lista,
.associados-nota {
  background: #f7f9fc;
}

.associados-lista {
  padding-top: 0;
}

.associados-nota {
  padding-top: 0;
  padding-bottom: 80px;
}

/* Grid destaque */
.associados-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.assoc-feature-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  background: #fff;
  border: 1px solid rgba(12, 27, 61, 0.08);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 14px 35px rgba(10, 25, 60, 0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.assoc-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(10, 25, 60, 0.12);
}

.assoc-feature-card__img {
  border-radius: 14px;
  overflow: hidden;
  background: #eef2f7;
  aspect-ratio: 4 / 5;
  align-self: start;
}

.assoc-feature-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Borda de destaque (sutil) */
.assoc-feature-card:first-child {
  border-top: 3px solid #1f4ea3;
}
.assoc-feature-card:last-child {
  border-top: 3px solid #1f4ea3;
}

.assoc-feature-card__body h3 {
  margin: 8px 0 6px;
  font-size: 1.4rem;
  color: #0d1b35;
}

.assoc-badge {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(31, 78, 163, .09);
  color: #1f4ea3;
  border: 1px solid rgba(31, 78, 163, .15);
}

.assoc-legal-name {
  margin: 0 0 10px;
  font-size: .88rem;
  color: #55647d;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.assoc-meta p {
  margin: 0 0 10px;
  color: #24344f;
  line-height: 1.55;
}

.assoc-desc {
  margin: 0;
  color: #4b5d78;
  line-height: 1.7;
}

/* Grid geral */
.associados-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.assoc-card {
  background: #fff;
  border: 1px solid rgba(12, 27, 61, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(10, 25, 60, 0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.assoc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(10, 25, 60, 0.1);
}

.assoc-card__img {
  background: #edf2f8;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.assoc-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.assoc-card:hover .assoc-card__img img {
  transform: scale(1.03);
}

.assoc-card__body {
  padding: 14px 14px 16px;
}

.assoc-card__body h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #0d1b35;
  line-height: 1.25;
}

.assoc-card .assoc-legal-name {
  margin-bottom: 8px;
  font-size: .75rem;
}

.assoc-qual {
  margin: 0;
  font-size: .88rem;
  color: #324561;
  line-height: 1.45;
}

/* Bloco final de observações */
.legal-note-card {
  background: #fff;
  border: 1px solid rgba(12, 27, 61, 0.08);
  border-left: 4px solid #1f4ea3;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 28px rgba(10, 25, 60, 0.06);
}

.legal-note-card h3 {
  margin: 0 0 10px;
  color: #0d1b35;
  font-size: 1.15rem;
}

.legal-note-card ul {
  margin: 0;
  padding-left: 18px;
}

.legal-note-card li {
  margin-bottom: 6px;
  color: #42556f;
  line-height: 1.55;
}

/* Responsividade */
@media (max-width: 1100px) {
  .associados-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .assoc-feature-card {
    grid-template-columns: 180px 1fr;
  }
}

@media (max-width: 900px) {
  .associados-feature-grid {
    grid-template-columns: 1fr;
  }

  .associados-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .inner-hero.associados-hero {
    padding: 120px 0 58px;
  }

  .assoc-feature-card {
    grid-template-columns: 1fr;
  }

  .assoc-feature-card__img {
    max-width: 280px;
  }

  .associados-grid {
    grid-template-columns: 1fr;
  }
}

html,
body{
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
iframe{
  max-width: 100%;
}

/* Tablets e menu colapsado do Bootstrap */
@media (max-width: 991.98px){
  body{
    padding-top: 72px;
  }

  .navbar-fixed{
    background: rgba(255,255,255,.96) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 28px rgba(17,24,39,.10);
  }

  .navbar-brand img{
    height: 48px;
    width: auto;
  }

  .navbar-toggler{
    border: 1px solid rgba(17,24,39,.16);
    border-radius: 12px;
    padding: .45rem .55rem;
  }

  .navbar-toggler:focus{
    box-shadow: 0 0 0 .18rem rgba(56,65,139,.14);
  }

  .navbar-collapse{
    margin-top: 10px;
    padding: 12px 14px 14px;
    background: #fff;
    border: 1px solid rgba(17,24,39,.10);
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(17,24,39,.12);
    max-height: calc(100vh - 92px);
    overflow-y: auto;
  }

  .navbar-nav{
    align-items: stretch !important;
    gap: 0 !important;
  }

  .navbar-modern .nav-link{
    color: #111827 !important;
    padding: .78rem .25rem;
    border-bottom: 1px solid rgba(17,24,39,.08);
  }

  .navbar-modern .nav-link.active{
    color: var(--brand) !important;
  }

  .navbar-nav .nav-item:last-child .btn,
  .navbar-nav .btn-brand{
    width: 100%;
    margin-top: 10px;
    padding: .78rem 1rem;
    border-radius: 12px;
  }

  .topbar{
    margin-top: 0;
  }

  .inner-hero{
    padding: 46px 0 40px;
  }

  .section{
    padding: 56px 0;
  }

  .section-head{
    margin-bottom: 12px;
  }

  .eyebrow{
    gap: 8px;
    flex-wrap: wrap;
    letter-spacing: .12em;
    font-size: .72rem;
  }

  .eyebrow-line{
    flex: 0 0 70px;
  }

  .section-title{
    font-size: clamp(1.55rem, 5vw, 2.15rem);
    line-height: 1.15;
  }

  .content-panel,
  .contact-form-card,
  .card.p-4,
  .service-card-law,
  .icon-card{
    padding: 20px !important;
  }

  .timeline-item{
    grid-template-columns: 42px 1fr;
    gap: 12px;
    padding: 14px;
  }

  .timeline-item > span{
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .footer-folder-light .footer-top{
    padding: 48px 0 32px;
  }
}

/* Celulares */
@media (max-width: 767.98px){
  .topbar .container{
    align-items: flex-start !important;
  }

  .topbar .container > div:first-child{
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px !important;
  }

  .topbar .container > div:first-child span,
  .topbar-link{
    font-size: .78rem;
    line-height: 1.35;
  }

  .hero-slider{
    min-height: auto;
    display: block;
  }

  .hero-content{
    padding: 52px 0 58px;
  }

  .hero-content .row{
    --bs-gutter-y: 1.25rem;
  }

  .hero-slider h1,
  .inner-hero h1,
  .inner-hero__content h1{
    font-size: clamp(2rem, 10vw, 2.65rem);
    line-height: 1.05;
  }

  .hero-lead,
  .inner-hero .lead,
  .inner-hero__content p{
    font-size: 1rem;
    line-height: 1.55;
  }

  .badge-soft,
  .inner-hero__eyebrow{
    font-size: .76rem;
    padding: .35rem .6rem;
  }

  .hero-slider .glass-card{
    padding: 18px !important;
  }

  .hero-slider .d-flex.gap-3{
    gap: .75rem !important;
  }

  .hero-slider .bi.fs-4{
    font-size: 1.15rem !important;
  }

  .hero-slider > .swiper-button-next,
  .hero-slider > .swiper-button-prev,
  .heroSwiper .swiper-button-next,
  .heroSwiper .swiper-button-prev{
    display: none !important;
  }

  .heroSwiper .swiper-pagination{
    bottom: 10px !important;
  }

  .hero-scroll-hint{
    display: none !important;
  }

  .hero-overlay{
    background: linear-gradient(180deg, rgba(11,16,32,.86) 0%, rgba(11,16,32,.74) 48%, rgba(11,16,32,.94) 100%);
  }

  .hero-slider .heroSwiper .swiper-slide{
    background-position: center top;
  }

  .who-text,
  .pillars-lead-left{
    max-width: 100%;
    font-size: .96rem;
    line-height: 1.7;
  }

  .faq-row{
    padding: 20px 0;
    gap: 10px;
  }

  .faq-q{
    gap: 10px;
  }

  .faq-icon{
    flex: 0 0 22px;
  }

  .info-card{
    align-items: flex-start;
    padding: 18px 16px;
  }

  .info-ico{
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    font-size: 20px;
  }

  .contact-form-card .form-control,
  .contact-form-card .btn{
    min-height: 46px;
  }

  .contact-form-card .btn{
    width: 100%;
  }

  .section-brand .row.align-items-center .text-lg-end{
    text-align: left !important;
  }

  .section-brand .btn-ghost{
    width: 100%;
    text-align: center;
  }

  .footer-folder-light .footer-bottom{
    text-align: center;
  }

  .footer-folder-light .footer-social{
    width: 42px;
    height: 42px;
  }
}

/* Celulares pequenos */
@media (max-width: 575.98px){
  .container{
    padding-left: 18px;
    padding-right: 18px;
  }

  .navbar-brand img{
    height: 42px;
  }

  .navbar-collapse{
    border-radius: 14px;
  }

  .hero-content .btn,
  .inner-hero .btn,
  .section .btn-lg{
    width: 100%;
  }

  .section{
    padding: 46px 0;
  }

  .inner-hero{
    padding: 38px 0 34px;
  }

  .section-title{
    font-size: clamp(1.45rem, 8vw, 1.95rem);
  }

  .eyebrow-line{
    flex-basis: 54px;
  }

  .list-clean li{
    gap: 8px;
  }

  .timeline-item{
    grid-template-columns: 38px 1fr;
  }

  .timeline-item > span{
    width: 38px;
    height: 38px;
    font-size: .86rem;
  }

  .footer-folder-light .footer-top{
    padding-top: 40px;
  }

  .footer-folder-light .footer-form .form-control,
  .footer-folder-light .footer-form .btn{
    border-radius: 12px;
  }
}

/* Página Associados */
@media (max-width: 900px){
  .associados-feature-grid{
    gap: 18px;
  }
}

@media (max-width: 640px){
  .inner-hero.associados-hero{
    padding: 48px 0 40px;
  }

  .associados-destaques,
  .associados-lista,
  .associados-nota{
    background: #f7f9fc;
  }

  .associados-lista{
    padding-top: 0;
  }

  .assoc-feature-card{
    padding: 14px;
    gap: 16px;
    border-radius: 16px;
  }

  .assoc-feature-card__img{
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
  }

  .assoc-feature-card__body h3{
    font-size: 1.2rem;
    line-height: 1.2;
  }

  .assoc-legal-name{
    font-size: .76rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .assoc-meta p,
  .assoc-desc,
  .assoc-qual{
    font-size: .9rem;
    line-height: 1.55;
  }

  .associados-grid{
    gap: 16px;
  }

  .assoc-card{
    border-radius: 15px;
  }

  .assoc-card__body{
    padding: 14px;
  }
}

/* =========================================================
   AJUSTE FINO MOBILE - MACIEL ADVOGADOS
   Cole ao FINAL do assets/css/theme.css
   ========================================================= */

@media (max-width: 767.98px){
  body{
    padding-top: 64px;
  }

  .navbar-modern{
    padding-top: .45rem !important;
    padding-bottom: .45rem !important;
  }

  .navbar-brand img{
    height: 38px !important;
    width: auto;
  }

  .navbar-toggler{
    width: 46px;
    height: 46px;
    padding: .35rem .45rem !important;
    border-radius: 14px !important;
  }

  /* Topbar: telefone à esquerda e e-mail à direita */
  .topbar{
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }

  .topbar .container{
    display: block !important;
    padding-left: 16px;
    padding-right: 16px;
  }

  .topbar .container > div:first-child{
    width: 100%;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }

  .topbar .container > div:first-child span{
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: .68rem !important;
    line-height: 1.1 !important;
    white-space: nowrap;
  }

  .topbar .container > div:first-child span:last-child{
    justify-content: flex-end;
    text-align: right;
  }

  .topbar .container > div:first-child .d-none,
  .topbar .container > div:nth-child(2){
    display: none !important;
  }

  .topbar i{
    font-size: .72rem;
    margin-right: 2px !important;
  }

  /* Hero mais compacto */
  .hero-slider{
    min-height: calc(100dvh - 94px);
    display: block;
  }

  .hero-content{
    padding: 38px 0 42px !important;
  }

  .hero-content .row{
    --bs-gutter-y: .85rem;
  }

  .badge-soft,
  .inner-hero__eyebrow{
    font-size: .68rem !important;
    padding: .30rem .54rem !important;
  }

  .hero-slider h1,
  .inner-hero h1,
  .inner-hero__content h1{
    font-size: clamp(1.72rem, 8.4vw, 2.18rem) !important;
    line-height: 1.08 !important;
    margin-top: .72rem !important;
    margin-bottom: .65rem !important;
  }

  .hero-lead,
  .inner-hero .lead,
  .inner-hero__content p{
    font-size: .88rem !important;
    line-height: 1.48 !important;
    margin-bottom: 1rem !important;
  }

  .hero-content .btn,
  .inner-hero .btn,
  .section .btn-lg{
    min-height: 42px;
    padding: .62rem .88rem !important;
    font-size: .90rem !important;
    border-radius: 10px !important;
  }

  .hero-content .d-flex.flex-column{
    gap: .48rem !important;
  }

  .hero-overlay{
    background: linear-gradient(
      180deg,
      rgba(11,16,32,.76) 0%,
      rgba(11,16,32,.58) 48%,
      rgba(11,16,32,.84) 100%
    ) !important;
  }

  .hero-slider .heroSwiper .swiper-slide{
    background-position: center top !important;
  }

  /* Card branco do hero menor */
  .hero-slider .glass-card{
    padding: 15px !important;
    border-radius: 17px !important;
  }

  .hero-slider .glass-card h5{
    font-size: .98rem !important;
    line-height: 1.2;
    margin-bottom: .70rem !important;
  }

  .hero-slider .glass-card .d-flex.gap-3{
    gap: .62rem !important;
    margin-bottom: .62rem !important;
  }

  .hero-slider .glass-card .bi.fs-4{
    font-size: .98rem !important;
    margin-top: 2px;
  }

  .hero-slider .glass-card .fw-semibold{
    font-size: .86rem !important;
    line-height: 1.25 !important;
  }

  .hero-slider .glass-card .small{
    font-size: .76rem !important;
    line-height: 1.32 !important;
  }

  .content-panel,
  .contact-form-card,
  .card.p-4,
  .service-card-law,
  .icon-card{
    padding: 16px !important;
    border-radius: 16px !important;
  }

  .section{
    padding: 42px 0 !important;
  }

  .section-title{
    font-size: clamp(1.34rem, 6.6vw, 1.82rem) !important;
    line-height: 1.15 !important;
  }

  .who-text,
  .pillars-lead-left,
  .text-muted,
  .muted{
    font-size: .88rem;
    line-height: 1.58;
  }
}

@media (max-width: 575.98px){
  body{
    padding-top: 58px;
  }

  .container{
    padding-left: 16px;
    padding-right: 16px;
  }

  .navbar-brand img{
    height: 35px !important;
  }

  .navbar-toggler{
    width: 44px;
    height: 44px;
  }

  .topbar .container{
    padding-left: 15px;
    padding-right: 15px;
  }

  .topbar .container > div:first-child span{
    font-size: .66rem !important;
  }

  .hero-slider{
    min-height: calc(100dvh - 86px);
  }

  .hero-content{
    padding-top: 34px !important;
    padding-bottom: 36px !important;
  }

  .hero-slider h1,
  .inner-hero h1,
  .inner-hero__content h1{
    font-size: clamp(1.62rem, 8vw, 2.05rem) !important;
  }

  .hero-lead,
  .inner-hero .lead,
  .inner-hero__content p{
    font-size: .84rem !important;
  }

  .hero-content .btn,
  .inner-hero .btn,
  .section .btn-lg{
    min-height: 40px;
    font-size: .86rem !important;
    padding: .58rem .82rem !important;
  }

  .hero-slider .glass-card{
    padding: 14px !important;
  }

  .hero-slider .glass-card h5{
    font-size: .94rem !important;
  }
}

/* =========================================================
   REFINO MOBILE - RESPIRO LATERAL E ESPAÇO ENTRE BOTÕES/CARD
   ========================================================= */

@media (max-width: 767.98px){

  /* Mais respiro lateral no hero */
  .hero-slider .container,
  .hero-content .container{
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  /* Evita que os botões fiquem colados nas laterais */
  .hero-content .btn{
    width: 100%;
  }

  /* Mais espaço entre o botão "Falar com a equipe" e o card Atendimento */
  .hero-slider .glass-card{
    margin-top: 14px !important;
  }

  /* Garante que o card fique bem encaixado no centro */
  .hero-slider .glass-card{
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 575.98px){

  .hero-slider .container,
  .hero-content .container{
    padding-left: 26px !important;
    padding-right: 26px !important;
  }

  .hero-slider .glass-card{
    margin-top: 16px !important;
  }
}

/* =========================================================
   HERO ASSOCIADOS - AZUL INSTITUCIONAL
   ========================================================= */

.associados-hero{
  background:
    linear-gradient(
      135deg,
      #38418B 0%,
      #303779 48%,
      #23295f 100%
    ) !important;
}

.associados-hero::before{
  background:
    radial-gradient(
      circle at top left,
      rgba(255,255,255,.16),
      transparent 34%
    ) !important;
  opacity: 1 !important;
}

.associados-hero .inner-hero__eyebrow,
.associados-hero h1,
.associados-hero p{
  color: #ffffff !important;
}

.associados-hero .inner-hero__eyebrow{
  background: rgba(255,255,255,.14) !important;
  border: 1px solid rgba(255,255,255,.28) !important;
}

.hp-field{
  position: absolute;
  left: -9999px;
  opacity: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden;
}

.form-alert{
  width: 100%;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: .95rem;
  line-height: 1.45;
  font-weight: 500;
}

.form-alert-success{
  background: #ecfdf3;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.form-alert-error{
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}