/* mfa · Movimento Fotográfico de Arouca — folha de estilos */

@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url("../fontes/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url("../fontes/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url("../fontes/manrope-latin-800-normal.woff2") format("woff2"); }

:root {
  --navy: #12202B;
  --navy-2: #1B2D3B;
  --navy-3: #2A3F50;
  --paper: #F2EEE6;
  --paper-2: #E6E1D6;
  --amber: #F0A12B;
  --amber-text: #9A5B00;
  --slate: #4A5560;
  --mist: #C9D0D6;
  --line: #D9D3C7;
  --radius: 20px;
  --max: 1200px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--navy); font-family: "Manrope", Arial, sans-serif; font-size: 17px; line-height: 1.6; }
img, svg { max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--amber-text); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
p { margin: 0; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--amber); color: var(--navy); padding: 10px 16px; border-radius: 999px; font-weight: 800; z-index: 100; }
.skip:focus { left: 16px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 0.28em; text-transform: uppercase; color: var(--amber-text); }
.on-dark .eyebrow, .eyebrow.light { color: var(--amber); }
.lead { font-size: 19px; line-height: 1.6; color: var(--slate); max-width: 680px; }
.on-dark .lead { color: var(--mist); }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font: inherit; font-size: 16px; font-weight: 800; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-amber { background: var(--amber); color: var(--navy); }
.btn-amber:hover { background: #F5B24F; color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--paper); }
.btn-navy:hover { background: var(--navy-3); color: var(--paper); }
.btn-ghost { border-color: currentColor; color: var(--paper); background: transparent; }
.btn-ghost:hover { color: var(--amber); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Cabeçalho ---------- */
.site-header { background: var(--navy); color: var(--paper); position: relative; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.brand { display: block; line-height: 0; }
.brand img { width: 96px; height: auto; }
.nav-toggle { display: none; background: none; border: 0; color: var(--paper); width: 48px; height: 48px; border-radius: 12px; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px 26px; flex-wrap: wrap; }
.main-nav a { color: var(--paper); text-decoration: none; font-weight: 600; font-size: 16px; padding: 10px 0; display: inline-block; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--amber); }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--amber); }
.main-nav .btn { padding: 10px 20px; min-height: 44px; }
.main-nav .btn:hover, .main-nav .btn[aria-current="page"] { color: var(--navy); box-shadow: none; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); border-top: 1px solid var(--navy-3); padding: 8px 24px 24px; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--navy-3); }
  .main-nav li:last-child { border: 0; padding-top: 16px; }
  .main-nav a { display: block; padding: 14px 0; font-size: 18px; }
  .main-nav a[aria-current="page"] { box-shadow: none; }
  .main-nav .btn { display: flex; }
}

/* ---------- Hero / cabeçalhos de página ---------- */
.hero { background: var(--navy); color: var(--paper); position: relative; overflow: hidden; }
.hero .texture { position: absolute; right: -12%; top: -10%; width: 85%; min-width: 640px; opacity: .14; pointer-events: none; }
.hero .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 88px; padding-bottom: 104px; }
.hero .copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-size: clamp(50px, 8vw, 104px); letter-spacing: -0.04em; line-height: .92; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .symbol { flex: 1 1 140px; max-width: 26%; height: auto; }

.page-head { background: var(--navy); color: var(--paper); position: relative; overflow: hidden; }
.page-head .texture { position: absolute; right: -15%; top: -40%; width: 70%; min-width: 560px; opacity: .12; pointer-events: none; }
.page-head .wrap { position: relative; padding-top: 64px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 18px; }
.page-head h1 { font-size: clamp(42px, 6vw, 72px); }

