/* Kwê Cejá Irin — identidade visual aplicada a todo o site */
:root {
  --mar: #0B4EA2;        /* Mar Profundo */
  --agua: #00BFFF;       /* Água */
  --mata: #1B7A3A;       /* Mata */
  --mata-escura: #0F2A1D;/* verde noite: variante escura do quadro */
  --ouro-hover: #FFD665;
  --luz: #F4C542;        /* Luz (dourado) */
  --terra: #4E342E;      /* Terra */
  --areia: #F7F1E5;      /* Areia */
  --areia-2: #EFE6D2;
  --linha: rgba(78, 52, 46, .14);
  --ouro-grad: linear-gradient(90deg, rgba(244,197,66,0) 0%, #F4C542 18%, #F4C542 82%, rgba(244,197,66,0) 100%);
  --titulo: "Cinzel", "Trajan Pro", Georgia, serif;
  --texto: "Lora", Georgia, "Times New Roman", serif;
  --kwe-sbw: 0px;
  --kwe-vw: calc(100vw - var(--kwe-sbw));
  --header-h: 108px;
  --header-h-min: 80px;
}

/* ---------- Base editorial ---------- */
html { scroll-padding-top: calc(var(--header-h-min) + 16px); }
body, body.oceanwp-theme {
  background: var(--areia) !important;
  color: var(--terra) !important;
  font-family: var(--texto) !important;
  font-size: 17px; line-height: 1.75;
  padding-top: var(--header-h);
}
::selection { background: var(--luz); color: var(--terra); }
#outer-wrap, #wrap, #main, #content-wrap, .site-content, .elementor-section:not([style*="background"]) { background-color: transparent; }
#wrap, #main { background: transparent !important; }
p, li, dd, td, th, blockquote, figcaption, label,
.elementor-widget-text-editor, .elementor-widget-text-editor *:not(i):not([class*="fa"]):not([class*="icon"]) {
  font-family: var(--texto) !important;
}
p, li, .elementor-widget-text-editor, .entry-content, .entry { color: var(--terra); }
h1, h2, h3, h4, h5, h6,
.elementor-heading-title, .page-header-title, .entry-title, .blog-entry-title, .widget-title,
.elementor-image-box-title, .elementor-icon-box-title, .elementor-headline, .elementor-headline * {
  font-family: var(--titulo) !important;
  letter-spacing: .03em;
}
h1, h2, h3, h4, h5, h6, .elementor-heading-title, .entry-title, .blog-entry-title a,
.elementor-image-box-title, .elementor-icon-box-title { color: var(--mata-escura) !important; font-weight: 700 !important; }
a { color: var(--mata); transition: color .2s ease; }
a:hover { color: #B8891F; }
hr, .elementor-divider-separator { border-color: var(--luz) !important; }
blockquote { border-left: 3px solid var(--luz) !important; background: var(--areia-2); padding: 16px 24px; }
img { border-radius: 2px; }

/* Botões e formulários */
.elementor-button, a.elementor-button, button:not(.kwe-burger):not(.kwe-newsletter-btn):not([aria-haspopup]):not(.kwe-lightbox-fechar):not(.kwe-lightbox-nav):not(.kwe-som), input[type="submit"], input[type="button"], .button, .ff-btn-submit, .frm-fluent-form .ff-btn {
  background: var(--luz) !important; color: var(--mata-escura) !important;
  font-family: var(--titulo) !important; font-weight: 700 !important; letter-spacing: .08em !important;
  text-transform: uppercase; border: 0 !important; border-radius: 3px !important;
  transition: background-color .2s ease, transform .2s ease;
}
.elementor-button:hover, button:not(.kwe-burger):not(.kwe-newsletter-btn):not([aria-haspopup]):not(.kwe-lightbox-fechar):not(.kwe-lightbox-nav):not(.kwe-som):hover, input[type="submit"]:hover, .button:hover, .ff-btn-submit:hover { background: var(--ouro-hover) !important; }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="url"], textarea, select {
  background: #fff !important; color: var(--terra) !important; font-family: var(--texto) !important;
  border: 1px solid var(--linha) !important; border-radius: 3px !important;
}
input:focus, textarea:focus, select:focus { border-color: var(--mata) !important; outline: none; box-shadow: 0 0 0 3px rgba(244, 197, 66, .25); }

/* Hero da página inicial */
.elementor-widget-animated-headline .elementor-headline {
  color: var(--areia) !important; font-weight: 700 !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .55), 0 1px 2px rgba(0, 0, 0, .6);
}
.elementor-widget-animated-headline .elementor-headline-dynamic-wrapper, .elementor-widget-animated-headline .elementor-headline-dynamic-text { color: var(--luz) !important; }
.elementor-widget-animated-headline .elementor-headline-dynamic-wrapper::after { background-color: var(--luz) !important; }

/* Cabeçalho de título das páginas interiores */
.page-header { position: relative; }
.page-header.background-image-page-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 42, 29, .45), rgba(15, 42, 29, .72)); }
.page-header .page-header-inner { position: relative; z-index: 1; }
.page-header .page-header-title { color: var(--areia) !important; font-size: 44px !important; text-shadow: 0 2px 14px rgba(0, 0, 0, .4); }
.page-header .page-header-title::after {
  content: ""; display: block; width: 180px; height: 14px; margin: 14px auto 0;
  background: url("divisor.svg") center / contain no-repeat;
}
.site-breadcrumbs, .site-breadcrumbs a, .site-breadcrumbs span { color: var(--areia) !important; font-family: var(--texto) !important; }
.site-breadcrumbs a:hover { color: var(--luz) !important; }

/* Botão voltar ao topo do tema */
#scroll-top { background: var(--luz) !important; color: var(--mata-escura) !important; border-radius: 50% !important; }
#scroll-top:hover { background: var(--ouro-hover) !important; }

/* ---------- Cabeçalho fixo ---------- */
.kwe-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--areia);
  border-bottom: 1px solid rgba(244, 197, 66, .45);
  transition: background-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.kwe-header.kwe-scrolled {
  background: rgba(247, 241, 229, .78);
  -webkit-backdrop-filter: saturate(150%) blur(14px); backdrop-filter: saturate(150%) blur(14px);
  box-shadow: 0 8px 28px rgba(78, 52, 46, .12);
}
.kwe-header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 28px; height: var(--header-h);
  display: flex; align-items: center; gap: 28px; transition: height .35s ease;
}
.kwe-header.kwe-scrolled .kwe-header-inner { height: var(--header-h-min); }
.kwe-logo { display: flex; align-items: center; flex: 0 0 auto; }
.kwe-logo img { height: 92px; width: auto; display: block; transition: height .35s ease; }
.kwe-header.kwe-scrolled .kwe-logo img { height: 68px; }

.kwe-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.kwe-nav > ul { display: flex; align-items: center; gap: clamp(4px, 1.2vw, 18px); list-style: none; margin: 0; padding: 0; }
.kwe-nav li { position: relative; list-style: none; margin: 0; }
.kwe-nav > ul > li > a, .kwe-nav > ul > li > button {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px;
  font-family: var(--titulo) !important; font-size: 14px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--terra) !important; text-decoration: none; background: none !important; border: 0; cursor: pointer; position: relative;
}
.kwe-nav > ul > li > a::after, .kwe-nav > ul > li > button::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--luz);
  transform: scaleX(0); transform-origin: center; transition: transform .25s ease;
}
.kwe-nav > ul > li:hover > a, .kwe-nav > ul > li:hover > button, .kwe-nav > ul > li.kwe-atual > a, .kwe-nav > ul > li.kwe-atual > button { color: var(--mata) !important; }
.kwe-nav > ul > li:hover > a::after, .kwe-nav > ul > li:hover > button::after, .kwe-nav > ul > li.kwe-atual > a::after, .kwe-nav > ul > li.kwe-atual > button::after { transform: scaleX(1); }
.kwe-nav .kwe-seta { width: 9px; height: 9px; transition: transform .2s ease; }
.kwe-nav li:hover .kwe-seta { transform: rotate(180deg); }

