/* eumovia · coming soon
   Colori e caratteri dalla Tavola d'identità v2 (dicembre 2026).
   Sfondo: sfumatura Seta con velatura scura, così i testi bianchi restano sopra 4,5:1 (WCAG 2.2 AA). */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/manrope-500-v5.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-400-v4.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/inter-500-v4.woff2") format("woff2");
}

:root {
  --teal: #0E6E6B;
  --ghiaccio: #F5F5F7;
  --teal-chiaro: #D5ECEA;
  --menta-chiaro: #9FE5D1;
  --linea: rgba(255, 255, 255, .32);
  --bar: 104px;
  --pad: max(20px, 4vw);
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--ghiaccio);
  background-color: #0A4C4A;
  background-image:
    linear-gradient(180deg, rgba(6, 42, 40, .62) 0%, rgba(6, 42, 40, .56) 45%, rgba(5, 36, 34, .78) 100%),
    url("/assets/img/sfumatura-seta.jpg");
  background-size: cover;
  background-position: center;
  font: 400 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2 {
  margin: 0;
  font-family: Manrope, Inter, Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -.02em;
  text-wrap: balance;
}
p { margin: 0; }

/* Griglia del marchio: una linea orizzontale sotto l'intestazione, una verticale tra i due campi. */
.page {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: var(--bar) auto 1fr auto;
  grid-template-areas: "brand" "side" "content" "foot";
  padding-inline: var(--pad);
}
.grid-h {
  position: absolute;
  inset-inline: 0;
  top: var(--bar);
  height: 1px;
  background: var(--linea);
}

.brand { grid-area: brand; display: flex; align-items: center; }
.logo { display: block; height: 32px; width: auto; }

.side { grid-area: side; padding-top: 40px; }
.label {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--menta-chiaro);
}
.side-note { margin-top: 6px; font-size: 15px; color: var(--teal-chiaro); }

/* Allineatore: nel campo sinistro su desktop, sopra il titolo su mobile. Non tocca mai i testi. */
.product { display: block; padding-top: 28px; }
.product img { display: block; width: min(78%, 340px); height: auto; filter: drop-shadow(0 24px 40px rgba(2, 30, 28, .35)); }

.content { grid-area: content; padding-block: 32px 56px; }
h1 { font-size: clamp(44px, 11vw, 104px); line-height: 1.02; max-width: 12ch; }
.lead { margin-top: 20px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--teal-chiaro); max-width: 40ch; }

.audience { display: grid; gap: 16px; margin-top: clamp(40px, 6vw, 72px); max-width: 880px; }
.card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 24px;
  border: 1px solid var(--linea);
  border-radius: 20px;
  background: rgba(6, 42, 40, .38);
}
.card h2 { font-size: 22px; line-height: 1.2; }
.card p { font-size: 16px; color: var(--teal-chiaro); }

.cta {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ghiaccio);
  color: var(--teal);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.cta:hover { background: #fff; text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--menta-chiaro); outline-offset: 3px; }

.foot {
  grid-area: foot;
  display: grid;
  gap: 4px;
  padding-block: 20px 28px;
  border-top: 1px solid var(--linea);
  font-size: 14px;
  color: var(--teal-chiaro);
}
.foot span { white-space: nowrap; }

@media (min-width: 640px) {
  .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  :root { --bar: 112px; }
  .logo { height: 38px; }
  .page {
    grid-template-columns: minmax(0, 29fr) minmax(0, 71fr);
    grid-template-rows: var(--bar) 1fr auto;
    grid-template-areas: "side brand" "side content" "foot foot";
  }
  .brand, .content { padding-left: clamp(24px, 3vw, 48px); border-left: 1px solid var(--linea); }
  .side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 24px 56px 0;
  }
  .label { line-height: var(--bar); }
  .product { order: 1; padding: 0; }
  .side-note { order: 2; }
  .product img { width: 100%; max-width: 360px; max-height: 42vh; object-fit: contain; object-position: left center; }
  .side-note { max-width: 16ch; }
  .content { display: flex; flex-direction: column; justify-content: flex-end; padding-block: 72px 56px; }
}

@media (forced-colors: active) {
  .card, .foot { border-color: CanvasText; }
  .cta { border: 1px solid LinkText; }
}

@media print {
  body { background: #fff; color: #1D1D1F; }
  .label, .side-note, .lead, .card p, .foot { color: #1D1D1F; }
  .cta { background: none; color: var(--teal); padding: 0; }
}

.inline { color: var(--menta-chiaro); text-underline-offset: 3px; }
.brand a { display: inline-block; border-radius: 4px; }
