/* ============================================================
   on.loop agency
   ============================================================ */
:root {
  /* paleta: fundo creme + roxo quase preto */
  --ink: #32054c;
  --purple: #4a1570;        /* acento / hover */
  --purple-deep: var(--ink);
  --purple-ink: var(--ink);
  --lilac: #eee6d5;         /* faixas e superfícies (creme mais escuro) */
  --lilac-line: #dccfb7;
  --bg: #f6f1e4;
  --surface: #e9e0ce;       /* fundo das fotos enquanto carregam */
  --white: #fff;
  --text: var(--ink);
  --serif: "Tinos", "Times New Roman", Times, serif;
  --display: "Playfair Display", Georgia, serif; /* títulos grandes (itálico) */
  --sans: var(--serif);
  --brandfont: "Lexend", system-ui, sans-serif; /* só para as marcas da faixa */
  --logo: "Fredoka", "Lexend", sans-serif;
  --wrap: 1240px;
  --header-h: 92px;  /* altura do header (76px no tablet/telemóvel) */
  --screen: calc(100svh - var(--header-h)); /* «um ecrã» por baixo do header */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); scroll-snap-type: y proximity; }
/* ao fazer scroll, cada secção «encaixa» no ecrã por baixo do header */
.hero, .screen--agency, .campaigns, .talents { scroll-snap-align: start; }
.footer { scroll-snap-align: end; }

