/* Braslev v0.7 — homepage completa (secções após a viagem partilhada) */
.m { overflow: hidden; }
.ticks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--tinta-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .52em; width: 14px; height: 2px; background: var(--amarelo-esc); }
.nota-fina { font-size: 13px; color: var(--tinta-3); letter-spacing: .01em; }

/* ---- viagem: fases em HTML (telemóvel), ecrã inteiro ---- */
.vid-ecra { display: none; position: absolute; right: 62px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(15,16,18,.55); backdrop-filter: blur(6px); cursor: pointer; place-items: center; }
.vid-ecra i { width: 14px; height: 14px; border: 2px solid #fff; border-radius: 3px; }
.vid-ecra:hover, .vid-ecra:focus-visible { background: var(--amarelo); border-color: var(--amarelo); }
.vid-ecra:hover i, .vid-ecra:focus-visible i { border-color: var(--tinta); }
.viagem-fases { display: none; list-style: none; margin: 18px auto 0; padding: 0; max-width: 1500px; gap: 10px; }
.viagem-fases li { display: flex; gap: 12px; align-items: baseline; color: rgba(255,255,255,.45); font-size: 17px; line-height: 1.35; transition: color .4s; }
.viagem-fases li b { flex: 0 0 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; box-shadow: inset 0 0 0 1.5px currentColor; transition: background .4s, color .4s; }
.viagem-fases li.ativo { color: #fff; }
.viagem-fases li.ativo b { background: var(--amarelo); color: var(--noite); box-shadow: none; }

/* ---- como funciona ---- */
.como { position: relative; z-index: 2; background: var(--papel); padding: clamp(80px, 11vw, 170px) var(--gut) clamp(60px, 8vw, 130px); }
.como::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(var(--linha-c) 1px, transparent 1px), linear-gradient(90deg, var(--linha-c) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(#000, transparent 70%); mask-image: linear-gradient(#000, transparent 70%); }
.como-cab { position: relative; max-width: 1500px; margin: 0 auto clamp(48px, 7vw, 110px); }
.como-cab h2 { font-size: clamp(54px, 9vw, 150px); font-weight: 830; font-stretch: 62%; line-height: .9; letter-spacing: -0.015em; margin: 16px 0 18px; }
.como-cab p:last-child { color: var(--tinta-2); font-size: clamp(17px, 1.5vw, 22px); }
.passos { position: relative; list-style: none; max-width: 1500px; margin: 0 auto; padding: 0; display: grid; gap: clamp(56px, 9vw, 140px); }
.passos-linha { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; translate: -1px 0; background: var(--linha-c); }
.passos-linha i { position: absolute; inset: 0; background: var(--amarelo); transform: scaleY(0); transform-origin: 50% 0; }
.passo { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 9vw, 150px); align-items: center; }
.passo::before { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; translate: -50% -50%; border-radius: 50%; background: var(--papel); box-shadow: inset 0 0 0 3px var(--tinta); transition: background .4s, box-shadow .4s, scale .4s var(--ease); z-index: 1; }
.passo.ativo::before { background: var(--amarelo); box-shadow: inset 0 0 0 3px var(--tinta), 0 0 0 7px rgba(225,198,34,.28); scale: 1.25; }
.passo:nth-child(odd) .passo-txt { order: 2; }
.passo-img { margin: 0; aspect-ratio: 4 / 3; border-radius: clamp(14px, 2vw, 28px); overflow: hidden; clip-path: inset(0 0 0 0 round 24px); background: var(--papel-2); }
.passo-img img { width: 100%; height: 100%; object-fit: cover; display: block; transform-origin: 50% 50%; }
.passo-n { display: block; font-size: clamp(72px, 9vw, 150px); font-weight: 840; font-stretch: 62%; line-height: .85; color: transparent; -webkit-text-stroke: 2px var(--tinta); margin-bottom: 14px; transition: color .5s; }
.passo.ativo .passo-n { color: var(--amarelo); -webkit-text-stroke-color: var(--tinta); }
.passo-txt h3 { font-size: clamp(34px, 3.6vw, 60px); font-weight: 820; font-stretch: 64%; line-height: .96; margin-bottom: 14px; }
.passo-txt p { color: var(--tinta-2); font-size: clamp(16px, 1.3vw, 19px); max-width: 26em; }

/* ---- serviços (continuação de .depois) ---- */
.servicos { max-width: 1500px; margin: clamp(56px, 7vw, 110px) auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); }
.serv { background: var(--papel-2); border-radius: clamp(14px, 2vw, 28px); padding: clamp(24px, 3.4vw, 52px); display: flex; flex-direction: column; align-items: flex-start; }
.serv-emp { background: var(--tinta); color: var(--branco); }
.serv-emp .ticks li { color: rgba(255,255,255,.78); } .serv-emp .ticks li::before { background: var(--amarelo); }
.serv-emp .eyebrow { color: var(--amarelo); } .serv-emp .btn-escuro { background: var(--amarelo); color: var(--noite); } .serv-emp .btn-escuro::before { background: var(--branco); }
.serv h3 { font-size: clamp(30px, 3vw, 48px); font-weight: 820; font-stretch: 64%; line-height: .98; margin: 14px 0 24px; max-width: 14em; }
.serv .btn { margin-top: auto; }
.servicos + .nota-fina { max-width: 1500px; margin: 18px auto 0; }

/* ---- Portugal e Espanha ---- */
.cobertura { position: relative; z-index: 2; background: var(--noite); color: var(--branco); overflow: hidden; padding: clamp(80px, 10vw, 160px) var(--gut); }
.cob-bg { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; opacity: .32; }
.cob-veu { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,16,18,.92) 0%, rgba(15,16,18,.6) 55%, rgba(15,16,18,.85) 100%), linear-gradient(0deg, var(--noite), transparent 30%); }
.cob-grelha { position: relative; max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.cob-txt .eyebrow { color: var(--amarelo); }
.cob-txt h2 { font-size: clamp(46px, 6.6vw, 112px); font-weight: 830; font-stretch: 62%; line-height: .92; letter-spacing: -0.012em; margin: 16px 0 24px; }
.cob-txt h2 .amarelo { color: var(--amarelo); }
.cob-txt > p:not(.eyebrow):not(.nota-fina) { color: rgba(255,255,255,.76); max-width: 30em; margin-bottom: 30px; }
.cob-txt .nota-fina { color: rgba(255,255,255,.5); margin-top: 22px; }
.mapa { position: relative; border-radius: clamp(14px, 2vw, 28px); background: radial-gradient(70% 70% at 40% 40%, rgba(31,34,38,.92), rgba(15,16,18,.92)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); padding: clamp(16px, 3vw, 36px); }
.mapa svg { width: 100%; height: auto; display: block; }
.mapa .iberia { fill: #1c1e22; stroke: rgba(241,240,235,.25); stroke-width: 1.5; }
.mapa .iberia-dots { fill: url(#dots); }
.mapa .pt { fill: url(#ptfill); stroke: rgba(225,198,34,.5); stroke-width: 1.2; }
.mapa .link { fill: none; stroke: var(--amarelo); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 6 9; opacity: .9; animation: tracejado 2.4s linear infinite; }
.mapa .node { fill: var(--noite); stroke: var(--amarelo); stroke-width: 3; transform-box: fill-box; transform-origin: center; }
.mapa .map-label { fill: rgba(241,240,235,.5); font: 700 14px "Archivo", sans-serif; letter-spacing: .3em; }
@keyframes tracejado { to { stroke-dashoffset: -60; } }
.mapa-selo { position: absolute; top: 16px; right: 16px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }

/* ---- orçamento ---- */
.orcamento { position: relative; z-index: 2; background: var(--papel); padding: clamp(80px, 10vw, 160px) var(--gut); }
.orc-grelha { max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: minmax(280px, .72fr) 1.3fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.orc-aside { position: sticky; top: 110px; }
.orc-aside h2 { font-size: clamp(40px, 4.6vw, 76px); font-weight: 830; font-stretch: 62%; line-height: .94; margin: 16px 0 22px; }
.orc-aside > p { color: var(--tinta-2); margin-bottom: 26px; max-width: 24em; }
.orcamento .qform { margin: 0; }
.qform .btn { background-clip: padding-box; }

/* ---- internacional (discreto) ---- */
.intl { position: relative; z-index: 2; background: var(--papel-2); padding: clamp(40px, 5vw, 72px) var(--gut); display: grid; grid-template-columns: auto 1fr auto; gap: 8px clamp(20px, 4vw, 64px); align-items: center; max-width: none; }
.intl .eyebrow { grid-column: 1 / -1; }
.intl h3 { font-size: clamp(26px, 2.6vw, 40px); font-weight: 800; font-stretch: 70%; }
.intl p { color: var(--tinta-2); max-width: 38em; }
.link-seta { display: inline-flex; gap: 10px; font-weight: 650; color: var(--tinta); text-decoration: none; box-shadow: inset 0 -2px 0 var(--amarelo); padding-bottom: 2px; }
.link-seta::after { content: "→"; transition: transform .3s var(--ease); } .link-seta:hover::after { transform: translateX(5px); }

/* ---- FAQ ---- */
.faq { position: relative; z-index: 2; background: var(--papel); padding: clamp(70px, 9vw, 140px) var(--gut); }
.faq-grelha { max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(28px, 6vw, 100px); }
.faq h2 { font-size: clamp(44px, 5.4vw, 88px); font-weight: 830; font-stretch: 62%; line-height: .92; margin-top: 16px; }
.faq-lista details { border-top: 1.5px solid var(--tinta); }
.faq-lista details:last-child { border-bottom: 1.5px solid var(--tinta); }
.faq-lista summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 0; font-size: clamp(19px, 1.7vw, 26px); font-weight: 700; font-stretch: 85%; }
.faq-lista summary::-webkit-details-marker { display: none; }
.faq-lista summary::after { content: ""; flex: 0 0 18px; height: 18px; background: linear-gradient(var(--tinta), var(--tinta)) center / 100% 2px no-repeat, linear-gradient(var(--tinta), var(--tinta)) center / 2px 100% no-repeat; transition: transform .45s var(--ease); }
.faq-lista details[open] summary::after { transform: rotate(135deg); }
.faq-lista summary:hover { color: var(--amarelo-esc); }
.faq-lista summary:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 4px; }
.faq-lista details p { padding: 0 40px 26px 0; color: var(--tinta-2); max-width: 40em; animation: abrir .5s var(--ease); }
@keyframes abrir { from { opacity: 0; transform: translateY(-8px); } }

.rodape nav { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-left: auto; }
.rodape nav a { color: rgba(255,255,255,.75); text-decoration: none; } .rodape nav a:hover { color: var(--amarelo); }
.rodape-legal { flex-basis: 100%; font-size: 13px; opacity: .6; }
.btn:focus-visible, .qs:focus-visible, .field input:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 3px; }

/* ===================== telemóvel ===================== */
@media (max-width: 900px) {
  /* trilho passa a barra de progresso fina no topo (já não se sobrepõe aos vídeos) */
  .trilho { top: 0; left: 0; right: 0; height: 3px; translate: none; z-index: 70; mix-blend-mode: normal; }
  .trilho ul { display: none; }
  .trilho-linha { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 3px; background: rgba(255,255,255,.12); }
  .trilho-linha i { height: 100% !important; width: 0; background: var(--amarelo); }
  /* viagem: vídeo de bordo a bordo + fases legíveis em HTML + ecrã inteiro */
  .cena-viagem .cena-video { margin-inline: calc(var(--gut) * -1); border-radius: 0; box-shadow: none; max-width: none; }
  .vid-ecra { display: grid; right: 66px; width: 44px; height: 44px; }
  .viagem-fases { display: grid; }
  .passos-linha { left: 15px; } .passo::before { left: 15px; top: 14px; }
  .passo { grid-template-columns: 1fr; gap: 20px; padding-left: 44px; align-items: start; }
  .passo:nth-child(odd) .passo-txt { order: 0; }
  .passo-txt { order: -1; }
  .passo-n { font-size: 64px; -webkit-text-stroke-width: 1.5px; }
  .servicos { grid-template-columns: 1fr; }
  .cob-grelha, .orc-grelha, .faq-grelha { grid-template-columns: 1fr; }
  .orc-aside { position: static; }
  .intl { grid-template-columns: 1fr; }
  .faq-lista details p { padding-right: 0; }
}
