/* Culturalia® — website
   Tokens e componentes de acordo com 04-Cores e 05-Manual.
   Todos os caminhos são relativos: o site funciona em qualquer domínio ou subpasta. */

@font-face { font-family: Cinzel; src: url("../fonts/Cinzel-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Manrope; src: url("../fonts/Manrope-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Manrope; src: url("../fonts/Manrope-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Manrope; src: url("../fonts/Manrope-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --azul-900: #09141E;
  --azul-800: #131F2B;
  --dourado-500: #B8903A;
  --dourado-700: #8A6A24;
  --dourado-100: #F6EFDF;
  --surface: #FFFFFF;
  --surface-alt: #F3F5F7;
  --border: #E3E6EA;
  --border-strong: #8A939D;
  --ink: #09141E;
  --ink-muted: #4A5563;
  --ink-subtle: #5E6873;
  --on-dark: #FFFFFF;
  --on-dark-muted: #D5DAE0;
  --focus: #B8903A;
  --error: #B3261E;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px;
  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 16px;
  --shadow-card: 0 1px 2px rgba(9,20,30,.06), 0 4px 16px rgba(9,20,30,.06);
  --font-display: Cinzel, "Times New Roman", Georgia, serif;
  --font-sans: Manrope, "Segoe UI", Helvetica, Arial, sans-serif;
  --content-max: 1160px;
  --gutter: 48px;
  --header-h: 80px;
}
@media (max-width: 760px) { :root { --gutter: 16px; --header-h: 68px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--dourado-700); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
p { margin: 0 0 var(--space-4); }
h1, h2, h3 { margin: 0; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--azul-900); color: var(--on-dark); padding: 10px 16px; border-radius: var(--radius-md); }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: calc(var(--content-max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--space-16) 0; }
.section--alt { background: var(--surface-alt); }
.section--dark { background: var(--azul-900); color: var(--on-dark); }
@media (min-width: 761px) { .section { padding: 96px 0; } }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: flex; align-items: center; gap: var(--space-3); margin: 0;
  font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; line-height: 1.4;
  color: var(--dourado-700);
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--dourado-500); flex: none; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--dourado-500); }
.title { font-family: var(--font-display); font-weight: 700; letter-spacing: .5px; line-height: 1.15; font-size: clamp(28px, 4vw, 36px); margin-top: var(--space-3); text-wrap: balance; }
.title--display { font-size: clamp(36px, 6.2vw, 56px); line-height: 1.08; }
.lead { font-size: 18px; line-height: 1.6; color: var(--ink-muted); max-width: 62ch; }
.section--dark .lead { color: var(--on-dark-muted); }
.section-head { display: grid; gap: var(--space-4); margin-bottom: var(--space-12); max-width: 760px; }
.section-head .lead { margin: 0; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.prose { max-width: 68ch; color: var(--ink-muted); }
.prose p { margin-bottom: var(--space-6); }
.prose strong { color: var(--ink); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 0 var(--space-6);
  font-family: var(--font-sans); font-size: 15px; font-weight: 600; letter-spacing: .3px; line-height: 1.2;
  border-radius: var(--radius-md); border: 1px solid transparent;
  background: var(--azul-900); color: var(--on-dark); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--azul-800); color: var(--on-dark); }
.btn svg { width: 18px; height: 18px; }
.btn--gold { background: var(--dourado-500); color: var(--azul-900); }
.btn--gold:hover { background: var(--dourado-700); color: var(--on-dark); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--surface-alt); border-color: var(--ink); color: var(--ink); }
.btn--ghost-dark { background: transparent; color: var(--on-dark); border-color: rgba(255,255,255,.4); }
.btn--ghost-dark:hover { background: var(--azul-800); border-color: var(--on-dark); color: var(--on-dark); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--dourado-700); text-decoration: none; min-height: 44px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s ease; }
.link-arrow:hover { color: var(--ink); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Cabeçalho ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--border); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); height: var(--header-h); }
.header__logo { display: block; flex: none; }
.header__logo img { height: 42px; width: auto; }
@media (max-width: 760px) { .header__logo img { height: 36px; } }
.nav { display: flex; align-items: center; gap: var(--space-8); }
.nav__list { display: flex; align-items: center; gap: var(--space-6); list-style: none; margin: 0; padding: 0; }
.nav__list a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; position: relative; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--dourado-500); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
.nav-toggle[aria-expanded="true"] .i-menu { display: none; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: var(--space-6);
    padding: var(--space-6) var(--gutter) var(--space-8); background: var(--surface); border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(9,20,30,.08);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a { width: 100%; font-size: 17px; padding: 6px 0; border-bottom: 1px solid var(--border); }
  .nav__list a::after { display: none; }
  .nav__list a[aria-current="page"] { color: var(--dourado-700); }
  .nav .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--azul-900); color: var(--on-dark); padding: 96px 0; }
