/* =====================================================================
   TapGo 360 — estilos (mobile first)
   Paleta e tipografia do Manual de Identidade Visual v1.0
   ===================================================================== */

:root {
  --black: #0A0A0A;      /* Preto TapGo — fundo principal */
  --graphite: #1A1A1A;   /* Grafite — cartões e blocos */
  --gold: #F5B21B;       /* Ouro TapGo — marca, botões, destaques */
  --gold-l: #FFD45C;     /* Ouro Claro — brilhos e gradientes */
  --gold-d: #D98E0B;     /* Ouro Escuro — "360", títulos dourados */
  --white: #FFFFFF;      /* Branco — texto principal */
  --gray: #8C8C8C;       /* Cinza — texto secundário (só sobre preto) */
  --soft: rgba(255, 255, 255, .78); /* texto secundário sobre grafite */
  --line: rgba(255, 255, 255, .1);
  --gold-line: rgba(245, 178, 27, .35);
  --grad: linear-gradient(135deg, #FFD45C 0%, #F5B21B 50%, #D98E0B 100%);

  --f-display: 'Saira', 'Arial Black', sans-serif;
  --f-body: 'Manrope', Arial, sans-serif;
  --f-mono: ui-monospace, 'Cascadia Code', Consolas, monospace;

  --gutter: 20px;
  --header-h: 64px;
  --radius: 16px;
  --maxw: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
main > section, .site-footer { overflow-x: clip; }
main > section { position: relative; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: clip; /* clip (não hidden) para não partir o position: sticky */
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.noscript { padding: 2rem; text-align: center; }

/* Grão subtil para profundidade (sem imagens externas) */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Tipografia base ---------- */
.display, h1, h2, h3 {
  font-family: var(--f-display); font-style: italic; font-weight: 900;
  line-height: .95; letter-spacing: -.01em; margin: 0;
}
.section-label {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem;
}
.section-heading { font-size: clamp(2.6rem, 10vw, 6.5rem); }
.section-body { color: var(--soft); font-size: 1.05rem; max-width: 38rem; margin: 1.25rem 0 0; }
.hl { color: var(--gold); font-weight: 800; }
h1 .hl, h2 .hl, h3 .hl { font-weight: 900; }
.slash { color: var(--gold); }

/* Marcadores de informação em falta */
.tbd {
  background: transparent; color: var(--gold-l); font-weight: 700;
  border: 1px dashed var(--gold); border-radius: 4px; padding: 0 .3em;
  font-family: var(--f-body); font-style: normal; font-size: .85em; white-space: normal;
}
.pending {
  display: table; margin-top: 1.25rem; line-height: 1.7;
  font-size: .8rem; color: var(--soft); border-left: 3px solid var(--gold); padding: .35rem .75rem;
  background: rgba(245, 178, 27, .06);
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 96px 0; position: relative; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .9rem 1.5rem; border-radius: 999px; text-decoration: none;
  font-weight: 800; font-size: .98rem; line-height: 1.2; cursor: pointer; border: 0;
  transition: translate .25s ease, box-shadow .25s ease, background-color .25s ease; /* translate ≠ transform: não choca com o GSAP */
}
.btn-primary { background: var(--grad); color: var(--black); }
.btn-primary:hover { translate: 0 -2px; box-shadow: 0 12px 30px -10px rgba(245, 178, 27, .6); }
.btn-secondary { border: 1.5px solid var(--gold); color: var(--gold); background: transparent; }
.btn-secondary:hover { background: rgba(245, 178, 27, .08); }
.btn .waves { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.btn-block { width: 100%; }

/* ---------- Marcador de media ---------- */
.media-slot {
  position: relative; width: 100%; overflow: hidden; border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px),
    #111;
  border: 1px dashed var(--gold-line);
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.media-slot .ms-inner { padding: 1rem; max-width: 92%; }
.media-slot .ms-icon { width: 34px; height: 34px; margin: 0 auto .6rem; color: var(--gold); opacity: .9; }
.media-slot .ms-file {
  font-family: var(--f-mono); font-size: .92rem; color: var(--gold-l); word-break: break-all; font-weight: 600;
}
.media-slot .ms-meta { margin-top: .35rem; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }
.media-slot .ms-orig { margin-top: .5rem; font-size: .72rem; color: rgba(255,255,255,.55); line-height: 1.4; }
.media-slot.is-small .ms-icon, .media-slot.is-small .ms-meta, .media-slot.is-small .ms-orig { display: none; }
.media-slot.is-small .ms-inner { padding: .2rem .5rem; }
.media-slot.is-small .ms-file { font-size: .62rem; }
.media-slot > img, .media-slot > video { width: 100%; height: 100%; object-fit: cover; }
.media-slot.has-src { border: 0; background: #111; }
.media-slot.is-logo { background: transparent; border-radius: 0; overflow: visible; }
.media-slot.is-logo > img { object-fit: contain; object-position: left center; }
.contact-logo .media-slot.is-logo > img { object-position: center; }

/* ---------- Vídeos (versão desktop / mobile) ---------- */
/* Mobile first: só a versão mobile aparece; a desktop nunca carrega */
.v-desktop { display: none !important; }
.vslot { position: relative; will-change: transform; }
.vslot .media-slot { aspect-ratio: var(--ar, 16 / 9); }
.vslot { width: 100vw; margin-left: calc(50% - 50vw); }
.vslot .v-mobile.has-src { border-radius: 0; border: 0; }
.vslot .v-mobile:not(.has-src) { width: calc(100% - 2 * var(--gutter)); margin: 0 auto; }
/* Computador: vídeos em ecrã completo — toda a largura e toda a altura útil
   (abaixo do cabeçalho; nos serviços, também abaixo da barra de serviços) */
@media (min-width: 768px) {
  .vslot .v-desktop {
    width: 100%; height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h));
    aspect-ratio: auto; border-radius: 0; border: 0;
  }
  .srv-video .vslot .v-desktop { height: calc(100svh - var(--header-h) - var(--srvnav-h, 58px)); }
  /* Vídeo sempre inteiro, na proporção certa e sem ampliar além da resolução (nítido).
     Em ecrãs mais largos que 16:9, as laterais ganham luz ambiente: a capa do
     próprio vídeo, desfocada e escurecida; as margens do vídeo fundem-se nela. */
  .vslot .v-desktop > video {
    position: relative; z-index: 1; object-fit: contain; object-position: center; background: transparent;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  }
  .v-ambient {
    position: absolute; inset: -80px; z-index: 0; background: #0A0A0A center / cover no-repeat;
    filter: blur(48px) brightness(.5) saturate(1.2); transform: scale(1.08); pointer-events: none;
  }
  .video-note { margin-top: 1rem; }
}
.media-slot.has-src > video { background: #0A0A0A; }
.v-sound {
  position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--gold-line); background: rgba(10,10,10,.7); color: var(--gold); display: grid; place-items: center; cursor: pointer;
}
.v-sound svg { width: 22px; height: 22px; }
.v-sound[aria-pressed="false"] .snd-on { opacity: .25; }
.video-note { margin-top: .9rem; }

/* ---------- Cortinas das transições entre secções ---------- */
.curtain {
  --p: -6%;
  position: absolute; top: 0; left: 0; right: 0; height: 100vh; height: 100svh; z-index: 40; pointer-events: none; contain: strict;
}
/* Cortinas suaves: uma onda escura com um brilho dourado ténue na frente (sem linha dura) */
.curtain.c-left   { background: linear-gradient(90deg,  transparent calc(var(--p) - 30%), rgba(245,178,27,.07) calc(var(--p) - 6%), #0A0A0A var(--p)); }
.curtain.c-right  { background: linear-gradient(270deg, transparent calc(var(--p) - 30%), rgba(245,178,27,.07) calc(var(--p) - 6%), #0A0A0A var(--p)); }
.curtain.c-up     { background: linear-gradient(0deg,   transparent calc(var(--p) - 30%), rgba(245,178,27,.07) calc(var(--p) - 6%), #0A0A0A var(--p)); }
.curtain.c-down   { background: linear-gradient(180deg, transparent calc(var(--p) - 30%), rgba(245,178,27,.07) calc(var(--p) - 6%), #0A0A0A var(--p)); }
.curtain.c-diag   { background: linear-gradient(112deg, transparent calc(var(--p) - 30%), rgba(245,178,27,.07) calc(var(--p) - 6%), #0A0A0A var(--p)); }
.curtain.c-iris-b { background: radial-gradient(circle farthest-corner at 50% 100%, transparent calc(var(--p) - 26%), rgba(245,178,27,.07) calc(var(--p) - 6%), #0A0A0A var(--p)); }
.curtain.c-iris-c { background: radial-gradient(circle farthest-corner at 100% 100%, transparent calc(var(--p) - 26%), rgba(245,178,27,.07) calc(var(--p) - 6%), #0A0A0A var(--p)); }

/* ---------- Loader ---------- */
#loader {
  position: fixed; inset: 0; z-index: 200; background: var(--black);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2rem;
}
.loader-brand { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 2.2rem; }
.loader-brand span { color: var(--gold); }
.loader-track { width: 180px; height: 2px; background: var(--line); overflow: hidden; }
#loader-bar { width: 0; height: 100%; background: var(--grad); }
#loader-percent { font-size: .75rem; letter-spacing: .2em; color: var(--gray); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 var(--gutter);
  transition: background-color .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled { background: rgba(10, 10, 10, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: block; width: 132px; text-decoration: none; }
.brand .media-slot { height: 40px; border-radius: 8px; }
.nav { display: none; }
.header-cta { display: none; }
.menu-toggle {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--gold-line);
  background: transparent; color: var(--white); display: grid; place-items: center; cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .3s ease;
}
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--black);
  display: flex; flex-direction: column; justify-content: center; gap: .4rem; padding: 0 var(--gutter);
  clip-path: circle(0% at calc(100% - 43px) 32px); transition: clip-path .6s cubic-bezier(.7, 0, .2, 1);
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 43px) 32px); }
.mobile-menu a.mm-link {
  font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 2.6rem; text-decoration: none; line-height: 1.15;
}
.mobile-menu a.mm-link:hover { color: var(--gold); }
.mobile-menu .btn { margin-top: 2rem; }

/* ---------- 01 TOPO ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.scroll-indicator {
  position: absolute; right: var(--gutter); bottom: 28px; z-index: 3; transition: opacity .4s ease; display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: .65rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gray); writing-mode: vertical-rl;
}
.scroll-indicator i { display: block; width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: drip 1.8s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Ondas de sinal (elemento gráfico do manual) */
.waves path { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.waves circle { fill: currentColor; }
.pulse path { animation: wave 1.6s ease-in-out infinite; }
.pulse path:nth-of-type(2) { animation-delay: .2s; }
@keyframes wave { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* ---------- 01 STAGE (vídeo + marquee + contadores) ---------- */
.stage { position: relative; height: 360vh; }
.stage-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.stage-media { position: absolute; inset: 0; clip-path: circle(0% at 50% 50%); }
.stage-media .media-slot { position: absolute; inset: 0; border-radius: 0; border: 0; height: 100%; }
.stage-media .seq { background: #0A0A0A; overflow: hidden; will-change: transform; }
.stage-media .seq canvas { display: block; width: 100%; height: 100%; }
.seq-poster { display: none; }
.seq-ph { position: absolute; inset: 0; }
.seq-ph .media-slot { transition: opacity .5s ease; }
.seq-ph .seq-b, .stage.at-b .seq-ph .seq-a { opacity: 0; }
.stage.at-b .seq-ph .seq-b { opacity: 1; }
.stage-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.55), rgba(10,10,10,.1) 40%, rgba(10,10,10,.75)); pointer-events: none; }
.marquee-wrap { position: absolute; left: 0; right: 0; bottom: 8vh; pointer-events: none; opacity: 0; }
.marquee-text {
  display: inline-block; white-space: nowrap; font-family: var(--f-display); font-style: italic; font-weight: 900;
  font-size: 22vw; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(245, 178, 27, .55);
}
.stage-block {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 9vh; opacity: 0; visibility: hidden;
  padding: 1.25rem 0;
}
/* Telemóvel: o texto fica por baixo da faixa de vídeo, alinhado à esquerda; sem marquee a competir */
@media (max-width: 767px) {
  .stage-block, .stage-block.align-right { text-align: left; }
  .stage-block h3 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .stage-block p { font-size: .98rem; }
  .marquee-wrap { display: none; }
  .scroll-indicator { bottom: 18px; }
}
.stage-block .section-label { margin-bottom: .6rem; }
.stage-block h3 { font-size: clamp(2.6rem, 12vw, 5.5rem); text-shadow: 0 4px 30px rgba(0,0,0,.6); }
.stage-block p { margin: .8rem 0 0; font-size: 1.05rem; color: var(--white); max-width: 30rem; text-shadow: 0 2px 16px rgba(0,0,0,.8); }
.price-number { font-family: var(--f-display); font-style: italic; font-weight: 900; color: var(--gold); }

/* ---------- 02 CICLO ---------- */
.ciclo { background: var(--black); padding: 96px 0 40px; overflow: hidden; }
.ciclo-head { position: relative; }
.ring-progress { width: 120px; height: 120px; margin-top: 2rem; }
.ring-progress circle { fill: none; stroke-width: 3; }
.ring-progress .rp-bg { stroke: var(--line); }
.ring-progress .rp-fg { stroke: url(#goldGrad); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; }
.ring-progress text { font-family: var(--f-display); font-style: italic; font-weight: 900; fill: var(--white); font-size: 22px; }
.ciclo-track { display: flex; flex-direction: column; gap: 16px; margin-top: 2.5rem; padding: 0 var(--gutter); }
.ciclo-panel {
  position: relative; background: var(--graphite); border-radius: var(--radius); padding: 1.75rem 1.5rem 1.6rem;
  border-top: 3px solid var(--gold); overflow: hidden;
}
.ciclo-panel .cp-n { font-family: var(--f-display); font-style: italic; font-weight: 900; color: var(--gold); font-size: 1rem; letter-spacing: .1em; }
.ciclo-panel h3 { font-size: clamp(2.4rem, 11vw, 4.2rem); margin: .3rem 0 .6rem; }
.ciclo-panel p { color: var(--soft); margin: 0 0 1rem; }
.ciclo-panel ul { list-style: none; padding: 0; margin: 0; }
.ciclo-panel li { padding: .35rem 0; font-weight: 600; }
.ciclo-panel li::before { content: "/ "; color: var(--gold); font-weight: 800; }
.ciclo-panel .cp-big {
  position: absolute; right: -.1em; bottom: -.25em; font-family: var(--f-display); font-style: italic; font-weight: 900;
  font-size: 9rem; line-height: 1; pointer-events: none;
  /* número de fundo com um leve dourado (gradiente da marca, discreto) */
  background: linear-gradient(135deg, rgba(255,212,92,.16), rgba(217,142,11,.07)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ciclo-cta { padding: 2.5rem var(--gutter) 0; max-width: var(--maxw); margin: 0 auto; }

/* ---------- 03 SERVIÇOS ---------- */
.servicos { background: var(--black); }
.srv-nav {
  position: sticky; top: var(--header-h); z-index: 20; margin: 2rem 0 0; padding: .7rem 0;
  background: rgba(10,10,10,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.srv-nav ul { display: flex; gap: .5rem; overflow-x: auto; list-style: none; margin: 0; padding: 0 var(--gutter); scrollbar-width: none; }
.srv-nav ul::-webkit-scrollbar { display: none; }
.srv-nav a {
  display: block; white-space: nowrap; text-decoration: none; font-size: .85rem; font-weight: 700;
  padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--line); color: var(--soft); transition: all .25s ease;
}
.srv-nav a.active { background: var(--grad); color: var(--black); border-color: transparent; }
.srv { padding: 72px 0 8px; scroll-margin-top: calc(var(--header-h) + 60px); }
.srv-head { display: grid; gap: 1.5rem; }
.srv-etapa { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.srv-title { font-size: clamp(2.4rem, 10vw, 5rem); margin: .5rem 0 0; }
.srv-desc { color: var(--soft); margin: 1rem 0 0; max-width: 36rem; }
.srv-payment { display: inline-block; margin-top: 1rem; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); }
.srv-hook {
  font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: clamp(1.5rem, 6vw, 2.6rem);
  line-height: 1.05; margin: .9rem 0 0;
}
.srv-video { margin-top: 0; }
.srv-video + .srv-head { margin-top: 2.2rem; }
.plans { display: grid; gap: 16px; margin-top: 2rem; }
.plan {
  position: relative; background: var(--graphite); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem; display: flex; flex-direction: column;
}
.plan.featured { border-color: var(--gold); background: linear-gradient(180deg, rgba(245,178,27,.1), var(--graphite) 45%); }
.plan-badge {
  position: absolute; top: -12px; right: 18px; background: var(--grad); color: var(--black); border-radius: 999px;
  font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: .3rem .8rem;
}
.plan h4 { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 2rem; margin: 0; line-height: 1; }
.plan-tag { color: var(--soft); font-size: .88rem; margin-top: .3rem; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem; margin-top: 1.2rem; }
.price-number { font-size: 3.4rem; line-height: 1; }
.price-unit { color: var(--soft); font-size: .9rem; font-weight: 700; }
.plan-freq { font-size: .8rem; color: var(--soft); margin-top: .3rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.plan ul { list-style: none; padding: 0; margin: 1.1rem 0 1.5rem; flex: 1; }
.plan li { position: relative; padding: .38rem 0 .38rem 1.4rem; font-size: .95rem; }
.plan li::before { content: ""; position: absolute; left: 0; top: .85rem; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.plan li.extra { color: var(--gold); font-weight: 700; }
.plan li.extra::before { content: "+"; width: auto; height: auto; background: none; top: .3rem; font-weight: 800; }
.srv-notes { margin-top: 1.25rem; display: grid; gap: .6rem; }
.srv-note { font-size: .88rem; color: var(--soft); border-left: 3px solid var(--gold); padding: .2rem 0 .2rem .9rem; margin: 0; }
.srv-includes { margin-top: 1.25rem; background: var(--graphite); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.srv-includes strong { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 1.2rem; display: block; margin-bottom: .6rem; }
.srv-includes span { display: inline-block; margin: .15rem 1rem .15rem 0; font-size: .92rem; }
.srv-includes span::before { content: "/ "; color: var(--gold); font-weight: 800; }
/* Extra (Hospedagem): uma linha discreta, não uma secção */
.srv-extra { margin-top: 56px; border-top: 1px solid var(--line); padding: 1rem 0 0; }
.srv-extra p { margin: 0; font-size: .92rem; color: var(--soft); line-height: 1.7; }
.srv-extra strong { color: var(--white); }
.srv-extra-tag { display: inline-block; margin-right: .7rem; padding: .1rem .55rem; border: 1px solid var(--gold-line); border-radius: 999px;
  font-size: .62rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); vertical-align: 1px; }
.srv-extra-link { margin-left: .6rem; color: var(--gold); font-weight: 800; text-decoration: none; white-space: nowrap; }
.srv-extra-link:hover { text-decoration: underline; }
.conditions { margin-top: 56px; border-top: 1px solid var(--line); padding-top: 56px; }
.conditions h3 { font-size: clamp(2.4rem, 10vw, 4.5rem); }
.conditions ul { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .2rem; }
.conditions li { padding: .75rem 0; border-bottom: 1px solid var(--line); }
.conditions li::before { content: "/ "; color: var(--gold); font-weight: 800; }

/* ---------- 04 PORTFÓLIO ---------- */
.portfolio { background: var(--black); overflow: hidden; }
.port-video { margin-top: 2.5rem; }
.port-strip { display: grid; gap: 16px; margin-top: 16px; }
.port-card { display: block; text-decoration: none; }
.port-card .media-slot { aspect-ratio: 16 / 9; }
.port-card .media-slot > img { transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.port-card:hover .media-slot > img { transform: scale(1.04); }
.port-link { display: inline-block; margin-top: .6rem; color: var(--gold); font-weight: 800; font-size: .9rem; }
.port-card h4 { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 1.4rem; margin: .9rem 0 .2rem; }
.port-card p { margin: 0; color: var(--gray); font-size: .85rem; }

/* ---------- 05 PROVA SOCIAL ---------- */
.prova { background: var(--black); overflow: hidden; }
.prova-grid { display: grid; gap: 28px; margin-top: 2.5rem; }
.proof { margin: 0; display: flex; gap: 1.1rem; align-items: center; background: var(--graphite); border-radius: var(--radius); padding: 1.4rem; }
.proof-ring {
  width: 76px; height: 76px; flex: none; border-radius: 50%; padding: 3px; background: var(--grad);
}
.proof-ring span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #111; color: var(--gold); font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 1.6rem; }
.proof blockquote { margin: 0; font-size: 1rem; }
.proof cite { display: block; margin-top: .4rem; font-style: normal; font-size: .8rem; color: var(--soft); }
.prova-video { margin-top: 2.5rem; }

/* ---------- 06 PROCESSO ---------- */
.processo { background: var(--black); }
.timeline { position: relative; margin-top: 3rem; padding-left: 34px; }
.timeline-line { position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline-line i { position: absolute; inset: 0; background: var(--grad); transform-origin: top; transform: scaleY(0); }
.step { position: relative; padding: 0 0 2.2rem; }
.step::before {
  content: ""; position: absolute; left: -31px; top: .55rem; width: 14px; height: 14px; border-radius: 50%;
  background: var(--black); border: 2px solid var(--gold);
}
.step .st-n { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 2.6rem; line-height: 1; color: var(--gold-d); }
.step h4 { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 1.6rem; margin: .2rem 0 .3rem; }
.step p { margin: 0; color: var(--soft); max-width: 26rem; }
.pillars { display: grid; gap: 16px; margin-top: 1.5rem; }
.pillar { background: var(--graphite); border-radius: var(--radius); padding: 1.5rem; }
.pillar h4 { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 1.5rem; margin: 0 0 .4rem; }
.pillar p { margin: 0; color: var(--soft); }
.processo-video { margin-top: 2.5rem; }

/* ---------- 07 FAQ ---------- */
.faq { background: var(--black); }
.faq-list { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.3rem 0; font-weight: 700; font-size: 1.08rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1.5px solid var(--gold); }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: var(--gold); transform: translate(-50%, -50%); transition: transform .3s ease; }
.faq-item summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { overflow: hidden; }
.faq-answer p { margin: 0; padding: 0 2.5rem 1.4rem 0; color: var(--soft); }

/* ---------- 08 CONTACTO ---------- */
.contacto { background: var(--black); overflow: hidden; padding-bottom: 120px; }
.contacto-waves { position: absolute; right: -40px; top: 40px; width: 220px; color: var(--gold); opacity: .18; }
.contacto .section-heading { font-size: clamp(3rem, 13vw, 9rem); }
.contacto-video { margin-top: 2.5rem; }
.contact-grid { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.contact-list li span:first-child { color: var(--gray); }
.contact-list li span:last-child, .contact-list li a:last-child { text-align: right; font-weight: 700; }
.contact-list a { color: var(--gold); text-decoration: none; }
.contact-logo .media-slot { aspect-ratio: 1 / 1; max-width: 220px; border-radius: 50%; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 110px; background: var(--black); }
.footer-grid { display: grid; gap: 1.5rem; }
.footer-brand .media-slot { height: 48px; max-width: 180px; border-radius: 8px; }
.footer-tag { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 1.5rem; margin: 0; }
.footer-small { font-size: .8rem; color: var(--gray); margin: 0; }
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; font-size: .9rem; }
.footer-links a { text-decoration: none; color: var(--soft); }
.footer-links a:hover { color: var(--gold); }

/* ---------- Música de fundo ---------- */
.music-btn {
  position: fixed; z-index: 96; left: var(--gutter); bottom: calc(max(14px, env(safe-area-inset-bottom)) + 66px);
  display: inline-flex; align-items: center; gap: .55rem; height: 40px; padding: 0 .9rem; border-radius: 999px;
  border: 1px solid var(--gold-line); background: rgba(10, 10, 10, .72); backdrop-filter: blur(8px);
  color: var(--soft); font: 700 .72rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
  transition: border-color .3s ease, color .3s ease;
}
.music-btn[hidden] { display: none; }
.music-btn.on { color: var(--gold); border-color: var(--gold); }
.music-btn .eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.music-btn .eq i { width: 2px; height: 3px; background: currentColor; border-radius: 1px; transition: height .3s ease; }
.music-btn.on .eq i { animation: eq 1s ease-in-out infinite; }
.music-btn.on .eq i:nth-child(2) { animation-delay: -.3s; }
.music-btn.on .eq i:nth-child(3) { animation-delay: -.6s; }
.music-btn.on .eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 14px; } }
@media (min-width: 768px) { .music-btn { left: 28px; bottom: 34px; } }
@media (prefers-reduced-motion: reduce) { .music-btn.on .eq i { animation: none; height: 9px; } }

/* ---------- Botão flutuante WhatsApp ---------- */
.wa-fab {
  position: fixed; z-index: 95; left: var(--gutter); right: var(--gutter); bottom: max(14px, env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 54px; border-radius: 999px;
  background: var(--grad); color: var(--black); font-weight: 800; text-decoration: none;
  box-shadow: 0 14px 34px -12px rgba(0,0,0,.8);
  transform: translateY(calc(100% + 48px)); transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.wa-fab.show { transform: translateY(0); }
.wa-fab.show.off { transform: translateY(calc(100% + 48px)); }
.wa-fab .waves { width: 20px; height: 20px; }

/* =====================================================================
   ≥ 768px — tablet / computador
   ===================================================================== */
@media (min-width: 768px) {
  :root { --gutter: 5vw; --header-h: 76px; }
  .section { padding: 140px 0; }
  .brand { width: 168px; }
  .brand .media-slot { height: 48px; }
  .section-body { font-size: 1.15rem; }


  /* Computador: só a versão desktop aparece; a mobile nunca carrega */
  .v-desktop { display: flex !important; }
  .v-mobile { display: none !important; }
  .stage { height: 560vh; }
  .marquee-text { font-size: 14vw; -webkit-text-stroke-color: rgba(245, 178, 27, .2); }
  /* Texto só nas zonas laterais (40%) — o centro fica para o vídeo */
  .stage-block { top: 50%; bottom: auto; transform: translateY(-50%); max-width: 40vw; }
  .stage-block.align-left { left: 5vw; right: auto; }
  .stage-block.align-right { right: 5vw; left: auto; text-align: right; }
  .stage-block.align-right p { margin-left: auto; }
  .stage-block h3 { font-size: clamp(4rem, 7vw, 7.5rem); }
  .processo-layout .section-heading, .faq-side .section-heading, .prova .section-heading { font-size: clamp(2.8rem, 5.2vw, 5.5rem); }

  .ciclo { padding: 140px 0 80px; }
  .ciclo-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; }
  .ring-progress { width: 180px; height: 180px; margin: 0; }
  .ciclo-panel { padding: 2.5rem 2.2rem; }

  .srv { padding: 110px 0 10px; }
  .srv-head { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 4rem; }
  .srv-video + .srv-head { margin-top: 3.5rem; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plans.n3 { grid-template-columns: repeat(3, 1fr); }
  .plans.n1 { grid-template-columns: minmax(0, 520px); }
  .conditions ul { grid-template-columns: 1fr 1fr; column-gap: 3rem; }

  .port-strip { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }

  .prova-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .proof { flex-direction: column; align-items: flex-start; }

  .processo-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5rem; align-items: end; }
  .processo-video, .prova-video, .contacto-video { margin-top: 3.5rem; }
  .pillars { grid-template-columns: repeat(3, 1fr); margin-top: 4rem; }
  .timeline { padding-left: 0; margin-top: 4rem; }
  .timeline-line { left: 50%; }
  .step { width: 50%; padding: 0 3.5rem 3rem 0; text-align: right; }
  .step p { margin-left: auto; }
  .step::before { left: auto; right: -8px; }
  .step.right { margin-left: 50%; padding: 0 0 3rem 3.5rem; text-align: left; }
  .step.right p { margin-left: 0; }
  .step.right::before { left: -6px; right: auto; }

  .faq-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
  .faq-list { margin-top: 0; }
  .faq-side { position: sticky; top: calc(var(--header-h) + 40px); }

  .contact-grid { grid-template-columns: 1.5fr 1fr; align-items: center; }
  .contacto-waves { width: 420px; right: 4vw; top: 80px; }

  .footer-grid { grid-template-columns: 1fr auto; align-items: end; }
  .wa-fab { left: auto; right: 28px; bottom: 28px; padding: 0 1.4rem; }
}

@media (min-width: 1100px) {
  .nav { display: flex; gap: 1.8rem; }
  .nav a { text-decoration: none; font-size: .9rem; font-weight: 600; color: var(--soft); position: relative; }
  .nav a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .3s ease; }
  .nav a:hover { color: var(--white); }
  .nav a:hover::after { transform: scaleX(1); transform-origin: left; }
  .header-cta { display: inline-flex; min-height: 44px; padding: .6rem 1.2rem; font-size: .88rem; }
  .menu-toggle { display: none; }

  /* Ciclo: secção fixa com percurso horizontal */
  .ciclo { padding-bottom: 0; }
  .ciclo-pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--header-h); }
  .ciclo-head { width: 100%; }
  .ciclo-track { flex-direction: row; gap: 24px; padding: 0 5vw; width: max-content; margin-top: 3rem; }
  .ciclo-panel { width: 38vw; min-height: 46vh; }
  .ciclo-panel .cp-big { font-size: 15rem; }
  .ciclo-cta { padding-top: 2rem; padding-bottom: 6rem; }
}

/* Movimento reduzido: tudo visível, sem scroll animado */
@media (prefers-reduced-motion: reduce) {
  .scroll-indicator i, .pulse path { animation: none; }
  .mobile-menu { transition: none; }
}
/* Sem GSAP ou com movimento reduzido (classe posta pelo app.js) */
.no-anim .stage { height: auto; }
.no-anim .stage-sticky { position: relative; height: auto; }
.no-anim .stage-media { position: relative; clip-path: none; height: 70vh; }
.no-anim .stage-block, .no-anim .marquee-wrap { position: relative; inset: auto; transform: none; opacity: 1; visibility: visible; max-width: none; padding: 2rem var(--gutter); text-align: left; }
.no-anim .no-anim .curtain { display: none; }
.no-anim .seq canvas { display: none; }
.no-anim .seq-poster { display: block; width: 100%; height: 100%; object-fit: contain; }
