/* ==========================================================
   LOGCARD • stylesheet consolidado (Rubik + Source Sans 3)
   Ordem: Variáveis → Base → Layout → Header/Nav → Megamenu
          → Barra utilitária → Componentes → Utilitários
   ========================================================== */

/* =============== Variáveis =============== */
:root{
  /* Paleta */
  --brand:#C9A227; --brand-600:#B48F22; --brand-700:#9F7F1F;
  --greige:#F3F0E8; --paper:#fff; --line:#E6E4DE;
  --ink:#1E1E1E; --ink-2:#3A3A3A; --muted:#6B6B6B;

  /* Tipografia */
  --font-body:'Source Sans 3',system-ui,-apple-system,'Segoe UI',Roboto,Ubuntu,'Helvetica Neue',Arial,sans-serif;
  --font-display:'Rubik',system-ui,-apple-system,'Segoe UI',Roboto,Ubuntu,'Helvetica Neue',Arial,sans-serif;

  /* Escalas */
  --fs-base:16px;            /* mobile base */
  --fs-base-lg:18px;         /* ≥992px */
  --lh-body:1.65; --lh-head:1.2;

  /* Header / Nav */
  --logo-size-sm:72px; --logo-size-md:80px; --logo-size-lg:88px;
  --nav-font-sm:16px; --nav-font-lg:18px;

  /* Barra utilitária */
  --util-h:44px;

  /* Acessibilidade */
  --focus-ring: 0 0 0 3px rgba(201,162,39,.35);
}

/* =============== Base =============== */
*{ box-sizing:border-box }
html, body{ height:100% }

html{ font-size:var(--fs-base) }
@media (min-width:992px){ html{ font-size:var(--fs-base-lg) } }

body{
  margin:0; background:var(--greige); color:var(--ink-2);
  font-family:var(--font-body); line-height:var(--lh-body);
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}

img{ max-width:100%; height:auto; display:block }
a{ color:var(--ink); text-decoration:none }
a:hover{ color:var(--brand) }

/* Títulos */
h1,h2,h3,h4,h5,h6{
  font-family:var(--font-display); color:var(--ink);
  margin:0 0 .55em; letter-spacing:.2px;
}
h1{ font-size:clamp(28px,4.2vw,40px); line-height:var(--lh-head) }
h2{ font-size:clamp(22px,3.2vw,28px); line-height:1.25 }
h3{ font-size:20px; line-height:1.3 }
p{ margin:0 0 1em }

/* Layout */
.container{ max-width:1200px; margin:0 auto; padding:0 20px }
main{ min-height:60vh }
.section{ padding:48px 0 }
.section-sm{ padding:28px 0 }

/* =============== Header / Navbar =============== */
.lc-topbar{
  position:sticky; top:0; z-index:110; background:#fff; border-bottom:1px solid var(--line);
}
.lc-topbar__inner{ display:flex; align-items:center; gap:12px; padding:12px 0 }
.lc-brand{ display:flex; align-items:center; text-decoration:none }
.lc-brand__logo{ height:var(--logo-size-sm); width:auto; display:block }
@media (min-width:768px){ .lc-brand__logo{ height:var(--logo-size-md) } }
@media (min-width:1200px){ .lc-brand__logo{ height:var(--logo-size-lg) } }

/* Toggle (mobile) */
.lc-nav__toggle{
  margin-left:auto; display:inline-flex; flex-direction:column; gap:4px; padding:8px 0;
  border:0; background:transparent; cursor:pointer;
}
.lc-nav__toggle span{ width:24px; height:2px; background:var(--ink); display:block; border-radius:2px }

/* Desktop: menu em linha */
@media (min-width:992px){
  .lc-nav__toggle{ display:none }
  .lc-menu{
    display:flex !important; flex-direction:row; align-items:center; gap:14px;
    width:auto; margin:0 0 0 auto;
  }
  .lc-menu .nav-link{ font-size:var(--nav-font-lg) }
}