@media (min-width: 761px) { .hero { padding: 128px 0 120px; } }
.hero__inner { position: relative; z-index: 1; display: grid; gap: var(--space-6); max-width: 720px; }
.hero .title { color: var(--on-dark); margin-top: 0; }
.hero .lead { color: var(--on-dark-muted); margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-4); }
.hero__waves { position: absolute; z-index: 0; right: -140px; top: 50%; width: 720px; height: 720px; transform: translateY(calc(-50% + var(--py, 0px))) rotate(var(--rot, 0deg)); color: var(--dourado-500); opacity: .9; pointer-events: none; }
.hero__waves path { fill: none; stroke-linecap: round; }
@media (max-width: 900px) { .hero__waves { right: -320px; opacity: .45; } }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid rgba(255,255,255,.14); color: var(--on-dark-muted); font-size: 14px; }
.hero__meta span { display: inline-flex; align-items: center; gap: var(--space-2); }
.hero__meta svg { width: 16px; height: 16px; color: var(--dourado-500); }

.page-hero { background: var(--azul-900); color: var(--on-dark); padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-hero .title { color: var(--on-dark); }
.page-hero .lead { color: var(--on-dark-muted); margin: var(--space-4) 0 0; }
.page-hero .hero__waves { width: 520px; height: 520px; right: -160px; opacity: .55; }

/* ---------- Cartões ---------- */
.grid { display: grid; gap: var(--space-6); }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card {
  display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-8) var(--space-6) var(--space-6); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-card);
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--dourado-500); }
.card__icon { width: 40px; height: 40px; color: var(--dourado-500); margin-bottom: var(--space-2); }
.card__icon svg { width: 40px; height: 40px; }
.card__title { font-size: 18px; font-weight: 700; line-height: 1.4; }
.card__text { font-size: 15px; line-height: 1.6; color: var(--ink-muted); margin: 0; flex: 1; }
.card .link-arrow { margin-top: var(--space-2); align-self: flex-start; }

/* ---------- Processo ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-8); grid-template-columns: 1fr; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding-top: var(--space-6); border-top: 2px solid var(--dourado-500); }
.step__num { font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 1; color: var(--dourado-700); }
.step__title { font-size: 18px; font-weight: 700; margin: var(--space-4) 0 var(--space-2); }
.step p { color: var(--ink-muted); font-size: 15px; margin: 0; }

/* ---------- Marcas da família ---------- */
.brand-card { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-8); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.brand-card__mark { height: 56px; display: flex; align-items: center; }
.brand-card__mark img { height: 48px; width: auto; }
.brand-card__name { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.25; letter-spacing: .3px; }
.brand-card__descriptor { font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--ink-muted); display: flex; align-items: center; gap: var(--space-2); margin-top: -8px; }
.brand-card__descriptor::before { content: ""; width: 16px; height: 2px; background: var(--dourado-500); }
.brand-card p { color: var(--ink-muted); font-size: 15px; margin: 0; flex: 1; }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: 34px; line-height: 1; color: var(--ink); letter-spacing: .5px; }
.wordmark--script { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; letter-spacing: 0; }

/* ---------- Clientes ---------- */
.clients { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-md); overflow: hidden; }
.clients li { list-style: none; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 120px; padding: var(--space-6); background: var(--azul-900); color: var(--on-dark); font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.3; letter-spacing: .4px; }
.clients { padding: 0; margin: 0; }
@media (min-width: 900px) { .clients { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .clients li { font-size: 15px; min-height: 96px; padding: var(--space-4); } }
.legal-note { margin-top: var(--space-6); font-size: 13px; line-height: 1.55; color: var(--on-dark-muted); max-width: 90ch; }

/* ---------- Faixa CTA ---------- */
.cta { display: grid; gap: var(--space-6); align-items: center; padding: var(--space-12); border-radius: var(--radius-lg); background: var(--dourado-100); border: 1px solid #E9DCC0; }
@media (min-width: 761px) { .cta { grid-template-columns: 1fr auto; } }
@media (max-width: 760px) { .cta { padding: var(--space-8) var(--space-6); } }
.cta .title { margin-top: var(--space-2); }
.cta p { color: var(--ink-muted); margin: var(--space-3) 0 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- Sobre ---------- */
.split { display: grid; gap: var(--space-12); }
@media (min-width: 961px) { .split { grid-template-columns: 5fr 7fr; gap: 96px; } .split__aside { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.quote { margin: var(--space-8) 0 0; padding: var(--space-6) var(--space-8); border-left: 3px solid var(--dourado-500); background: var(--surface-alt); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.quote p { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.35; color: var(--ink); margin: 0 0 var(--space-3); }
@media (max-width: 760px) { .quote { padding: var(--space-6); } .quote p { font-size: 19px; } }
.quote cite { font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--dourado-700); }
.values { list-style: none; padding: 0; margin: var(--space-8) 0 0; display: grid; gap: var(--space-4); }
.values li { display: flex; gap: var(--space-3); align-items: flex-start; color: var(--ink-muted); font-size: 15px; }
.values svg { width: 22px; height: 22px; color: var(--dourado-500); flex: none; margin-top: 1px; }
.values strong { color: var(--ink); display: block; }

.person { display: flex; gap: var(--space-6); align-items: center; padding: var(--space-6); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.person__avatar { flex: none; width: 72px; height: 72px; border-radius: 9999px; background: var(--azul-900); color: var(--on-dark); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: 1px; box-shadow: inset 0 0 0 2px var(--dourado-500); }
.person__name { font-size: 18px; font-weight: 700; line-height: 1.3; }
.person__role { color: var(--ink-muted); font-size: 15px; margin: 4px 0 0; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; gap: var(--space-12); }
@media (min-width: 961px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 72px; } }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--border); }
.contact-list li { display: flex; gap: var(--space-4); padding: var(--space-6) 0; border-bottom: 1px solid var(--border); }
.contact-list svg { width: 24px; height: 24px; color: var(--dourado-500); flex: none; margin-top: 2px; }
.contact-list .label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--ink-subtle); margin-bottom: 2px; }
.contact-list a, .contact-list .value { font-size: 17px; font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--dourado-700); text-decoration: underline; }
.contact-list small { display: block; color: var(--ink-subtle); font-size: 13px; margin-top: 4px; }

