/* Vacancy Agent · coming soon
   Colori e font dal Branding Book Fiabilis / studio logo Vacancy Agent. */

@font-face { font-family: "Poppins"; src: url("../assets/fonts/poppins-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../assets/fonts/poppins-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../assets/fonts/poppins-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --dark-blue: #1D3061;   /* testo: 12,75:1 su bianco */
  --pink: #E7317C;        /* solo bordi e decorazioni */
  --light-pink: #FDEAF2;
  --grey-text: #5F6980;   /* testo secondario: 5,5:1 su bianco */
  --white: #FFFFFF;
  --gutter: clamp(24px, 8.3vw, 120px);
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--dark-blue);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  padding: clamp(48px, 10.7vh, 96px) var(--gutter) 32px;
  overflow: hidden;
}

.content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(24px, 3.5vh, 32px);
}

.brand { width: clamp(200px, 20vw, 277px); height: auto; display: block; }

.badge {
  margin: 0;
  padding: 6px 14px;
  border: 1px solid var(--pink);
  border-radius: 999px;
  background: var(--light-pink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 3.9vw + 8px, 56px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.lead {
  margin: 0;
  max-width: 560px;
  font-size: clamp(16px, 0.4vw + 14px, 18px);
  line-height: 1.6;
}

.footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 13px;
}

.footer__label { color: var(--grey-text); }
.footer__logo { width: 96px; height: auto; display: block; }

.footer__link {
  color: var(--dark-blue);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 6px 0;           /* area cliccabile più alta (target ≥ 24 px) */
}
.footer__link:hover { text-decoration-thickness: 2px; }
.footer__link:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 2px; }

/* simbolo decorativo in basso a destra */
.decor {
  position: absolute;
  right: -40px;
  bottom: -120px;
  width: clamp(280px, 50vw, 720px);
  height: auto;
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 600px) {
  .footer { flex-direction: column; align-items: flex-start; gap: 8px; }
  .decor { right: -60px; bottom: -60px; }
}