/* Cada secção do menu ocupa exatamente um ecrã */
.screen--agency {
  min-height: var(--screen);
  display: flex; flex-direction: column; justify-content: space-evenly;
}
.screen--agency > .about, .screen--agency > .services { padding-top: 0; padding-bottom: 0; }
.screen--agency > .tagline { padding-top: 0; padding-bottom: 0; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.serif { font-family: var(--serif); font-style: normal; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
/* Títulos grandes: Playfair itálico (como no início), nas cores novas */
h2.serif, .tagline p.serif { font-family: var(--display); font-style: italic; font-weight: 700; }
.eyebrow { font-size: 15px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--purple-ink); }
.vline { width: 1.5px; align-self: stretch; background: var(--purple); opacity: .85; }
.hline { height: 1.5px; background: var(--purple); flex: 0 0 clamp(40px, 9vw, 130px); }

/* ---------- logo ---------- */
/* Logótipo oficial (img/logo.png; img/logo-white.png no rodapé) */
.logo { display: inline-block; line-height: 0; }
.logo img, img.logo { display: block; height: 52px; width: auto; }
img.logo--lg { height: 86px; }
/* Logótipo dentro dos títulos «Sobre a on.loop» e «Talentos on.loop» */
/* Títulos «on.loop × PALAVRA» */
.title-x { display: inline-flex; align-items: center; gap: .32em; white-space: nowrap; }
.title-x__logo { height: .62em; width: auto; flex: none; transform: translateY(.06em); }
.title-x__x { font-family: var(--serif); font-style: normal; font-weight: 400; font-size: .5em; line-height: 1; opacity: .9; }
.title-x__word { font-family: "Cormorant Garamond", "Times New Roman", serif; font-style: normal; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; line-height: .8; }
.logo-inline { display: inline-block; height: .95em; width: auto; vertical-align: -.12em; margin-top: .08em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 26px; border-radius: 12px;
  font-weight: 600; font-size: 15px;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.btn--dark { background: var(--purple-deep); color: #fff; box-shadow: 0 6px 18px -8px rgba(50,5,76,.6); }
.btn--dark:hover { background: var(--purple); transform: translateY(-2px); }
.btn--sm { padding: 8px 20px; font-size: 14px; border-radius: 10px; }
.arrow { font-size: .95em; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(246,241,228,.92); backdrop-filter: blur(10px); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 92px; width: 100%; padding-inline: clamp(16px, 3vw, 48px); }
.nav { display: flex; gap: clamp(28px, 5.5vw, 80px); font-size: 17px; font-weight: 500; color: var(--purple-ink); margin-left: 40px; margin-right: auto; padding-left: clamp(0px, 6vw, 100px); }
.nav a { position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: currentColor; transition: width .25s; }
.nav a:hover::after { width: 100%; }
/* PT / EN — editorial: texto pequeno espaçado, a língua ativa forte e sublinhada */
.lang {
  display: inline-flex; align-items: center; margin-right: clamp(18px, 2.2vw, 30px);
  font-family: var(--serif); font-size: 13px; letter-spacing: .16em; color: var(--ink);
}
.lang__thumb { display: none; }
.lang__opt { position: relative; padding: 6px 2px; opacity: .45; transition: opacity .25s; }
.lang__opt + .lang__opt { margin-left: 18px; }
.lang__opt + .lang__opt::before { content: "/"; position: absolute; left: -12px; opacity: .6; pointer-events: none; }
.lang__opt::after { content: ""; position: absolute; left: 2px; right: calc(2px + .16em); bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.lang__opt.on { opacity: 1; font-weight: 700; }
.lang__opt.on::after { transform: scaleX(1); }
.lang:hover .lang__opt:not(.on) { opacity: .8; }
.lang:focus-visible { outline: 1px solid var(--ink); outline-offset: 6px; border-radius: 2px; }

/* Say Hi! — cápsula de contorno fino, Playfair itálico; enche ao passar o rato */
.header__cta.btn {
  background: transparent; color: var(--ink); box-shadow: none;
  border: 1px solid var(--ink); border-radius: 999px; padding: 9px 22px 10px;
  font-family: var(--display); font-style: italic; font-weight: 600; font-size: 18px; letter-spacing: .01em;
  transition: background .3s, color .3s;
}
.header__cta.btn:hover { background: var(--ink); color: var(--bg); transform: none; }
.header__cta .arrow { display: inline-block; font-style: normal; font-size: .8em; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.header__cta:hover .arrow { transform: translate(2px, -2px); }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--purple-ink); transition: .3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }

/* ---------- hero collage ---------- */
.hero { position: relative; background: var(--bg); overflow: hidden; height: calc(100vh - 92px); height: calc(100svh - 92px); min-height: 520px; }
.hero__grid { position: absolute; inset: 0; display: grid; gap: 0; background: var(--ink); }
.tile { position: relative; overflow: hidden; min-width: 0; min-height: 0; background: var(--surface); animation: tileIn .9s cubic-bezier(.2,.7,.2,1) var(--d, 0s) both; }
@keyframes tileIn { from { opacity: 0; transform: scale(.94); } }
.tile--anon { cursor: default; }
/* lugares de vídeo sem vídeo ainda: foto com zoom lento (Ken Burns) */
.tile .tile__still { animation: kenburns 16s ease-in-out var(--kb, 0s) infinite alternate; transform-origin: 50% 30%; }
@keyframes kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.16) translate(-2%, -1.5%); } }
.tile video { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); object-fit: cover; z-index: 0; }
@media (prefers-reduced-motion: reduce) { .tile .tile__still { animation: none; } }
/* mosaico perfeito: cada tile sobrepõe 1px ao vizinho e a imagem transborda 1px → sem juntas de subpíxel */
.tile { margin: 0 -1px -1px 0; }
.tile img, .tile video { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.tile:hover img, .tile:hover video { transform: scale(1.06); }

/* Hover no hero: o talento acende, os outros ficam em lilás desmaiado */
.tile { cursor: pointer; outline: none; }
.tile img, .tile video, .tile.ph { transition: transform 1s cubic-bezier(.2,.7,.2,1), filter .5s ease, opacity .5s ease; }
.hero__grid.hovering .tile:not(:hover) img,
.hero__grid.hovering .tile:not(:hover) video { filter: grayscale(.85) brightness(.7); }
.hero__grid.hovering .tile:not(:hover)::before { opacity: .55; }
.tile::before { content: ""; position: absolute; inset: -1px; z-index: 1; background: var(--purple-deep); opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.tile::after { content: ""; position: absolute; inset: -1px; z-index: 2; pointer-events: none; background: linear-gradient(to top, rgba(40,4,61,.88) 0%, rgba(40,4,61,.35) 38%, transparent 62%); opacity: 0; transition: opacity .45s ease; }
.tile:hover::after, .tile:focus-visible::after { opacity: 1; }
.tile:focus-visible { box-shadow: inset 0 0 0 3px #fff; }
.tile__tag { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 18px 18px 16px; color: #fff; display: flex; flex-direction: column; gap: 2px; pointer-events: none; }
.tile__tag > * { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
.tile__tag b { font-family: var(--serif); font-style: normal; font-weight: 700; font-size: clamp(18px, 1.7vw, 26px); line-height: 1.05; }
.tile .tile__tag span { font-family: var(--sans); font-style: normal; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.85); }
.tile--last .tile__tag { padding-bottom: calc(clamp(30px, 5vw, 70px) + 10px); }
.tile .tile__tag em { font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-top: 8px; }
.tile__tag em span { font-size: inherit; }
.tile:hover .tile__tag > *, .tile:focus-visible .tile__tag > * { opacity: 1; transform: none; }
.tile:hover .tile__tag span { transition-delay: .06s; }
.tile:hover .tile__tag em { transition-delay: .12s; }
.tile--video.ph::after { inset: auto auto 14px 50%; background: none; opacity: 1; }
@media (hover: none) { .tile__tag > * { opacity: 1; transform: none; } .tile::after { opacity: .9; } .tile__tag em { display: none; } }
.hero__wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(30px, 5vw, 70px); fill: var(--bg); z-index: 2; }

/* placeholders (até chegarem as fotos/vídeos) */
.ph {
  display: grid; place-items: center;
  background:
    radial-gradient(120% 90% at 30% 20%, hsl(var(--hue, 285) 70% 82%), transparent 60%),
    linear-gradient(135deg, hsl(var(--hue, 285) 45% 62%), hsl(calc(var(--hue, 285) + 30) 55% 40%));
}
.ph span { font-family: var(--serif); font-style: normal; font-weight: 700; color: rgba(255,255,255,.9); font-size: clamp(14px, 1.4vw, 20px); }
.tile--video.ph::after { content: "▶"; position: absolute; left: 50%; bottom: 14px; color: rgba(255,255,255,.75); font-size: 12px; }

/* ---------- about ---------- */
/* Sobre: 3 colunas → título | texto | serviços */
/* Sobre: título por cima; por baixo texto | serviços */
.about { display: grid; grid-template-columns: minmax(0, 1.25fr) auto minmax(0, 1fr); gap: clamp(28px, 4vw, 72px) clamp(28px, 4vw, 72px); align-items: center; padding: 36px 0 44px; }
.about__title { grid-column: 1 / -1; }
.about__title { padding-left: 0; }
.about__title .eyebrow { margin-bottom: 6px; }
.about h2 { font-size: clamp(44px, 6vw, 92px); line-height: 1; }
.about__text { font-size: clamp(15px, 1.35vw, 19px); line-height: 1.55; color: var(--purple-ink); max-width: 760px; }

/* ---------- brands marquee ---------- */
.brands { background: var(--lilac); overflow: hidden; padding: 20px 0; }
.brands__track { display: flex; align-items: center; gap: clamp(28px, 3.4vw, 48px); width: max-content; animation: marquee 38s linear infinite; }
.brands:hover .brands__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - clamp(14px, 1.7vw, 24px))); } }
.dot { color: var(--purple); font-size: 10px; opacity: .7; }
.brand { color: var(--purple-deep); white-space: nowrap; line-height: 1; font-size: 26px; }
.brand--text { font-family: var(--brandfont); font-weight: 700; font-size: 20px; letter-spacing: .02em; }
.brand-logo { display: block; flex: none; object-fit: contain; }
.brand-logo--mask { background: var(--ink); -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: 1.15fr auto 1fr; gap: clamp(32px, 6vw, 100px); align-items: center; padding: 64px 0 40px; }
.acc { padding-left: 0; }
.acc__item { border-bottom: 1.5px solid var(--lilac-line); }
.acc__item:last-child { border-bottom: 0; }
.acc__head { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 12px 0; text-align: left; }
.acc__head .serif { font-size: clamp(20px, 1.9vw, 27px); }
.acc__plus { position: relative; width: 16px; height: 16px; flex: none; margin-right: 8px; }
.acc__plus::before, .acc__plus::after { content: ""; position: absolute; inset: 7px 0; background: var(--purple); transition: transform .3s; }
.acc__plus::after { transform: rotate(90deg); }
.acc__item.open .acc__plus::after { transform: rotate(0deg); }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.acc__body p { overflow: hidden; font-size: 15px; line-height: 1.6; color: var(--text); }
.acc__item.open .acc__body { grid-template-rows: 1fr; }
.acc__item.open .acc__body p { padding: 0 30px 16px 0; }
.services__side { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.services__side h2 { font-size: clamp(26px, 2.4vw, 34px); }

.tagline { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0 30px; }
.tagline p { text-align: center; font-size: clamp(22px, 2.5vw, 36px); line-height: 1.15; }

/* ---------- quadrado da marca no hero ---------- */
.tile--brand { display: grid; place-items: center; background: var(--bg); cursor: default; }
.tile--brand img { position: static; width: 64%; height: auto; max-width: 260px; object-fit: contain; transform: none !important; }

/* ---------- campanhas ---------- */
.campaigns { min-height: var(--screen); display: flex; flex-direction: column; justify-content: center; gap: clamp(22px, 4vh, 40px); padding: clamp(24px, 4vh, 48px) 0; }
.campaigns__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.campaigns__head h2 { font-size: clamp(38px, 4.4vw, 72px); line-height: 1; }
.campaigns__nav { display: flex; gap: 12px; /* encostado à direita, alinhado com o «Say Hi!» do header */ margin-right: min(0px, calc(clamp(16px, 3vw, 48px) - max(16px, (100vw - var(--wrap)) / 2))); }
.campaigns__track {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px max(16px, calc((100vw - var(--wrap)) / 2)) 8px;
  scroll-padding-inline: max(16px, calc((100vw - var(--wrap)) / 2)); /* 1.º vídeo alinhado com o título */
}
.campaigns__track::-webkit-scrollbar { display: none; }
.campaigns__track { cursor: grab; user-select: none; -webkit-user-select: none; }
.campaigns__track.dragging { scroll-snap-type: none; cursor: grabbing; }
.campaigns__track.dragging .camp { pointer-events: none; }

/* filtros por talento */
.campaigns__filters {
  display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin-top: calc(clamp(22px, 4vh, 40px) * -0.45);
  padding: 2px max(16px, calc((100vw - var(--wrap)) / 2));
}
.campaigns__filters::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid rgba(50,5,76,.2); background: transparent; color: var(--ink); font: 400 15px var(--sans); cursor: pointer; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.chip img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; margin-left: -10px; }
.chip sup { font-size: 11px; opacity: .55; margin-left: -2px; }
.chip:hover { border-color: var(--ink); transform: translateY(-1px); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.on sup { opacity: .75; }

/* cartões */
.camp { --cw: clamp(190px, calc(min(60vh, 600px) * 9 / 16), 330px); flex: none; margin: 0; scroll-snap-align: start; width: var(--cw); cursor: pointer; outline: none;
  animation: campIn .7s cubic-bezier(.2,.7,.2,1) calc(var(--i, 0) * 60ms) both; }
.camp--h { width: calc(var(--cw) * 16 / 9 * 16 / 9); }
@keyframes campIn { from { opacity: 0; transform: translateY(28px) scale(.95); } }
.campaigns__track.swap .camp { opacity: 0; transform: scale(.94); transition: opacity .22s, transform .22s; animation: none; }
.camp__media { position: relative; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: var(--surface);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s; }
.camp--h .camp__media { aspect-ratio: 16 / 9; height: calc(var(--cw) * 16 / 9); }
.camp__poster, .camp__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.camp__media video { opacity: 0; transition: opacity .45s; }
.camp.playing video { opacity: 1; }
.camp:hover .camp__media, .camp:focus-visible .camp__media { transform: translateY(-8px); box-shadow: 0 26px 44px -20px rgba(50,5,76,.6); }
.camp:focus-visible .camp__media { box-shadow: 0 0 0 3px var(--ink), 0 26px 44px -20px rgba(50,5,76,.6); }
.camp__over {
  position: absolute; inset: 0; z-index: 1; display: flex; align-items: flex-end; padding: 18px 16px; color: #fff;
  background: linear-gradient(to top, rgba(35,3,53,.92) 0%, rgba(35,3,53,.35) 40%, transparent 62%); opacity: 0; transition: opacity .4s;
}
.camp:hover .camp__over, .camp:focus-visible .camp__over { opacity: 1; }
.camp__over .credit > * { opacity: 0; transform: translateY(14px); transition: opacity .45s, transform .55s cubic-bezier(.2,.7,.2,1); }
.camp:hover .credit > *, .camp:focus-visible .credit > * { opacity: 1; transform: none; }
.camp:hover .credit > :nth-child(2) { transition-delay: .07s; }
.camp:hover .credit > :nth-child(3) { transition-delay: .14s; }
.camp__play {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(35,3,53,.35); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), background .3s;
}
.camp__play svg { width: 16px; height: 16px; margin-left: 2px; }
.camp:hover .camp__play { transform: scale(1.12); background: rgba(255,255,255,.25); }