.form { display: grid; gap: var(--space-6); padding: var(--space-8); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
@media (max-width: 760px) { .form { padding: var(--space-6) var(--space-4); } }
.form__row { display: grid; gap: var(--space-6); }
@media (min-width: 641px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field label span { color: var(--ink-subtle); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--azul-900); box-shadow: 0 0 0 3px rgba(184,144,58,.35); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { color: var(--error); font-size: 13px; min-height: 0; }
.field__error:empty { display: none; }
.form__note { font-size: 13px; color: var(--ink-subtle); margin: 0; }
.form__status { padding: var(--space-4); border-radius: var(--radius-md); background: var(--dourado-100); font-size: 14px; }
.form__status[hidden] { display: none; }
.form .btn { justify-self: start; }
@media (max-width: 640px) { .form .btn { justify-self: stretch; } }

/* ---------- Páginas legais ---------- */
.legal { max-width: 72ch; }
.legal h2 { font-family: var(--font-display); font-size: 22px; line-height: 1.3; margin: var(--space-12) 0 var(--space-4); }
.legal p, .legal li { color: var(--ink-muted); }
.legal .updated { font-size: 14px; color: var(--ink-subtle); }

/* ---------- Rodapé ---------- */
.footer { background: var(--azul-900); color: var(--on-dark-muted); font-size: 14px; line-height: 1.6; }
.footer__top { display: grid; gap: var(--space-12); padding: var(--space-16) 0 var(--space-12); }
@media (min-width: 600px) { .footer__top { grid-template-columns: 1fr 1fr; gap: var(--space-8); } .footer__brand { grid-column: 1 / -1; } }
@media (min-width: 961px) { .footer__top { grid-template-columns: 2fr 1fr 1fr 1fr; } .footer__brand { grid-column: auto; } }
.footer__brand img { height: 30px; width: auto; margin-bottom: var(--space-4); }
.footer__brand p { max-width: 36ch; margin: 0; }
.footer__label { font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--dourado-500); margin: 0 0 var(--space-3); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer a { color: var(--on-dark); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.footer a:hover { color: var(--dourado-500); text-decoration: underline; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); padding: var(--space-6) 0 var(--space-8); border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.footer__bottom p { margin: 0; }

/* ---------- Revelação suave ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s ease var(--d, 0ms), transform 1.1s cubic-bezier(.22,1,.36,1) var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .eyebrow { justify-content: center; }

/* =====================================================================
   Animações (assets/js/motion.js). Só se aplicam com a classe .motion,
   que não é posta quando o sistema pede para reduzir o movimento.
   ===================================================================== */
:root { --ease-io: cubic-bezier(.76,0,.24,1); --ease-out: cubic-bezier(.22,1,.36,1); }

/* Cobertura antes do JavaScript arrancar (evita ver a página por um instante) */
html.is-loading::after, html.is-entering::after {
  content: ""; position: fixed; inset: 0; z-index: 999;
  animation: cl-failsafe 0s 4s forwards; /* se o JS falhar, a página aparece na mesma */
}
html.is-loading::after { background: var(--surface); }
html.is-entering::after { background: var(--azul-900); }
@keyframes cl-failsafe { to { visibility: hidden; } }
html.is-intro, html.is-intro body { overflow: hidden; }

/* ---------- Preloader ---------- */
.intro { position: fixed; inset: 0; z-index: 1001; background: var(--surface); color: var(--ink); transition: opacity .7s ease; }
.intro.is-done { opacity: 0; pointer-events: none; }
.intro__top {
  position: absolute; top: 28px; left: var(--gutter); right: var(--gutter);
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--ink-muted);
  opacity: 0; transform: translateY(-8px); transition: opacity .6s ease .1s, transform .8s var(--ease-out) .1s;
}
.intro__top span:first-child { color: var(--ink); }
@media (max-width: 560px) { .intro__top span:last-child { display: none; } }
.intro.is-ready .intro__top { opacity: 1; transform: none; }
.intro.is-expanding .intro__top { opacity: 0; transition-delay: 0s; }

.intro__panel {
  position: absolute; inset: 0; display: grid; place-items: center; background: var(--azul-900);
  clip-path: inset(50% 50% 50% 50% round 12px);
  transition: clip-path .9s var(--ease-io);
}
.intro.is-ready .intro__panel { clip-path: inset(calc(50% - 60px) calc(50% - 130px) calc(50% - 60px) calc(50% - 130px) round 12px); }
.intro.is-expanding .intro__panel { clip-path: inset(0 0 0 0 round 0); transition-duration: 1.1s; }
.intro__logo { width: 170px; height: auto; transition: opacity .4s ease, transform 1.1s var(--ease-io); }
.intro.is-expanding .intro__logo { opacity: 0; transform: scale(1.25); }

.intro__count {
  position: absolute; left: 50%; bottom: calc(5vh + 20px); transform: translateX(-50%);
  display: flex; font-family: var(--font-sans); font-weight: 600; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums;
  font-size: clamp(72px, 14vw, 176px); color: var(--ink);
  transition: opacity .5s ease, transform .9s var(--ease-io);
}
.intro.is-expanding .intro__count { opacity: 0; transform: translate(-50%, 40%); }
.intro__digit { display: block; height: 1em; width: .6em; overflow: hidden; text-align: center; }
.intro__strip { display: block; will-change: transform; }
.intro__strip span { display: block; height: 1em; }
.intro__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 5vh; height: 1px; background: var(--border); }
.intro__bar i { display: block; height: 100%; background: var(--dourado-500); transform: scaleX(0); transform-origin: left; }
.intro.is-expanding .intro__bar { opacity: 0; transition: opacity .3s ease; }

/* ---------- Cortina entre páginas ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: var(--azul-900); transform: translateY(100%); pointer-events: none;
}
.curtain img { width: 180px; height: auto; opacity: 0; transition: opacity .4s ease; }
.curtain.is-closing { transform: none; transition: transform .65s var(--ease-io); pointer-events: auto; }
.curtain.is-closing img { opacity: 1; transition-delay: .3s; }
.curtain.is-covering { transform: none; transition: none; }
.curtain.is-covering img { opacity: 1; transition: none; }
.curtain.is-opening { transform: translateY(-100%); transition: transform .85s var(--ease-io); }

/* ---------- Títulos palavra a palavra ---------- */
.motion .title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.motion .title .w__i { display: inline-block; transform: translateY(110%); transition: transform 1.05s var(--ease-out); transition-delay: calc(var(--i) * 60ms); }
.motion .title.is-in .w__i { transform: none; }

/* Traço dourado desenhado sob uma palavra */
.u-draw { position: relative; display: inline-block; white-space: nowrap; }
.u-draw::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: max(3px, .06em);
  background: var(--dourado-500); transform-origin: left;
}
.motion .u-draw::after { transform: scaleX(0); transition: transform 1.1s var(--ease-io) .75s; }
.motion .title.is-in .u-draw::after { transform: scaleX(1); }