.kwe-sub {
  position: absolute; top: 100%; left: 50%; min-width: 230px; padding: 12px 0; margin: 0;
  background: var(--areia); border-top: 2px solid var(--luz); border-radius: 0 0 6px 6px;
  box-shadow: 0 18px 40px rgba(78, 52, 46, .18); list-style: none;
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.kwe-nav li:hover > .kwe-sub, .kwe-nav li:focus-within > .kwe-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.kwe-sub a { display: block; padding: 8px 22px; font-family: var(--texto) !important; font-size: 15px; color: var(--terra) !important; text-decoration: none; white-space: nowrap; }
.kwe-sub a:hover { color: var(--mata) !important; background: rgba(244, 197, 66, .14); }
.kwe-sub.kwe-mega { display: grid; grid-template-columns: repeat(2, minmax(190px, 1fr)); gap: 0 12px; padding: 18px 10px; min-width: 440px; }
.kwe-mega-titulo { display: block; padding: 4px 22px 8px; font-family: var(--titulo) !important; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mata); }

.kwe-cta, a.kwe-cta {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  height: 46px; padding: 0 24px; border-radius: 3px;
  background: var(--luz); color: var(--mata-escura) !important; text-decoration: none !important;
  font-family: var(--titulo) !important; font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  box-shadow: inset 0 -2px 0 rgba(15, 42, 29, .18); transition: background-color .2s ease, transform .2s ease;
}
.kwe-cta:hover { background: var(--ouro-hover); transform: translateY(-1px); }

.kwe-burger { display: none; margin-left: auto; width: 46px; height: 46px; padding: 0; border: 1px solid var(--linha); border-radius: 50%; background: transparent; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.kwe-burger span { display: block; width: 20px; height: 2px; background: var(--terra); transition: transform .25s ease, opacity .25s ease; }
.kwe-header.kwe-aberto .kwe-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.kwe-header.kwe-aberto .kwe-burger span:nth-child(2) { opacity: 0; }
.kwe-header.kwe-aberto .kwe-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.kwe-mobile { display: none; }
.kwe-mobile[hidden] { display: none !important; }

@media (max-width: 1180px) {
  .kwe-nav > ul > li > a, .kwe-nav > ul > li > button { padding: 0 8px; font-size: 13px; letter-spacing: .06em; }
  .kwe-nav > ul > li > a::after, .kwe-nav > ul > li > button::after { left: 8px; right: 8px; }
  .kwe-cta { padding: 0 16px; }
}
@media (max-width: 1040px) {
  :root { --header-h: 84px; --header-h-min: 72px; }
  .kwe-nav, .kwe-header-inner > .kwe-cta { display: none; }
  .kwe-burger { display: inline-flex; }
  .kwe-logo img { height: 70px; }
  .kwe-header.kwe-scrolled .kwe-logo img { height: 60px; }
  .kwe-header-inner { padding: 0 18px; }
  .kwe-mobile {
    display: block; position: fixed; top: var(--header-h-min); left: 0; right: 0; bottom: 0;
    background: var(--areia); overflow-y: auto; padding: 12px 22px 40px; border-top: 1px solid rgba(244, 197, 66, .45);
  }
  .kwe-header:not(.kwe-scrolled) .kwe-mobile { top: var(--header-h); }
  .kwe-mobile ul { list-style: none; margin: 0; padding: 0; }
  .kwe-mobile > ul > li { border-bottom: 1px solid var(--linha); }
  .kwe-mobile > ul > li > a, .kwe-mobile summary {
    display: flex; align-items: center; justify-content: space-between; padding: 16px 2px; cursor: pointer; list-style: none;
    font-family: var(--titulo) !important; font-size: 17px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--terra) !important; text-decoration: none;
  }
  .kwe-mobile summary::-webkit-details-marker { display: none; }
  .kwe-mobile summary .kwe-seta { width: 12px; height: 12px; transition: transform .2s ease; }
  .kwe-mobile details[open] > summary { color: var(--mata) !important; }
  .kwe-mobile details[open] > summary .kwe-seta { transform: rotate(180deg); }
  .kwe-mobile details ul { padding: 0 0 14px 12px; border-left: 2px solid var(--luz); margin-bottom: 14px; }
  .kwe-mobile details ul a { display: block; padding: 7px 10px; font-family: var(--texto) !important; font-size: 16px; color: var(--terra) !important; text-decoration: none; }
  .kwe-mobile .kwe-mega-titulo { padding: 10px 10px 4px; }
  .kwe-mobile .kwe-cta { display: flex; margin-top: 26px; width: 100%; }
  body.kwe-menu-aberto { overflow: hidden; }
}

/* Remove restos do cabeçalho antigo do tema */
#site-header:not(.kwe-header), #top-bar-wrap, .oceanwp-mobile-menu-icon, #mobile-dropdown, #sidr { display: none !important; }

/* ---------- Ornamentos ---------- */
.kwe-divisor { display: block; width: 100%; max-width: 420px; height: 16px; margin: 0 auto; background: url("divisor.svg") center / contain no-repeat; }