/* =============== Barra utilitária (altura = botão) =============== */
.lc-utility{ background:#fff; border-top:1px solid var(--line) }
.lc-utility__inner{
  height:var(--util-h); padding:0; display:flex; align-items:center; justify-content:flex-end; gap:12px;
}
.utility-link{
  display:inline-flex; align-items:center; justify-content:center;
  height:var(--util-h); padding:0 14px; border-radius:10px;
  background:var(--brand); color:#fff; font-weight:700; font-family:var(--font-display);
}
.utility-link:hover{ background:var(--brand-600) }

.only-mobile{ display:block }
.only-desktop{ display:none }
@media (min-width:992px){
  .only-mobile{ display:none !important }
  .only-desktop{ display:block !important }
}

/* =============== Componentes comuns =============== */
.card{
  background:var(--paper); border:1px solid var(--line); border-radius:16px;
  box-shadow:0 2px 12px rgba(0,0,0,.04); padding:20px;
}

/* Banners institucionais */
.banner{
  padding:40px 0; border-bottom:1px solid var(--line); margin-bottom:24px;
  background:linear-gradient(180deg,#fff 0%, var(--greige) 100%);
}
.banner h1{ margin:0 }
.banner-lgpd{ background:linear-gradient(180deg,#fff 0%, #F7F5EE 100%); border-bottom:3px solid var(--brand-700) }
.badge-lgpd{ display:inline-block; background:var(--brand-700); color:#fff; font-weight:700;
  padding:4px 10px; border-radius:999px; font-size:12px; letter-spacing:.5px; font-family:var(--font-display) }
.banner-priv{ background:linear-gradient(180deg,#fff 0%, #F6F3EA 100%); border-bottom:3px solid var(--brand-600) }
.badge-priv{ display:inline-block; background:var(--brand-600); color:#fff; font-weight:700;
  padding:4px 10px; border-radius:999px; font-size:12px; letter-spacing:.5px; font-family:var(--font-display) }
.banner-qual{ background:linear-gradient(180deg,#fff 0%, #EFECE4 100%); border-bottom:3px solid var(--brand) }
.badge-qual{ display:inline-block; background:var(--brand); color:#fff; font-weight:700;
  padding:4px 10px; border-radius:999px; font-size:12px; letter-spacing:.5px; font-family:var(--font-display) }

/* Formulários */
form{ display:grid; gap:14px }
.label{ font-weight:600; color:var(--ink); font-family:var(--font-display) }
.input,.select,.textarea{
  width:100%; padding:10px 12px; border-radius:10px; border:1px solid var(--line);
  background:#fff; color:var(--ink); font-family:var(--font-body);
}
.input:focus,.select:focus,.textarea:focus{ outline:none; box-shadow:var(--focus-ring); border-color:var(--brand) }
.help{ font-size:12px; color:var(--muted) }

/* Tabelas */
.table-wrap{ width:100%; overflow:auto }
.table{
  width:100%; border-collapse:collapse; background:#fff;
  border-radius:12px; border:1px solid var(--line);
}
.table th,.table td{ padding:12px 14px; border-bottom:1px solid var(--line) }
.table th{
  background:#FAF9F6; text-align:left; font-weight:700; font-family:var(--font-display);
}
.table tr:hover td{ background:#FAFAFA }

/* Botões */
.btn{
  display:inline-flex; align-items:center; gap:8px; cursor:pointer; transition:.15s ease;
  padding:10px 16px; border-radius:12px; border:1px solid var(--line);
  background:#fff; color:var(--ink); font-family:var(--font-display); font-weight:600; letter-spacing:.2px;
}
.btn:hover{ transform:translateY(-1px); box-shadow:0 6px 14px rgba(0,0,0,.06) }
.btn:focus{ outline:none; box-shadow:var(--focus-ring) }
.btn-primary{ background:var(--brand); color:#fff; border-color:transparent }
.btn-primary:hover{ background:var(--brand-600) }
.btn-ghost{ background:transparent; border-color:var(--line) }
.btn-danger{ background:var(--danger); color:#fff; border-color:transparent }

/* Avisos */
.alert{ padding:12px 14px; border-radius:12px; border:1px solid var(--line); background:#fff }
.alert-ok{ border-color:#BBF7D0; background:#ECFDF5; color:#065F46 }
.alert-warn{ border-color:#FED7AA; background:#FFF7ED; color:#92400E }
.alert-danger{ border-color:#FECACA; background:#FEF2F2; color:#991B1B }

/* Rodapé */
.footer{ background:var(--paper); border-top:1px solid var(--line); padding:18px 0; color:var(--muted); text-align:center }

/* =============== Utilitários =============== */
.grid{ display:grid; gap:16px }
.cols-2{ grid-template-columns:1fr }
.cols-3{ grid-template-columns:1fr }
@media (min-width:768px){ .cols-2{ grid-template-columns:repeat(2,1fr) } }
@media (min-width:1024px){ .cols-3{ grid-template-columns:repeat(3,1fr) } }

.mt-0{ margin-top:0 } .mt-1{ margin-top:8px } .mt-2{ margin-top:16px } .mt-3{ margin-top:24px }
.mb-0{ margin-bottom:0 } .mb-1{ margin-bottom:8px } .mb-2{ margin-bottom:16px } .mb-3{ margin-bottom:24px }
.p-0{ padding:0 } .p-1{ padding:8px } .p-2{ padding:16px } .p-3{ padding:24px }

/* Preloader (opcional) */
#loading-area2{
  position:fixed; inset:0; display:flex; align-items:center; justify-content:center;
  background:var(--brand); color:#fff; z-index:9999;
}
.load-text{ display:flex; gap:6px; font-size:38px; font-weight:800; letter-spacing:2px; font-family:var(--font-display) }
.text-load{ animation:pop .8s infinite alternate }
@keyframes pop{ from{ transform:translateY(0) } to{ transform:translateY(-6px) } }


/*menus em UPPERCASE */
.lc-menu .nav-link{ text-transform: uppercase; letter-spacing: .3px; }

/* ===========================
   INDEX • 4 blocos (wireframe)
   Desktop/Tablet: 90% da tela
   Mobile: 100% (zero margem)
   =========================== */

.lc-index{
  background: var(--greige, #F3F0E8);
  padding: 0 0 clamp(16px, 4vw, 48px);
}

/* Mobile (default): 100% largura, sem padding lateral */
.lc-block{
  width: 100%;
  margin: 0 0 clamp(14px, 2.5vw, 22px);
  padding: 0; /* zero nas laterais */
}

/* Tablet/Desktop: 90% da tela, centralizado */
@media (min-width: 768px){
  .lc-block{
    width: 90vw;            /* 90% da viewport */
    max-width: 1200px;     /* limite pra não ficar gigante em telas enormes */
    margin-left: auto;
    margin-right: auto;
    padding: 0;            /* continua “clean”; bloco já controla a largura */
  }
}

.lc-block__inner{
  background: #fff;
  border-radius: 14px;
  min-height: 260px; /* altura wireframe */
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.06);
}

/* No mobile, se você quiser que o card fique “quadrado” (sem arredondar nas bordas) */
@media (max-width: 767.98px){
  .lc-block__inner{
    border-radius: 0;   /* deixa encostado na borda */
    border-left: 0;
    border-right: 0;
  }
}
/* ===========================
   HOME • Carrossel proporcional (até 500px)
   =========================== */

.lc-carousel{
  overflow: hidden;
  padding: 0;
}

.lc-carousel__viewport{
  position: relative;
  width: 100%;
  height: auto;

  /* a proporção vem do JS; fallback 16/9 */
  aspect-ratio: var(--carousel-ar, 16 / 9);

  /* “500px” é o teto (se a tela for grande) */
  max-height: 500px;

  overflow: hidden;
  border-radius: inherit;
  background: #fff;
}

.lc-carousel__track{
  display: flex;
  width: 100%;
  height: 100%;
  transform: translateX(0);
  transition: transform .45s ease;
  will-change: transform;
}

.lc-carousel__slide{
  min-width: 100%;
  height: 100%;
}

.lc-carousel__slide img{
  width: 100%;
  height: 100%;
  object-fit: contain; /* mantém proporção, sem cortar */
  display: block;
}

/* Botões (setas) */
.lc-carousel__btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.85);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
}
.lc-carousel__btn--prev{ left: 10px; }
.lc-carousel__btn--next{ right: 10px; }

/* Dots */
.lc-carousel__dots{
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(0,0,0,.08);
}

.lc-carousel__dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(0,0,0,.25);
  cursor: pointer;
}
.lc-carousel__dot.is-active{ background: rgba(0,0,0,.65); }


/* Encostar o primeiro bloco no header */
.lc-index{
  padding-top: 0;
  margin-top: 0;
}

#idx-area-1{
  margin-top: 0;
}

#idx-area-1 .lc-block__inner{
  margin-top: 0;
}
html, body{
  margin: 0;
  padding: 0;
}

/* ===========================
   HOME • Bloco 2: Serviços
   Grid + Cards + Ícone responsivo + Label + Detalhes (abre/fecha)
   Ícone: 192 (desktop) → reduz até 128 (mobile)
   Label: 16px, preto; hover mostarda
   =========================== */

/* Grid dos serviços */
.lc-services__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 36px); /* mais espaço entre cards */
}

/* Tablet */
@media (max-width: 991px){
  .lc-services__grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* Mobile */
@media (max-width: 767px){
  .lc-services__grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Card (botão) */
.lc-service{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  padding: clamp(20px, 2.5vw, 28px); /* mais respiro interno */

  appearance: none;
  -webkit-appearance: none;

  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  background: rgba(255,255,255,.9);
  cursor: pointer;

  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.lc-service:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  border-color: rgba(0,0,0,.10);
}

.lc-services__inner{
  max-width: 1180px;  /* limita largura interna */
  margin: 0 auto;
}

/* Header */
.lc-services__header{
  margin-bottom: clamp(28px, 3vw, 42px);
}

.lc-service:focus-visible{
  outline: 3px solid rgba(201,162,39,.45);
  outline-offset: 3px;
}

/* realce do selecionado */
.lc-service[aria-expanded="true"]{
  border-color: rgba(201,162,39,.65);
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
}

/* Ícone do serviço (responsivo 192 → 128) */
.lc-service__icon{
  width: 192px;
  height: 192px;
  object-fit: contain;
  display: block;
  margin: 0 auto 12px;
}

/* reduz no tablet */
@media (max-width: 991px){
  .lc-service__icon{
    width: 160px;
    height: 160px;
  }
}

/* reduz no mobile (até 128) */
@media (max-width: 767px){
  .lc-service__icon{
    width: 128px;
    height: 128px;
  }
}

/* Label: 16px, preto; hover mostarda */
.lc-service__label{
  font-weight: 700;
  font-size: 16px;
  color: #000;
  line-height: 1.2;
}

.lc-service:hover .lc-service__label{
  color: #C9A227;
}

/* ---------- Detalhes (div que abre/fecha) ---------- */
.lc-services__details{
  margin-top: clamp(12px, 2vw, 18px);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);

  /* FECHADO */
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;

  transition: max-height .45s ease, opacity .25s ease, transform .25s ease;
  will-change: max-height, opacity, transform;
}

.lc-services__details.is-open{
  max-height: 520px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lc-services__details-inner{
  padding: clamp(14px, 2.5vw, 22px);
}

.lc-services__details-title{
  margin: 0 0 8px;
  font-size: clamp(16px, 1.9vw, 20px);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.lc-services__details-desc{
  margin: 0 0 14px;
  line-height: 1.6;
  opacity: .92;
}

.lc-services__details-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---------- Botões (Saiba mais / Fechar) ---------- */
.lc-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.10);

  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;

  cursor: pointer;
  user-select: none;
  background: #fff;
  color: #1E1E1E;

  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}

.lc-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.lc-btn:focus-visible{
  outline: 3px solid rgba(201,162,39,.45);
  outline-offset: 3px;
}

.lc-btn--brand{
  background: #C9A227;
  border-color: rgba(0,0,0,.10);
  color: #1E1E1E;
}

.lc-btn--brand:hover{
  background: #B48F22;
}

.lc-btn--ghost{
  background: rgba(255,255,255,.85);
  border-color: rgba(0,0,0,.10);
  color: #1E1E1E;
}

.lc-btn--ghost:hover{
  background: rgba(255,255,255,.95);
}

/* ===========================
   HOME • Bloco 3: Tecnologia
   3 partes • 2 colunas • alternado
   Imagens: 480px (web/tablet) | 256px (mobile)
   =========================== */

.lc-tech{
  padding: clamp(16px, 3vw, 28px);
}

.lc-tech__inner{
  width: 100%;
}

.lc-tech__header{
  text-align: center;
  margin-bottom: clamp(14px, 2.5vw, 22px);
}

.lc-tech__title{
  margin: 0;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.lc-tech__subtitle{
  margin: 10px auto 0;
  max-width: 880px;
  font-size: clamp(14px, 1.6vw, 16px);
  opacity: .85;
  line-height: 1.5;
}

/* Linhas (3 partes) */
.lc-tech__row{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr; /* texto um pouco maior que imagem */
  align-items: center;
  gap: clamp(14px, 2.5vw, 26px);
  padding: clamp(14px, 2.5vw, 22px) 0;
  border-top: 1px solid rgba(0,0,0,.06);
}

.lc-tech__row:first-of-type{
  border-top: 0;
  padding-top: 0;
}

.lc-tech__row--reverse{
  grid-template-columns: 0.85fr 1.15fr;
}

/* Texto */
.lc-tech__h3{
  margin: 0 0 8px;
  font-size: clamp(16px, 1.9vw, 22px);
  font-weight: 700;
}

.lc-tech__p{
  margin: 0 0 10px;
  line-height: 1.6;
  opacity: .92;
  font-size: clamp(16px, 1.55vw, 18px);
}

.lc-tech__p:last-child{
  margin-bottom: 0;
}

/* Imagem */
.lc-tech__media{
  display: flex;
  justify-content: center;
}

.lc-tech__img{
  width: 480px;        /* web/tablet */
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

/* Responsivo */
@media (max-width: 767.98px){
  .lc-tech__row,
  .lc-tech__row--reverse{
    grid-template-columns: 1fr;
  }

  .lc-tech__media{
    order: 2;
  }

  .lc-tech__img{
    width: 256px;      /* mobile */
  }
}

/* ====== MEGAMENU (limpo e único) ====== */

/* estado base */
.has-mega{ position: static; }
.mega, .mega-fw{ display:none; }

/* MOBILE (<992px): embutido por .open */
@media (max-width: 991.98px){
  .has-mega .mega{
    position: static; display:none;
    margin: 6px 0 10px; padding: 8px 0 0 12px;
    background: transparent; border: 0; box-shadow: none;
  }
  .has-mega.open > .mega{ display:block; }
}

/* DESKTOP (>=992px): layer fixo + backdrop */
@media (min-width: 992px){
  .lc-menu > li.has-mega > .mega:not(.mega-fw){ display:none !important; }

  #mm-layer{
    position: fixed;
    left: 0; right: 0;
    top: var(--header-h, 80px);   /* ajustado via JS, fallback 80px */
    width: 100vw; max-width:100vw;
    display: none;
    background:#fff;
    border-top:1px solid var(--line, #E6E4DE);
    border-bottom:1px solid var(--line, #E6E4DE);
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    z-index:120;
    max-height: calc(100vh - var(--header-h, 80px));
    overflow:auto;
  }
  #mm-layer .mega-inner{
    display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; padding:18px 0;
  }
  #mm-layer h4{
    margin:.25rem 0 .5rem; font-size:12px; color:var(--muted,#6B6B6B);
    text-transform:uppercase; letter-spacing:.06em;
  }
  #mm-layer a{
    display:block; padding:8px 10px; border-radius:8px;
    color:var(--ink-2,#3A3A3A); text-decoration:none;
  }
  #mm-layer a:hover{ background:rgba(0,0,0,.05) }

  #mm-backdrop{
    position: fixed;
    left:0; right:0;
    top: var(--header-h, 80px);
    height: calc(100vh - var(--header-h, 80px));
    display:none;
    background: transparent;
    z-index:115;
  }

  .lc-topbar{ z-index:110; }
  #mm-layer{ z-index:120; }
}

/* ==== MEGAMENU: desativa qualquer hover antigo no desktop ==== */
@media (min-width: 992px){
  /* Nunca renderize o dropdown interno ao passar o mouse */
  .lc-menu > li.has-mega:hover > .mega,
  .lc-menu > li.has-mega:focus-within > .mega,
  .lc-menu > li.has-mega:hover > .mega-fw,
  .lc-menu > li.has-mega:focus-within > .mega-fw{
    display: none !important;
  }

  /* E, por via das dúvidas, esconda qualquer painel interno no desktop */
  .lc-menu > li.has-mega > .mega,
  .lc-menu > li.has-mega > .mega-fw{
    display: none !important;
  }
}

/* ==== Camada fixa do mega + backdrop (desktop) ==== */
@media (min-width: 992px){
  #mm-layer{
    position: fixed;
    left: 0; right: 0;
    top: var(--header-h, 80px);     /* será atualizado via JS */
    width: 100vw; max-width: 100vw;
    display: none;
    background:#fff;
    border-top:1px solid var(--line, #E6E4DE);
    border-bottom:1px solid var(--line, #E6E4DE);
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    z-index: 120;
    max-height: calc(100vh - var(--header-h, 80px));
    overflow:auto;
  }
  #mm-layer .mega-inner{
    display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px; padding:18px 0;
  }
  #mm-backdrop{
    position: fixed;
    left:0; right:0;
    top: var(--header-h, 80px);
    height: calc(100vh - var(--header-h, 80px));
    display:none;
    background: transparent;
    z-index:115;
  }
  .lc-topbar{ z-index:110; }
}

/* ===== HEADER: alinhar menu à direita e voltar o estilo dos botões ===== */

/* zera marcadores e margens da UL */
.lc-menu{
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Desktop: logo à esquerda, menu à direita */
@media (min-width: 992px){
  .lc-topbar__inner{
    display: flex;
    align-items: center;
  }
  .lc-nav{
    margin-left: auto;            /* empurra o nav para a direita */
  }
  .lc-menu{
    display: flex !important;     /* garante inline */
    align-items: center;
    gap: 12px;
  }
}

/* Estilo “botão-pílula” dos itens do menu */
.lc-menu > li > .nav-link,
.lc-menu > li > .with-caret{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 1px solid var(--line, #E6E4DE);
  border-radius: 12px;
  background: #fff;
  color: var(--ink, #1E1E1E);
  text-decoration: none;
  font-weight: 600;                 /* dá corpo como na sua referência */
}
.lc-menu > li > .nav-link:hover,
.lc-menu > li > .with-caret:hover{
  color: var(--brand, #C9A227);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

/* seta discreta à esquerda (opcional – remova se não quiser) */
.with-caret::before{
  content: ""; display:inline-block; width:0; height:0;
  border-left:4px solid transparent;
  border-right:4px solid transparent;
  border-top:6px solid var(--muted, #6B6B6B);
  margin-right:6px;
  transform: translateY(1px);
}

/* ===== Estado ativo do botão que abriu o mega ===== */
.lc-menu > li.has-mega > .with-caret.is-active,
.lc-menu > li.has-mega > .nav-link.is-active{
  background: var(--brand, #C9A227);
  color: #fff;
  border-color: var(--brand, #C9A227);
}

/* Ajuste da setinha quando ativo (opcional) */
.lc-menu > li.has-mega > .with-caret.is-active::before{
  border-top-color: #fff;
}

/* Mobile: quando o <li> estiver .open, pinta o gatilho */
@media (max-width: 991.98px){
  .lc-menu > li.has-mega.open > .with-caret,
  .lc-menu > li.has-mega.open > .nav-link{
    background: var(--brand, #C9A227);
    color:#fff;
    border-color: var(--brand, #C9A227);
  }
}
/* Botão que abriu o mega — estado ativo */
.lc-menu > li.has-mega > .with-caret.is-active,
.lc-menu > li.has-mega > .nav-link.is-active{
  background: var(--brand, #C9A227) !important;
  color: #fff !important;
  border-color: var(--brand, #C9A227) !important;
  box-shadow: 0 2px 10px rgba(201,162,39,.30);
}

/* seta do .with-caret quando ativo (se você usa a setinha via ::before) */
.lc-menu > li.has-mega > .with-caret.is-active::before{
  border-top-color:#fff !important;
}

/* Mobile: quando o <li> abre (classe .open), pinta o gatilho */
@media (max-width: 991.98px){
  .lc-menu > li.has-mega.open > .with-caret,
  .lc-menu > li.has-mega.open > .nav-link{
    background: var(--brand, #C9A227) !important;
    color:#fff !important;
    border-color: var(--brand, #C9A227) !important;
  }
}

/* Botão do header que abriu o mega */
.lc-menu .is-active{
  background: var(--brand, #C9A227) !important;
  color: #fff !important;
  border-color: var(--brand, #C9A227) !important;
  box-shadow: 0 2px 10px rgba(201,162,39,.30);
}
.lc-menu .with-caret.is-active::before{
  border-top-color:#fff !important;
}
@media (max-width: 991.98px){
  .lc-menu li.has-mega.open > .with-caret,
  .lc-menu li.has-mega.open > .nav-link{
    background: var(--brand, #C9A227) !important;
    color:#fff !important;
    border-color: var(--brand, #C9A227) !important;
  }
}

/* ===== NAV MOBILE: fechado por padrão e hambúrguer à direita ===== */

/* Botão hambúrguer colado à direita do topo */
.lc-topbar__inner{
  display:flex;
  align-items:center;
}
.lc-nav{ margin-left:auto; }         /* empurra nav/hambúrguer p/ direita */
.lc-nav__toggle{ order:2; }          /* garante que o botão fique à extrema direita */

/* Menu mobile fechado por padrão */
@media (max-width: 991.98px){
  .lc-menu{ display:none; margin-top:10px; }
  body.nav-open .lc-menu{ display:block; }  /* abre quando clicar no hambúrguer */

  /* “Área do cliente” dentro do menu no mobile */
  .only-mobile{ display:block; }
  .only-desktop{ display:none !important; }
}

/* Desktop mantém seu comportamento atual */
@media (min-width: 992px){
  .only-mobile{ display:none !important; }
  .only-desktop{ display:block !important; }
  .lc-nav__toggle{ display:none; }    /* sem hambúrguer no desktop */
}
/* ===== Mobile: esconder hambúrguer quando o menu estiver aberto
   e ancorar a pilha de botões do menu à direita, abaixo do topo ===== */
@media (max-width: 991.98px){
  .lc-topbar__inner{ position: relative; }         /* referencial p/ posicionar o menu */

  body.nav-open .lc-nav__toggle{ display: none; }  /* some o hambúrguer aberto */

  /* menu fechado por padrão (você já tem), quando abrir:
     vira um dropdown alinhado na DIREITA, sob o topo */
  body.nav-open .lc-menu{
    display: block;
    position: absolute;
    top: 100%;          /* logo abaixo do header */
    right: 0;           /* encostado na direita (onde estava o hambúrguer) */
    width: max-content; /* só o necessário (coluna de botões) */
    margin-top: 8px;
    text-align: right;
  }

  /* melhora a aparência dos botões alinhados à direita */
  .lc-menu > li{ display: block; }
  .lc-menu > li > .nav-link,
  .lc-menu > li > .with-caret{
    justify-content: flex-end;      /* texto/ícone para a direita */
  }
}

/* ===== MOBILE (<=991px): menu dentro do header, fundo branco, submenus OK ===== */
@media (max-width: 991.98px){
  .lc-topbar{ position: relative; background:#fff; }

  /* quando abrir o menu, dá um respiro no header para não “sentar” no conteúdo */
  body.nav-open .lc-topbar{ padding-bottom: 8px; }

  /* menu: fechado por padrão, abre dentro do header */
  .lc-menu{ display:none; margin-top:10px; }
  body.nav-open .lc-menu{
    display:block;
    position: static;               /* fica DENTRO do header */
    width: 100%;
    text-align: right;
    background:#fff;                /* bloco branco para destacar */
  }

  /* >>> Aqui o ajuste principal: tratar .mega e .mega-fw no mobile */
  .lc-menu li.has-mega > .mega,
  .lc-menu li.has-mega > .mega-fw{
    display: none !important;
    position: static !important;
    padding: 8px 0 0 0;
    margin: 6px 0 10px;
    background: transparent;
    border: 0;
    box-shadow: none;
    text-align: left;
  }
  .lc-menu li.has-mega.open > .mega,
  .lc-menu li.has-mega.open > .mega-fw{
    display: block !important;      /* submenu abre ao aplicar .open */
  }

  /* “Hambúrguer à direita” + some quando o menu abre */
  .lc-topbar__inner{ display:flex; align-items:center; }
  .lc-nav{ margin-left:auto; }
  body.nav-open .lc-nav__toggle{ display:none; }

  /* botões do topo alinhados à direita */
  .lc-menu > li{ display:block; }
  .lc-menu > li > .nav-link,
  .lc-menu > li > .with-caret{ justify-content:flex-end; }
}

/* Bloco padrão (imagem à esquerda + conteúdo à direita) */
.feature-block {
  display: flex;
  gap: 24px;
  border: 2px solid #c9a227;      /* mostarda */
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 32px;
  background-color: #fff;
  align-items: flex-start;
}

/* Coluna de mídia (imagem/ilustração) */
.feature-block__media {
  flex: 0 0 260px;
  width: 260px;
  min-height: 180px;              /* placeholder quando não tiver imagem */
  border-radius: 6px;
  background: #f7f7f7;
}

/* Conteúdo */
.feature-block__content {
  flex: 1;
  min-width: 0;                   /* evita overflow no flex */
}

.feature-block__title {
  margin: 0 0 12px 0;
  line-height: 1.15;
  word-break: break-word;
}

/* Traço mostarda abaixo do título */
.feature-block__title::after {
  content: "";
  display: block;
  width: 88px;
  height: 3px;
  background: #c9a227;
  margin-top: 8px;
}

.feature-block__content p {
  margin: 0 0 12px 0;
}

/* Mobile */
@media (max-width: 768px) {
  .feature-block {
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

  .feature-block__media {
    flex: none;
    width: 100%;
    min-height: 160px;
  }

  .feature-block__title::after {
    width: 72px;
  }
}

@media (max-width: 420px) {
  .feature-block {
    padding: 14px;
  }

  .feature-block__media {
    min-height: 140px;
  }
}

/* Variante: um único bloco que empilha seções internas */
.feature-block--stack {
  display: block; /* não altera o .feature-block original */
}

/* Linha interna que replica o layout antigo (imagem + texto) */
.feature-block--stack .feature-block__row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* Conteúdo full width na parte de baixo */
.feature-block__content--full {
  width: 100%;
}

/* Divisor opcional */
.feature-block__divider {
  border: 0;
  border-top: 1px solid rgba(0,0,0,.10);
  margin: 18px 0;
}

/* Mobile: empilha imagem e texto no topo também */
@media (max-width: 768px) {
  .feature-block--stack .feature-block__row {
    flex-direction: column;
    gap: 14px;
  }

  .feature-block--stack .feature-block__media {
    width: 100%;
    min-height: 160px;
  }
}

/* Tabela institucional Logcard */
.lc-table {
  width: 100%;
  border-collapse: collapse;              /* bordas “unidas” = mais clean */
  border: 2px solid #c9a227;              /* borda externa mostarda */
  border-radius: 8px;
  overflow: hidden;                       /* garante o radius com collapse */
  background: #fff;
}

/* Bordas mostarda em cada célula */
.lc-table th,
.lc-table td {
  border: 1px solid #c9a227;              /* <<< borda nas células (mostarda) */
  padding: 14px 16px;
  vertical-align: top;
  text-align: left;
  line-height: 1.55;
  word-break: break-word;
}

/* Coluna de título (th) mais forte */
.lc-table th {
  width: 34%;
  font-weight: 700;
  background: #fffaf0;                    /* leve fundo quente (opcional) */
}

/* Melhora leitura em linhas alternadas (opcional) */
.lc-table tr:nth-child(even) td {
  background: #fcfcfc;
}

/* Mobile: empilha TH e TD em duas linhas */
@media (max-width: 768px) {
  .lc-table,
  .lc-table tbody,
  .lc-table tr,
  .lc-table th,
  .lc-table td {
    display: block;
    width: 100%;
  }

  .lc-table tr {
    border-bottom: 2px solid #c9a227;     /* separador entre “cards” */
  }

  .lc-table tr:last-child {
    border-bottom: 0;
  }

  .lc-table th {
    border-bottom: 0;                     /* evita borda duplicada */
    background: #fffaf0;
  }

  .lc-table td {
    border-top: 0;                        /* evita borda duplicada */
  }
}

/* ===== Mobile “cards” para a tabela de Direitos (sem mudar o HTML) ===== */
/* Use com: <table class="lc-table lc-table--rights"> ... */

@media (max-width: 768px) {

  /* Esconde o cabeçalho (primeira linha) no mobile */
  .lc-table--rights tr:first-child {
    display: none;
  }

  /* Volta a tabela para um layout de "cards" por linha */
  .lc-table--rights,
  .lc-table--rights tbody {
    display: block;
    width: 100%;
  }

  .lc-table--rights tr {
    display: block;
    width: 100%;
    margin: 0 0 16px 0;
    border: 2px solid #c9a227;       /* borda do card */
    border-radius: 10px;
    overflow: hidden;                 /* mantém o radius */
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
  }

  /* Cada célula vira um bloco dentro do card */
  .lc-table--rights th,
  .lc-table--rights td {
    display: block;
    width: 100%;
    border: 0;                        /* tira a grade interna no mobile */
    padding: 12px 14px;
    text-align: left;
  }

  /* Título do card (o "Seu Direito" de cada linha) */
  .lc-table--rights tr > th:first-child {
    font-weight: 800;
    background: #fffaf0;
    border-bottom: 1px solid #c9a227;
  }

  /* Separadores entre blocos do card */
  .lc-table--rights tr > td {
    border-top: 1px solid rgba(201, 162, 39, .55);
  }

  /* Rótulos automáticos para as colunas 2 e 3 */
  .lc-table--rights tr > td:nth-of-type(1)::before {
    content: "No que consiste";
    display: block;
    font-weight: 800;
    margin-bottom: 6px;
  }

  .lc-table--rights tr > td:nth-of-type(2)::before {
    content: "Como solicitar?";
    display: block;
    font-weight: 800;
    margin-bottom: 6px;
  }

  /* Remove zebra no mobile (para não “lutar” com o card) */
  .lc-table--rights tr:nth-child(even) td {
    background: transparent;
  }
}

/* (Opcional) Micro-ajuste no mobile muito pequeno */
@media (max-width: 420px) {
  .lc-table--rights tr {
    margin-bottom: 14px;
  }

  .lc-table--rights th,
  .lc-table--rights td {
    padding: 11px 12px;
  }
}

/* ===== Footer Logcard (tema claro) ===== */
.lc-footer{
  --lc-bg: #d4a000;        /* greige claro */
  --lc-surface: #ffffff;   /* cards */
  --lc-border: #e8e1d2;    /* bordas suaves */
  --lc-text: #1f1f1f;      /* texto principal */
  --lc-muted: #5d5d5d;     /* texto secundário */
  --lc-accent: #d4a017;    /* mostarda */
  --lc-accent-2: #b8870b;  /* mostarda mais fechado */
  --lc-radius: 16px;

  color: var(--lc-text);
  background: var(--lc-bg);
  margin-top: -5px;
}

.lc-footer__top{
  padding: 44px 0 22px;
}

.lc-footer__container{
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;

  display: grid;
  grid-template-columns: 1fr 2fr ;
  gap: 18px;
}

.lc-footer__card{
  background: var(--lc-surface);
  border: 1px solid var(--lc-border);
  border-radius: var(--lc-radius);
  padding: 20px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.lc-footer__title{
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
  position: relative;
  padding-bottom: 10px;
}

.lc-footer__title::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:56px;
  height:3px;
  border-radius:99px;
  background: var(--lc-accent);
}

.lc-footer__meta{
  list-style:none;
  padding:0;
  margin:0;
  color: var(--lc-muted);
  line-height:1.6;
}

.lc-footer__meta strong{
  color: var(--lc-text);
}

.lc-footer__divider{
  height: 1px;
  background: var(--lc-border);
  margin: 14px 0;
}

.lc-footer__badges{
  display:flex;
  align-items:center;
  gap: 12px;
  flex-wrap: wrap;
}

.lc-footer__badge{
  border: 1px dashed rgba(212,160,23,.55);
  background: rgba(212,160,23,.10);
  border-radius: 12px;
  padding: 10px 12px;
  min-width: 180px;
}

.lc-footer__badgeLabel{
  display:block;
  font-size:12px;
  color: var(--lc-muted);
}

.lc-footer__badgeValue{
  display:block;
  font-weight: 800;
  letter-spacing:.3px;
  color: var(--lc-accent-2);
}

.lc-footer__seal{
  border: 1px solid var(--lc-border);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
}

.lc-footer__seal img{
  height: 40px;
  width: auto;
  display: block;
}

/* Links */
.lc-footer__links{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.lc-footer__links a{
  color: var(--lc-text);
  text-decoration:none;
  font-size:14px;
  line-height:1.4;
  transition: transform .15s ease, color .15s ease, opacity .15s ease;
  position:relative;
  padding-left: 14px;
  opacity: .95;
}

.lc-footer__links a::before{
  content:"›";
  position:absolute;
  left:0;
  top:0;
  color: var(--lc-accent);
}

.lc-footer__links a:hover{
  color: var(--lc-accent-2);
  transform: translateX(2px);
  opacity: 1;
}

/* Contato */
.lc-footer__contact{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap: 12px;
  color: var(--lc-muted);
}

.lc-footer__contactItem{
  display:flex;
  gap: 10px;
  align-items:flex-start;
}

.lc-footer__icon{
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(212,160,23,.12);
  border: 1px solid rgba(212,160,23,.22);
  flex: 0 0 28px;
  font-size: 14px;
}

.lc-footer__contact a{
  color: var(--lc-text);
  text-decoration:none;
  opacity: .92;
}

.lc-footer__contact a:hover{
  color: var(--lc-accent-2);
  opacity: 1;
}

/* Botão */
.lc-footer__cta{ margin-top: 14px; }

.lc-footer__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(212,160,23,.55);
  background: rgba(212,160,23,.12);
  color: var(--lc-text);
  text-decoration:none;
  font-weight: 800;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.lc-footer__btn:hover{
  transform: translateY(-1px);
  background: rgba(212,160,23,.18);
  border-color: rgba(212,160,23,.85);
}

/* Barra inferior */
.lc-footer__bottom{
  border-top: 1px solid var(--lc-border);
  background: #f2eee4;
  padding: 14px 0;
}

.lc-footer__bottomInner{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  color: #6b6b6b;
  font-size: 13px;
}

.lc-footer__bottomLink{
  color: #4d4d4d;
  text-decoration:none;
}

.lc-footer__bottomLink:hover{
  color: var(--lc-accent-2);
}

.lc-footer__sep{ opacity: .6; }

/* Responsivo */
@media (min-width: 993px){
  .lc-footer__contact{
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
  }
  .lc-footer__contactItem:first-child{
    grid-column: 1 / -1; /* endereço ocupa a linha inteira */
  }
}

@media (max-width: 640px){
  .lc-footer__container{ grid-template-columns: 1fr; }
  .lc-footer__links{ grid-template-columns: 1fr; }
  .lc-footer__bottomInner{ flex-direction: column; gap: 6px; }
}

/* ===========================
   CONTATO • Página
   =========================== */

.lc-contact{
  align-items: start;
}

/* Texto auxiliar */
.lc-contact__muted{
  color: var(--muted);
  margin-top: -6px;
}

/* Lista/itens */
.lc-contact__stack{
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.lc-contact__item{
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
}

.lc-contact__icon{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(201,162,39,.12);
  border: 1px solid rgba(201,162,39,.22);
  font-size: 15px;
}

.lc-contact__h3{
  margin: 0 0 6px;
  font-size: 16px;
}

.lc-contact__text{
  margin: 0;
  color: var(--ink-2);
  line-height: 1.55;
}

.lc-contact__link{
  color: var(--ink);
  font-weight: 600;
}
.lc-contact__link:hover{
  color: var(--brand);
}

.lc-contact__divider{
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2px 0;
}

.lc-contact__btn{
  margin-top: 10px;
}

/* Mapa */
.lc-map{
  margin-top: 12px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.lc-map iframe{
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.lc-map__note{
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed rgba(201,162,39,.45);
  background: rgba(201,162,39,.08);
}

/* Responsivo */
@media (max-width: 991.98px){
  .lc-map iframe{ height: 320px; }
}

/* ==========================================================
   HEADER (layout em tabela 2 colunas)
   Logo (col 1) | Util + Menu (col 2)
   ========================================================== */

.lc-topbar__inner--table{
  display: block;              /* desativa o flex antigo nesse header */
}

.lc-headerTable{
  width: 100%;
  border-collapse: collapse;
}

.lc-headerTable td{
  padding: 0;
  border: 0;
  vertical-align: middle;
}

/* Coluna do logo */
.lc-headerTable__logo{
  width: 15%;
}

/* Coluna da direita (2 linhas) */
.lc-headerTable__right{
  width: 85%;
}

.lc-brand__logo--fit{
  max-width: 95%;              /* <- requisito: 95% da área */
  height: auto;
}

/* Bloco direito: 2 linhas alinhadas à direita */
.lc-headerRight{
  display: grid;
  grid-template-rows: var(--util-h) auto;
  justify-items: end;          /* tudo à direita */
  row-gap: 10px;
}

/* Cada linha: conteúdo centralizado verticalmente */
.lc-headerRight__row{
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Linha 1: utilitário (sem “linhas pretas”) */
.lc-headerRight__row--utility{
  min-height: var(--util-h);
}

/* Linha 2: menu + hambúrguer alinhados à direita */
.lc-headerRight__row--menu{
  gap: 12px;
}

/* Ajustes do NAV dentro da linha do menu */
.lc-headerRight__row--menu .lc-nav{
  margin-left: 0;              /* cancela “empurra pra direita” antigo */
}

/* Desktop: hambúrguer some; menu em linha */
@media (min-width: 992px){
  .lc-headerRight__row--menu .lc-nav__toggle{ display: none; }
  .lc-headerRight__row--menu .lc-menu{
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin: 0;
  }
}

/* Mobile/tablet: menu fechado por padrão, abre com body.nav-open (seu JS já faz isso) */
@media (max-width: 991.98px){
  .lc-headerTable__logo{ width: 20%; }
  .lc-headerTable__right{ width: 80%; }

  /* Botão hambúrguer fica à direita (linha 2) */
  .lc-headerRight__row--menu{
    justify-content: flex-end;
  }

  /* Menu abre dentro do header e alinhado à direita */
  .lc-headerRight__row--menu .lc-menu{
    display: none;
    margin-top: 10px;
    width: 100%;
    text-align: right;
  }
  body.nav-open .lc-headerRight__row--menu .lc-menu{
    display: block;
  }
}

/* Mobile pequeno: força logo sempre bem visível */
@media (max-width: 520px){
  .lc-headerTable__logo{ width:40%; }
  .lc-headerTable__right{ width: 60%; }
  .lc-brand__logo--fit{ max-width: 95%; }
}

/* =========================================================
   LINKS EXTERNOS (GLOBAL)
   - Deixa evidente que é link (vermelho + sublinhado suave)
   - Inclui ícone "externo"
   - Funciona com class .ext-link
   - Também funciona automaticamente para a[href^="http"] (externo)
   ========================================================= */

:root{
  /* Ajuste fino aqui */
  --ext-link-color: #b42318;        /* vermelho sóbrio */
  --ext-link-color-hover: #8a1c14;  /* hover mais escuro */
  --ext-link-underline: rgba(180, 35, 24, .35);
  --ext-link-underline-hover: rgba(180, 35, 24, .6);
}

/* Base: qualquer link externo vira vermelho automaticamente
   - Exclui seus próprios links internos absolutos por domínio (ajuste os domínios)
*/
a[href^="http"]:not([href*="logcardbrasil.com.br"]):not([href*="www.logcardbrasil.com.br"]),
a.ext-link{
  color: var(--ext-link-color);
  text-decoration: underline;
  text-decoration-color: var(--ext-link-underline);
  text-underline-offset: .18em;
  text-decoration-thickness: .08em;
  font-weight: 600; /* melhora a percepção sem "gritar" */
}

/* Hover/active */
a[href^="http"]:not([href*="logcardbrasil.com.br"]):not([href*="www.logcardbrasil.com.br"]):hover,
a.ext-link:hover{
  color: var(--ext-link-color-hover);
  text-decoration-color: var(--ext-link-underline-hover);
}

/* Acessibilidade: foco visível */
a[href^="http"]:not([href*="logcardbrasil.com.br"]):not([href*="www.logcardbrasil.com.br"]):focus-visible,
a.ext-link:focus-visible{
  outline: 3px solid rgba(201, 162, 39, .55); /* mostarda do site */
  outline-offset: 2px;
  border-radius: 6px;
}

/* Ícone externo (não depende de biblioteca) */
a.ext-link .ext-link__icon{
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: .35em;
  vertical-align: -0.12em;
  opacity: .9;

  /* Ícone via mask (moderno) com fallback por background */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M14 3h7v7h-2V6.41l-9.29 9.3-1.42-1.42 9.3-9.29H14V3ZM5 5h7v2H7v10h10v-5h2v7H5V5Z'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M14 3h7v7h-2V6.41l-9.29 9.3-1.42-1.42 9.3-9.29H14V3ZM5 5h7v2H7v10h10v-5h2v7H5V5Z'/%3E%3C/svg%3E") no-repeat center / contain;

  background-color: currentColor;
}

/* ===========================
   HOME • Borda mostarda nos blocos
   =========================== */

.lc-index .lc-block{
  border: 2px solid #C9A227; /* mostarda */
  border-radius: 18px;
  background: #fff;

  box-shadow: 0 0 0 2px rgba(201,162,39,.15);
}

/* ===========================
   Linha divisória mostarda (com sombra suave)
   =========================== */

.lc-divider{
  width: 50%;
  height: 3px;
  margin: clamp(16px, 1vw, 28px) auto;

  background: #C9A227;
  border-radius: 999px;

  /* sombra suave */
  box-shadow: 0 2px 8px rgba(201,162,39,0.35);
}

/* Tablet */
@media (max-width: 991.98px){
  .lc-divider{
    width: 65%;
  }
}

/* Mobile */
@media (max-width: 575.98px){
  .lc-divider{
    width: 80%;
    height: 2px;
    box-shadow: 0 1px 5px rgba(201,162,39,0.25);
  }
}