/* Sobretítulos: o filete cresce e o texto aparece */
.motion .eyebrow { opacity: 0; transform: translateX(-10px); transition: opacity .8s ease .15s, transform .9s var(--ease-out) .15s; }
.motion .eyebrow::before { transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-io); }
.motion .eyebrow.is-in { opacity: 1; transform: none; }
.motion .eyebrow.is-in::before { transform: scaleX(1); }

/* Hero: texto de apoio entra depois do título */
.motion :is(.hero, .page-hero) :is(.lead, .hero__actions, .hero__meta) {
  opacity: 0; transform: translateY(20px);
  transition: opacity .9s ease, transform 1.1s var(--ease-out);
}
.motion :is(.hero, .page-hero).is-in .lead { opacity: 1; transform: none; transition-delay: .45s; }
.motion .hero.is-in .hero__actions { opacity: 1; transform: none; transition-delay: .6s; }
.motion .hero.is-in .hero__meta { opacity: 1; transform: none; transition-delay: .75s; }

/* Arcos dourados desenhados */
.motion .hero__waves path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s cubic-bezier(.65,0,.35,1); transition-delay: calc(.2s + var(--i) * .18s); }
.motion :is(.hero, .page-hero).is-in .hero__waves path { stroke-dashoffset: 0; }

/* Listas em cascata */
.motion :is(.values, .contact-list) li, .motion .clients li img { opacity: 0; transform: translateY(18px); transition: opacity .8s ease var(--d, 0ms), transform 1s var(--ease-out) var(--d, 0ms); }
.motion :is(.values, .contact-list) li.is-in, .motion .clients li.is-in img { opacity: 1; transform: none; }

/* ---------- Texto que se acende com o scroll ---------- */
.motion [data-scrub] .sw { color: rgba(9, 20, 30, .16); transition: color .35s ease; }
.motion [data-scrub] .sw.is-lit { color: var(--ink); }
.motion [data-scrub] em .sw.is-lit { color: var(--dourado-700); }