/* «Nome × logo» a branco */
.credit { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; width: max-content; white-space: nowrap; zoom: var(--k, 1); }
.credit__who { font-family: var(--serif); font-weight: 700; font-size: 19px; line-height: 1.1; }
.credit i { font-style: normal; font-size: 17px; opacity: .8; }
.credit__brands { display: inline-flex; align-items: center; gap: 10px; }
.wlogo { display: block; flex: none; max-width: 150px; object-fit: contain; }
.wlogo--mask { background: #fff; -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; }
.wlogo--text { font-family: var(--serif); font-weight: 700; font-size: 17px; white-space: nowrap; }

/* contador + progresso */
.campaigns__foot { display: flex; align-items: center; gap: 18px; margin-top: calc(clamp(22px, 4vh, 40px) * -0.4); }
.camp-count { font-family: var(--serif); font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; letter-spacing: .06em; min-width: 72px; }
.camp-prog { flex: 1; height: 2px; background: rgba(50,5,76,.15); border-radius: 2px; overflow: hidden; }
.camp-prog i { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(.1); transition: transform .25s ease-out; }

/* leitor em ecrã inteiro */
.reel-open, .reel-open body { overflow: hidden; }
.reel {
  position: fixed; inset: 0; z-index: 300; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  padding: 24px; background: rgba(28,2,42,.78); opacity: 0; transition: opacity .3s ease;
}
.reel[hidden] { display: none; }
.reel.open { opacity: 1; }
.reel__bg { position: absolute; inset: -60px; z-index: -1; background: center / cover no-repeat; filter: blur(46px) saturate(1.4) brightness(.5); opacity: .85; }
.reel__stage {
  position: relative; height: min(78vh, 820px); aspect-ratio: 9 / 16; max-width: 92vw; border-radius: 18px; overflow: hidden; background: #000;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); transform: scale(.92) translateY(20px); transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.reel.open .reel__stage { transform: none; }
.reel--h .reel__stage { height: auto; width: min(92vw, 1180px); aspect-ratio: 16 / 9; max-height: 74vh; }
.reel__stage video { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.reel--h .reel__stage video { object-fit: contain; }
.reel__stage.swap video { animation: reelIn .5s cubic-bezier(.2,.7,.2,1); }
@keyframes reelIn { from { opacity: 0; transform: scale(1.04); } }
.reel__stage.paused::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: rgba(0,0,0,.25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 64px no-repeat; }
.reel__bar { position: absolute; top: 12px; left: 14px; right: 14px; z-index: 2; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; }
.reel__bar i { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(0); transition: transform .25s linear; }
.reel__btn {
  display: grid; place-items: center; border-radius: 50%; color: #fff; cursor: pointer; border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .25s, transform .25s;
}
.reel__btn:hover { background: rgba(255,255,255,.26); transform: scale(1.08); }
.reel__btn svg { width: 22px; height: 22px; }
.reel__close { position: absolute; top: 20px; right: 22px; width: 50px; height: 50px; }
.reel__nav { position: absolute; top: 50%; width: 58px; height: 58px; margin-top: -29px; }
.reel__nav--prev { left: clamp(12px, 6vw, 90px); }
.reel__nav--next { right: clamp(12px, 6vw, 90px); }
.reel__sound { position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 44px; height: 44px; }
.reel__cap { display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: 100%; gap: 12px 26px; color: #fff; text-align: center; }
.reel__cap .credit__who { font-size: 26px; }
.reel__cap .credit i { font-size: 22px; }
.reel__count { font-family: var(--serif); font-weight: 700; font-size: 14px; letter-spacing: .1em; opacity: .7; font-variant-numeric: tabular-nums; }
@media (hover: none) {
  .camp__over { opacity: 1; }
  .camp__over .credit > * { opacity: 1; transform: none; }
}
@media (max-width: 700px) {
  .reel { padding: 14px; }
  .reel__stage { height: min(74vh, calc(92vw * 16 / 9)); }
  .reel__nav { display: none; }
  .reel__close { top: 12px; right: 12px; width: 44px; height: 44px; }
  .reel__cap .credit__who { font-size: 20px; }
}

/* ---------- talents ---------- */
.talents {
  position: relative;
  height: var(--screen); min-height: 640px;
  display: flex; flex-direction: column;
}
.talents__stage {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center; gap: clamp(32px, 5vw, 90px);
  flex: 1 1 auto; min-height: 0;
}
.talents__photo {
  position: relative; align-self: stretch; height: 100%; min-height: 0;
  overflow: hidden; border-top-left-radius: 52% 100%;
  background: var(--surface);
}
.talents__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.talents__photo .talents__img { opacity: 0; transform: scale(1.04); transition: opacity .6s, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.talents__photo.in .talents__img { opacity: 1; transform: scale(1); }
.ph--talent span { font-size: clamp(60px, 9vw, 140px); transform: none; opacity: .9; }
.talents__swoosh {
  position: absolute; right: 0; bottom: 0; width: 17%; height: 72%;
  background: var(--ink); border-top-left-radius: 100% 100%;
  pointer-events: none; z-index: 1;
}
.talents__card {
  position: relative; z-index: 3;
  align-self: center; max-height: 100%;
  padding: 0 0 130px clamp(16px, 7vw, 130px);
}
.talents__title { font-size: clamp(34px, min(4vw, 6.5vh), 76px); line-height: 1; margin-bottom: clamp(14px, 3.5vh, 48px); }
/* troca de talento: só fade, nada se mexe */
.talent-info { opacity: 0; transition: opacity .35s ease; }
.talent-info.in { opacity: 1; }
.talent-info .talent-name { min-height: var(--name-h, auto); display: flex; align-items: flex-end; }
.talent-info .talent-desc { min-height: var(--desc-h, auto); }
.talent-name { font-family: var(--serif); font-size: clamp(26px, min(3vw, 5vh), 48px); font-weight: 700; line-height: 1; text-transform: uppercase; color: var(--ink); letter-spacing: -.01em; }
.talent-cats { font-size: 17px; color: var(--purple-ink); margin-top: 8px; }
.talent-cats span { margin: 0 4px; opacity: .6; }
/* @ de Instagram e TikTok do talento */
.handles { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; margin: clamp(12px, 2.4vh, 26px) 0; }
.handles a { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-size: 18px; }
.handles a span { text-decoration: none; }
.handles a:hover span { color: var(--purple); }
.handles svg { width: 40px; height: 40px; padding: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--ink); color: var(--bg); transition: background .2s; }
.handles a:hover svg { background: var(--purple); }
.handles li { min-width: 0; }
.handles li.is-empty { visibility: hidden; }
.handle__txt { display: flex; flex-direction: column; line-height: 1.2; }
.handle__count { font-size: 14px; opacity: .75; font-variant-numeric: tabular-nums; }
.handle__count[hidden] { display: block; visibility: hidden; }
.handle__count b { font-weight: 700; }
/* Alcance total */
/* Alcance total: cápsula fina (como o «Say Hi!») — ALCANCE TOTAL | 952 mil seguidores */
.reach { display: inline-flex; align-items: center; gap: 16px; margin-top: 6px; padding: 10px 22px 11px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); }
.reach.is-empty { visibility: hidden; }
.reach__label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.reach__sep { width: 1px; align-self: stretch; background: currentColor; opacity: .3; }
.reach__value { font-size: 15px; white-space: nowrap; }
.reach__num { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 26px; line-height: 1; font-variant-numeric: lining-nums tabular-nums; margin-right: 2px; }
.stats { list-style: none; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(28px, 4vw, 56px); margin: 28px 0 26px; }
.stats li { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--purple-deep); }
.stats svg { width: 32px; height: 32px; margin-bottom: 8px; }
.stats b { font-size: 24px; font-weight: 700; }
.stats small { font-size: 14px; font-weight: 500; }

.carousel { position: relative; z-index: 4; display: flex; align-items: center; justify-content: center; gap: clamp(10px, 1.5vw, 22px); margin-top: -70px; padding: 0 10px 40px; }
.carousel__track { display: flex; align-items: center; justify-content: center; gap: 6px; overflow: hidden; flex: 0 1 auto; min-width: 0; padding: 22px 0; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__btn {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  background: var(--purple-deep); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 24px -10px rgba(50,5,76,.7);
  transition: transform .2s, background .2s, box-shadow .2s;
}
.carousel__btn svg { width: 24px; height: 24px; transition: transform .2s; }
.carousel__btn:hover { background: var(--purple); transform: scale(1.08); box-shadow: 0 14px 28px -10px rgba(50,5,76,.8); }
#prev:hover svg { transform: translateX(-3px); }
#next:hover svg { transform: translateX(3px); }
.carousel__btn:active { transform: scale(.95); }
.carousel__btn:focus-visible { outline: 3px solid var(--lilac-line); outline-offset: 3px; }
.avatar {
  flex: none; width: clamp(72px, calc((100vw - 190px) / 11.3), 118px); aspect-ratio: 1; border-radius: 50%;
  border: 4px solid #fff; overflow: hidden; scroll-snap-align: center;
  box-shadow: 0 6px 18px -10px rgba(50,5,76,.5);
  transition: translate .25s, scale .35s, margin .35s, box-shadow .25s;
}
.avatar:hover:not(.active) { translate: 0 -4px; }
.avatar.active { scale: 1.14; margin: 0 8px; box-shadow: 0 0 0 3px var(--purple), 0 12px 26px -10px rgba(50,5,76,.7); z-index: 1; }
.avatar__img { width: 100%; height: 100%; object-fit: cover; }
.avatar .ph span { font-size: 22px; transform: none; }

/* ---------- footer ---------- */
/* ---------- footer (com «work with us») ---------- */
.footer { position: relative; background: var(--ink); color: var(--bg); padding: clamp(44px, 6vh, 72px) 0 22px; margin-top: clamp(30px, 4.5vw, 60px);
  display: flex; flex-direction: column; }
/* Pela âncora «Contacto» o footer ocupa o ecrã inteiro; a descer com o scroll fica compacto */
.footer--full { min-height: var(--screen); justify-content: center; }
.footer__grid { margin-top: auto; margin-bottom: clamp(36px, 5vh, 56px); } /* espaço até à linha de baixo */
.footer__wave { position: absolute; left: 0; bottom: calc(100% - 1px); width: 100%; height: clamp(30px, 4.5vw, 60px); fill: var(--ink); }
.footer__grid { display: grid; grid-template-columns: 1fr auto auto 1fr; align-items: center; gap: clamp(28px, 6vw, 110px); }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.footer .logo img { height: 64px; }
.footer__nav { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 17px; }
.footer__nav a { position: relative; padding: 2px 0; }
.footer__nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0; background: currentColor; transition: width .25s; }
.footer__nav a:hover::after { width: 100%; }
.footer__social { display: flex; gap: 20px; }
.footer__social a { transition: opacity .2s; }
.footer__social a:hover { opacity: .7; }
.footer__social svg { width: 22px; height: 22px; }
/* work with us */
.footer__contact { justify-self: end; text-align: right; }
.contact__script { font-family: "Allison", cursive; font-size: clamp(32px, 2.6vw, 42px); line-height: .8; margin-bottom: 4px; }
.contact__name { font-family: var(--serif); font-size: clamp(22px, 1.8vw, 28px); line-height: 1.15; }
.contact__lines { margin-top: 8px; font-size: 16px; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 12px; }
.contact__lines a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: opacity .2s; }
.contact__lines a:hover { opacity: .7; }
.contact__sep { opacity: .6; }
.footer__bottom { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(246,241,228,.14); }
.footer__bottom { display: flex; justify-content: center; align-items: center; gap: 12px 18px; flex-wrap: wrap; }
.footer__copy { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; opacity: .7; }
.footer__copy-logo { height: 15px; width: auto; filter: brightness(0) invert(1); } /* logo on.loop em branco */
.footer__sep { width: 1px; height: 14px; background: currentColor; opacity: .3; }
/* crédito: by OffScroll (link para o site) */
.footer__credit { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .04em; opacity: .7; transition: opacity .25s; }
.footer__credit:hover { opacity: 1; }
.footer__credit img { height: 14px; width: auto; }

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 980px) {
  .nav { position: fixed; inset: 0 0 auto 0; top: 76px; flex-direction: column; align-items: center; gap: 22px; padding: 30px 0; margin: 0; background: var(--bg); transform: translateY(-120%); transition: transform .35s; box-shadow: 0 20px 30px -20px rgba(0,0,0,.2); z-index: -1; }
  .menu-open .nav { transform: none; }
  .burger { display: block; }
  .menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
  .menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }
  :root { --header-h: 76px; }
  .header__inner { height: 76px; }
  .talents { height: auto; min-height: var(--screen); }
  .talents__card { align-self: auto; max-height: none; }
  .hero { height: calc(100vh - 76px); height: calc(100svh - 76px); min-height: 480px; }
  .lang { margin-left: auto; margin-right: 16px; }
  .header .btn { margin-right: 6px; padding: 8px 18px 9px; font-size: 16px; }
  .logo img { height: 38px; }


  .about { grid-template-columns: 1fr; gap: 24px; }
  .about .vline { display: none; }
  .services__side { order: -1; }
  img.logo--lg { height: 64px; }
  .acc { padding-left: 0; }

  .talents__stage { height: auto; display: flex; flex-direction: column; }
  .talents__card { padding: 0; margin: 0 16px 20px; }
  .talents__photo { position: relative; width: 100%; height: 95vw; max-height: 560px; top: 0; margin-top: -40px; border-top-left-radius: 70% 22%; }
  .talents__swoosh { height: 35%; width: 30%; }
  .carousel { margin-top: -50px; }

  .footer__grid { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 30px; }
  .footer__brand { align-items: center; }
  .footer__nav { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 14px 28px; }
  .footer__contact { justify-self: center; text-align: center; }
  .contact__lines { justify-content: center; }
}
@media (max-width: 560px) {
  .header .btn { display: none; }
  .stats { gap: 22px; }
  .carousel__btn { width: 44px; height: 44px; }
  .carousel__btn svg { width: 20px; height: 20px; }
  .tagline .hline { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .brands__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  * { transition: none !important; scroll-behavior: auto !important; }
}
.talent-desc { font-size: clamp(13.5px, min(1.05vw, 1.9vh), 17px); line-height: 1.45; color: var(--ink); max-width: 580px; margin-top: 10px; text-align: justify; hyphens: auto; }

/* ---------- links legais (footer) ---------- */
/* coluna legal: igual ao mapa do site, um pouco mais discreta */
.footer__nav--legal { font-size: 15px; gap: 9px; }
.footer__nav--legal a { opacity: .75; transition: opacity .2s; }
.footer__nav--legal a:hover, .footer__nav--legal a[aria-current="page"] { opacity: 1; }

/* ---------- páginas legais ---------- */
.legal-page .header__cta { gap: 8px; }
.legal { max-width: 820px; padding: clamp(36px, 7vh, 80px) 0 clamp(60px, 10vh, 120px); }
.legal__title { font-size: clamp(36px, 5vw, 68px); line-height: 1; }
.legal__meta { margin-top: 14px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.legal__body { margin-top: clamp(28px, 5vh, 48px); font-size: 17px; line-height: 1.7; color: var(--ink); }
.legal__body > * + * { margin-top: 14px; }
.legal__lead { font-family: var(--display); font-style: italic; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; padding-bottom: 24px; border-bottom: 1px solid var(--lilac-line); }
.legal__body h2 { margin-top: 40px; font-family: var(--serif); font-size: 15px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.legal__body ul { padding-left: 1.2em; }
.legal__body li + li { margin-top: 8px; }
.legal__body a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal__body a:hover { color: var(--purple); }
.legal__body code { font-size: .9em; background: var(--lilac); padding: 1px 6px; border-radius: 4px; }
.legal__table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal__table th, .legal__table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--lilac-line); vertical-align: top; }
.legal__table th { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.legal__dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; }
.legal__dl dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; padding-top: 4px; }
.legal__cta { display: inline-flex !important; align-items: center; gap: 10px; margin-top: 24px; padding: 12px 26px 13px; border: 1px solid var(--ink); border-radius: 999px; font-family: var(--display); font-style: italic; font-size: 18px; text-decoration: none !important; transition: background .3s, color .3s; }
.legal__cta:hover { background: var(--ink); color: var(--bg) !important; }
mark.tbd { background: #fde7a8; color: var(--ink); padding: 0 4px; border-radius: 3px; }
.legal-footer { background: var(--ink); color: var(--bg); padding: 34px 0 26px; text-align: center; }
.legal-footer .footer__copy { display: inline-flex; justify-content: center; }
@media (max-width: 560px) { .legal__dl { grid-template-columns: 1fr; gap: 2px; } .legal__dl dd { margin-bottom: 10px; } }

/* ---------- barra de consentimento de cookies ---------- */
.cookiebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: var(--ink); color: var(--bg);
  box-shadow: 0 -10px 30px -12px rgba(50,5,76,.45); transform: translateY(100%); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.cookiebar.in { transform: none; }
.cookiebar__inner { width: min(var(--wrap), 100% - 32px); margin-inline: auto; padding: 18px 0; display: flex; align-items: center; justify-content: center; gap: 18px 36px; }
.cookiebar__text { font-size: 14.5px; line-height: 1.5; max-width: 640px; }
.cookiebar__text a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.cookiebar__text a:hover { opacity: .75; }
.cookiebar__btns { display: flex; gap: 10px; flex: none; }
.cookiebar__btn { font-family: var(--serif); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 10px 22px; border-radius: 999px; border: 1px solid var(--bg); transition: background .25s, color .25s; }
.cookiebar__btn--ghost { color: var(--bg); }
.cookiebar__btn--ghost:hover { background: rgba(246,241,228,.12); }
.cookiebar__btn--solid { background: var(--bg); color: var(--ink); }
.cookiebar__btn--solid:hover { background: var(--lilac); }
.cookiebar__btn:focus-visible { outline: 2px solid var(--bg); outline-offset: 3px; }
@media (max-width: 700px) { .cookiebar__inner { flex-direction: column; align-items: stretch; text-align: center; } .cookiebar__btns { justify-content: center; } .cookiebar__btn { flex: 1; } }
@media (prefers-reduced-motion: reduce) { .cookiebar { transition: none; } }

/* páginas legais = mais uma secção do site; footer sempre no fundo */
body.legal-page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
body.legal-page .legal-main { flex: 1 0 auto; }
body.legal-page .legal { width: min(820px, 100% - 32px); }
body.legal-page .footer { flex: none; }

/* títulos das colunas do footer (Site Map / Legal) */
.footer__nav { align-self: start; }
.footer__head { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .55; margin-bottom: 6px; }

/* ---------- transições ao fazer scroll (js/reveal.js) ---------- */
.rv-ready .rv { transition: opacity .9s cubic-bezier(.2,.7,.2,1) var(--rd, 0s), transform 1s cubic-bezier(.2,.7,.2,1) var(--rd, 0s); }
.rv-ready .rv:not(.is-in) { opacity: 0; }
.rv-ready .rv--up:not(.is-in) { transform: translateY(32px); }
.rv-ready .rv--left:not(.is-in) { transform: translateX(-40px); }
.rv-ready .rv--right:not(.is-in) { transform: translateX(60px); }
.rv-ready .rv--scale:not(.is-in) { transform: scale(.94); }
.rv-ready .rv--line { transform-origin: center; }
.rv-ready .rv--line:not(.is-in) { opacity: 1; transform: scaleX(0); }
.rv-ready .rv--line { transition-duration: .9s, 1.2s; }
/* títulos «on.loop × PALAVRA»: logo da esquerda, × a rodar, palavra da direita */
.rv-ready .rv--title:not(.is-in) { opacity: 1; }
.rv-ready .rv--title > * { transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.rv-ready .rv--title .title-x__x { transition-delay: .12s; }
.rv-ready .rv--title .title-x__word { transition-delay: .22s; }
.rv-ready .rv--title:not(.is-in) .title-x__logo { opacity: 0; transform: translate(-40px, .06em); }
.rv-ready .rv--title:not(.is-in) .title-x__x { opacity: 0; transform: rotate(-180deg) scale(.4); }
.rv-ready .rv--title:not(.is-in) .title-x__word { opacity: 0; transform: translateX(50px); }
.rv-ready .rv--title .title-x__x { display: inline-block; }
/* header com sombra ao descer */
.header { transition: box-shadow .35s ease, background .35s ease; }
.header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(50,5,76,.35); }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1 !important; transform: none !important; } }

