/* ==========================================================================
   Sweet River Audiovisuais — folha de estilos partilhada
   ========================================================================== */

:root {
  --navy: #0b1240;
  --navy-900: #070b2b;
  --navy-700: #141c55;
  --blue: #2f4bff;
  --blue-600: #2238d6;
  --blue-100: #e6eaff;
  --ink: #0e1333;
  --ink-2: #3a4062;
  --muted: #6b7190;
  --bg: #ffffff;
  --bg-2: #f4f5fa;
  --line: #e4e7f0;
  --line-dark: rgba(255, 255, 255, 0.12);
  --white: #ffffff;

  --font-d: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-b: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);
  --r: 12px;
  --r-lg: 18px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 10px 30px rgba(11, 18, 64, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 18, 64, 0.16);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue); color: #fff; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-d); font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; color: var(--ink); }
.h-display { font-size: clamp(2.5rem, 6.2vw, 4.8rem); font-weight: 900; text-transform: uppercase; line-height: 0.98; }
.h-section { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.h-card { font-size: 1.25rem; font-weight: 800; line-height: 1.2; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-2); line-height: 1.6; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-d); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .lead, .on-dark p { color: rgba(255, 255, 255, 0.78); }
.on-dark .eyebrow { color: #8fa0ff; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--alt { background: var(--bg-2); }
.section--dark { background: var(--navy); color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { margin-top: 16px; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; max-width: none; }
.section-head--row > div { max-width: 720px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 8px;
  font-family: var(--font-d); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em; line-height: 1;
  border: 1.5px solid transparent; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(47, 75, 255, 0.25); }
.btn--primary:hover { background: var(--blue-600); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--lg { padding: 18px 32px; font-size: 1rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-d); font-weight: 700; font-size: 0.95rem; color: var(--blue);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px 0;
  color: #fff;
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
}
.nav__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav.is-scrolled { background: rgba(255, 255, 255, 0.94); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(11, 18, 64, 0.06); padding: 12px 0; backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; }
.brand__mark {
  width: 30px; height: 41px; flex: none; background: currentColor;
  -webkit-mask: url('../../imagens/logo/mark-white.png') center / contain no-repeat;
  mask: url('../../imagens/logo/mark-white.png') center / contain no-repeat;
}
.brand__text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-d); }
.brand__name { font-weight: 900; font-size: 1rem; letter-spacing: 0.02em; text-transform: uppercase; }
.brand__sub { font-weight: 600; font-size: 0.58rem; letter-spacing: 0.26em; text-transform: uppercase; margin-top: 4px; opacity: 0.75; }
.nav.is-scrolled .brand__mark { background: var(--navy); }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  display: inline-block; padding: 10px 14px; border-radius: 8px;
  font-family: var(--font-d); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.01em;
  opacity: 0.9; transition: opacity .2s, background-color .2s;
}
.nav__links a:hover { opacity: 1; background: rgba(255, 255, 255, 0.1); }
.nav.is-scrolled .nav__links a:hover { background: var(--bg-2); }
.nav__links a:not(.nav__cta)[aria-current] { opacity: 1; background: rgba(255, 255, 255, 0.16); }
.nav.is-scrolled .nav__links a:not(.nav__cta)[aria-current] { background: rgba(11, 18, 64, 0.08); }
.nav__cta { margin-left: 10px; padding: 12px 20px; font-size: 0.88rem; }
.nav.is-scrolled .nav__cta { box-shadow: none; }