/* ---------- A Culturalia (manifesto): continua o azul-noite do hero ---------- */
.manifesto { position: relative; background: var(--azul-900); color: var(--on-dark); padding: 96px 0 72px; overflow: hidden; }
@media (min-width: 761px) { .manifesto { padding: 168px 0 96px; } }
/* Filete dourado que separa do hero, como um corte de papel fino */
.manifesto::before { content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 96px; background: linear-gradient(180deg, transparent, var(--dourado-500)); }
@media (max-width: 760px) { .manifesto::before { height: 56px; } }
.manifesto .eyebrow { color: var(--dourado-500); }
.manifesto__grid { display: grid; gap: var(--space-12); }
@media (min-width: 1000px) { .manifesto__grid { grid-template-columns: 7fr 4fr; gap: 96px; align-items: end; } }
.manifesto__text {
  margin: var(--space-8) 0 0; max-width: 20ch;
  font-family: var(--font-display); font-weight: 700; letter-spacing: .01em;
  font-size: clamp(30px, 4.4vw, 60px); line-height: 1.12; color: var(--on-dark); text-wrap: balance;
}
.manifesto__text em { font-style: normal; color: var(--dourado-500); }
.motion .manifesto [data-scrub] .sw { color: rgba(255, 255, 255, .14); }
.motion .manifesto [data-scrub] .sw.is-lit { color: var(--on-dark); }
.motion .manifesto [data-scrub] em .sw.is-lit { color: var(--dourado-500); }

.manifesto__lead { font-size: 18px; line-height: 1.65; color: var(--on-dark-muted); margin: 0; }
.manifesto__points { list-style: none; margin: var(--space-8) 0 0; padding: 0; border-top: 1px solid rgba(184,144,58,.35); }
.manifesto__points li { position: relative; padding: var(--space-4) 0 var(--space-4) 28px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 15px; line-height: 1.55; color: var(--on-dark-muted); }
.manifesto__points li::before { content: ""; position: absolute; left: 2px; top: 24px; width: 7px; height: 7px; background: var(--dourado-500); transform: rotate(45deg); }
.manifesto__points strong { display: block; color: var(--on-dark); font-weight: 600; font-size: 16px; letter-spacing: .01em; margin-bottom: 2px; }
.manifesto__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-8); margin-top: var(--space-8); }
.link-arrow--light { color: var(--on-dark); }
.link-arrow--light:hover { color: var(--dourado-500); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Provas + selo */
.proof { display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); margin-top: 96px; padding-top: var(--space-8); border-top: 1px solid rgba(255,255,255,.12); }
.proof__list { display: flex; flex-wrap: wrap; gap: var(--space-6) 72px; margin: 0; }
.proof__list > div { display: flex; flex-direction: column-reverse; gap: var(--space-2); }
.proof dt { font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--on-dark-muted); }
.proof dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 3.4vw, 44px); line-height: 1; color: var(--dourado-500); }
.seal { position: relative; flex: none; width: 148px; height: 148px; }
.seal__ring { width: 100%; height: 100%; color: var(--on-dark-muted); animation: seal-spin 28s linear infinite; }
.seal__ring text { font-family: var(--font-sans); font-size: 12.5px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; fill: currentColor; }
.seal__mark { position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; }
.seal::after { content: ""; position: absolute; inset: 30%; border: 1px solid rgba(184,144,58,.5); border-radius: 50%; }
@keyframes seal-spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
  .proof { margin-top: var(--space-16); flex-direction: column-reverse; align-items: flex-start; }
  .proof__list { gap: var(--space-6) var(--space-12); }
  .seal { width: 120px; height: 120px; }
}

/* =====================================================================
   Fotografias e logótipos
   ===================================================================== */

/* Hero com fotografia (película azul por cima, como pede o manual) */
.hero--photo { min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; }
.hero--photo > .container { width: 100%; }
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: translateY(var(--my, 0px)) scale(1.08); will-change: transform; }
.hero__media::after, .intro__panel::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9,20,30,.9) 0%, rgba(9,20,30,.72) 45%, rgba(9,20,30,.45) 100%);
}
@media (max-width: 760px) {
  .hero__media::after, .intro__panel::before { background: linear-gradient(180deg, rgba(9,20,30,.6) 0%, rgba(9,20,30,.85) 55%, rgba(9,20,30,.92) 100%); }
}
.hero--photo .hero__waves { z-index: 0; opacity: .7; }

/* Painel do preloader com a mesma fotografia */
.intro__panel { overflow: hidden; }
.intro__panel > .intro__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.35); transition: transform 1.6s var(--ease-io); }
.intro.is-ready .intro__panel > .intro__photo { transform: scale(1.15); }
.intro.is-expanding .intro__panel > .intro__photo { transform: scale(1.08); }
.intro__panel::before { z-index: 1; opacity: .35; transition: opacity 1.1s var(--ease-io); }
.intro.is-expanding .intro__panel::before { opacity: 1; }
.intro__logo { position: relative; z-index: 2; }

/* Revelação de imagens: a janela abre de baixo para cima e a foto assenta */
.img-reveal { overflow: hidden; }
.img-reveal img { display: block; width: 100%; height: 100%; object-fit: cover; }
.motion .img-reveal { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-io); }
.motion .img-reveal img { transform: scale(1.25); transition: transform 1.8s var(--ease-out); }
.motion .img-reveal.is-in { clip-path: inset(0 0 0 0); }
.motion .img-reveal.is-in img { transform: scale(1); }

/* Momentos: painéis em acordeão; cada fotografia é um serviço e um pedido de proposta */
.showcase { background: var(--azul-900); color: var(--on-dark); padding: 0 0 96px; }
@media (min-width: 761px) { .showcase { padding-bottom: 128px; } }
.showcase .eyebrow { color: var(--dourado-500); }
.showcase .title { color: var(--on-dark); }
.showcase__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-4) var(--space-8); margin-bottom: var(--space-12); }
.showcase__hint { margin: 0; max-width: 44ch; font-size: 16px; line-height: 1.6; color: var(--on-dark-muted); }