/* ---------- cortina ao mudar de língua (js/lang-curtain.js) ---------- */
.lang-curtain { position: fixed; inset: 0; z-index: 1000; background: var(--ink); color: var(--bg); display: grid; place-items: center;
  transform: translateY(100%); transition: transform .52s cubic-bezier(.76,0,.24,1); pointer-events: all; }
.lang-curtain.is-in { transform: none; }
.lang-curtain.is-out { transform: translateY(-100%); transition-duration: .62s; }
.lang-curtain__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; opacity: 0; transform: translateY(14px); transition: opacity .35s ease .22s, transform .45s cubic-bezier(.2,.7,.2,1) .22s; }
.lang-curtain.is-in .lang-curtain__inner { opacity: 1; transform: none; }
.lang-curtain.is-out .lang-curtain__inner { opacity: 0; transform: translateY(-14px); transition-delay: 0s; }
.lang-curtain__inner img { height: clamp(48px, 7vw, 84px); width: auto; }
.lang-curtain__lang { font-family: var(--display); font-style: italic; font-size: clamp(20px, 2vw, 26px); opacity: .85; }
/* «reduzir movimento»: só um fade rápido */
.lang-curtain--fade { transform: none; opacity: 0; transition: opacity .16s ease; }
.lang-curtain--fade.is-in { opacity: 1; }
.lang-curtain--fade.is-out { transform: none; opacity: 0; transition-duration: .2s; }