.nav__toggle {
  display: none; width: 46px; height: 46px; border-radius: 10px; align-items: center; justify-content: center;
  position: relative; z-index: 2;
}
.nav__toggle span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: absolute; transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle span:nth-child(1) { transform: translateY(-7px); }
.nav__toggle span:nth-child(3) { transform: translateY(7px); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; }
  .brand { position: relative; z-index: 2; }
  .nav.menu-open { color: var(--ink); }
  .nav.menu-open .brand__mark { background: var(--navy); }
  .nav.menu-open::before { content: ""; position: fixed; inset: 0; z-index: 0; background: rgba(11, 18, 64, 0.45); }
  .nav__links {
    position: fixed; left: 0; right: 0; top: 0; z-index: 1;
    max-height: 100svh; overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 78px var(--gutter) 20px;
    background: #fff; color: var(--ink);
    box-shadow: 0 24px 48px rgba(11, 18, 64, 0.16);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__links li { border-top: 1px solid var(--line); }
  .nav__links a { display: block; padding: 15px 0; border-radius: 0; font-size: 1.02rem; font-weight: 600; letter-spacing: 0; opacity: 1; }
  .nav__links a:hover, .nav.is-scrolled .nav__links a:hover { background: transparent; color: var(--blue); }
  .nav__links a:not(.nav__cta)[aria-current], .nav.is-scrolled .nav__links a:not(.nav__cta)[aria-current] { background: transparent; color: var(--blue); }
  .nav__links li:last-child { padding-top: 16px; }
  .nav__links .nav__cta { display: flex; justify-content: center; width: 100%; margin: 0; padding: 15px 20px; font-size: 0.95rem; border-radius: 12px; box-shadow: none; }
  .nav__links .nav__cta[aria-current="page"] { color: #fff; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  background: var(--navy); color: #fff; overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 18, 64, 0.55) 0%, rgba(11, 18, 64, 0.25) 40%, rgba(11, 18, 64, 0.85) 100%),
    linear-gradient(90deg, rgba(11, 18, 64, 0.45) 0%, rgba(11, 18, 64, 0) 60%);
}
/* Telemóvel: véu mais escuro para o texto respirar (o vídeo vem numa versão mais leve, ver main.js) */
@media (max-width: 760px) {
  .hero__overlay { background: linear-gradient(180deg, rgba(11, 18, 64, 0.5) 0%, rgba(11, 18, 64, 0.55) 45%, rgba(11, 18, 64, 0.92) 100%); }
}
.hero__inner { padding: 160px 0 0; width: 100%; }
.hero__content { max-width: 860px; padding-bottom: clamp(56px, 8vw, 96px); }
.hero__content .eyebrow { color: #aab6ff; }
.hero__title { color: #fff; margin-bottom: 24px; text-wrap: balance; }
.hero__title em { font-style: normal; color: #8fa0ff; }
.hero__lead { max-width: 620px; color: rgba(255, 255, 255, 0.82); margin-bottom: 36px; }
.hero__lead--short { display: none; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__bar {
  border-top: 1px solid var(--line-dark);
  padding: 20px 0;
}
.hero__bar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--font-d); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }
.hero__tags li { display: flex; align-items: center; gap: 22px; }
.hero__tags li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #8fa0ff; }
.hero__scroll { display: inline-flex; align-items: center; gap: 10px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.7); }
.hero__scroll svg { width: 16px; height: 16px; animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ---------- Page header (sub páginas) ---------- */
.page-head { background: var(--navy); color: #fff; padding: 170px 0 clamp(56px, 7vw, 88px); position: relative; overflow: hidden; }
.page-head::after {
  content: ""; position: absolute; right: -4%; top: 8%; width: 36vw; max-width: 520px; aspect-ratio: 794 / 1081;
  background: url('../../imagens/logo/mark-white.png') center / contain no-repeat; opacity: 0.06; pointer-events: none;
}
.page-head h1 { color: #fff; max-width: 820px; text-wrap: balance; }
.page-head .lead { max-width: 640px; margin-top: 20px; color: rgba(255, 255, 255, 0.8); }

/* ---------- Sobre ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.about__stat {
  position: absolute; left: -16px; bottom: 36px; background: #fff; border-radius: 14px; padding: 18px 22px;
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 2px; min-width: 200px;
}
.about__stat strong { font-family: var(--font-d); font-size: 2rem; font-weight: 900; color: var(--navy); line-height: 1; }
.about__stat span { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.about__text p + p { margin-top: 16px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.pillars li {
  display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff;
  font-family: var(--font-d); font-weight: 700; font-size: 0.9rem; line-height: 1.25; color: var(--navy);
}
.pillars svg { width: 24px; height: 24px; color: var(--blue); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.values h3 { font-size: 1.1rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.values h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.values p { color: var(--ink-2); font-size: 0.98rem; }

/* ---------- Serviços ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service:hover .service__media img { transform: scale(1.04); }
.service__body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.service__num { font-family: var(--font-d); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.16em; color: var(--blue); }
.service__body p { color: var(--ink-2); font-size: 0.98rem; }
.service__list { margin-top: 6px; display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.service__list li { display: flex; gap: 10px; font-size: 0.92rem; color: var(--ink-2); line-height: 1.45; }
.service__list li::before {
  content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: var(--blue-100);
  -webkit-mask: none; position: relative;
}
.service__list li span { flex: 1; }
.service__list li::before {
  background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%232f4bff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.fullprod {
  margin-top: clamp(32px, 4vw, 48px); background: var(--navy); color: #fff; border-radius: var(--r-lg);
  padding: clamp(32px, 4.5vw, 56px); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(28px, 4vw, 64px);
  position: relative; overflow: hidden;
}
.fullprod::after {
  content: ""; position: absolute; right: -6%; bottom: -30%; width: 34%; aspect-ratio: 794 / 1081;
  background: url('../../imagens/logo/mark-white.png') center / contain no-repeat; opacity: 0.05; pointer-events: none;
}
.fullprod h3 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 14px; }
.fullprod p { color: rgba(255, 255, 255, 0.75); }
.fullprod .btn { margin-top: 24px; }
.fullprod__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; position: relative; z-index: 1; }
.fullprod__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; color: rgba(255, 255, 255, 0.88); line-height: 1.4; padding: 6px 0; border-bottom: 1px solid var(--line-dark); }
.fullprod__list li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: #8fa0ff; }

/* ---------- Portfólio ---------- */
.reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.vtile {
  position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--navy); cursor: pointer;
  aspect-ratio: 9 / 16; box-shadow: var(--shadow);
}
.vtile--wide { aspect-ratio: 16 / 9; grid-column: 1 / -1; }
.vtile img, .vtile video { width: 100%; height: 100%; object-fit: cover; }
.vtile img { transition: transform .8s var(--ease), opacity .3s; }
.vtile:hover img { transform: scale(1.03); }
.vtile__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(11, 18, 64, 0) 40%, rgba(11, 18, 64, 0.6) 100%);
  color: #fff; transition: opacity .3s;
}
.vtile__btn {
  width: 72px; height: 72px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); border: 1.5px solid rgba(255, 255, 255, 0.5);
  display: flex; align-items: center; justify-content: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .3s var(--ease), background-color .3s;
}
.vtile:hover .vtile__btn { transform: scale(1.06); background: var(--blue); border-color: var(--blue); }
.vtile__btn svg { width: 26px; height: 26px; margin-left: 4px; }
.vtile__label { position: absolute; left: 20px; bottom: 18px; right: 20px; font-family: var(--font-d); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }
.vtile.is-playing .vtile__play { opacity: 0; pointer-events: none; }
.vtile.is-playing { cursor: default; }
.vtile:focus-visible { outline-offset: 4px; }

.masonry { columns: 3; column-gap: clamp(16px, 2vw, 24px); }
.masonry figure { break-inside: avoid; margin-bottom: clamp(16px, 2vw, 24px); border-radius: var(--r-lg); overflow: hidden; background: var(--navy); box-shadow: var(--shadow); }
.masonry img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.masonry figure:hover img { transform: scale(1.03); }

/* ---------- Clientes ---------- */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.logos li {
  display: flex; align-items: center; justify-content: center; min-height: 140px; padding: 22px 28px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.logos li:hover { box-shadow: var(--shadow); border-color: #d6daea; }
.logos img {
  max-height: 72px; max-width: 180px; width: auto; height: auto; object-fit: contain;
  filter: grayscale(1); opacity: 0.72; transition: filter .35s var(--ease), opacity .35s var(--ease);
}
.logos li:hover img { filter: none; opacity: 1; }
.logos__text { font-family: var(--font-d); font-weight: 800; font-size: 0.95rem; line-height: 1.15; text-transform: uppercase; letter-spacing: 0.02em; text-align: center; color: var(--navy); opacity: 0.72; transition: opacity .35s; }
.logos li:hover .logos__text { opacity: 1; }
.events { margin-top: clamp(32px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.events__label { width: 100%; text-align: center; font-family: var(--font-d); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.events li:not(.events__label) { padding: 8px 14px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-size: 0.88rem; font-weight: 500; color: var(--ink-2); }

/* ---------- CTA ---------- */
.cta { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.cta::after {
  content: ""; position: absolute; right: -3%; top: -10%; width: 30vw; max-width: 440px; aspect-ratio: 794 / 1081;
  background: url('../../imagens/logo/mark-white.png') center / contain no-repeat; opacity: 0.06; pointer-events: none;
}
.cta__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 40px; align-items: center; position: relative; z-index: 1; }
.cta h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); text-transform: uppercase; font-weight: 900; text-wrap: balance; }
.cta p { color: rgba(255, 255, 255, 0.78); margin-top: 16px; max-width: 560px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

/* ---------- Contacto ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.info-list { display: grid; gap: 12px; }
.info {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  transition: box-shadow .3s var(--ease);
}
.info:hover { box-shadow: var(--shadow); }
.info__icon { flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--blue-100); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.info__icon svg { width: 20px; height: 20px; }
.info__label { display: block; font-family: var(--font-d); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.info a, .info strong { font-weight: 600; color: var(--navy); }
.info a:hover { color: var(--blue); }
.info small { display: block; color: var(--muted); font-size: 0.88rem; margin-top: 2px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.socials a {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 0.88rem; font-weight: 600; color: var(--navy); background: #fff; transition: border-color .25s, color .25s, box-shadow .25s;
}
.socials a:hover { border-color: var(--blue); color: var(--blue); box-shadow: var(--shadow); }
.socials svg { width: 20px; height: 20px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 44px); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 26px; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__field { display: grid; gap: 7px; }
.form__field label { font-family: var(--font-d); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.04em; color: var(--navy); }
.form__field label span { color: var(--blue); }
.form__field input, .form__field select, .form__field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 9px; background: var(--bg-2);
  transition: border-color .2s, background-color .2s, box-shadow .2s; font-size: 0.98rem;
}
.form__field input:focus, .form__field select:focus, .form__field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(47, 75, 255, 0.12); }
.form__field textarea { min-height: 150px; resize: vertical; }
.form__field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%236b7190' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.form__hint { font-size: 0.82rem; color: var(--muted); }
.form__hint a { color: var(--blue); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.form__submit { justify-self: start; }
.form__status { display: none; padding: 14px 16px; border-radius: 9px; font-size: 0.95rem; font-weight: 500; }
.form__status.is-ok { display: block; background: #e9f8ef; color: #136c3a; border: 1px solid #bfe8cf; }
.form__status.is-err { display: block; background: #fdecec; color: #9b1c1c; border: 1px solid #f5c2c2; }
.form__honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Marcação de reunião (Google Calendar) ---------- */
.booking-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.booking-card__head { padding: clamp(24px, 3.5vw, 40px) clamp(24px, 3.5vw, 40px) 10px; }
.booking-card__head h2 { font-size: 1.6rem; margin-bottom: 6px; }
.booking-card__head p { color: var(--muted); font-size: 0.95rem; }
.booking-card iframe { display: block; width: 100%; height: 820px; border: 0; }
@media (max-width: 640px) { .booking-card iframe { height: 880px; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.78); padding: clamp(56px, 7vw, 88px) 0 32px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); padding-bottom: clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line-dark); }
.footer .brand { color: #fff; }
.footer__tagline { margin-top: 18px; max-width: 360px; font-size: 0.95rem; }
.footer h4 { color: #fff; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; }
.footer__links { display: grid; gap: 10px; font-size: 0.95rem; }
.footer__links a:hover { color: #fff; }
.footer__links strong { color: #fff; font-weight: 600; }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-dark); display: flex; align-items: center; justify-content: center; color: #fff; transition: background-color .25s, border-color .25s; }
.footer__social a:hover { background: var(--blue); border-color: var(--blue); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 24px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }

/* ---------- Rodapé: informação legal ---------- */
.footer__legal { padding-top: 26px; display: grid; gap: 16px; }
.footer__legal p { font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); line-height: 1.6; }
.footer__legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font-size: 0.88rem; }
.footer__legal-links a { color: rgba(255, 255, 255, 0.78); }
.footer__legal-links a:hover { color: #fff; }
.footer__lr { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 8px; color: #fff !important; font-family: var(--font-d); font-weight: 700; font-size: 0.82rem; transition: background-color .25s, border-color .25s; }
.footer__lr:hover { background: var(--blue); border-color: var(--blue); }
.footer__lr svg { width: 18px; height: 18px; }

/* ---------- Página legal ---------- */
.legal { max-width: 820px; }
.legal__toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.legal__toc a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-size: 0.88rem; font-weight: 500; color: var(--navy); transition: border-color .2s, color .2s; }
.legal__toc a:hover { border-color: var(--blue); color: var(--blue); }
.legal h2 { font-size: 1.55rem; margin: clamp(40px, 5vw, 56px) 0 14px; scroll-margin-top: 110px; }
.legal h3 { font-size: 1.08rem; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--ink-2); font-size: 1rem; }
.legal p + p { margin-top: 12px; }
.legal ul:not(.legal__toc) { padding-left: 20px; list-style: disc; display: grid; gap: 6px; margin: 10px 0; }
.legal a:not(.btn):not(.legal__toc a) { color: var(--blue); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.legal .btn { margin: 6px 0 10px; white-space: normal; text-align: center; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: 0.95rem; }
.legal th, .legal td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { width: 32%; color: var(--navy); font-family: var(--font-d); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; }
.legal td { color: var(--ink); }
.legal__updated { margin-top: 40px; font-size: 0.85rem; color: var(--muted); }
@media (max-width: 640px) { .legal th, .legal td { display: block; width: auto; } .legal th { padding-bottom: 2px; border: 0; } .legal td { padding-top: 0; } }

/* ---------- Reveal ---------- */
@keyframes reveal-auto { to { opacity: 1; transform: none; } }
html.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); animation: reveal-auto .8s var(--ease) 2.5s forwards; }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
/* primeiro ecrã: entra sempre por CSS, sem depender de JavaScript */
html.js .hero [data-reveal], html.js .page-head [data-reveal] { animation: reveal-auto .8s var(--ease) calc(var(--d, 0s) + .1s) forwards; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; animation: none; }
  .hero__scroll svg { animation: none; }
  .service, .service__media img, .vtile img, .masonry img, .btn { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; }
  .about__stat { left: 16px; bottom: -22px; }
  .fullprod { grid-template-columns: 1fr; }
  .cta__grid { grid-template-columns: 1fr; }
  .cta__actions { justify-content: flex-start; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .masonry { columns: 2; }
  .section-head--row { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero__inner { padding-top: 112px; }
  .hero__bar { display: none; }
  .hero__content { padding-bottom: 48px; }
  .hero__content .eyebrow { font-size: 0.66rem; letter-spacing: 0.14em; margin-bottom: 14px; }
  .hero__content .eyebrow::before { display: none; }
  .hero__title { font-size: 2.35rem; margin-bottom: 18px; }
  .hero__lead { display: none; }
  .hero__lead--short { display: block; font-size: 1rem; line-height: 1.55; margin-bottom: 26px; max-width: 30ch; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { width: 100%; }
  .services { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; gap: 24px; }
  .fullprod__list { grid-template-columns: 1fr; }
  .reels { grid-template-columns: 1fr; }
  .vtile { max-width: 420px; margin-inline: auto; }
  .vtile--wide { max-width: none; }
  .logos { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .logos li { min-height: 104px; padding: 18px; }
  .logos img { max-height: 56px; max-width: 130px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .page-head { padding-top: 130px; }
  .cta__actions .btn { width: 100%; }
}
