/* ==========================================================================
   Leal Venâncio — tema próprio (sem Elementor, Smart Slider nem MEC)
   Autor: Telmo Correia - TCSi Solutions — https://www.tcsi-solutions.pt/
   ========================================================================== */

:root {
	--lv-blue: #145ca4;
	--lv-blue-d: #0f4a86;
	--lv-grey: #eaeaea;
	--lv-red: #d7262e;
	--lv-red-d: #b51d24;
	--lv-text: #333;
	--lv-dark: #111;
	--lv-container: 1140px;
	--lv-font: Arial, Helvetica, sans-serif;
	--lv-header-h: 90px;
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--lv-text); font-family: var(--lv-font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--lv-blue); text-decoration: none; }
a:hover { color: var(--lv-blue-d); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; color: #222; }
p { margin: 0 0 1em; }
button { font: inherit; }

.lv-container { width: 100%; max-width: var(--lv-container); margin: 0 auto; padding: 0 20px; }
.lv-container--narrow, .lv-narrow { max-width: 960px; }
.lv-site { zoom: var(--lv-zoom, 1); }
.lv-skip, .lv-sr, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.lv-skip:focus { clip: auto; width: auto; height: auto; z-index: 10000; top: 10px; left: 10px; background: #fff; color: #000; padding: 10px 16px; border-radius: 4px; }
:focus-visible { outline: 2px solid #4da3ff; outline-offset: 2px; }
.lv-ico { display: inline-flex; width: 1em; height: 1em; flex: 0 0 auto; align-items: center; justify-content: center; vertical-align: -.125em; }
.lv-ico svg { width: 100%; height: 100%; fill: currentColor; }

/* Cabeçalho: transparente sobre a imagem, azul e fixo ao descer ----------- */
.lv-header { position: fixed; top: 0; left: 0; right: 0; z-index: 900; background: transparent; padding: 18px 0; transition: background .25s, padding .25s, box-shadow .25s; }
.admin-bar .lv-header { top: 32px; }
.lv-header.is-stuck { background: var(--lv-blue); padding: 8px 0; box-shadow: 0 2px 14px rgba(0, 0, 0, .25); }
.lv-header__in { display: flex; align-items: center; gap: 24px; }
.lv-brand { display: block; flex: 0 0 auto; }
.lv-brand__logo { height: 64px; width: auto; transition: height .25s; }
.lv-header.is-stuck .lv-brand__logo { height: 52px; }
.lv-brand__txt { color: #fff; font-weight: 700; font-size: 20px; }
.lv-nav { flex: 1 1 auto; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.lv-menu, .lv-menu ul { list-style: none; margin: 0; padding: 0; }
.lv-menu { display: flex; align-items: center; }
.lv-menu > li { position: relative; display: flex; align-items: center; }
.lv-menu a { display: block; padding: 12px 14px; color: #fff; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; line-height: 1.2; }
.lv-menu > li > a:hover, .lv-menu > .current-menu-item > a, .lv-menu > .current-menu-ancestor > a { color: #fff; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.lv-menu .menu-item-has-children > a { padding-right: 4px; }
.lv-sub-toggle { background: none; border: 0; color: #fff; cursor: pointer; width: 22px; height: 30px; padding: 0; position: relative; }
.lv-sub-toggle::before { content: ""; position: absolute; left: 6px; top: 10px; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.lv-menu .sub-menu { position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 5; }
.lv-menu li:hover > .sub-menu, .lv-menu li:focus-within > .sub-menu, .lv-menu li.is-sub-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.lv-menu .sub-menu a { color: #333; text-transform: none; font-weight: 400; font-size: 15px; padding: 10px 20px; }
.lv-menu .sub-menu a:hover, .lv-menu .sub-menu .current-menu-item > a { background: var(--lv-blue); color: #fff; }
.lv-nav__mail { color: #fff; font-size: 20px; padding: 8px; line-height: 1; }
.lv-nav__mail:hover { color: #fff; opacity: .8; }
.lv-nav__mailtxt { display: none; }
.lv-burger { display: none; margin-left: auto; background: transparent; border: 0; color: #fff; cursor: pointer; font-size: 26px; padding: 8px; line-height: 1; }
.lv-burger .lv-ico--close { display: none; }
.lv-burger[aria-expanded="true"] .lv-ico--menu { display: none; }
.lv-burger[aria-expanded="true"] .lv-ico--close { display: inline-flex; }

/* Botões ------------------------------------------------------------------ */
.lv-btn { display: inline-block; background: var(--lv-blue); color: #fff; border: 2px solid var(--lv-blue); border-radius: 3px; padding: 13px 28px; font-size: 15px; font-weight: 700; letter-spacing: 1px; line-height: 1.2; cursor: pointer; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s; }
.lv-btn:hover { background: var(--lv-blue-d); border-color: var(--lv-blue-d); color: #fff; }
.lv-btn.lv-btn--red { background: var(--lv-red); border-color: var(--lv-red); }
.lv-btn.lv-btn--red:hover { background: var(--lv-red-d); border-color: var(--lv-red-d); }
.lv-btn.lv-btn--outline { background: transparent; color: var(--lv-blue); }
.lv-btn.lv-btn--outline:hover { background: var(--lv-blue); color: #fff; }
.lv-btn.lv-btn--outline-white { background: transparent; border-color: #fff; color: #fff; }
.lv-btn.lv-btn--outline-white:hover { background: #fff; color: var(--lv-blue); }
.lv-btn.lv-btn--white { background: #fff; border-color: #fff; color: #111; }
.lv-btn.lv-btn--white:hover { background: var(--lv-grey); border-color: var(--lv-grey); }
.lv-linkbtn { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

/* Slider ------------------------------------------------------------------ */
.lv-hero { position: relative; background: #0b2440; }
.lv-slider { position: relative; height: min(100vh, 1000px); min-height: 560px; overflow: hidden; }
.lv-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.lv-slide.is-active { opacity: 1; visibility: visible; }
.lv-slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lv-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .25) 55%, rgba(0, 0, 0, .05) 100%); }
.lv-slide__in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: #fff; padding-top: 70px; }
.lv-slide__kicker { font-size: 18px; margin: 0 0 14px; letter-spacing: .5px; opacity: .95; }
.lv-slide__line { font-size: clamp(30px, 4.6vw, 58px); line-height: 1.1; margin: 0 0 10px; max-width: 780px; }
.lv-slide__line strong { display: block; font-weight: 700; }
.lv-slide__svc { font-size: clamp(18px, 2vw, 24px); margin: 6px 0 28px; padding-left: 14px; border-left: 4px solid var(--lv-red); }
.lv-slide.is-active .lv-slide__in > * { animation: lv-up .9s both; }
.lv-slide.is-active .lv-slide__in > :nth-child(2) { animation-delay: .15s; }
.lv-slide.is-active .lv-slide__in > :nth-child(3) { animation-delay: .3s; }
.lv-slide.is-active .lv-slide__in > :nth-child(4) { animation-delay: .45s; }
@keyframes lv-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.lv-slider__prev, .lv-slider__next { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); background: rgba(0, 0, 0, .25); border: 0; color: #fff; font-size: 22px; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.lv-slider__prev:hover, .lv-slider__next:hover { background: rgba(0, 0, 0, .5); }
.lv-slider__prev { left: 18px; }
.lv-slider__next { right: 18px; }
.lv-slider__dots { position: absolute; z-index: 3; bottom: 26px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.lv-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; }
.lv-dot.is-active { background: #fff; }

/* Secções da página inicial ---------------------------------------------- */
.lv-section { padding: 70px 0; }
.lv-h2 { font-size: 34px; font-weight: 700; text-transform: uppercase; text-align: center; color: var(--lv-blue); margin: 0 0 30px; letter-spacing: .5px; }
.lv-h2--light { color: #fff; }
.lv-text a { text-decoration: underline; }
.lv-about { background: var(--lv-grey); padding: 80px 0; }
.lv-about .lv-text { text-align: justify; font-size: 17px; line-height: 1.75; }
.lv-mission { background: var(--lv-blue); color: #fff; padding: 60px 0; }
.lv-mission .lv-text { text-align: justify; font-size: 17px; line-height: 1.75; }
.lv-mission .lv-text p:last-child, .lv-about .lv-text p:last-child { margin: 0; }
.lv-band { height: 380px; overflow: hidden; }
.lv-band__img { width: 100%; height: 100%; object-fit: cover; }
.lv-services { background: var(--lv-blue); color: #fff; padding: 70px 0 80px; }
.lv-services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 30px; }
.lv-svc { text-align: center; }
.lv-svc__title { color: #fff; font-size: 19px; margin: 0 0 12px; padding-bottom: 12px; position: relative; }
.lv-svc__title::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 40px; height: 3px; margin-left: -20px; background: rgba(255, 255, 255, .6); }
.lv-svc__txt { font-weight: 700; font-size: 15px; line-height: 1.55; margin: 0; }
.lv-svc__txt a { color: #fff; text-decoration: underline; }
.lv-ethics { position: relative; min-height: 300px; display: flex; align-items: center; overflow: hidden; background: #1b1b1b; }
.lv-ethics__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.lv-ethics .lv-container { position: relative; }
.lv-ethics__txt { color: #fff; text-align: center; font-size: clamp(20px, 2.6vw, 30px); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin: 0; text-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.lv-homecal { padding: 70px 0; }
.lv-homecal__all { text-align: center; margin: 16px 0 0; }

/* Lista de obrigações ----------------------------------------------------- */
.lv-upcoming__list, .lv-cal__list ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lv-upcoming__item[hidden] { display: none; }
.lv-upcoming__btn { display: flex; align-items: center; gap: 14px; width: 100%; height: 100%; text-align: left; background: #fff; border: 1px solid #e1e4e8; border-radius: 4px; padding: 10px 14px 10px 10px; cursor: pointer; color: #222; transition: border-color .2s, box-shadow .2s; }
.lv-upcoming__btn:hover { border-color: var(--lv-blue); box-shadow: 0 4px 14px rgba(20, 92, 164, .15); }
.lv-upcoming__title { font-weight: 700; font-size: 15px; line-height: 1.35; }
.lv-upcoming__title small { display: block; font-weight: 400; color: #666; font-size: 13px; margin-top: 2px; }
.lv-badge { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 58px; height: 58px; background: var(--lv-blue); color: #fff; border-radius: 3px; font-size: 12px; font-weight: 700; line-height: 1; letter-spacing: .5px; }
.lv-badge b { font-size: 24px; margin-bottom: 3px; }
.lv-badge--big { width: 84px; height: 84px; font-size: 13px; }
.lv-badge--big b { font-size: 34px; }
.lv-upcoming__more { text-align: center; margin: 24px 0 0; }
.lv-cal-empty { text-align: center; color: #666; }

/* Página do calendário fiscal --------------------------------------------- */
.lv-next { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; background: #1c1f26; color: #fff; padding: 28px 32px; border-radius: 4px; margin-bottom: 40px; }
.lv-next__label { text-transform: uppercase; letter-spacing: 1px; font-size: 13px; opacity: .75; margin: 0 0 12px; }
.lv-next__event { display: flex; align-items: center; gap: 18px; }
.lv-next__title { font-size: 26px; font-weight: 700; margin: 0 0 4px; color: #fff; }
.lv-next .lv-linkbtn { color: #9cc7ff; font-size: 14px; }
.lv-countdown { display: flex; gap: 10px; }
.lv-countdown span { display: flex; flex-direction: column; align-items: center; min-width: 74px; background: rgba(255, 255, 255, .07); border-radius: 4px; padding: 12px 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; opacity: .95; }
.lv-countdown b { font-size: 30px; line-height: 1.1; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.lv-cal__bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.lv-cal__month { margin: 0; font-size: 28px; color: var(--lv-blue); flex: 1 1 auto; }
.lv-cal__nav { display: flex; }
.lv-cal__nav a { display: block; padding: 8px 16px; border: 1px solid #d5dae1; margin-left: -1px; color: #333; font-weight: 700; }
.lv-cal__nav a:first-child { border-radius: 3px 0 0 3px; }
.lv-cal__nav a:last-child { border-radius: 0 3px 3px 0; }
.lv-cal__nav a:hover { background: var(--lv-blue); border-color: var(--lv-blue); color: #fff; }
.lv-cal__search input { border: 1px solid #d5dae1; border-radius: 3px; padding: 9px 12px; width: 300px; max-width: 100%; font: 15px var(--lv-font); }
.lv-cal__grid { border: 1px solid #e1e4e8; border-radius: 4px; overflow: hidden; }
.lv-cal__row { display: grid; grid-template-columns: repeat(7, 1fr); }
.lv-cal__row + .lv-cal__row { border-top: 1px solid #e1e4e8; }
.lv-cal__wd { background: #f4f6f9; padding: 10px; font-size: 13px; font-weight: 700; text-transform: uppercase; color: #555; text-align: center; }
.lv-cal__cell { min-height: 112px; padding: 6px; border-left: 1px solid #e1e4e8; }
.lv-cal__cell:first-child { border-left: 0; }
.lv-cal__cell.is-out { background: #fafbfc; }
.lv-cal__cell.is-out .lv-cal__num { color: #b5bac1; }
.lv-cal__num { display: inline-block; font-size: 14px; font-weight: 700; color: #555; min-width: 26px; text-align: center; line-height: 26px; border-radius: 50%; }
.lv-cal__cell.is-today .lv-cal__num { background: var(--lv-red); color: #fff; }
.lv-cal__events { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.lv-cal__events li[hidden] { display: none; }
.lv-cal__ev { display: block; width: 100%; text-align: left; background: var(--lv-blue); color: #fff; border: 0; border-radius: 2px; padding: 3px 6px; font-size: 12px; font-weight: 700; line-height: 1.3; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-cal__ev:hover { background: var(--lv-blue-d); }
.lv-cal__list { margin-top: 40px; }
.lv-cal__list h3 { font-size: 22px; color: var(--lv-blue); }
.lv-cal__list li[hidden] { display: none; }
.lv-cal__subscribe { margin: 30px 0 0; text-align: center; }
.lv-cal__subscribe a { font-weight: 700; }
.lv-ev__period { color: var(--lv-blue); font-weight: 700; margin: 0 30px 6px 0; }
.lv-ev__title { font-size: 24px; margin: 0 30px 14px 0; }
.lv-ev__desc { font-size: 15px; line-height: 1.6; }
#lv-ev-modal .lv-modal__box { width: 100%; max-width: 620px; padding: 30px 32px; }

/* Banner das páginas interiores ------------------------------------------- */
.lv-banner { position: relative; height: 420px; display: flex; align-items: flex-end; background: #0b2440; overflow: hidden; }
.lv-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lv-banner::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.lv-banner__in { position: relative; z-index: 2; padding-bottom: 60px; }
.lv-banner__title { color: #fff; font-size: clamp(30px, 4vw, 48px); font-weight: 700; margin: 0; }

/* Conteúdo das páginas ---------------------------------------------------- */
.lv-entry { font-size: 16px; line-height: 1.75; }
.lv-entry h2 { font-size: 22px; line-height: 1.5; font-weight: 400; color: #333; }
.lv-entry ul { padding-left: 1.2em; }
.lv-entry li { margin-bottom: 6px; }
.lv-entry img { border-radius: 3px; }
.lv-entry--service { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px 50px; align-items: start; }
.lv-entry--service > * { grid-column: 2; }
.lv-entry--service > h2:first-child { grid-column: 1 / -1; font-size: 21px; color: var(--lv-blue); border-left: 4px solid var(--lv-blue); padding-left: 20px; margin-bottom: 20px; }
.lv-entry--service > img, .lv-entry--service > p:has(> img:only-child), .lv-entry--service > figure { grid-column: 1; grid-row: 2 / span 4; }
.lv-entry--service > p:has(> img:only-child) { margin: 0; }
.lv-entry--service ul { list-style: none; padding: 0; margin: 0; }
.lv-entry--service li { position: relative; padding: 9px 0 9px 30px; border-bottom: 1px solid #eee; margin: 0; }
.lv-entry--service li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 12px; height: 7px; border-left: 3px solid var(--lv-blue); border-bottom: 3px solid var(--lv-blue); transform: rotate(-45deg); }

/* Faixa de contacto e newsletter ----------------------------------------- */
.lv-cta { background: var(--lv-blue); color: #fff; padding: 50px 0; }
.lv-cta__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.lv-cta__title { color: #fff; font-size: 26px; font-weight: 400; margin: 0; }
.lv-nl { background: #000; color: #fff; padding: 50px 0; scroll-margin-top: 90px; }
.lv-nl__in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: center; }
.lv-nl__title { color: #fff; font-size: 24px; margin: 0 0 6px; }
.lv-nl__sub { margin: 0; font-size: 18px; opacity: .85; }
.lv-nl__row { display: flex; }
.lv-nl__row input { flex: 1 1 auto; min-width: 0; border: 0; border-radius: 3px 0 0 3px; padding: 14px 16px; font: 16px var(--lv-font); }
.lv-nl__row .lv-btn { border-radius: 0 3px 3px 0; }
.lv-rgpd { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.5; margin: 10px 0 14px; cursor: pointer; }
.lv-rgpd input { margin-top: 3px; flex: 0 0 auto; }
.lv-rgpd--light, .lv-rgpd--light a { color: #ddd; }
.lv-form-msg { padding: 10px 14px; border-radius: 3px; margin: 0 0 14px; font-size: 15px; }
.lv-form-msg--ok { background: #e3f6e8; color: #0b5d1e; }
.lv-form-msg--err { background: #fde8e8; color: #8a1111; }
.lv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Contactos --------------------------------------------------------------- */
.lv-contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; }
.lv-kicker { color: var(--lv-blue); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 8px; }
.lv-contact__title { font-size: 34px; color: #222; }
.lv-contact__sub { font-size: 18px; color: #555; margin-bottom: 28px; }
.lv-icolist { list-style: none; margin: 0 0 20px; padding: 0; }
.lv-icolist li { display: flex; align-items: flex-start; gap: 12px; padding: 0 0 14px; }
.lv-icolist .lv-ico { color: var(--lv-blue); font-size: 18px; margin-top: 3px; }
.lv-icolist small { display: block; color: #777; font-size: 13px; }
.lv-form label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.lv-form .lv-rgpd { font-weight: 400; display: flex; }
.lv-form p { margin: 0 0 16px; }
.lv-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.lv-form input[type="text"], .lv-form input[type="tel"], .lv-form input[type="email"], .lv-form textarea { display: block; width: 100%; border: 1px solid #cfd5dc; border-radius: 3px; padding: 11px 12px; font: 16px/1.4 var(--lv-font); color: #222; background: #fff; }
.lv-form input:focus, .lv-form textarea:focus { border-color: var(--lv-blue); outline: none; box-shadow: 0 0 0 3px rgba(20, 92, 164, .2); }
.lv-form textarea { resize: vertical; }
.lv-social { display: flex; gap: 10px; }
.lv-social a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--lv-blue); color: #fff; font-size: 17px; }
.lv-social a:hover { background: var(--lv-blue-d); color: #fff; }
.lv-map { position: relative; height: 420px; background: #eef1f4; }
.lv-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.lv-map__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; }
.lv-map.is-loaded .lv-map__ph { display: none; }

/* Links úteis ------------------------------------------------------------- */
.lv-links__grid { columns: 3 280px; column-gap: 40px; }
.lv-links__group { break-inside: avoid; margin-bottom: 36px; }
.lv-links__title { font-size: 17px; color: var(--lv-blue); border-bottom: 2px solid var(--lv-blue); padding-bottom: 8px; letter-spacing: .5px; }
.lv-links__group ul { list-style: none; margin: 0; padding: 0; }
.lv-links__group li { border-bottom: 1px solid #eee; }
.lv-links__group a { display: block; padding: 8px 0; color: #333; }
.lv-links__group a::after { content: "↗"; color: var(--lv-blue); font-size: 12px; margin-left: 6px; }
.lv-links__group a:hover { color: var(--lv-blue); }

/* Notícias ---------------------------------------------------------------- */
.lv-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.lv-card { border: 1px solid #e5e7eb; border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.lv-card__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.lv-card__body { padding: 20px; }
.lv-card__title { font-size: 20px; }
.lv-card__title a { color: #222; }
.lv-card__more { font-weight: 700; }
.lv-post__date { color: #777; font-size: 14px; margin-bottom: 8px; }
.lv-post__img { margin: 0 0 24px; }
.lv-empty { text-align: center; color: #666; font-size: 18px; padding: 20px 0; }
.nav-links { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.nav-links .page-numbers { display: block; padding: 8px 14px; border: 1px solid #d5dae1; border-radius: 3px; color: #333; }
.nav-links .current { background: var(--lv-blue); border-color: var(--lv-blue); color: #fff; }

/* Rodapé ------------------------------------------------------------------ */
.lv-footer { background: var(--lv-blue); color: #fff; padding: 50px 0 0; }
.lv-footer a { color: #fff; }
.lv-footer__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; align-items: center; }
.lv-footer__logo { height: 70px; width: auto; }
.lv-footer__contact { text-align: center; }
.lv-footer__contact p { margin: 0 0 6px; }
.lv-footer__phone { font-size: 22px; font-weight: 700; }
.lv-footer__note { font-size: 12px; opacity: .85; }
.lv-footer__social .lv-social { justify-content: flex-end; }
.lv-footer .lv-social a { background: rgba(255, 255, 255, .15); }
.lv-footer .lv-social a:hover { background: rgba(255, 255, 255, .3); }
.lv-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 14px; }
.lv-footer__links a:hover { text-decoration: underline; }
.lv-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-size: 13px; }
.lv-footer__bottom p { margin: 0; }
.lv-credits { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.lv-credits__logo img { height: 26px; width: auto; }

/* Voltar ao topo */
.lv-totop {
	position: fixed; right: 16px; bottom: 80px; z-index: 9985; width: 38px; height: 38px; border-radius: 4px;
	display: flex; align-items: center; justify-content: center; background: #2b54e8; color: #fff;
	font-size: 16px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.lv-totop.is-visible { opacity: 1; visibility: visible; }
.lv-totop:hover { background: #1f3fb8; }

/* Janelas de texto (Privacidade / Arbitragem) */
.lv-modal__box--text { max-width: 820px; width: 100%; color: var(--lv-text); padding: 36px 40px; font-size: 15px; line-height: 1.6; }
.lv-modal__box--text h2 { font-size: 26px; margin: 0 0 16px; padding-right: 30px; }
.lv-modal__box--text h3 { font-size: 18px; margin: 22px 0 8px; }
.lv-modal__box--text a { color: #1a56db; }

/* Aviso de cookies */
.lv-cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9980; background: #fff; color: var(--lv-text); box-shadow: 0 -4px 20px rgba(0, 0, 0, .3); font-size: 14px; line-height: 1.45; }
.lv-cookie[hidden] { display: none; }
.lv-cookie__in { max-width: var(--lv-container); margin: 0 auto; padding: 16px 80px 16px 20px; display: flex; align-items: center; gap: 24px; }
.lv-cookie__txt { flex: 1 1 auto; }
.lv-cookie__txt strong { display: block; font-size: 16px; margin-bottom: 4px; }
.lv-cookie__txt p { margin: 0; }
.lv-cookie__txt .lv-linkbtn { color: #1a56db; }
.lv-cookie__btns { display: flex; gap: 10px; flex: 0 0 auto; }
.lv-cookie__btn { min-width: 110px; padding: 11px 18px; border-radius: 4px; cursor: pointer; font-weight: 700; font-size: 15px; background: var(--lv-dark); color: #fff; border: 2px solid var(--lv-dark); }
.lv-cookie__btn:hover { background: #3a3a3a; border-color: #3a3a3a; }
html.a11y-contrast .lv-cookie, html.a11y-contrast .lv-cookie * { background: #000 !important; color: #fff !important; border-color: #fff !important; }
.lv-greview {
	display: inline-flex; align-items: center; gap: 10px; margin-top: 15px;
	background: #fff; color: #222; border-radius: 6px; padding: 8px 14px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
}
.lv-greview > .lv-ico { font-size: 32px; }
.lv-greview__txt { display: flex; flex-direction: column; font-size: 13px; line-height: 1.3; }
.lv-greview__txt strong { font-weight: 600; }
.lv-greview__row { display: flex; align-items: center; gap: 6px; }
.lv-greview__row b { font-weight: 700; font-size: 14px; }
.lv-stars { position: relative; display: inline-flex; color: #ccc; width: max-content; align-self: flex-start; }
.lv-stars .lv-ico { font-size: 15px; }
.lv-stars__fill {
	position: absolute; inset: 0; display: inline-flex; overflow: hidden; color: #f6bb06;
	width: calc(var(--rating, 0) / 5 * 100%);
}


/* Modal (ficha de projeto) e lightbox -------------------------------------- */
.lv-modal, .lv-lightbox {
	position: fixed; inset: 0; z-index: 9999; background: rgba(0, 0, 0, .8);
	display: flex; align-items: center; justify-content: center; padding: 20px;
}
.lv-modal[hidden], .lv-lightbox[hidden] { display: none; }
.lv-modal__box { position: relative; background: #fff; padding: 20px; max-height: 92vh; overflow: auto; }
.lv-modal__box img { max-width: min(595px, 85vw); max-height: 84vh; width: auto; }
.lv-modal__close, .lv-lightbox__close {
	position: absolute; top: 8px; right: 8px; background: transparent; border: 0; cursor: pointer;
	font-size: 22px; color: #333; padding: 6px;
}
.lv-lightbox__close { color: #fff; top: 16px; right: 20px; font-size: 26px; }
.lv-lightbox img { max-width: 90vw; max-height: 86vh; width: auto; box-shadow: 0 0 30px rgba(0,0,0,.5); }
.lv-lightbox__prev, .lv-lightbox__next {
	position: absolute; top: 50%; transform: translateY(-50%); background: transparent; border: 0;
	color: #fff; font-size: 30px; cursor: pointer; padding: 16px;
}
.lv-lightbox__prev { left: 10px; }
.lv-lightbox__next { right: 10px; }
.lv-lightbox__count { position: absolute; top: 20px; left: 24px; color: #fff; font-size: 14px; opacity: .8; }
body.lv-noscroll { overflow: hidden; }


/* Widget de acessibilidade ------------------------------------------------ */
.lv-a11y { position: fixed; right: 16px; bottom: 16px; z-index: 9990; font-family: var(--lv-font); }
.lv-a11y__toggle {
	width: 52px; height: 52px; border-radius: 50%; border: 3px solid #fff; cursor: pointer;
	background: #2b54e8; color: #fff; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .35); transition: transform .2s;
}
.lv-a11y__toggle:hover { transform: scale(1.06); }
.lv-a11y__toggle svg { width: 28px; height: 28px; fill: currentColor; }
.lv-a11y__panel {
	position: absolute; right: 0; bottom: 64px; width: 330px; max-width: calc(100vw - 32px);
	max-height: calc(100vh - 100px); overflow: auto;
	background: #fff; color: #1f2124; border-radius: 10px; padding: 16px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, .35); font-size: 15px; line-height: 1.3;
}
.lv-a11y__panel[hidden] { display: none; }
.lv-a11y__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.lv-a11y__title { font-size: 20px; font-weight: 600; margin: 0; color: #012243; }
.lv-a11y__close { background: none; border: 0; cursor: pointer; font-size: 18px; color: #333; padding: 6px; }
.lv-a11y__size { display: flex; align-items: center; justify-content: space-between; background: #f1f3f7; border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; }
.lv-a11y__size > div { display: flex; align-items: center; gap: 8px; }
.lv-a11y__size button {
	width: 40px; height: 36px; border-radius: 6px; border: 1px solid #c5cad3; background: #fff; color: #012243;
	font-weight: 700; cursor: pointer;
}
.lv-a11y__pct { min-width: 46px; text-align: center; font-weight: 600; }
.lv-a11y__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lv-a11y__opt {
	display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
	background: #f1f3f7; border: 2px solid transparent; border-radius: 8px; padding: 12px 6px;
	cursor: pointer; color: #1f2124; font-size: 14px;
}
.lv-a11y__opt:hover { border-color: #c5cad3; }
.lv-a11y__opt[aria-pressed="true"] { background: #2b54e8; color: #fff; border-color: #2b54e8; }
.lv-a11y__ico svg { width: 26px; height: 26px; fill: currentColor; display: block; }
.lv-a11y__reset {
	width: 100%; margin-top: 10px; padding: 11px; border: 0; border-radius: 8px;
	background: #012243; color: #fff; font-weight: 600; cursor: pointer;
}
.lv-a11y__stmt { display: block; text-align: center; margin-top: 10px; font-size: 13px; color: #2b54e8; text-decoration: underline; }

/* Modos de acessibilidade */
html.a11y-contrast .lv-site,
html.a11y-contrast .lv-site * { background-color: #000 !important; color: #fff !important; border-color: #fff !important; }
html.a11y-contrast .lv-site a, html.a11y-contrast .lv-site a * { color: #ff0 !important; }
html.a11y-contrast .lv-site .lv-btn { background: #ff0 !important; color: #000 !important; }
html.a11y-contrast .lv-gallery__item::after { display: none; }
html.a11y-gray .lv-site, html.a11y-gray .lv-lightbox, html.a11y-gray .lv-modal { filter: grayscale(1); }
html.a11y-links .lv-site a { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-font .lv-site, html.a11y-font .lv-site * { font-family: Verdana, Tahoma, Arial, sans-serif !important; }
html.a11y-spacing .lv-site p, html.a11y-spacing .lv-site li, html.a11y-spacing .lv-site a,
html.a11y-spacing .lv-site span, html.a11y-spacing .lv-site label { letter-spacing: .12em !important; word-spacing: .16em !important; line-height: 1.8 !important; }
html.a11y-motion { scroll-behavior: auto; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; }
html.a11y-cursor, html.a11y-cursor * {
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M5 2l14 10.5-6.2 1.1 3.6 7.1-2.7 1.3-3.6-7.2L5 19z' fill='%23000' stroke='%23fff' stroke-width='1.2'/%3E%3C/svg%3E") 6 2, auto !important;
}



html.a11y-contrast .lv-slide__img, html.a11y-contrast .lv-banner__img, html.a11y-contrast .lv-ethics__img { opacity: .25; }
html.a11y-cursor, html.a11y-cursor * {
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M5 2l14 10.5-6.2 1.1 3.6 7.1-2.7 1.3-3.6-7.2L5 19z' fill='%23000' stroke='%23fff' stroke-width='1.2'/%3E%3C/svg%3E") 6 2, auto !important;
}
.lv-a11y__toggle { background: var(--lv-blue); }
.lv-totop { background: var(--lv-blue); }
.lv-totop:hover { background: var(--lv-blue-d); }

/* Responsivo -------------------------------------------------------------- */
@media (max-width: 1100px) {
	.lv-menu a { padding: 12px 9px; font-size: 14px; }
	.lv-services__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
	.lv-header { padding: 12px 0; }
	.lv-brand__logo, .lv-header.is-stuck .lv-brand__logo { height: 48px; }
	.lv-burger { display: inline-flex; }
	.lv-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--lv-blue); max-height: 0; overflow: hidden; transition: max-height .3s ease; box-shadow: 0 8px 12px rgba(0, 0, 0, .25); }
	.lv-nav.is-open { max-height: calc(100vh - 70px); overflow-y: auto; }
	.lv-menu { flex-direction: column; align-items: stretch; padding: 6px 0; }
	.lv-menu > li { flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, .12); }
	.lv-menu > li > a { flex: 1 1 auto; padding: 14px 20px; }
	.lv-sub-toggle { width: 52px; height: 46px; }
	.lv-sub-toggle::before { left: 21px; top: 16px; }
	.lv-menu .sub-menu { position: static; flex-basis: 100%; min-width: 0; box-shadow: none; background: rgba(0, 0, 0, .15); opacity: 1; visibility: visible; transform: none; display: none; padding: 0; }
	.lv-menu li:hover > .sub-menu, .lv-menu li:focus-within > .sub-menu { display: none; }
	.lv-menu li.is-sub-open > .sub-menu { display: block; }
	.lv-menu .sub-menu a { color: #fff; padding: 12px 34px; }
	.lv-nav__mail { display: flex; align-items: center; gap: 10px; padding: 16px 20px 20px; font-size: 16px; }
	.lv-nav__mailtxt { display: inline; }
	.lv-services__grid { grid-template-columns: repeat(2, 1fr); }
	.lv-upcoming__list, .lv-cal__list ul { grid-template-columns: repeat(2, 1fr); }
	.lv-contact__grid { grid-template-columns: 1fr; gap: 40px; }
	.lv-nl__in { grid-template-columns: 1fr; }
	.lv-posts { grid-template-columns: repeat(2, 1fr); }
	.lv-entry--service { display: block; }
	.lv-entry--service > img, .lv-entry--service > p:has(> img:only-child) { margin: 0 0 24px; max-width: 460px; }
	.lv-cal__cell { min-height: 84px; padding: 4px; }
	.lv-cal__ev { font-size: 11px; padding: 2px 4px; }
}
@media (max-width: 767px) {
	.lv-section { padding: 50px 0; }
	.lv-slider { height: 82vh; min-height: 520px; }
	.lv-slider__prev, .lv-slider__next { display: none; }
	.lv-h2 { font-size: 26px; }
	.lv-about { padding: 50px 0; }
	.lv-band { height: 220px; }
	.lv-services__grid, .lv-upcoming__list, .lv-cal__list ul, .lv-posts { grid-template-columns: 1fr; }
	.lv-banner { height: 300px; }
	.lv-banner__in { padding-bottom: 36px; }
	.lv-cta__in { flex-direction: column; text-align: center; }
	.lv-cta__title { font-size: 22px; }
	.lv-form__row { grid-template-columns: 1fr; }
	.lv-next { padding: 22px 18px; }
	.lv-countdown span { min-width: 0; flex: 1 1 0; padding: 10px 4px; }
	.lv-countdown b { font-size: 22px; }
	.lv-cal__wd { padding: 8px 2px; font-size: 11px; }
	.lv-cal__cell { min-height: 56px; }
	.lv-cal__events { display: block; }
	.lv-cal__events li { display: inline; }
	.lv-cal__ev { display: inline-block; width: 10px; height: 10px; padding: 0; border-radius: 50%; font-size: 0; margin: 1px; vertical-align: middle; }
	.lv-cal__search, .lv-cal__search input { width: 100%; }
	.lv-footer__grid { grid-template-columns: 1fr; text-align: center; }
	.lv-footer__logo { margin: 0 auto; }
	.lv-footer__social .lv-social { justify-content: center; }
	.lv-footer__bottom { flex-direction: column; text-align: center; }
	.lv-modal__box--text { padding: 28px 20px; }
	.lv-cookie__in { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 16px 70px; }
	.lv-cookie__btns .lv-cookie__btn { flex: 1 1 0; }
	.lv-a11y { right: 10px; bottom: 10px; }
	.lv-a11y__toggle { width: 46px; height: 46px; }
	.lv-totop { right: 14px; bottom: 66px; }
}
@media (max-width: 782px) { .admin-bar .lv-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .lv-header { top: 0; } }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.lv-slide, .lv-nav, .lv-header { transition: none; }
	.lv-slide.is-active .lv-slide__in > * { animation: none; }
}