.showcase__list { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: 1600px; display: flex; gap: 12px; height: clamp(480px, 74vh, 720px); }
.panel { position: relative; flex: 1 1 0; min-width: 0; transition: flex-grow 1s var(--ease-io); }
.panel.is-active { flex-grow: 2.4; }
.panel__link { position: absolute; inset: 0; display: block; overflow: hidden; color: var(--on-dark); text-decoration: none; background: var(--azul-800); }
.panel__link:hover { color: var(--on-dark); }
.panel__link:focus-visible { outline-offset: 4px; }
.panel__img { position: absolute; inset: 0; }
.panel__img img { filter: saturate(.85); transition: transform 1.8s var(--ease-out), filter 1s ease; }
.motion .panel__img.is-in img { transform: scale(1.06); }
.motion .panel.is-active .panel__img.is-in img, .panel.is-active .panel__img img { transform: scale(1); filter: saturate(1); }
.panel__link::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(9,20,30,.05) 30%, rgba(9,20,30,.88) 100%), rgba(9,20,30,.35);
  transition: background-color 1s ease;
}
.panel.is-active .panel__link::after { background-color: rgba(9,20,30,0); }
/* Moldura dourada interior que aparece no painel ativo */
.panel__link::before {
  content: ""; position: absolute; inset: 16px; z-index: 2; pointer-events: none;
  border: 1px solid rgba(184,144,58,.7); opacity: 0; transform: scale(1.02);
  transition: opacity .8s ease, transform 1s var(--ease-out);
}
.panel.is-active .panel__link::before { opacity: 1; transform: none; }

.panel__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 40px 40px 44px; display: grid; gap: var(--space-3); }
.panel__num { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 2px; color: var(--dourado-500); }
.panel__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 1.9vw, 30px); line-height: 1.15; letter-spacing: .02em; hyphens: auto; overflow-wrap: break-word; }
.panel__text, .panel__cta { max-width: 36ch; opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .7s var(--ease-out); }
.panel__text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--on-dark-muted); }
.panel__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--space-2); font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--dourado-500); }
.panel__cta svg { width: 16px; height: 16px; transition: transform .3s ease; }
.panel__link:hover .panel__cta svg { transform: translateX(4px); }
.panel.is-active :is(.panel__text, .panel__cta) { opacity: 1; transform: none; transition-delay: .35s, .35s; }

@media (min-width: 901px) {
  /* Nos painéis estreitos o texto não deve partir a meio */
  .panel:not(.is-active) .panel__body { padding: 32px 24px 36px; }
  .panel:not(.is-active) .panel__title { font-size: clamp(16px, 1.3vw, 22px); }
}

/* Ecrãs pequenos: carrossel com deslize horizontal, todo o texto visível */
@media (max-width: 900px) {
  .showcase__list { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); gap: 12px; padding-bottom: var(--space-4); scrollbar-width: none; }
  .showcase__list::-webkit-scrollbar { display: none; }
  .panel, .panel.is-active { flex: 0 0 82%; aspect-ratio: 4 / 5; max-height: 72vh; scroll-snap-align: start; }
  .panel__link::after, .panel.is-active .panel__link::after { background-color: rgba(9,20,30,0); }
  .panel__link::before { display: none; }
  .panel__body { padding: 28px 24px 32px; }
  .panel__text, .panel__cta { opacity: 1; transform: none; }
  .panel .panel__img img { transform: none; filter: none; }
}

/* Logótipos brancos sobre fundo claro: passam a azul-tinta */
.logo-ink { filter: brightness(0); opacity: .92; width: auto; max-width: 100%; }

/* Logótipos de clientes e marcas sobre fundo escuro */
.clients li img { max-height: 88px; max-width: min(180px, 100%); width: auto; height: auto; object-fit: contain; opacity: .85; transition: opacity .3s ease; }
.clients li:hover img { opacity: 1; }


/* Equipa */
.team { display: grid; gap: var(--space-8); grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; gap: var(--space-12); } }
.member { margin: 0; }
.member__photo { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); background: var(--border); }
.member__photo img { object-position: 50% 25%; }
.member__name { font-size: 20px; font-weight: 700; margin: var(--space-4) 0 2px; }
.member__role { color: var(--ink-muted); font-size: 15px; margin: 0; }

/* Scroll suave por JavaScript: desliga o "smooth" do CSS para não haver dois ao mesmo tempo */
html.smooth-scroll { scroll-behavior: auto; }