/* autoria da citação na frase da Agência */
.tagline__by { display: block; margin-top: 14px; font-family: var(--serif); font-style: normal; font-weight: 400; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; opacity: .6; }
.tagline__by::before { content: "— "; }
/* footer pela âncora «Contacto»: só marca + «work with us» (sem Site Map / Legal) */
.footer--full .footer__nav { display: none; }
.footer--full .footer__grid { grid-template-columns: 1fr 1fr; }
/* Campanhas no telemóvel/tablet estreito: sem setas (passa-se com o dedo) e título a caber */
@media (max-width: 760px) {
  .campaigns__nav { display: none; }
  .campaigns__head h2 { font-size: clamp(28px, 8.5vw, 44px); }
  .campaigns__head .title-x__logo { height: .55em; }
}
/* ---------- telemóvel: mais espaço entre as coisas e entre secções ---------- */
@media (max-width: 760px) {
  /* cada secção começa com ar e acaba com ar — a seguinte não «cola» */
  .screen--agency { padding: 64px 0 80px; gap: 48px; justify-content: flex-start; }
  .about { gap: 32px; }
  .about__text { font-size: 16px; line-height: 1.7; }
  .acc__head { padding: 16px 0; }
  .brands { margin: 8px 0; }
  .tagline { padding: 8px 0 0 !important; }
  .tagline .hline { display: none; }
  .tagline p { font-size: clamp(22px, 6.4vw, 30px); line-height: 1.25; }
  .campaigns { padding: 88px 0 72px; gap: 28px; justify-content: flex-start; border-top: 1px solid var(--lilac-line); }
  .campaigns__head { margin-bottom: 4px; }
  #campFilters { margin-bottom: 8px; }
  .talents { padding-top: 88px; border-top: 1px solid var(--lilac-line); }
  .talents__card { margin-bottom: 32px; }
  .talents__title { margin-bottom: 28px; }
  .talent-desc { margin-top: 16px; line-height: 1.65; }
  .handles { margin: 24px 0; gap: 16px 28px; }
  .carousel { padding-bottom: 64px; }
  .footer__grid { gap: 40px; }
}
@media (max-width: 760px) { .tagline p br { display: none; } .tagline p { max-width: 320px; margin-inline: auto; } }
/* logos do footer nunca deformam (mantêm a proporção) */
.footer .logo img { width: auto; max-width: 100%; object-fit: contain; }
/* telemóvel: o footer do «Contacto» numa só coluna, centrado */
@media (max-width: 760px) {
  .footer--full .footer__grid { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 36px; }
  .footer--full .footer__brand { align-items: center; }
  .footer .logo img { height: 56px; }
  .contact__lines { flex-direction: column; gap: 6px; }
  .contact__sep { display: none; }
}