/* ---------- Footer (variante escura) ---------- */
#footer.kwe-footer {
  background: var(--mata-escura) !important; color: rgba(247, 241, 229, .78);
  font-family: var(--texto); font-size: 15px; line-height: 1.65; padding: 0; position: relative;
}
.kwe-footer-topo { padding: 26px 0 0; }
.kwe-footer-inner { width: 100%; max-width: 1680px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 96px); }
.kwe-footer-grid {
  display: grid; align-items: start;
  grid-template-columns: minmax(210px, 1.5fr) minmax(120px, .9fr) minmax(140px, 1fr) minmax(200px, 1.25fr) minmax(230px, 1.4fr);
  column-gap: clamp(28px, 4vw, 80px); row-gap: 40px;
  padding: clamp(32px, 3vw, 48px) 0 0;
}
.kwe-footer p, .kwe-footer li { color: rgba(247, 241, 229, .78) !important; }
.kwe-footer-logo { display: inline-block; }
.kwe-footer-logo img { width: 168px; max-width: 100%; height: auto; display: block; margin: -6px 0 16px; }
.kwe-footer-marca p { margin: 0 0 20px; max-width: 340px; font-size: 15px; line-height: 1.65; }
.kwe-footer h4 {
  font-family: var(--titulo) !important; font-weight: 700 !important; font-size: 15px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--luz) !important; margin: 4px 0 20px; white-space: nowrap;
}
.kwe-footer h4::after { content: ""; display: block; width: 28px; height: 1px; margin-top: 10px; background: var(--luz); opacity: .7; }
.kwe-footer ul { list-style: none; margin: 0; padding: 0; }
.kwe-footer ul li { margin: 0 0 9px; }
.kwe-footer ul.kwe-links a {
  font-family: var(--titulo) !important; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--areia) !important; text-decoration: none; opacity: .86; transition: color .2s ease, opacity .2s ease;
}
.kwe-footer ul.kwe-links a:hover { color: var(--luz) !important; opacity: 1; }
.kwe-footer ul.kwe-contact li { display: grid; grid-template-columns: 20px 1fr; column-gap: 12px; align-items: start; margin-bottom: 10px; line-height: 1.5; }
.kwe-footer ul.kwe-contact svg { width: 16px; height: 16px; margin-top: 3px; color: var(--luz); }
.kwe-footer ul.kwe-contact a { color: var(--areia) !important; text-decoration: none; }
.kwe-footer ul.kwe-contact a:hover { color: var(--luz) !important; }
.kwe-newsletter-text { margin: 0 0 14px; max-width: 340px; }
.kwe-newsletter { display: flex; gap: 10px; margin: 0; max-width: 380px; }
.kwe-newsletter input[type="email"] {
  flex: 1; min-width: 0; height: 46px; padding: 0 20px !important; margin: 0;
  background: rgba(247, 241, 229, .06) !important; color: var(--areia) !important;
  border: 1px solid rgba(247, 241, 229, .22) !important; border-radius: 999px !important; font-size: 15px;
}
.kwe-newsletter input[type="email"]::placeholder { color: rgba(247, 241, 229, .55); }
.kwe-newsletter input[type="email"]:focus { border-color: var(--luz) !important; box-shadow: 0 0 0 3px rgba(244, 197, 66, .15); }
.kwe-newsletter-btn {
  flex: 0 0 46px; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%;
  background: var(--luz); color: var(--mata-escura); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: transform .2s ease, background-color .2s ease;
}
.kwe-newsletter-btn:hover { background: #ffd95e; transform: translateX(2px); }
.kwe-footer .kwe-newsletter .kwe-newsletter-btn { background: var(--luz) !important; color: var(--mata-escura) !important; border: 0 !important; border-radius: 50% !important; padding: 0 !important; }
.kwe-footer .kwe-newsletter .kwe-newsletter-btn:hover { background: #ffd95e !important; }
.kwe-newsletter-btn svg { width: 18px; height: 18px; }
.kwe-social { display: flex; gap: 10px; }
.kwe-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(244, 197, 66, .45);
  display: inline-flex; align-items: center; justify-content: center; color: var(--areia) !important; transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.kwe-social a:hover { color: var(--mata-escura) !important; background: var(--luz); border-color: var(--luz); }
.kwe-social svg { width: 16px; height: 16px; }
.kwe-footer-bottom {
  margin-top: clamp(32px, 3vw, 48px); padding: 18px 0 22px; border-top: 1px solid rgba(244, 197, 66, .2);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-family: var(--titulo); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(247, 241, 229, .55);
}
.kwe-footer-bottom nav { display: flex; gap: 32px; }
.kwe-footer-bottom a { color: rgba(247, 241, 229, .55) !important; text-decoration: none; }
.kwe-footer-bottom a:hover { color: var(--luz) !important; }

@media (max-width: 1280px) {
  .kwe-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kwe-footer-marca { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 48px; align-items: center; }
  .kwe-footer-logo img { margin: 0; }
  .kwe-footer-marca p { margin: 0 0 20px; }
  .kwe-footer-marca .kwe-social { grid-column: 2; }
  .kwe-footer-news { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .kwe-footer-grid { grid-template-columns: 1fr 1fr; row-gap: 44px; column-gap: 24px; }
  .kwe-footer-marca { display: block; }
  .kwe-footer-logo img { width: 200px; margin: 0 0 22px; }
  .kwe-footer-contact, .kwe-footer-news { grid-column: 1 / -1; }
  .kwe-footer-bottom { flex-direction: column; align-items: flex-start; }
  .kwe-footer-bottom nav { gap: 22px; }
}

/* ---------- Página de privacidade ---------- */
.kwe-legal { max-width: 820px; margin: 0 auto; padding: 56px 0 96px; }
.kwe-legal h2 { font-size: 26px; margin: 44px 0 12px; }
.kwe-legal h2:first-child { margin-top: 0; }

/* ---------- Home: Quem somos ---------- */
body { overflow-x: clip; }
.kwe-quem {
  position: relative; width: var(--kwe-vw); margin-left: calc(50% - var(--kwe-vw) / 2); margin-right: calc(50% - var(--kwe-vw) / 2);
  background: var(--mata-escura); color: var(--areia);
}

/* Abertura: vídeo como fundo da secção */
.kwe-quem-abertura {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: max(560px, calc(100vh - var(--header-h-min))); min-height: max(560px, calc(100svh - var(--header-h-min))); display: flex; align-items: center;
  background: #07130d;
}
.kwe-quem-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.kwe-quem-sombra {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 19, 13, .96) 0%, rgba(7, 19, 13, .88) 26%, rgba(7, 19, 13, .55) 48%, rgba(7, 19, 13, .12) 72%, rgba(7, 19, 13, .05) 100%),
    linear-gradient(180deg, rgba(7, 19, 13, .55) 0%, rgba(7, 19, 13, 0) 22%, rgba(7, 19, 13, 0) 62%, var(--mata-escura) 100%);
}
.kwe-quem-texto {
  position: relative; width: 100%; max-width: 1680px; margin: 0 auto;
  padding: clamp(96px, 12vh, 160px) clamp(24px, 5vw, 96px);
}
.kwe-quem-texto > * { max-width: 620px; }
.kwe-sobretitulo {
  display: inline-flex; align-items: center; gap: 16px; margin-bottom: 30px;
  font-family: var(--titulo); font-size: 12px; font-weight: 700; letter-spacing: .38em; text-transform: uppercase; color: #A87B17;
}
.kwe-sobretitulo::before { content: ""; width: 44px; height: 1px; background: currentColor; }
.kwe-quem .kwe-sobretitulo { color: var(--luz); }
.kwe-quem h2 {
  margin: 0 0 30px; font-size: clamp(44px, 5vw, 84px) !important; line-height: 1.02 !important; font-weight: 700 !important;
  color: var(--areia) !important; letter-spacing: .01em !important; text-shadow: 0 4px 30px rgba(0, 0, 0, .35);
}
.kwe-quem h2 em { font-style: normal; color: var(--luz); font-weight: 500; }
.kwe-quem-titulo-pre {
  display: block; margin-bottom: 16px;
  font-size: clamp(16px, 1.4vw, 22px); font-weight: 500; letter-spacing: .24em; color: var(--areia); opacity: .78;
}
.kwe-quem-lead {
  margin: 0 0 22px !important; padding-left: 22px; border-left: 2px solid var(--luz);
  font-size: clamp(19px, 1.5vw, 23px) !important; line-height: 1.55 !important; font-style: italic; color: var(--areia) !important;
}
.kwe-quem-texto p:not(.kwe-quem-lead) { margin: 0; font-size: 17px; line-height: 1.85; color: rgba(247, 241, 229, .78) !important; max-width: 540px; }

/* Botão de som, estilo leitor de vídeo */
.kwe-som, button.kwe-som {
  position: absolute; left: clamp(24px, 5vw, 96px); bottom: clamp(32px, 6vh, 64px); z-index: 2;
  display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 20px 0 14px !important;
  background: rgba(7, 19, 13, .45) !important; color: var(--areia) !important;
  border: 1px solid rgba(247, 241, 229, .55) !important; border-radius: 999px !important;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); cursor: pointer;
  font-family: var(--titulo) !important; font-size: 12px !important; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.kwe-som:hover { background: var(--luz) !important; border-color: var(--luz) !important; color: var(--mata-escura) !important; }
.kwe-som svg { width: 20px; height: 20px; }
.kwe-som .kwe-som-on { display: none; }
.kwe-som[aria-pressed="true"] .kwe-som-on { display: block; }
.kwe-som[aria-pressed="true"] .kwe-som-off { display: none; }

/* Pilares: colunas editoriais com numeração romana, sobre o fundo escuro */
.kwe-pilares {
  list-style: none; margin: 0 auto; padding: clamp(40px, 5vw, 72px) clamp(24px, 5vw, 96px) clamp(80px, 9vw, 130px);
  max-width: 1680px; display: grid; grid-template-columns: repeat(3, 1fr);
}
.kwe-pilar { margin: 0; padding: 8px clamp(24px, 3.5vw, 64px); position: relative; }
.kwe-pilar:first-child { padding-left: 0; }
.kwe-pilar + .kwe-pilar::before {
  content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px;
  background: linear-gradient(180deg, rgba(244, 197, 66, 0), rgba(244, 197, 66, .6) 30%, rgba(244, 197, 66, .6) 70%, rgba(244, 197, 66, 0));
}
.kwe-pilar-num {
  display: block; margin-bottom: 22px;
  font-family: var(--titulo); font-size: 56px; font-weight: 500; line-height: 1; color: transparent;
  -webkit-text-stroke: 1px var(--luz);
}
.kwe-pilar h3 { margin: 0 0 14px; font-size: 22px !important; letter-spacing: .14em !important; text-transform: uppercase; color: var(--areia) !important; }
.kwe-pilar p { margin: 0; font-size: 17px; line-height: 1.75; max-width: 340px; color: rgba(247, 241, 229, .75) !important; }

/* Compromisso: faixa a toda a largura */
.kwe-compromisso {
  position: relative; text-align: center; background: #0B2217;
  padding: clamp(88px, 10vw, 150px) 28px; overflow: hidden; border-top: 1px solid rgba(244, 197, 66, .18);
}
.kwe-compromisso::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(244, 197, 66, .12), rgba(244, 197, 66, 0) 70%);
}
.kwe-compromisso > * { position: relative; }
.kwe-compromisso .kwe-sobretitulo { color: var(--luz); justify-content: center; }
.kwe-compromisso .kwe-sobretitulo::after { content: ""; width: 44px; height: 1px; background: currentColor; }
.kwe-compromisso-frase {
  margin: 0 auto 40px !important; max-width: 1000px;
  font-family: var(--titulo) !important; font-weight: 700; font-size: clamp(28px, 3.6vw, 54px) !important; line-height: 1.2 !important; letter-spacing: .01em;
  color: var(--areia) !important;
}
.kwe-compromisso .kwe-divisor { max-width: 300px; margin-bottom: 36px; }
.kwe-compromisso-sub { margin: 0 auto !important; max-width: 620px; font-size: 18px !important; font-style: italic; color: rgba(247, 241, 229, .78) !important; }