/* ---------- Marcas e projetos (página Sobre): cinco cartões iguais ---------- */
.brands { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-8) var(--space-6); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .brands { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .brands { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.brand { display: flex; flex-direction: column; }
.brand__tile {
  aspect-ratio: 1; display: grid; place-items: center; overflow: hidden;
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06);
  transition: transform .5s var(--ease-out), box-shadow .5s ease;
}
.brand__tile img { display: block; height: auto; transition: transform .8s var(--ease-out); }
.brand__tile--logo img { width: 72%; filter: brightness(0); opacity: .9; }
.brand__tile--art img { width: 88%; }
.brand:hover .brand__tile { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--dourado-500), 0 18px 40px rgba(0,0,0,.35); }
.brand:hover .brand__tile img { transform: scale(1.05); }
.brand__type { margin: var(--space-4) 0 0; font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--dourado-500); }
.brand__name { margin: 6px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.3; letter-spacing: .3px; color: var(--on-dark); }
.brand__desc { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--on-dark-muted); }
@media (max-width: 480px) { .brand__name { font-size: 16px; } .brand__desc { font-size: 13px; } }

/* ---------- Vídeo da equipa (só carrega o YouTube ao carregar no play) ---------- */
.video { margin: 0 0 var(--space-16); }
.video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); background: var(--azul-900); }
.video__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,20,30,.15) 0%, rgba(9,20,30,.75) 100%); pointer-events: none; transition: opacity .4s ease; }
.video__frame.is-playing::after { opacity: 0; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play {
  position: absolute; inset: 0; z-index: 1; display: flex; align-items: flex-end; gap: var(--space-4);
  padding: clamp(16px, 4vw, 40px); color: var(--on-dark); text-decoration: none;
}
.video__play:hover { color: var(--on-dark); }
.video__icon {
  flex: none; width: clamp(56px, 7vw, 84px); height: clamp(56px, 7vw, 84px); border-radius: 9999px;
  display: grid; place-items: center; background: var(--dourado-500); color: var(--azul-900);
  transition: transform .5s var(--ease-out), background-color .3s ease;
}
.video__icon svg { width: 40%; height: 40%; margin-left: 6%; }
.video__play:hover .video__icon { transform: scale(1.08); background: #C9A24E; }
.video__label { display: grid; gap: 2px; padding-bottom: 6px; }
.video__label strong { font-family: var(--font-display); font-size: clamp(18px, 2.4vw, 28px); line-height: 1.2; letter-spacing: .3px; }
.video__label span { font-size: 14px; color: var(--on-dark-muted); }
.video__frame:hover img { transform: scale(1.03); }
.video__frame img { transition: transform 1.6s var(--ease-out); }
.video__note { margin-top: var(--space-3); font-size: 13px; color: var(--ink-subtle); }
.team__title { font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--dourado-700); margin: 0 0 var(--space-6); }

/* =====================================================================
   Registo de luxo: cantos retos, filetes dourados, Cinzel nos títulos,
   ritmo azul-noite / marfim. Sobrepõe-se aos componentes acima.
   ===================================================================== */
:root { --marfim: #F8F4EC; --marfim-line: #E6DCC8; }
.section--alt { background: var(--marfim); }

/* Botões e navegação: maiúsculas espaçadas, sem arredondados */
.btn { border-radius: 0; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; padding: 0 28px; min-height: 52px; transition: background-color .3s ease, border-color .3s ease, color .3s ease; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 12px; }
.nav__list a { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
.nav-toggle { border-radius: 0; }
@media (max-width: 900px) { .nav__list a { font-size: 14px; } }
.link-arrow { font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; }

/* Cabeçalho de secção editorial: título à esquerda, texto à direita */
@media (min-width: 900px) {
  .section-head--split { max-width: none; grid-template-columns: 1fr 1fr; column-gap: 96px; align-items: end; }
  .section-head--split .eyebrow, .section-head--split .title { grid-column: 1; }
  .section-head--split .lead { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
}
.section-head .title { font-size: clamp(30px, 4.2vw, 46px); }

/* Serviços e marcas: grelha de filetes em vez de cartões com sombra */
.grid--hairline { gap: 1px; background: var(--marfim-line); border: 1px solid var(--marfim-line); }
.grid--hairline > * { position: relative; background: var(--surface); border: 0; border-radius: 0; box-shadow: none; }
.grid--hairline > *::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--dourado-500); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.grid--hairline > *:hover::before { transform: scaleX(1); }
.grid--hairline > *:hover { background: var(--marfim); }
.card { padding: 48px 32px 32px; gap: var(--space-4); transition: background-color .4s ease; }
.card__num { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 2px; color: var(--dourado-700); }
.card__icon, .card__icon svg { width: 32px; height: 32px; }
.card__icon svg { stroke-width: 1.2; }
.card__title { font-family: var(--font-display); font-size: 21px; line-height: 1.25; letter-spacing: .02em; }
.brand-card { padding: 48px 40px 36px; transition: background-color .4s ease; }

/* Processo: numerais romanos grandes e finos */
.steps { gap: var(--space-12) var(--space-8); }
.step { border-top: 1px solid var(--marfim-line); padding-top: var(--space-8); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--dourado-500); }
.step__num { font-size: 44px; color: var(--dourado-500); }
.step__title { font-family: var(--font-display); font-size: 20px; letter-spacing: .02em; }

/* Clientes */
.clients { border-radius: 0; }

/* Remate: um convite, centrado, com moldura dourada dupla */
.cta {
  position: relative; grid-template-columns: 1fr !important; justify-items: center; text-align: center;
  gap: var(--space-8); padding: 96px var(--space-8) 88px; border-radius: 0;
  background: var(--marfim); border: 1px solid var(--marfim-line);
  outline: 1px solid rgba(184,144,58,.45); outline-offset: -14px;
}
.cta::before { content: ""; display: block; width: 44px; height: 44px; margin: 0 auto var(--space-6); background: url("../img/culturalia-icone.svg") center / contain no-repeat; }
.cta .eyebrow { justify-content: center; }
.cta .eyebrow::after { content: ""; width: 32px; height: 2px; background: var(--dourado-500); flex: none; }
.cta .title { font-size: clamp(30px, 4.6vw, 52px); }
.cta p { max-width: 48ch; margin-left: auto; margin-right: auto; font-size: 17px; }
.cta__actions { justify-content: center; }
@media (max-width: 760px) { .cta { padding: 72px 24px 64px; outline-offset: -10px; } }
.btn[href^="mailto:"] { text-transform: none; letter-spacing: .5px; font-size: 14px; }

/* ---------- Páginas interiores (Sobre, Contacto) no mesmo registo ---------- */
.page-hero { padding: 104px 0 88px; }
@media (min-width: 761px) { .page-hero { padding: 152px 0 120px; } }
.page-hero::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 64px; background: linear-gradient(180deg, transparent, var(--dourado-500)); }
.page-hero .lead { font-size: 19px; }

/* Sobre: abertura com capitular, citação editorial, valores em filetes */
.prose > p:first-child::first-letter {
  float: left; font-family: var(--font-display); font-weight: 700; color: var(--dourado-500);
  font-size: 4.4em; line-height: .82; margin: .06em .12em 0 0;
}
.prose { font-size: 17px; line-height: 1.75; }
.quote { position: relative; margin-top: var(--space-12); padding: 56px 0 0; background: none; border: 0; border-top: 1px solid var(--marfim-line); border-radius: 0; }
.quote::before { content: "“"; position: absolute; top: 4px; left: 0; font-family: var(--font-display); font-weight: 700; font-size: 72px; line-height: 1; color: var(--dourado-500); }
.quote p { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; }
.values { gap: 0; border-top: 1px solid rgba(184,144,58,.45); }
.values li { padding: var(--space-4) 0; border-bottom: 1px solid var(--marfim-line); }
.values svg { stroke-width: 1.2; }
.values strong { font-family: var(--font-display); font-size: 17px; letter-spacing: .02em; margin-bottom: 2px; }

.brand__tile { border-radius: 0; box-shadow: none; outline: 1px solid transparent; outline-offset: -10px; transition: transform .6s var(--ease-out), outline-color .6s ease; }
.brand:hover .brand__tile { transform: translateY(-4px); box-shadow: none; outline-color: rgba(184,144,58,.8); }

.video__frame { border-radius: 0; overflow: hidden; }
.video__icon { background: transparent; color: var(--on-dark); border: 1px solid var(--dourado-500); transition: transform .5s var(--ease-out), background-color .4s ease, color .4s ease; }
.video__play:hover .video__icon { background: var(--dourado-500); color: var(--azul-900); }
.team__title { color: var(--dourado-700); }
.member__photo { border-radius: 0; position: relative; }
.member__photo::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(184,144,58,.7); opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.member:hover .member__photo::after { opacity: 1; }
.member__name { font-family: var(--font-display); letter-spacing: .02em; }
.person { border-radius: 0; box-shadow: none; }

/* Contacto: lista de filetes e formulário em papel marfim com moldura dourada */
.contact-list { border-top-color: rgba(184,144,58,.45); }
.contact-list li { border-bottom-color: var(--marfim-line); }
.contact-list svg { stroke-width: 1.2; }
.contact-list .label { font-size: 11px; color: var(--dourado-700); margin-bottom: 4px; }
.contact-list a:hover { text-decoration: none; }

.form {
  gap: var(--space-8); padding: 56px 48px 48px; border-radius: 0; box-shadow: none;
  background: var(--marfim); border: 1px solid var(--marfim-line);
  outline: 1px solid rgba(184,144,58,.45); outline-offset: -12px;
}
@media (max-width: 760px) { .form { padding: 40px 24px 32px; outline-offset: -8px; } }
.field label { font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--ink-muted); }
.field label span { text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea {
  background: transparent; border: 0; border-bottom: 1px solid var(--border-strong); border-radius: 0;
  padding: 10px 0; transition: border-color .3s ease, box-shadow .3s ease;
}
.field select { cursor: pointer; }
.field textarea { min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--dourado-700); box-shadow: 0 1px 0 0 var(--dourado-700); }
.field [aria-invalid="true"] { border-bottom-color: var(--error); box-shadow: 0 1px 0 0 var(--error); }
.form .btn { min-width: 220px; }
.form__status { border-radius: 0; background: var(--surface); border-left: 2px solid var(--dourado-500); }

/* Sobre: citação da equipa ao lado do título, junto ao vídeo */
.section-head--quote .quote { margin: var(--space-6) 0 0; }
@media (min-width: 900px) {
  .section-head--quote { margin-bottom: 72px; }
  .section-head--quote .quote { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin: 0; }
}
.section-head--quote .quote p { font-size: clamp(20px, 2vw, 26px); }