/* só para leitores de ecrã e motores de busca */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* linha de progresso das Campanhas vai até à margem direita do ecrã */
.camp-prog { margin-right: calc((min(var(--wrap), 100vw - 32px) - 100vw) / 2); border-radius: 2px 0 0 2px; }
/* telemóvel: seletor de talentos fixo e só com 3 bolinhas inteiras */
@media (max-width: 760px) {
  .handles { flex-direction: column; flex-wrap: nowrap; } /* sempre 1 por linha → mesma altura para todos */
  .avatar { width: 72px; }
  .carousel__track { flex: 0 0 auto; width: 246px; } /* 3 × 72px + espaços + a do meio maior */
}
/* telemóvel: sem os títulos «Site Map» / «Legal» no footer */
@media (max-width: 980px) { .footer__head { display: none; } }

/* ---------- cartão que vira (foto ↔ descrição) ---------- */
.flip { position: absolute; inset: 0; }
.flip__front { position: absolute; inset: 0; }
.flip__back, .flip__hint { display: none; }

@media (max-width: 760px) {
  /* tudo num ecrã: título, nome, redes, alcance, foto e seletor */
  .talents { height: var(--screen) !important; min-height: 560px !important; padding-top: 18px !important; display: flex; flex-direction: column; border-top: 0 !important; }
  .talents__stage { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
  .talents__card { margin: 0 16px 10px !important; padding: 0 !important; }
  .talents__title { font-size: 28px !important; margin-bottom: 10px !important; }
  .talent-info .talent-desc { display: none; }
  .talent-info .talent-name { font-size: 22px; min-height: 0 !important; }
  .handles { flex-direction: row !important; flex-wrap: nowrap !important; gap: 14px !important; margin: 10px 0 !important; }
  .handles a { font-size: 13.5px; gap: 8px; }
  .handles svg { width: 30px; height: 30px; padding: 7px; }
  .handle__count { font-size: 12px; }
  .reach { padding: 6px 16px 7px; gap: 12px; margin-top: 0; }
  .reach__num { font-size: 20px; }
  .reach__label { font-size: 10px; }
  .talents__photo { flex: 1 1 auto; height: auto !important; max-height: none !important; min-height: 0; margin-top: 0 !important;
    perspective: 1400px; overflow: visible !important; background: transparent !important; cursor: pointer; border-radius: 0; }
  .talents__swoosh { display: none; }
  .flip { transition: transform .7s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; }
  .talents__photo.is-flipped .flip { transform: rotateY(180deg); }
  .flip__front, .flip__back { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
    overflow: hidden; border-top-left-radius: 70% 22%; }
  .flip__front { background: var(--surface); }
  .flip__back { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 48px 24px 72px;
    background: var(--ink); color: var(--bg); transform: rotateY(180deg); }
  .flip__name { font-family: var(--serif); font-weight: 700; font-size: 20px; text-transform: uppercase; }
  .flip__text { font-size: 14.5px; line-height: 1.6; overflow-y: auto; }
  .flip__hint { display: inline-flex; align-items: center; gap: 6px; position: absolute; right: 12px; bottom: 74px; z-index: 2;
    padding: 6px 12px; border-radius: 999px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
    background: rgba(246,241,228,.92); color: var(--ink); pointer-events: none; }
  .flip__back .flip__hint { position: static; align-self: flex-start; margin-top: 4px; background: rgba(246,241,228,.14); color: var(--bg); }
  .carousel { margin-top: -62px !important; padding-bottom: 12px !important; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .flip { transition: none; } }
/* telemóvel: redes sociais centradas com o «Alcance total» (mesma largura) */
@media (max-width: 760px) {
  .talent-info .handles { width: 100%; justify-content: space-evenly; }
  .talent-info .reach { display: flex; width: 100%; justify-content: center; }
}

/* ---------- hero em 11 colunas altas (computador/tablet) ---------- */
.hero__grid--cols { display: flex !important; }
.hero__grid--cols .hcol { flex: 1 1 0; min-width: 0; margin: 0; position: relative; height: 100%;
  transition: flex-grow .7s cubic-bezier(.2,.7,.2,1); }
.hero__grid--cols .hcol + .hcol { box-shadow: -1px 0 0 rgba(246,241,228,.35); }
.hero__grid--cols .hcol img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__grid--cols .hcol:hover, .hero__grid--cols .hcol:focus-visible { flex-grow: 3.2; }
.hero__grid--cols .tile__tag b { font-size: clamp(16px, 1.4vw, 22px); }
/* logo ao centro, por cima das colunas */
.hcol__logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 5; pointer-events: none;
  background: var(--bg); padding: clamp(18px, 2.2vw, 30px) clamp(28px, 3.4vw, 48px); border-radius: 4px;
  box-shadow: 0 20px 50px -20px rgba(50,5,76,.55); transition: opacity .4s ease; }
.hcol__logo img { height: clamp(46px, 5vw, 76px); width: auto; display: block; }
.hero__grid--cols.hovering .hcol__logo { opacity: 0; } /* sai do caminho quando se explora */
/* hero em colunas: etiqueta (nome, @, Conhecer) acima da onda do fundo */
.hero__grid--cols .tile__tag { padding-bottom: calc(clamp(30px, 5vw, 70px) + 22px); }
/* iPhone/Safari: nada da frente pode «atravessar» o cartão virado */
@media (max-width: 760px) {
  .flip { -webkit-transform-style: preserve-3d; }
  .flip__front, .flip__back, .flip__front *, .flip__back * { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
  .flip__front { transform: rotateY(0deg) translateZ(1px); }
  .flip__front .flip__hint { transition: opacity .2s ease; }
  .talents__photo.is-flipped .flip__front .flip__hint { opacity: 0; visibility: hidden; }
  .talents__photo:not(.is-flipped) .flip__back { visibility: hidden; transition: visibility 0s .35s; }
  .flip__back { padding-bottom: 96px; }
}
/* mais espaço entre «on.loop × TALENTOS» e o nome do talento (evita confusão de leitura) */
.talents__title { margin-bottom: clamp(36px, 6vh, 72px) !important; }
@media (max-width: 760px) { .talents__title { margin-bottom: 20px !important; } }
/* iPhone: sem sublinhados automáticos (o Safari trata «@nome.apelido» como link) */
.tile__tag, .tile__tag * { text-decoration: none !important; -webkit-text-decoration: none !important; }
a[x-apple-data-detectors] { color: inherit !important; text-decoration: none !important; font: inherit !important; }
/* telemóvel: nomes e @ dos talentos cabem sempre no quadrado */
@media (max-width: 760px) {
  .tile__tag { padding: 12px 10px 12px; }
  .tile__tag b { font-size: clamp(14px, 4.3vw, 18px) !important; line-height: 1.1; overflow-wrap: anywhere; hyphens: auto; }
  .tile .tile__tag span { font-size: 11px; display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tile--last .tile__tag { padding-bottom: calc(clamp(30px, 5vw, 70px) + 8px); }
}
@media (max-width: 760px) { .tile .tile__tag em { white-space: nowrap; font-size: 10px; letter-spacing: .06em; margin-top: 4px; } }

/* ---------- hero em colunas no telemóvel: acordeão ---------- */
@media (max-width: 760px) {
  .hero__grid--cols .hcol { flex-grow: 1; transition: flex-grow .8s cubic-bezier(.2,.7,.2,1); }
  .hero__grid--cols .hcol.open { flex-grow: 9; }
  .hero__grid--cols .hcol:hover:not(.open) { flex-grow: 1; } /* sem «hover» falso no toque */
  .hero__grid--cols .hcol + .hcol { box-shadow: -1px 0 0 rgba(246,241,228,.5); }
  .hero__grid--cols .hcol .tile__tag { opacity: 0; transition: opacity .4s ease; }
  .hero__grid--cols .hcol.open .tile__tag { opacity: 1; }
  .hero__grid--cols .hcol.open .tile__tag > * { opacity: 1; transform: none; }
  .hero__grid--cols .hcol.open::after { opacity: 1; }
  .hero__grid--cols .hcol:not(.open)::after { opacity: 0 !important; }
  .hero__grid--cols.hovering .hcol img { filter: none !important; }
  .hero__grid--cols .hcol:not(.open)::before { opacity: .25; }
}
@media (max-width: 760px) { .hero__grid--cols .tile__tag { padding-bottom: calc(clamp(30px, 5vw, 70px) + 26px) !important; } }

/* ---------- vídeo aberto: fechar só com o «X» (sem bola) ---------- */
.reel__close { background: none !important; border: 0 !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; z-index: 3; }
.reel__close svg { width: 26px; height: 26px; filter: drop-shadow(0 1px 3px rgba(0,0,0,.55)); }
.reel__close:hover { background: none !important; transform: rotate(90deg); }
@media (max-width: 760px) {
  .reel__close { top: max(6px, env(safe-area-inset-top)); right: 6px; width: 44px; height: 44px; }
  .reel__close svg { width: 24px; height: 24px; }
}
.reel__close:focus { outline: none; }
.reel__close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 6px; }

/* espaço invisível do seletor (só conta no telemóvel, com nº par de talentos) */
.avatar--spacer { display: none; visibility: hidden; box-shadow: none; border-color: transparent; }
@media (max-width: 760px) { .avatar--spacer { display: block; } }