/* ---------- Secções ---------- */
.section { padding: 88px 0; }
.section.tight { padding: 56px 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(32px, 4vw, 44px); margin-top: 8px; }
.section-head a { font-weight: 800; }
.amber-band { background: var(--amber); }
.amber-band .eyebrow { color: var(--navy); }
.navy-band { background: var(--navy); color: var(--paper); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.split > .main { flex: 999 1 520px; min-width: 0; }
.split > .side { flex: 1 1 320px; min-width: 0; }

.prose { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.prose h2 { font-size: 30px; margin-top: 18px; }
.prose h3 { font-size: 21px; margin-top: 8px; letter-spacing: -0.01em; }
.prose ul { margin: 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.prose li { position: relative; padding-left: 26px; }
.prose li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }

.dots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.dots li { position: relative; padding-left: 26px; }
.dots li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 11px; height: 11px; border-radius: 50%; background: var(--amber); }

/* ---------- Cartões ---------- */
.card { border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1.5px solid var(--line); }
.card h3 { font-size: 22px; letter-spacing: -0.01em; }
.card p { color: var(--slate); font-size: 16px; }
.card.dark { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.card.dark p { color: var(--mist); }
.card.amber { background: var(--amber); border-color: var(--amber); }
.card.amber p { color: var(--navy); }
.card .icon { width: 44px; height: 44px; }

.event { border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 240px; text-decoration: none; background: var(--navy); color: var(--paper); }
.event:nth-child(3n+2) { background: var(--amber); color: var(--navy); }
.event:nth-child(3n+3) { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.event .tipo { font-size: 13px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--amber); }
.event:nth-child(3n+2) .tipo { color: var(--navy); }
.event:nth-child(3n+3) .tipo { color: var(--amber-text); }
.event h3 { font-size: 26px; margin-top: auto; letter-spacing: -0.02em; }
.event .meta { font-size: 15px; font-weight: 600; opacity: .85; }
.event p { font-size: 15px; }
.event .inscricao { font-weight: 800; font-size: 15px; color: inherit; }

.empty { border-radius: var(--radius); border: 2px dashed var(--line); padding: 40px 28px; text-align: center; color: var(--slate); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.empty strong { color: var(--navy); font-size: 20px; }

.archive { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--navy); }
.archive li { display: flex; flex-wrap: wrap; gap: 6px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.archive .d { flex: 0 0 140px; font-weight: 800; color: var(--amber-text); }
.archive .t { flex: 1 1 260px; font-weight: 800; }
.archive .l { flex: 0 1 220px; color: var(--slate); }

/* ---------- Tabelas ---------- */
.table-wrap { overflow-x: auto; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th { background: var(--navy); color: var(--paper); text-align: left; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; padding: 14px 18px; }
td { padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: top; }
td.cargo { font-weight: 800; white-space: nowrap; }
tr.orgao td { background: var(--paper); font-weight: 800; color: var(--amber-text); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }

/* ---------- Passos ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--amber); font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.steps strong { font-size: 19px; }
.steps span { color: var(--slate); font-size: 16px; }

/* ---------- Preço ---------- */
.price { background: var(--navy); color: var(--paper); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.price .row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--navy-3); padding-bottom: 14px; }
.price .row:last-of-type { border: 0; }
.price .k { font-size: 13px; font-weight: 800; letter-spacing: .2em; color: var(--amber); text-transform: uppercase; }
.price .v { font-size: 30px; text-align: right; font-weight: 800; letter-spacing: -0.02em; }
.price small { color: var(--mist); font-size: 14px; }

/* ---------- Documentos ---------- */
.docs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.doc { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 22px 26px; }
.doc .info { display: flex; align-items: center; gap: 18px; min-width: 0; flex: 1 1 320px; }
.doc .info svg { flex-shrink: 0; width: 40px; height: 40px; }
.doc h3 { font-size: 20px; letter-spacing: -0.01em; }
.doc p { color: var(--slate); font-size: 15px; }
.doc .soon { font-size: 14px; font-weight: 800; color: var(--slate); background: var(--paper); padding: 10px 18px; border-radius: 999px; }

/* ---------- Contactos ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.contact-list li { display: flex; gap: 18px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list svg { flex-shrink: 0; width: 26px; height: 26px; margin-top: 2px; }
.contact-list .k { display: block; font-size: 13px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--amber-text); }
.contact-list .v { font-size: 19px; font-weight: 600; word-break: break-word; }

/* ---------- Faixa comunidade ---------- */
.community { background: var(--navy); color: var(--paper); border-radius: 28px; padding: 48px; position: relative; overflow: hidden; display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: center; }
.community .texture { position: absolute; right: -120px; top: -80px; width: 760px; opacity: .14; pointer-events: none; }
.community .copy { position: relative; flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.community .lead { color: var(--mist); }
.community h2 { font-size: clamp(30px, 4vw, 40px); }
.community .btns { position: relative; }
@media (max-width: 600px) { .community { padding: 32px 24px; } }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy); color: var(--paper); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-top: 56px; padding-bottom: 32px; }
.site-footer .col { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 600; }
.site-footer .col .k { font-size: 12px; font-weight: 800; letter-spacing: .22em; color: var(--amber); text-transform: uppercase; margin-bottom: 4px; }
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--amber); }
.site-footer .legal { color: #9AA6B0; font-size: 13px; line-height: 1.6; max-width: 320px; }
.site-footer .bottom { border-top: 1px solid var(--navy-3); }
.site-footer .bottom .wrap { padding-top: 20px; padding-bottom: 28px; font-size: 13px; color: #9AA6B0; gap: 12px; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: flex; align-items: center; }
.notfound .wrap { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.notfound h1 { font-size: clamp(48px, 8vw, 96px); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } .btn:hover { transform: none; } }
@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero .wrap { padding-top: 56px; padding-bottom: 72px; }
  .hero .symbol { display: none; }
  .card, .event { padding: 24px; }
}

/* redes sociais (ícones) */
.social { display: flex; gap: 10px; margin: 2px 0 6px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; border: 1.5px solid var(--navy-3); color: var(--paper); }
.social a:hover { color: var(--navy); background: var(--amber); border-color: var(--amber); }
.social svg { width: 20px; height: 20px; }
.is-soon { opacity: .5; cursor: default; pointer-events: none; }

/* landing "em breve" */
body.landing { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--navy); color: var(--paper); position: relative; overflow-x: hidden; }
body.landing .landing-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
body.landing .texture { position: absolute; right: -14%; top: -12%; width: 85%; min-width: 640px; opacity: .14; pointer-events: none; }
.landing-top, .landing-main, .landing-foot { position: relative; width: 100%; }
.landing-top { padding-top: 32px; }
.landing-main { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
.landing-logo { width: 160px; height: auto; }
.landing-main h1 { font-size: clamp(50px, 9vw, 112px); letter-spacing: -0.04em; line-height: .92; }
.landing-main h1 em { font-style: normal; color: var(--amber); }
.landing-main .btns { display: flex; flex-wrap: wrap; gap: 12px; }
.landing-price { color: var(--mist); font-size: 16px; }
.landing-price strong { color: var(--paper); }
.landing-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--navy-3); }
.landing-contact { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.landing-contact .social { margin: 0; }
.landing-contact > a { color: var(--paper); font-weight: 600; }
.landing-contact > a:hover { color: var(--amber); }
.landing-foot .legal { color: #9AA6B0; font-size: 13px; }
@media (max-width: 600px) { .landing-main { padding-top: 32px; } body.landing .texture { right: -60%; } }
body.landing .texture { -webkit-mask-image: radial-gradient(ellipse 60% 60% at 55% 50%, #000 40%, transparent 100%); mask-image: radial-gradient(ellipse 60% 60% at 55% 50%, #000 40%, transparent 100%); }
