/* FUNAE — Landing QR Code
   Cores oficiais (aprox. ecrã a partir da paleta CMYK/Pantone) */
:root {
  --yellow: #ffef00;
  --orange: #ff6600;
  --orange-deep: #f24c00;
  --navy: #001a6b;
  --navy-deep: #00124d;
  --text: #001a6b;
  --muted: #3a4a6b;
  --bg: #ffffff;
  --bg-soft: #fff8f2;
  --shadow: 0 8px 20px rgba(0, 26, 107, 0.12);
  --radius: 1.15rem;
  --max: 26rem;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(120% 80% at 50% -10%, #ffe8d4 0%, transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
  background-attachment: fixed;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 1.75rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-top: 0.35rem;
}

.header picture {
  display: block;
  width: 100%;
  text-align: center;
}

.logo {
  width: min(100%, 17.5rem);
  margin-inline: auto;
  animation: rise 0.55s ease-out both;
}

.intro {
  text-align: center;
  margin: 1.6rem 0 1.35rem;
  animation: rise 0.55s ease-out 0.08s both;
}

.intro h1 {
  margin: 0;
  font-size: clamp(1.2rem, 4.6vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.rule {
  width: 2.75rem;
  height: 3px;
  margin: 0.7rem auto 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--orange-deep));
}

.actions {
  display: grid;
  gap: 0.9rem;
  animation: rise 0.55s ease-out 0.16s both;
}

.btn {
  --btn: var(--orange);
  position: relative;
  display: grid;
  grid-template-columns: 2.65rem 1fr 1.25rem;
  align-items: center;
  gap: 0.85rem;
  min-height: 4.15rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: var(--btn);
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--btn) 45%, #fff);
  outline-offset: 3px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 26, 107, 0.16);
  filter: brightness(1.03);
}

.btn:active {
  transform: translateY(0);
}

.btn--pagina {
  --btn: var(--orange-deep);
  background: linear-gradient(135deg, #ff7a1a 0%, var(--orange-deep) 100%);
}

.btn--projectos {
  --btn: var(--navy);
  background: linear-gradient(135deg, #12308a 0%, var(--navy-deep) 100%);
}

.btn--oportunidades {
  --btn: #e8a400;
  background: linear-gradient(135deg, #ffc933 0%, #e09500 100%);
  color: #fff;
}

.btn__icon {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
}

.btn__icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn__label {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: left;
}

.btn__chevron {
  width: 1.1rem;
  height: 1.1rem;
  justify-self: end;
  opacity: 0.95;
}

.footer {
  margin-top: auto;
  padding-top: 2rem;
  text-align: center;
  animation: rise 0.55s ease-out 0.24s both;
}

.slogan {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
}

.contacts {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
  justify-items: center;
}

.contacts a,
.contacts span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.35;
}

.contacts a:hover {
  color: var(--orange-deep);
}

.badge {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.badge svg {
  width: 0.82rem;
  height: 0.82rem;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.badge--orange {
  background: var(--orange-deep);
}

.badge--navy {
  background: var(--navy);
}

.note {
  margin: 1.25rem 0 0;
  font-size: 0.72rem;
  color: #8a94a8;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 480px) {
  .page {
    padding-top: 2.25rem;
  }

  .logo {
    width: 19rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