@media (max-width: 960px) {
  .kwe-quem-abertura { min-height: calc(100svh - var(--header-h-min)); align-items: flex-end; }
  .kwe-quem-video { object-position: 50% 50%; }
  .kwe-quem-sombra {
    background: linear-gradient(180deg, rgba(7, 19, 13, .35) 0%, rgba(7, 19, 13, .1) 30%, rgba(7, 19, 13, .78) 62%, var(--mata-escura) 100%);
  }
  .kwe-quem-texto { padding: 120px 24px 96px; }
  .kwe-som { left: auto; right: 16px; top: 16px; bottom: auto; height: 42px; padding: 0 14px 0 12px !important; }
  .kwe-som-texto { display: none; }
  .kwe-quem .kwe-som, .kwe-quem button.kwe-som { left: auto !important; right: 16px !important; width: 42px; padding: 0 !important; justify-content: center; }
  .kwe-pilares { grid-template-columns: 1fr; padding: 8px 24px 72px; gap: 0; }
  .kwe-pilar { padding: 32px 0; }
  .kwe-pilar + .kwe-pilar::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, rgba(244, 197, 66, .6), rgba(244, 197, 66, 0)); }
  .kwe-pilar-num { font-size: 44px; margin-bottom: 16px; }
  .kwe-compromisso-frase br { display: none; }
}

/* ---------- Home: secções comuns ---------- */
.kwe-sec { position: relative; width: var(--kwe-vw); margin-left: calc(50% - var(--kwe-vw) / 2); margin-right: calc(50% - var(--kwe-vw) / 2); padding: clamp(88px, 10vw, 150px) 0; }
.kwe-sec-inner { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.kwe-sec h2 { margin: 0 0 24px; font-size: clamp(36px, 3.8vw, 58px) !important; line-height: 1.08 !important; color: var(--mata-escura) !important; letter-spacing: .01em !important; }
.kwe-sec-cabeca p { font-size: 18px; line-height: 1.8; margin: 0 0 36px; max-width: 440px; }
.kwe-sec-cabeca-centro { text-align: center; margin-bottom: clamp(48px, 5vw, 72px); }
.kwe-sec-cabeca-centro .kwe-sobretitulo { justify-content: center; }
.kwe-sec-cabeca-centro .kwe-sobretitulo::after { content: ""; width: 44px; height: 1px; background: currentColor; }
.kwe-botao, a.kwe-botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 52px; padding: 0 30px;
  font-family: var(--titulo) !important; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--mata-escura) !important; text-decoration: none !important; background: transparent;
  border: 1px solid #B8891F; border-radius: 2px; transition: background-color .25s ease, color .25s ease;
}
.kwe-botao:hover { background: var(--luz); border-color: var(--luz); }
.kwe-botao-cheio, button.kwe-botao-cheio { background: var(--luz) !important; border: 1px solid var(--luz) !important; color: var(--mata-escura) !important; border-radius: 2px !important; height: 56px; }
.kwe-botao-cheio:hover, button.kwe-botao-cheio:hover { background: var(--ouro-hover) !important; }
.kwe-link-ouro {
  font-family: var(--titulo); font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  color: var(--luz) !important; padding-bottom: 6px; border-bottom: 1px solid rgba(244, 197, 66, .5); transition: border-color .2s ease;
}
.kwe-link-ouro:hover { border-bottom-color: var(--luz); }

/* ---------- Calendário de giras ---------- */
.kwe-giras { background: var(--areia); }
.kwe-giras-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.kwe-giras .kwe-sec-cabeca { position: sticky; top: calc(var(--header-h-min) + 40px); }
.kwe-giras-lista { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(184, 137, 31, .45); }
.kwe-gira {
  display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: center; gap: 28px;
  margin: 0; padding: 26px 4px; border-bottom: 1px solid rgba(184, 137, 31, .45); transition: background-color .25s ease;
}
.kwe-gira:hover { background: rgba(244, 197, 66, .08); }
.kwe-gira-data { display: flex; align-items: baseline; gap: 10px; }
.kwe-gira-dia { font-family: var(--titulo); font-size: 48px; font-weight: 500; line-height: 1; color: var(--mata-escura); }
.kwe-gira-mes { font-family: var(--titulo); font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #A87B17; }
.kwe-gira-info { display: flex; flex-direction: column; gap: 4px; }
.kwe-gira-nome { font-family: var(--titulo); font-size: 20px; font-weight: 700; letter-spacing: .04em; color: var(--mata-escura); }
.kwe-gira-meta { font-size: 16px; color: rgba(78, 52, 46, .8); }
.kwe-gira-acao {
  font-family: var(--titulo); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  color: var(--mata-escura) !important; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
}
.kwe-gira-acao::after { content: ""; width: 28px; height: 1px; background: #B8891F; transition: width .25s ease; }
.kwe-gira:hover .kwe-gira-acao::after { width: 44px; }
.kwe-gira-proxima .kwe-gira-nome::after {
  content: "Próxima"; margin-left: 14px; padding: 3px 10px 2px; vertical-align: 3px;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; background: var(--luz); color: var(--mata-escura); border-radius: 2px;
}

/* ---------- Galeria ---------- */
.kwe-galeria { background: var(--mata-escura); }
.kwe-galeria h2 { color: var(--areia) !important; }
.kwe-galeria .kwe-sobretitulo { color: var(--luz); }
.kwe-mosaico { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, clamp(200px, 20vw, 300px)); gap: 14px; }
.kwe-foto { position: relative; display: block; overflow: hidden; background: #0a1f15; }
.kwe-foto-grande { grid-column: 1 / 3; grid-row: 1 / 3; }
.kwe-foto-alta { grid-column: 3; grid-row: 1 / 3; }
.kwe-foto img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter .6s ease; filter: saturate(.92); }
.kwe-foto::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(244, 197, 66, 0); transition: border-color .4s ease, inset .4s ease; pointer-events: none; }
.kwe-foto:hover img { transform: scale(1.05); filter: saturate(1.05); }
.kwe-foto:hover::after { border-color: rgba(244, 197, 66, .7); inset: 16px; }
.kwe-galeria-mais { text-align: center; margin: 56px 0 0 !important; }

.kwe-lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(8, 20, 14, .94); display: flex; align-items: center; justify-content: center; padding: 48px; }
.kwe-lightbox[hidden] { display: none; }
.kwe-lightbox img { max-width: 100%; max-height: 100%; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); border: 1px solid rgba(244, 197, 66, .4); }
.kwe-lightbox-fechar, button.kwe-lightbox-fechar {
  position: absolute; top: 20px; right: 24px; width: 48px; height: 48px; padding: 0 !important; border-radius: 50% !important;
  background: transparent !important; border: 1px solid rgba(244, 197, 66, .6) !important; color: var(--areia) !important; font-size: 28px; line-height: 1; cursor: pointer;
}

