/* Amperia — cópia do site do Wix. Cores, fontes e coordenadas tiradas do site publicado. */
@font-face { font-family: 'Mont Book'; src: url('/fontes/mont-book.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Mont Heavy'; src: url('/fontes/mont-heavy.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: '7f1caa_0d6616bd828a4aebbaaebe3f623e1fc8'; src: url('/fontes/7f1caa_0d6616bd828a4aebbaaebe3f623e1fc8.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: '7f1caa_e7df35e8d15a46558f5c18399ec67fe2'; src: url('/fontes/7f1caa_e7df35e8d15a46558f5c18399ec67fe2.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: '7f1caa_220d93da11ef44bdadf7928fc061cd26'; src: url('/fontes/7f1caa_220d93da11ef44bdadf7928fc061cd26.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: '7f1caa_309612322fa14691bc4ce98eb8703d83'; src: url('/fontes/7f1caa_309612322fa14691bc4ce98eb8703d83.woff2') format('woff2'); font-display: swap; }

:root {
  --verde: #024a45;
  --verde-2: #1c716f;
  --amarelo: #ffe70a;
  --tinta: #041412;
  --book: 'Mont Book', 'Helvetica Neue', Arial, sans-serif;
  --heavy: 'Mont Heavy', 'Mont Book', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--tinta); font-family: var(--book); font-size: 16px; line-height: normal; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6, p, ul, ol { margin: 0; font-weight: 400; }
ul, ol { padding-left: 0; margin-left: 8px; }
li { margin-left: 1.3em; }
[id] { scroll-margin-top: 20px; }

/* ---------- secções ---------- */
.sec { position: relative; background-size: cover; background-position: center; background-repeat: no-repeat; overflow: hidden; }
.tx > * { font-size: var(--fs); overflow-wrap: break-word; }
.tx a { text-decoration: none; }
.tx p.e { line-height: 1.4; }
.im { display: block; }
.im img { width: 100%; height: 100%; }
.bx { display: block; }
.hl, .vl { display: block; }
.wc { position: relative; }

.btn {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 0 12px; color: #fff; text-decoration: none; line-height: 1.2;
  transition: filter .15s ease;
}
.btn:hover { filter: brightness(1.15); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--amarelo); outline-offset: 2px; }

.pdform iframe { width: 100%; height: 100%; border: 0; display: block; }
.tx a.u { text-decoration: underline; }
.calc iframe { width: 100%; height: 100%; border: 0; display: block; }
.vid video { width: 100%; height: 100%; object-fit: cover; }

/* formulário nativo (newsletter e /apresentacao) */
.wf { display: grid; gap: 6px; width: 100%; }
.wf label { font-size: 14px; }
.wf input, .wf textarea { width: 100%; min-height: 40px; padding: 8px 12px; font: inherit; color: var(--tinta); background: #fff; border: 1px solid var(--tinta); border-radius: 0; }
.wf button { justify-self: start; min-height: 40px; padding: 9px 28px; font: inherit; font-size: 14px; color: #fff; background: var(--tinta); border: 0; cursor: pointer; }
.wf button:hover { background: var(--verde); }
.wf-linha { grid-template-columns: 1fr auto; }
.wf-linha label { grid-column: 1 / -1; }
.wf-linha input { border-radius: 4px 0 0 4px; }
.wf-linha button { border-radius: 0 4px 4px 0; }
.wf-ok { font-size: 15px; grid-column: 1 / -1; }

/* ---------- desktop: coordenadas do Wix ---------- */
@media (min-width: 1000px) {
  .s { position: relative; height: var(--h); }
  .a { position: absolute; top: var(--y); width: var(--w); }
  .a0 { left: calc(50% + var(--x)); }
  .a1 { left: var(--x); }
  .im, .btn, .bx, .pdform, .calc, .vid, .w { height: var(--h); }
  .hl { height: var(--h); }
  .vl { height: var(--h); }
  .w { overflow: visible; }
  .w > .wc { position: absolute; inset: 0; }
}

/* ---------- telemóvel e tablet: ordem de leitura ---------- */
@media (max-width: 999px) {
  .sec.vz { display: none; }
  .s { padding: 28px 16px 32px; display: flex; flex-direction: column; gap: 16px; }
  .a { max-width: 100%; }
  .tx { width: 100%; }
  .tx > .g { font-size: clamp(22px, min(calc(var(--fs) * .55), 10vw), var(--fs)); overflow-wrap: normal; hyphens: manual; }
  .tx > * { font-size: min(var(--fs), max(16px, var(--fs))); }
  .im { width: var(--w); max-width: 100%; aspect-ratio: var(--w) / var(--h); align-self: center; }
  .im img { height: 100%; }
  .btn { width: auto; min-width: min(var(--w), 100%); max-width: 100%; min-height: max(var(--h), 44px); align-self: center; padding: 10px 24px; white-space: nowrap; }
  .bx { display: none; }
  .bx.w { display: block; }
  .hl { width: var(--w); max-width: 100%; height: var(--h); }
  .vl { display: none; }
  .pdform { width: 100%; height: 900px; }
  .calc { width: 100%; height: 780px; }
  .vid { width: 100%; aspect-ratio: var(--w) / var(--h); }
  .w { width: 100%; padding: 20px 16px; position: relative; }
  .w.im { aspect-ratio: auto; }
  .w.im > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .w .wc { display: flex; flex-direction: column; gap: 12px; }
  .wfc { width: 100%; }
}

/* ---------- cabeçalho ---------- */
.topo { background: var(--verde); color: #fff; position: relative; z-index: 20; border-bottom: 4px solid var(--amarelo); }
.topo-in { max-width: 1280px; margin: 0 auto; padding: 0 0 0 60px; height: 131px; display: flex; align-items: center; }
.logo img { width: 168px; height: 47px; }
.menu { list-style: none; display: flex; padding: 0; margin: 0 0 0 21px; }
@media (min-width: 1000px) { .m:first-child .m-topo { padding-left: 39px; } }
.m { position: relative; }
.m-topo { display: flex; align-items: center; justify-content: center; height: 42px; min-width: 120px; padding: 0 39px; color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; cursor: pointer; }
.m.ativo > .m-topo, .m-topo:hover { color: var(--amarelo); }
.m ul { list-style: none; margin: 0; padding: 8px 0; position: absolute; left: 0; top: 100%; min-width: 280px; background: var(--verde); display: none; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.m:hover ul, .m:focus-within ul { display: block; }
.m ul a { display: block; padding: 10px 22px; color: #fff; text-decoration: none; font-size: 15px; }
.m ul a:hover, .m ul a[aria-current] { color: var(--amarelo); }
.menu-abrir, .menu-botao { display: none; }

@media (max-width: 999px) {
  .topo-in { height: 76px; padding: 0 16px; justify-content: space-between; }
  .logo img { width: 132px; height: auto; }
  .menu-botao { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; cursor: pointer; }
  .menu-botao span { display: block; height: 2px; background: #fff; }
  .topo nav { display: none; position: absolute; left: 0; right: 0; top: 80px; background: var(--verde); padding: 8px 16px 20px; border-bottom: 4px solid var(--amarelo); }
  .menu-abrir:checked ~ nav { display: block; }
  .menu { flex-direction: column; margin: 0; }
  .m-topo { padding: 0; font-size: 17px; height: 44px; }
  .m ul { display: block; position: static; box-shadow: none; padding: 0 0 8px 14px; min-width: 0; }
  .m ul a { padding: 10px 0; }
}

/* ---------- rodapé ---------- */

/* ---------- consentimento ---------- */
#amp-cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 760px; margin: 0 auto; display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 16px 20px; background: #fff; color: var(--tinta); border: 1px solid var(--verde); box-shadow: 0 8px 28px rgba(0,0,0,.18); font-size: 14px; line-height: 1.4; }
#amp-cookies p { margin: 4px 0 0; }
#amp-cookies a { text-decoration: underline; }
.amp-cookies-btn { display: flex; gap: 8px; flex-shrink: 0; }
.amp-cookies-btn button { padding: 10px 18px; font: inherit; cursor: pointer; border: 1px solid var(--verde); }
.amp-recusar { background: #fff; color: var(--verde); }
.amp-aceitar { background: var(--verde); color: #fff; }
@media (max-width: 640px) {
  #amp-cookies { flex-direction: column; align-items: stretch; }
  .amp-cookies-btn button { flex: 1; min-height: 44px; }
}

/* fundo de página com imagem (fixo, como no Wix) */
.fundo-img { background-image: var(--fundo); background-size: cover; background-position: center; background-attachment: fixed; }
@media (max-width: 999px) { .fundo-img { background-attachment: scroll; background-size: auto 100vh; background-repeat: repeat-y; } }

/* ---------- blog (como no Wix: mosaicos quadrados com sombreado) ---------- */
.bl { max-width: 980px; margin: 0 auto; padding: 40px 0 80px; }
.bl h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.bl-todos { font-size: 14px; color: var(--verde); margin: 0 0 40px 0; }
.bl-todos a { text-decoration: none; }
.bl-grelha { display: grid; grid-template-columns: repeat(2, 454px); gap: 32px; justify-content: center; }
.bl-cartao a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; color: #fff; text-decoration: none; background: var(--verde); }
.bl-cartao img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.bl-cartao a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(4,20,18,.35), rgba(4,20,18,.25) 40%, rgba(4,20,18,.7)); }
.bl-cartao a:hover img { transform: scale(1.04); }
.bl-meta { position: absolute; z-index: 1; top: 28px; left: 30px; right: 30px; font-size: 12px; }
.bl-cartao h2 { position: absolute; z-index: 1; left: 30px; right: 30px; bottom: 30px; font-family: var(--heavy); font-size: 24px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ar { max-width: 740px; margin: 0 auto; padding: 56px 0 80px; }
.ar-meta { font-size: 13px; color: #555; }
.ar-topo h1 { font-family: var(--heavy); color: var(--tinta); font-size: 36px; line-height: 1.25; margin: 14px 0 28px; }
.ar-capa { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; margin-bottom: 36px; }
.ar-corpo { font-size: 18px; line-height: 1.65; }
.ar-corpo > * + * { margin-top: 1em; }
.ar-corpo h2 { font-family: var(--heavy); font-size: 27px; line-height: 1.3; margin-top: 1.8em; }
.ar-corpo h3 { font-family: var(--heavy); font-size: 21px; line-height: 1.3; margin-top: 1.5em; }
.ar-corpo ul, .ar-corpo ol { margin-left: 0; padding-left: 1.3em; }
.ar-corpo li { margin-left: 0; }
.ar-corpo li + li { margin-top: .4em; }
.ar-corpo a { color: var(--verde); text-decoration: underline; text-underline-offset: 2px; }
.ar-corpo img { margin: 1.5em 0; height: auto; }
.ar-corpo strong { font-weight: 700; }
.ar-rel { margin-top: 72px; padding-top: 40px; border-top: 1px solid #e3e6e5; }
.ar-rel h2 { font-family: var(--heavy); font-size: 24px; margin-bottom: 24px; }
.ar-rel .bl-grelha { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ar-rel .bl-cartao h2 { font-size: 17px; left: 18px; right: 18px; bottom: 18px; margin: 0; }
.ar-rel .bl-meta { left: 18px; top: 18px; }
@media (max-width: 999px) {
  .bl, .ar { padding: 32px 16px 56px; }
  .bl-grelha { grid-template-columns: minmax(0, 454px); }
  .ar-rel .bl-grelha { grid-template-columns: minmax(0, 454px); }
  .ar-topo h1 { font-size: 28px; }
  .ar-corpo { font-size: 17px; }
  .ar-corpo h2 { font-size: 23px; }
}
