/* PimentaPT · site do Pedro — folha de estilo.
   Pensada primeiro para o telemóvel, como a app. */
:root {
  --fundo:   #07080b;
  --fundo-2: #101218;
  --texto:   #f2f4f8;
  --texto-2: #8b95a7;
  --chama:   #ff4a1c;
  --fonte: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
/* Sem isto, TODAS as ligações saem no azul de fábrica do browser — a marca
   apareceu «Pimenta» azul e «PT» vermelho na primeira captura. */
a { color: inherit; text-decoration: none; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fonte); color: var(--texto); background: var(--fundo);
  -webkit-font-smoothing: antialiased;
}
.centro { padding: 2rem 1.5rem; max-width: 34rem; }
.marca {
  display: flex; align-items: center; gap: .625rem; margin-bottom: 2rem;
}
.marca-chama {
  width: 14px; height: 18px; flex: none; border-radius: 60% 60% 50% 50% / 70% 70% 40% 40%;
  background: linear-gradient(180deg, var(--chama), #ffb020);
}
.marca-nome { font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em; }
.marca-nome b { color: var(--chama); font-weight: 800; }
h1 {
  margin: 0 0 1rem; font-size: clamp(2rem, 9vw, 3.25rem);
  line-height: 1.05; letter-spacing: -.03em; font-weight: 800;
}
h1 em { font-style: normal; color: var(--chama); }
p { margin: 0; color: var(--texto-2); font-size: 1.0625rem; line-height: 1.55; }
.linha {
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid #1c2029;
  font-size: .8125rem; color: #5c6577;
}

/* ============================ ESTRUTURA DO SITE ========================== */
/* O corpo deixa de ser uma caixa centrada quando há página a sério. */
body { display: block; }

.topo {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1rem 1.25rem;
}
/* Num telemóvel o botão do topo não cabe ao lado da marca — e não faz falta:
   a mesma acção está em grande no meio do herói, a dois dedos do polegar. */
@media (max-width: 34rem) { .topo .btn { display: none; } }
.btn {
  display: inline-block; padding: .75rem 1.125rem; border-radius: 999px;
  font-size: .875rem; font-weight: 650; text-decoration: none; line-height: 1;
  border: 1px solid transparent; transition: border-color .15s, background .15s;
}
.btn-chama { background: var(--chama); color: #150500; font-weight: 750; }
.btn-chama:hover { background: #ff6b43; }
.btn-fantasma { border-color: #2a2f3a; color: var(--texto); }
.btn-fantasma:hover { border-color: #4a515f; }
.topo .btn-fantasma { padding: .5rem .875rem; font-size: .8125rem; }

/* --- herói --- */
/* Duas camadas empilhadas, não sobrepostas: o corpo em cima, o texto em baixo.
   Sobrepostos, o título tapava a figura e a figura sujava o título — os dois
   ao centro, a disputar o mesmo sítio. */
.heroi {
  min-height: 100svh; width: 100%;
  display: flex; flex-direction: column; overflow: hidden;
}
.heroi-palco { position: relative; flex: 1 1 46svh; min-height: 34svh; }
.heroi canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.heroi-texto {
  flex: 0 0 auto; text-align: center;
  /* `min-width: 0` e a largura em `min()` são o que impede a caixa de crescer
     com a frase mais comprida: sem isso a página ficava mais larga do que o
     telemóvel e os botões saíam pela direita. */
  width: 100%; min-width: 0; max-width: min(46rem, 100%);
  margin: 0 auto; padding: 0 1.5rem 3.5rem;
}
h1 {
  margin: 0 0 1rem; font-size: clamp(2rem, 7.5vw, 3.75rem);
  line-height: 1.03; letter-spacing: -.035em; font-weight: 800;
  text-wrap: balance;
}
h1 em { font-style: normal; color: var(--chama); }
.chamada {
  font-size: clamp(1rem, 3.4vw, 1.125rem);
  max-width: min(34rem, 100%); margin: 0 auto;
}
.heroi-accoes {
  display: flex; gap: .625rem; justify-content: center; flex-wrap: wrap;
  margin: 1.75rem 0 1rem;
}
.heroi-accoes .btn { max-width: 100%; }
.mini { font-size: .8125rem; color: #5c6577; }

/* --- faixas --- */
.faixa { max-width: 46rem; margin: 0 auto; padding: 6rem 1.5rem; }
.faixa h2 {
  margin: 0 0 1rem; font-size: clamp(1.75rem, 6vw, 2.75rem);
  line-height: 1.08; letter-spacing: -.03em; font-weight: 800;
}
.faixa h2 em { font-style: normal; color: var(--chama); }
.faixa p { font-size: 1.0625rem; }
.por-escrever { color: #5c6577; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