/* ---------- Agendamento ---------- */
.kwe-agenda { background: var(--areia-2); }
.kwe-agenda-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 110px); align-items: center; }
.kwe-agenda-intro p { font-size: 18px; line-height: 1.8; max-width: 460px; }
.kwe-selo {
  display: inline-block; margin: 0 0 26px !important; padding: 8px 18px 7px;
  font-family: var(--titulo) !important; font-size: 14px !important; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  color: var(--mata-escura) !important; background: var(--luz); border-radius: 2px;
}
.kwe-passos { list-style: none; margin: 36px 0 0; padding: 0; }
.kwe-passos li { display: flex; align-items: center; gap: 18px; margin: 0 0 18px; font-size: 17px; }
.kwe-passos li span {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #B8891F;
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--titulo); font-weight: 700; color: #A87B17;
}
.kwe-form {
  background: var(--areia); padding: clamp(32px, 4vw, 56px); border-radius: 2px; position: relative;
  box-shadow: 0 30px 70px rgba(78, 52, 46, .12);
}
.kwe-form::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--luz); }
.kwe-campo { margin-bottom: 22px; }
.kwe-campo-duplo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.kwe-campo label { display: block; margin-bottom: 8px; font-family: var(--titulo) !important; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mata-escura); }
.kwe-opcional { font-family: var(--texto); font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; color: rgba(78, 52, 46, .6); }
.kwe-form input[type="text"], .kwe-form input[type="tel"], .kwe-form input[type="email"], .kwe-form select, .kwe-form textarea {
  width: 100%; min-height: 50px; padding: 12px 16px !important; font-size: 16px !important;
  background: #fff !important; border: 1px solid rgba(78, 52, 46, .2) !important; border-radius: 2px !important; box-shadow: none;
}
.kwe-form textarea { resize: vertical; min-height: 110px; }
.kwe-form input:focus, .kwe-form select:focus, .kwe-form textarea:focus { border-color: #B8891F !important; box-shadow: 0 0 0 3px rgba(244, 197, 66, .25) !important; }
.kwe-form .kwe-invalido { border-color: #A33A2B !important; }
.kwe-consentimento { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 28px; font-size: 14px; line-height: 1.6; color: rgba(78, 52, 46, .85); cursor: pointer; }
.kwe-consentimento input { margin-top: 4px; width: 18px; height: 18px; accent-color: #B8891F; flex: 0 0 18px; }
.kwe-form button[type="submit"] { width: 100%; }
.kwe-form-estado { margin: 18px 0 0 !important; font-size: 15px; min-height: 1em; color: var(--mata) !important; }
.kwe-form-estado.kwe-erro { color: #A33A2B !important; }

@media (max-width: 960px) {
  .kwe-giras-grid, .kwe-agenda-grid { grid-template-columns: 1fr; gap: 40px; }
  .kwe-giras .kwe-sec-cabeca { position: static; }
  .kwe-gira { grid-template-columns: 84px minmax(0, 1fr); gap: 18px; padding: 22px 0; }
  .kwe-gira-acao { grid-column: 2; }
  .kwe-gira-dia { font-size: 38px; }
  .kwe-gira-data { flex-direction: column; gap: 4px; }
  .kwe-gira-proxima .kwe-gira-nome::after { display: inline-block; margin: 8px 0 0; }
  .kwe-mosaico { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 180px; gap: 10px; }
  .kwe-foto-grande { grid-column: 1 / 3; grid-row: span 2; }
  .kwe-foto-alta { grid-column: auto; grid-row: span 2; }
  .kwe-campo-duplo { grid-template-columns: 1fr; gap: 0; }
  .kwe-lightbox { padding: 16px; }
}

/* ---------- Localização ---------- */
.kwe-mapa { position: relative; width: var(--kwe-vw); margin-left: calc(50% - var(--kwe-vw) / 2); margin-right: calc(50% - var(--kwe-vw) / 2); height: clamp(380px, 48vw, 560px); background: var(--areia-2); }
.kwe-mapa-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.55) sepia(.18) contrast(1.02); }
.kwe-mapa-inner { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; padding: 80px 28px; pointer-events: none; }
.kwe-mapa-cartao {
  pointer-events: auto; width: 100%; max-width: 440px; margin-left: auto; padding: 48px 44px; background: var(--areia);
  box-shadow: 0 30px 70px rgba(15, 42, 29, .22); position: relative;
}
.kwe-mapa-cartao::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--luz); }
.kwe-mapa-cartao h2 { margin: 0 0 20px; font-size: clamp(32px, 3vw, 44px) !important; line-height: 1.1 !important; color: var(--mata-escura) !important; }
.kwe-mapa-morada { font-style: normal; font-size: 19px; line-height: 1.6; color: var(--mata-escura); margin: 0 0 24px; }
.kwe-mapa-info { list-style: none; margin: 0 0 32px; padding: 0; border-top: 1px solid rgba(184, 137, 31, .4); }
.kwe-mapa-info li { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding: 14px 0; border-bottom: 1px solid rgba(184, 137, 31, .4); font-size: 16px; }
.kwe-mapa-info li span { font-family: var(--titulo); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #A87B17; }
.kwe-mapa-info a { color: var(--mata-escura) !important; text-decoration: none; }
.kwe-mapa-cartao .kwe-botao { width: 100%; }
@media (max-width: 760px) {
  .kwe-mapa { display: block; min-height: 0; }
  .kwe-mapa-frame { position: relative; height: 360px; display: block; }
  .kwe-mapa-inner { padding: 0; }
  .kwe-mapa-cartao { max-width: none; box-shadow: none; padding: 40px 24px 56px; }
}

/* ---------- Botão de WhatsApp ---------- */
.kwe-whatsapp {
  position: fixed; right: 24px; bottom: 80px; z-index: 1500;
  display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; padding: 0;
  border-radius: 50%; background: #25D366; color: #fff !important; text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22), 0 2px 6px rgba(0, 0, 0, .12);
}
.kwe-whatsapp svg { width: 32px; height: 32px; flex: 0 0 32px; }
.kwe-whatsapp-texto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kwe-whatsapp::after {
  content: "Fale connosco"; position: absolute; right: calc(100% + 12px); top: 50%;
  padding: 8px 14px; border-radius: 8px; background: #fff; color: #1f2c34;
  font-family: var(--texto); font-size: 14px; white-space: nowrap; box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
  opacity: 0; transform: translate(6px, -50%); pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.kwe-whatsapp:hover { background: #1EBE5D; }
.kwe-whatsapp:hover::after { opacity: 1; transform: translate(0, -50%); }
.kwe-whatsapp:focus-visible { outline: 3px solid #25D366; outline-offset: 3px; }
#scroll-top { bottom: 24px !important; right: 34px !important; width: 40px !important; height: 40px !important; line-height: 40px !important; }
body.kwe-menu-aberto .kwe-whatsapp { display: none; }
@media (max-width: 680px) {
  .kwe-whatsapp { right: 16px; bottom: 70px; width: 56px; height: 56px; }
  .kwe-whatsapp::after { display: none; }
  #scroll-top { bottom: 16px !important; right: 24px !important; }
}
/* ---------- Barra de rolagem ---------- */
html { scrollbar-width: thin; scrollbar-color: rgba(184, 137, 31, .55) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(184, 137, 31, .45); border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(184, 137, 31, .8); background-clip: padding-box; }
::-webkit-scrollbar-corner { background: transparent; }
/* ---------- Páginas de galeria ---------- */
.kwe-galeria-pagina { padding: clamp(56px, 7vw, 110px) 0 clamp(72px, 8vw, 130px); text-align: center; }
.kwe-galeria-pagina .kwe-sobretitulo { justify-content: center; }
.kwe-galeria-pagina .kwe-sobretitulo::after { content: ""; width: 44px; height: 1px; background: currentColor; }
.kwe-galeria-pagina h2 { margin: 0 0 18px; font-size: clamp(34px, 3.6vw, 54px) !important; color: var(--mata-escura) !important; }
.kwe-galeria-intro { max-width: 560px; margin: 0 auto 56px !important; font-size: 18px; font-style: italic; }
.kwe-mosaico-pagina { grid-template-rows: none; grid-auto-rows: clamp(200px, 20vw, 300px); text-align: left; }
.kwe-mosaico-pagina[data-galeria="vazia"] { display: block; }
.kwe-galeria-vazia {
  margin: 0 auto !important; max-width: 560px; padding: 56px 32px; text-align: center;
  border: 1px solid rgba(184, 137, 31, .45); font-family: var(--titulo) !important; font-size: 14px !important;
  letter-spacing: .16em; text-transform: uppercase; color: #A87B17 !important;
}
/* Grelha das galerias */
.kwe-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 14px; text-align: left; }
.kwe-grade .kwe-foto { aspect-ratio: 3 / 2; }
.kwe-grade .kwe-foto-destaque { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.kwe-grade .kwe-foto-vertical { grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 760px) {
  .kwe-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .kwe-grade .kwe-foto-destaque { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 3 / 2; }
}

/* Navegação da ampliação */
.kwe-lightbox img { max-height: calc(100vh - 120px); }
.kwe-lightbox-nav, button.kwe-lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; padding: 0 !important;
  border-radius: 50% !important; background: rgba(15, 42, 29, .6) !important; border: 1px solid rgba(244, 197, 66, .6) !important;
  color: var(--areia) !important; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .2s ease;
}
.kwe-lightbox-nav:hover { background: var(--luz) !important; color: var(--mata-escura) !important; }
.kwe-lightbox-nav svg { width: 22px; height: 22px; }
.kwe-lightbox-ant { left: 24px; }
.kwe-lightbox-seg { right: 24px; }
.kwe-lightbox-uma .kwe-lightbox-nav { display: none; }
.kwe-lightbox-contador {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  font-family: var(--titulo); font-size: 12px; font-weight: 700; letter-spacing: .24em; color: rgba(247, 241, 229, .8);
}
@media (max-width: 760px) {
  .kwe-lightbox-nav { width: 42px; height: 42px; top: auto; bottom: 10px; transform: none; }
  .kwe-lightbox-ant { left: 16px; } .kwe-lightbox-seg { right: 16px; }
}
/* Hero da home: ocupa exatamente o ecrã visível abaixo do cabeçalho */
body.home .elementor-element-449f467,
body.home .elementor-element-449f467 > .elementor-container {
  min-height: max(520px, calc(100vh - var(--header-h))) !important;
  min-height: max(520px, calc(100svh - var(--header-h))) !important;
}
body.home .elementor-element-449f467 { margin-top: 0 !important; margin-bottom: 0 !important; }
/* Texto da hero (substitui o título animado, que se sobrepunha) */
body.home .elementor-element-449f467 { position: relative; }
body.home .elementor-element-449f467 .elementor-widget-animated-headline { display: none !important; }
.kwe-hero-texto {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 48px 24px; pointer-events: none;
  background:
    radial-gradient(ellipse 58% 62% at 50% 52%, rgba(7, 19, 13, .78) 0%, rgba(7, 19, 13, .55) 45%, rgba(7, 19, 13, 0) 78%),
    linear-gradient(180deg, rgba(7, 19, 13, 0) 55%, rgba(7, 19, 13, .45) 100%);
}
.kwe-hero-texto > * { pointer-events: auto; }
.kwe-hero-pre {
  display: inline-flex; align-items: center; gap: 16px; margin-bottom: 18px;
  font-family: var(--titulo); font-size: clamp(12px, 1vw, 15px); font-weight: 700; letter-spacing: .4em; text-transform: uppercase; color: var(--luz);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .6);
}
.kwe-hero-pre::before, .kwe-hero-pre::after { content: ""; width: 40px; height: 1px; background: currentColor; }
.kwe-hero-titulo {
  margin: 0 0 10px !important; font-family: var(--titulo) !important; font-weight: 700 !important;
  font-size: clamp(48px, 7.5vw, 120px) !important; line-height: 1 !important; letter-spacing: .02em !important;
  color: var(--areia) !important; text-shadow: 0 4px 34px rgba(0, 0, 0, .55), 0 1px 3px rgba(0, 0, 0, .5);
}
.kwe-hero-sub {
  margin: 0 0 26px !important; font-family: var(--texto) !important; font-style: italic;
  font-size: clamp(20px, 2vw, 30px) !important; color: var(--areia) !important; text-shadow: 0 2px 16px rgba(0, 0, 0, .6);
}
.kwe-hero-sub span { color: var(--luz); font-style: normal; }
.kwe-hero-texto .kwe-divisor { width: 260px; margin-bottom: 30px; }
.kwe-hero-acoes { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.kwe-botao-claro, a.kwe-botao-claro { color: var(--areia) !important; border-color: rgba(247, 241, 229, .7) !important; background: rgba(7, 19, 13, .3); height: 56px; }
.kwe-botao-claro:hover { background: var(--areia) !important; color: var(--mata-escura) !important; border-color: var(--areia) !important; }
@media (max-width: 680px) {
  .kwe-hero-texto { background: linear-gradient(180deg, rgba(7, 19, 13, .2) 0%, rgba(7, 19, 13, .7) 45%, rgba(7, 19, 13, .7) 70%, rgba(7, 19, 13, .3) 100%); }
  .kwe-hero-pre { letter-spacing: .28em; }
  .kwe-hero-pre::before, .kwe-hero-pre::after { width: 24px; }
  .kwe-hero-acoes { flex-direction: column; width: 100%; max-width: 300px; }
}
/* Pilares sobre fundo claro, com ícones */
.kwe-quem .kwe-pilares { max-width: none; margin: 0; background: #FDFBF6; padding-left: max(clamp(24px, 5vw, 96px), calc((100vw - 1680px) / 2 + 96px)); padding-right: max(clamp(24px, 5vw, 96px), calc((100vw - 1680px) / 2 + 96px)); padding-top: clamp(72px, 8vw, 120px); }
.kwe-quem .kwe-pilar + .kwe-pilar::before { background: linear-gradient(180deg, rgba(184, 137, 31, 0), rgba(184, 137, 31, .45) 30%, rgba(184, 137, 31, .45) 70%, rgba(184, 137, 31, 0)); }
.kwe-pilar-icone {
  display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-bottom: 26px;
  border-radius: 50%; border: 1px solid rgba(184, 137, 31, .55); background: rgba(244, 197, 66, .12); color: #A87B17;
}
.kwe-pilar-icone svg { width: 34px; height: 34px; }
.kwe-quem .kwe-pilar h3 { color: var(--mata-escura) !important; }
.kwe-quem .kwe-pilar p { color: rgba(78, 52, 46, .9) !important; }
@media (max-width: 960px) {
  .kwe-quem .kwe-pilares { padding: 24px 24px 64px; }
  .kwe-quem .kwe-pilar + .kwe-pilar::before { background: linear-gradient(90deg, rgba(184, 137, 31, .45), rgba(184, 137, 31, 0)); }
  .kwe-pilar-icone { width: 60px; height: 60px; margin-bottom: 18px; }
  .kwe-pilar-icone svg { width: 28px; height: 28px; }
}
/* ---------- Animações de scroll ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.kwe-progresso {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 1100; pointer-events: none;
  background: linear-gradient(90deg, #B8891F, var(--luz)); transform: scaleX(0); transform-origin: 0 50%;
}
.kwe-palavra { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em .02em .06em; margin: -.14em -.02em -.06em; }
.kwe-palavra-in { display: inline-block; will-change: transform; }
html.kwe-anim .kwe-foto { will-change: clip-path; }
@media (prefers-reduced-motion: reduce) {
  .kwe-progresso { display: none; }
}
/* WhatsApp: escondido até passar a primeira secção */
.kwe-whatsapp { opacity: 0; visibility: hidden; transform: translateY(24px) scale(.85); transition: opacity .45s ease, transform .45s cubic-bezier(.2, .8, .2, 1), visibility .45s, background-color .2s ease, box-shadow .2s ease; }
.kwe-whatsapp.kwe-visivel { opacity: 1; visibility: visible; transform: none; }
.kwe-whatsapp.kwe-visivel:hover { transform: scale(1.08); box-shadow: 0 10px 26px rgba(0, 0, 0, .28), 0 3px 8px rgba(0, 0, 0, .14); }
/* Responsividade: animações de entrada nunca criam scroll lateral */
.kwe-sec, .kwe-mapa, .kwe-quem, #footer.kwe-footer { overflow-x: clip; }
.kwe-mapa { overflow: clip; }
@media (max-width: 1366px) {
  .kwe-footer-grid { column-gap: clamp(24px, 3vw, 48px); }
}
/* ---------- Ecrã de carregamento (concha) ---------- */
.kwe-loader {
  position: fixed; inset: 0; z-index: 5000; display: grid; place-content: center; justify-items: center; align-items: center; row-gap: 22px;
  background: radial-gradient(ellipse at 50% 45%, #163b28 0%, var(--mata-escura) 55%, #07130d 100%);
  opacity: 1; visibility: visible; transition: opacity .6s ease, visibility .6s;
  animation: kwe-loader-seguranca 0s linear 6s forwards; /* se o JS falhar, nunca bloqueia o site */
}
html.kwe-pronto .kwe-loader { opacity: 0; visibility: hidden; }
html.kwe-saindo .kwe-loader { opacity: 1; visibility: visible; animation: none; transition-duration: .4s; }
@keyframes kwe-loader-seguranca { to { opacity: 0; visibility: hidden; } }
.kwe-loader-concha {
  grid-area: 1 / 1; place-self: center; position: relative; width: 112px; height: 112px; z-index: 1;
  filter: drop-shadow(0 0 0 rgba(244, 197, 66, 0));
  animation: kwe-concha 2.4s ease-in-out infinite;
}
.kwe-loader-anel {
  grid-area: 1 / 1; place-self: center; width: 168px; height: 168px; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(244, 197, 66, 0) 0deg, rgba(244, 197, 66, .9) 70deg, rgba(244, 197, 66, 0) 140deg, rgba(244, 197, 66, 0) 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  animation: kwe-anel 1.6s linear infinite;
}
.kwe-loader-texto {
  font-family: var(--titulo); font-size: 11px; font-weight: 700; letter-spacing: .42em; text-transform: uppercase;
  grid-area: 2 / 1; color: rgba(247, 241, 229, .7); padding-left: .42em; animation: kwe-texto 2.4s ease-in-out infinite;
}
@keyframes kwe-concha {
  0%, 100% { transform: scale(.94); filter: drop-shadow(0 0 0 rgba(244, 197, 66, 0)); }
  50% { transform: scale(1.03); filter: drop-shadow(0 0 22px rgba(244, 197, 66, .45)); }
}
@keyframes kwe-anel { to { transform: rotate(360deg); } }
@keyframes kwe-texto { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .kwe-loader-concha, .kwe-loader-anel, .kwe-loader-texto { animation: none; }
}
/* Novidades por WhatsApp (footer) e contactos */
.kwe-footer a.kwe-news-whats { height: 46px; padding: 0 22px; font-size: 12px; border-radius: 999px !important; }
.kwe-contacto-cta { margin-top: 12px; padding: 36px 32px; background: #FDFBF6; border: 1px solid rgba(184, 137, 31, .4); border-top: 3px solid var(--luz); }
.kwe-contacto-cta p { margin: 0 0 22px !important; font-size: 17px; }
.kwe-contacto-botoes { display: flex; flex-wrap: wrap; gap: 12px; }
/* Secções "esticadas" do tema e slideshow da hero feitos sem os scripts externos */
.elementor-section.elementor-section-stretched { width: var(--kwe-vw) !important; max-width: none !important; left: auto !important; margin-left: calc(50% - var(--kwe-vw) / 2) !important; margin-right: calc(50% - var(--kwe-vw) / 2) !important; }
body.home .elementor-element-449f467 { background: radial-gradient(ellipse at 50% 40%, #163b28, var(--mata-escura) 60%, #07130d) !important; overflow: hidden; }
.kwe-slideshow { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.kwe-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity 1.6s ease, transform 7s ease-out; }
.kwe-slide.kwe-ativo { opacity: 1; transform: scale(1); }
body.home .elementor-element-449f467 > .elementor-container { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .kwe-slide { transition: opacity .6s ease; transform: none !important; } }
/* ---------- Banner das páginas interiores ---------- */
.kwe-banner {
  position: relative; overflow: hidden; isolation: isolate;
  width: var(--kwe-vw); margin-left: calc(50% - var(--kwe-vw) / 2);
  padding: clamp(72px, 9vw, 130px) 24px clamp(64px, 8vw, 110px); text-align: center;
  background:
    radial-gradient(ellipse 70% 90% at 50% 0%, rgba(244, 197, 66, .14), rgba(244, 197, 66, 0) 60%),
    linear-gradient(180deg, #123221 0%, var(--mata-escura) 70%, #0b2016 100%);
  border-bottom: 1px solid rgba(244, 197, 66, .35);
}
.kwe-banner::before, .kwe-banner::after {
  content: ""; position: absolute; top: 50%; width: 38vw; max-width: 560px; height: 1px; z-index: -1;
  background: linear-gradient(90deg, rgba(244, 197, 66, 0), rgba(244, 197, 66, .35));
}
.kwe-banner::before { left: 0; }
.kwe-banner::after { right: 0; transform: scaleX(-1); }
.kwe-banner-concha {
  position: absolute; z-index: -1; left: 50%; top: 50%; width: min(520px, 70vw); height: auto;
  transform: translate(-50%, -50%); opacity: .06; filter: grayscale(.2); pointer-events: none;
}
.kwe-banner-inner { max-width: 820px; margin: 0 auto; }
.kwe-migalhas { display: flex; justify-content: center; gap: 10px; margin-bottom: 26px; font-family: var(--texto); font-size: 14px; color: rgba(247, 241, 229, .6); }
.kwe-migalhas a { color: rgba(247, 241, 229, .75) !important; text-decoration: none; }
.kwe-migalhas a:hover { color: var(--luz) !important; }
.kwe-banner .kwe-sobretitulo { color: var(--luz); justify-content: center; margin-bottom: 20px; }
.kwe-banner .kwe-sobretitulo::after { content: ""; width: 44px; height: 1px; background: currentColor; }
.kwe-banner-titulo {
  margin: 0 0 18px !important; font-size: clamp(40px, 5.4vw, 78px) !important; line-height: 1.05 !important;
  color: var(--areia) !important; letter-spacing: .01em !important;
}
.kwe-banner-sub { margin: 0 auto 30px !important; max-width: 620px; font-size: clamp(17px, 1.4vw, 20px) !important; font-style: italic; color: rgba(247, 241, 229, .82) !important; }
.kwe-banner .kwe-divisor { max-width: 260px; }
/* o banner antigo do tema deixa de existir; o conteúdo começa logo a seguir */
body:not(.home) #content-wrap { padding-top: 0 !important; }

/* ---------- Página de contactos ---------- */
.kwe-contacto { padding: clamp(56px, 7vw, 110px) 0 clamp(64px, 8vw, 120px); }
.kwe-contacto-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.kwe-contacto-info { display: flex; flex-direction: column; }
.kwe-contacto-item { display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 30px 0; border-bottom: 1px solid rgba(184, 137, 31, .35); }
.kwe-contacto-item:first-child { padding-top: 0; }
.kwe-contacto-item:last-child { border-bottom: 0; }
.kwe-contacto-icone {
  width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(184, 137, 31, .55); background: rgba(244, 197, 66, .12); color: #A87B17;
}
.kwe-contacto-icone svg { width: 24px; height: 24px; }
.kwe-contacto-item h2 { margin: 4px 0 8px !important; font-size: 15px !important; letter-spacing: .18em !important; text-transform: uppercase; color: var(--mata-escura) !important; }
.kwe-contacto-item p { margin: 0 0 14px !important; font-size: 17px; line-height: 1.6; }
.kwe-contacto-tel { font-family: var(--titulo); font-size: 26px; font-weight: 700; letter-spacing: .04em; color: var(--mata-escura) !important; text-decoration: none; }
.kwe-contacto-tel:hover { color: #A87B17 !important; }
.kwe-link-seta {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--titulo); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mata-escura) !important;
}
.kwe-link-seta::after { content: ""; width: 28px; height: 1px; background: #B8891F; transition: width .25s ease; }
.kwe-link-seta:hover::after { width: 44px; }
a.kwe-botao-icone { gap: 10px; height: 50px; padding: 0 24px; }
.kwe-botao-icone svg { width: 20px; height: 20px; }
.kwe-social-claro a { border-color: rgba(184, 137, 31, .55) !important; color: var(--mata-escura) !important; }
.kwe-social-claro a:hover { background: var(--luz) !important; border-color: var(--luz) !important; }
.kwe-contacto-mapa { position: relative; min-height: 460px; }
.kwe-contacto-mapa::before { content: ""; position: absolute; inset: -12px 12px 12px -12px; border: 1px solid rgba(184, 137, 31, .45); pointer-events: none; }
.kwe-contacto-mapa iframe { position: relative; width: 100%; height: 100%; min-height: 460px; border: 0; display: block; filter: saturate(.6) sepia(.15); box-shadow: 0 24px 60px rgba(15, 42, 29, .18); }
.kwe-contacto-convite { background: var(--mata-escura); text-align: center; }
.kwe-contacto-convite .kwe-sobretitulo { color: var(--luz); justify-content: center; }
.kwe-contacto-convite .kwe-sobretitulo::after { content: ""; width: 44px; height: 1px; background: currentColor; }
.kwe-contacto-convite h2 { color: var(--areia) !important; }
.kwe-contacto-convite p { max-width: 580px; margin: 0 auto 32px !important; font-size: 18px; color: rgba(247, 241, 229, .8) !important; }
@media (max-width: 900px) {
  .kwe-contacto-grid { grid-template-columns: 1fr; }
  .kwe-contacto-mapa, .kwe-contacto-mapa iframe { min-height: 340px; }
  .kwe-contacto-mapa::before { display: none; }
  .kwe-banner::before, .kwe-banner::after { display: none; }
}

/* Contactos: a faixa "As nossas portas estão abertas" passa a ser o topo da página */
.kwe-contacto-hero { min-height: max(420px, calc(70vh - var(--header-h))); display: flex; align-items: center; padding: clamp(72px, 9vw, 130px) 0; }
.kwe-contacto-hero .kwe-sec-inner { width: 100%; }
.kwe-contacto-titulo { margin: 0 0 24px !important; font-size: clamp(36px, 3.8vw, 58px) !important; line-height: 1.08 !important; color: var(--areia) !important; letter-spacing: .01em !important; }

/* Banner com fotografia (páginas da galeria) */
.kwe-banner.kwe-banner-foto {
  min-height: max(440px, calc(62vh - var(--header-h))); display: flex; align-items: center; justify-content: center;
  background: var(--mata-escura);
}
.kwe-banner-foto::before, .kwe-banner-foto::after { display: none; }
.kwe-banner-foto .kwe-banner-concha { display: none; }
.kwe-banner-fundo {
  position: absolute; inset: -6% 0; z-index: -2;
  background-image: var(--kwe-banner-img); background-size: cover; background-position: center 40%;
  will-change: transform;
}
.kwe-banner-foto .kwe-banner-sombra {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 50% 50%, rgba(7, 19, 13, .55) 0%, rgba(7, 19, 13, .2) 70%),
    linear-gradient(180deg, rgba(15, 42, 29, .55) 0%, rgba(15, 42, 29, .45) 45%, rgba(15, 42, 29, .92) 100%),
    linear-gradient(90deg, rgba(15, 42, 29, .55), rgba(15, 42, 29, 0) 30%, rgba(15, 42, 29, 0) 70%, rgba(15, 42, 29, .55));
}
.kwe-banner-foto .kwe-banner-titulo, .kwe-banner-foto .kwe-banner-sub { text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
.kwe-banner-foto { border-bottom: 2px solid var(--luz); }

/* ---------- Telemóvel: acabamentos finais ---------- */
@media (max-width: 680px) {
  /* sobretítulos não partem em duas linhas */
  .kwe-sobretitulo { font-size: 11px; letter-spacing: .24em; gap: 12px; }
  .kwe-sobretitulo::before, .kwe-sobretitulo::after { width: 22px !important; }
  /* textos antigos justificados ficavam com buracos entre palavras */
  .elementor-widget-text-editor, .elementor-widget-text-editor p { text-align: left !important; hyphens: auto; }
  /* só o botão de WhatsApp em baixo; o "voltar ao topo" sai no telemóvel */
  #scroll-top { display: none !important; }
  .kwe-whatsapp { bottom: 18px; right: 16px; }
  /* espaço para o botão flutuante não tapar o fim do footer */
  .kwe-footer-bottom { padding-bottom: 92px; }
  /* formulário */
  .kwe-form { padding: 28px 20px; }
  .kwe-form select { text-overflow: ellipsis; padding-right: 36px !important; }
  .kwe-form button[type="submit"] { letter-spacing: .14em !important; }
  /* cabeçalho das secções e títulos grandes */
  .kwe-sec h2 { font-size: 32px !important; }
  .kwe-compromisso-frase { font-size: 26px !important; }
  .kwe-hero-titulo { font-size: 50px !important; }
  .kwe-hero-pre { font-size: 11px; }
  /* banners das páginas */
  .kwe-banner { padding: 56px 20px 48px; }
  .kwe-banner-titulo { font-size: 38px !important; }
  .kwe-migalhas { margin-bottom: 18px; }
  .kwe-banner.kwe-banner-foto { min-height: 340px; }
  /* contactos: faixa do topo */
  .kwe-contacto-hero { min-height: 0; padding: 64px 0; }
  .kwe-contacto-titulo { font-size: 32px !important; }
  /* calendário: botão "Marcar" alinhado com o texto */
  .kwe-gira-acao { margin-top: 4px; }
  /* mapa */
  .kwe-mapa { height: 340px; }
}
@media (max-width: 380px) {
  .kwe-hero-titulo { font-size: 44px !important; }
  .kwe-sec h2, .kwe-quem h2 { font-size: 30px !important; }
}

/* Texto corrido das páginas interiores: legível e com respiro */
body:not(.home) .single-page-article:has(.elementor-widget-text-editor) { padding-top: clamp(36px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 80px); }
.elementor-widget-text-editor, .elementor-widget-text-editor p { font-size: 17px !important; line-height: 1.85 !important; color: var(--terra) !important; }
.elementor-widget-text-editor p { margin: 0 0 1.1em !important; }
@media (max-width: 680px) {
  .elementor-widget-text-editor, .elementor-widget-text-editor p { font-size: 16px !important; line-height: 1.8 !important; }
  body:not(.home) #content-wrap { padding-left: 20px !important; padding-right: 20px !important; }
}
/* Telemóvel: áreas de toque confortáveis */
@media (max-width: 680px) {
  .kwe-footer ul.kwe-links a, .kwe-footer-bottom nav a { display: inline-block; padding: 8px 0; }
  .kwe-footer ul li { margin-bottom: 2px; }
  .kwe-gira-acao { padding: 8px 0; }
  .kwe-migalhas a { padding: 6px 0; }
  .kwe-legal p { font-size: 16px; }
}

/* Calendário: Desenvolvimento Mediúnico (véspera de cada gira) */
.kwe-gira-desenv { background: rgba(244, 197, 66, .06); }
.kwe-gira-desenv .kwe-gira-dia { color: rgba(15, 42, 29, .55); font-size: 38px; }
.kwe-gira-desenv .kwe-gira-nome { font-size: 16px; color: rgba(15, 42, 29, .78); letter-spacing: .08em; }
.kwe-gira-tag {
  justify-self: start; padding: 4px 10px 3px; border: 1px solid rgba(184, 137, 31, .55); border-radius: 2px;
  font-family: var(--titulo); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #A87B17; white-space: nowrap;
}
@media (max-width: 960px) {
  .kwe-gira-tag { grid-column: 2; margin-top: 4px; }
  .kwe-gira-desenv .kwe-gira-dia { font-size: 30px; }
}
