/* imstudios.eu – stile unico del sito. Colori e caratteri dalla grafica approvata dell'app Immota. */
@font-face { font-family: "Cormorant Garamond"; src: url("caratteri/cormorant-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("caratteri/cormorant-500i.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("caratteri/cormorant-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("caratteri/manrope-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("caratteri/manrope-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("caratteri/manrope-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --inchiostro: #0E1621;
  --inchiostro2: #16202E;
  --inchiostro3: #1C2838;
  --pietra: #EAE4D8;
  --pietra2: #F4EEE3;
  --oro: #C08A2E;
  --oro2: #E2B866;
  --oro-scuro: #8A5A14;
  --muto: #A9A293;
  --testo-pietra: #3E434B;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --larghezza: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--inchiostro); color: var(--pietra); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
a { color: var(--oro2); text-underline-offset: 3px; }
a:hover { color: var(--pietra); }
:focus-visible { outline: 3px solid var(--oro2); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(40px, 6vw, 68px); }
h2 { font-size: clamp(32px, 4.2vw, 46px); }
h3 { font-size: 28px; }
p { margin: 0 0 1em; }
.cont { width: 100%; max-width: var(--larghezza); margin: 0 auto; padding: 0 24px; }
.nascosto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.salta { position: absolute; left: 12px; top: -60px; z-index: 20; padding: 10px 16px; border-radius: 10px; background: var(--oro2); color: var(--inchiostro); font-weight: 700; text-decoration: none; }
.salta:focus { top: 12px; }
.occhiello { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--oro2); margin-bottom: 14px; }

/* ---------------- barra in alto */
.barra { position: absolute; z-index: 7; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; max-width: calc(var(--larghezza) + 48px); margin: 0 auto; }
.marchio { display: flex; align-items: center; gap: 12px; color: var(--pietra); text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.marchio b { font-weight: 700; color: var(--oro2); }
.marchio:hover { color: var(--pietra2); }
.mono { width: 44px; height: auto; color: var(--pietra); }
.lingue ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 4px; border-radius: 999px; background: rgba(14, 22, 33, .55); border: 1px solid rgba(234, 228, 216, .16); }
.lingue a { display: block; min-width: 40px; min-height: 36px; padding: 8px 9px; border-radius: 999px; text-align: center; color: var(--pietra); text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .08em; line-height: 20px; }
.lingue abbr { text-decoration: none; }
.lingue a:hover { background: rgba(234, 228, 216, .12); }
.lingue a[aria-current] { background: var(--oro2); color: var(--inchiostro); }

/* ---------------- testata con paesaggio */
.eroe { position: relative; overflow: hidden; isolation: isolate; background: var(--inchiostro2); }
.scena { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.scena-stretta { display: none; }
.eroe-velo { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 22, 33, .55) 0%, rgba(14, 22, 33, .05) 34%, rgba(14, 22, 33, 0) 60%, rgba(14, 22, 33, .65) 88%, var(--inchiostro) 100%); }
.home .eroe { min-height: clamp(700px, 100vh, 860px); display: flex; }
.home .eroe-velo { background: radial-gradient(ellipse 46% 40% at 50% 42%, rgba(14, 22, 33, .5) 0%, rgba(14, 22, 33, 0) 100%), linear-gradient(180deg, rgba(14, 22, 33, .55) 0%, rgba(14, 22, 33, .05) 34%, rgba(14, 22, 33, 0) 60%, rgba(14, 22, 33, .65) 88%, var(--inchiostro) 100%); }
.home .eroe-testo { margin: auto; padding-top: 104px; padding-bottom: 260px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.logo { width: min(300px, 62vw); height: auto; margin-bottom: 26px; filter: drop-shadow(0 2px 18px rgba(14, 22, 33, .35)); }
.home .eroe h1 { max-width: 15ch; text-shadow: 0 2px 24px rgba(14, 22, 33, .45); }
.attacco { font-size: 18px; max-width: 34em; color: #E9E2D4; }
.home .attacco { text-shadow: 0 1px 12px rgba(14, 22, 33, .6); }
.azioni { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.home .azioni { justify-content: center; }
.bottone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 22px; border-radius: 14px; font-weight: 700; font-size: 15px; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s; }
.bottone.oro { background: var(--oro2); color: var(--inchiostro); }
.bottone.oro:hover { background: var(--pietra2); color: var(--inchiostro); }
.bottone.vuoto { border: 1px solid rgba(234, 228, 216, .35); color: var(--pietra); background: rgba(14, 22, 33, .6); }
.bottone.vuoto:hover { border-color: var(--oro2); color: var(--oro2); }

/* ---------------- scelta della lingua (solo pagina «/») */
.scelta { position: relative; z-index: 6; background: var(--inchiostro3); border-bottom: 1px solid rgba(234, 228, 216, .1); padding: 84px 0 18px; }
.scelta h2 { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--muto); margin-bottom: 10px; line-height: 1.5; }
.scelta ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.scelta a { display: block; padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(234, 228, 216, .25); color: var(--pietra); text-decoration: none; font-weight: 600; font-size: 15px; }
.scelta a:hover { border-color: var(--oro2); color: var(--oro2); }
.scelta + .eroe .eroe-testo { padding-top: 56px; }

/* ---------------- sezioni */
section.pietra, section.inchiostro, section.contatti { padding: clamp(64px, 9vw, 112px) 0; }
.pietra { background: var(--pietra); color: var(--inchiostro); }
.pietra .occhiello { color: var(--oro-scuro); }
.pietra p { color: var(--testo-pietra); }
.pietra a { color: var(--oro-scuro); }
.pietra a:hover { color: var(--inchiostro); }
.inchiostro { background: var(--inchiostro); }
.due { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 88px); align-items: start; }
.motto { margin-top: 1.4em; padding-left: 18px; border-left: 3px solid var(--oro); font-family: var(--serif); font-style: italic; font-size: 23px; line-height: 1.35; color: var(--inchiostro) !important; }

/* schede delle app */
.schede { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.scheda { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: var(--inchiostro2); border: 1px solid rgba(234, 228, 216, .1); }
.scheda-scena { position: relative; height: 210px; overflow: hidden; isolation: isolate; }
.scheda-scena .scena { z-index: -1; }
.icona-app { position: absolute; left: 24px; bottom: 20px; width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 8px 24px rgba(14, 22, 33, .45); border: 1px solid rgba(234, 228, 216, .25); }
.fiafia-fondo { background: radial-gradient(circle at 20% 20%, #FFB59F 0%, rgba(255, 181, 159, 0) 55%), linear-gradient(135deg, #FF8F7A 0%, #E59BB8 50%, #D7A6F0 100%); display: flex; align-items: flex-end; padding: 20px 24px; }
.icone-fiafia { display: flex; gap: 12px; }
.icone-fiafia img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 8px 20px rgba(60, 20, 40, .3); }
.scheda-corpo { padding: 26px 26px 30px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.scheda-corpo p { color: #D4CDBF; }
.scheda-corpo .bottone { margin-top: auto; }
.tipo { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--oro2) !important; margin-bottom: 6px; }
.scheda h3 { font-size: 38px; margin-bottom: 10px; }
.stato { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--pietra) !important; margin: 4px 0 22px; }
.punto { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--oro2); flex: none; }
.punto.pieno { background: var(--oro2); }

/* contatti */
.contatti { background: var(--inchiostro2); text-align: center; border-top: 1px solid rgba(234, 228, 216, .06); }
.contatti p { color: #D4CDBF; max-width: 34em; margin-left: auto; margin-right: auto; }
.email { font-family: var(--serif); font-size: clamp(28px, 4.4vw, 44px); font-weight: 600; color: var(--oro2); text-decoration: none; border-bottom: 1px solid rgba(226, 184, 102, .45); overflow-wrap: anywhere; }
.email:hover { color: var(--pietra); border-color: var(--pietra); }

/* ---------------- pagina Immota */
.eroe-app { min-height: 640px; }
.eroe-app-griglia { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; padding-top: 112px; padding-bottom: 72px; }
.icona-grande { width: 84px; height: 84px; border-radius: 20px; margin-bottom: 22px; border: 1px solid rgba(234, 228, 216, .25); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.eroe-app h1 { margin-bottom: .1em; }
.sotto { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 3vw, 30px); line-height: 1.25; color: var(--oro2); margin-bottom: .7em; }
.eroe-app .attacco { color: #DCD5C7; font-size: 17px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 20px 8px 16px; border-radius: 14px; border: 1px dashed rgba(234, 228, 216, .4); background: rgba(14, 22, 33, .55); color: rgba(234, 228, 216, .78); font-weight: 700; font-size: 17px; line-height: 1.15; cursor: not-allowed; }
.store > span { display: flex; flex-direction: column; }
.store small { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--oro2); }
.ico { width: 26px; height: 26px; flex: none; }
.telefono { justify-self: center; width: min(300px, 100%); padding: 10px; border-radius: 46px; background: #0A1019; border: 1px solid rgba(234, 228, 216, .18); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.telefono img { width: 100%; height: auto; border-radius: 36px; }

.galleria { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.galleria figure { margin: 0; }
.galleria img { width: 100%; height: auto; border-radius: 22px; border: 1px solid rgba(234, 228, 216, .14); background: var(--inchiostro2); }
.galleria figcaption { margin-top: 12px; font-size: 14px; line-height: 1.4; color: #D4CDBF; }
.nota { margin-top: 22px; font-size: 13px; color: var(--muto); }

.blocchi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 56px; margin-top: 34px; }
.blocco h3 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--oro-scuro); margin-bottom: 10px; line-height: 1.4; }
.spunte { list-style: none; padding: 0; margin: 0; }
.spunte li { position: relative; padding-left: 28px; margin-bottom: 8px; color: var(--testo-pietra); }
.spunte li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 12px; height: 7px; border-left: 2px solid var(--oro); border-bottom: 2px solid var(--oro); transform: rotate(-45deg); }
.inchiostro p { color: #D4CDBF; }

/* ---------------- privacy e termini */
.legale { background: var(--inchiostro); }
.testata-legale { position: relative; height: 260px; overflow: hidden; isolation: isolate; }
.documento { position: relative; max-width: 780px; margin: -96px auto 72px; padding: clamp(28px, 5vw, 64px); background: var(--pietra); color: var(--inchiostro); border-radius: 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.documento h1 { font-size: clamp(36px, 5vw, 52px); }
.documento h2 { font-size: 28px; margin-top: 1.6em; padding-top: .6em; border-top: 1px solid rgba(14, 22, 33, .12); }
.documento p, .documento li { color: var(--testo-pietra); font-size: 16.5px; }
.documento ul { padding-left: 1.3em; margin: 0 0 1em; }
.documento li { margin-bottom: .45em; }
.documento li::marker { color: var(--oro); }
.documento strong { color: var(--inchiostro); }
.documento a { color: var(--oro-scuro); overflow-wrap: anywhere; }
.documento a:hover { color: var(--inchiostro); }
.aggiornato { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(192, 138, 46, .14); color: var(--oro-scuro) !important; font-weight: 700; font-size: 14px !important; }
.briciole { font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.vedi { margin-top: 2.4em; padding-top: 1.2em; border-top: 1px solid rgba(14, 22, 33, .12); font-weight: 600; }

/* ---------------- 404 */
.eroe-404 { min-height: 100vh; display: flex; }
.eroe-404 .eroe-testo { margin: auto; padding: 72px 24px; text-align: center; max-width: 720px; }
.marchio-grande { display: inline-block; color: var(--pietra); margin-bottom: 24px; }
.marchio-grande .mono { width: 96px; }
.altre-lingue { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin-top: 28px; text-align: left; font-size: 15px; }
.altre-lingue h2 { font-size: 22px; margin-bottom: .2em; }
.eroe-404 .eroe-velo { background: rgba(14, 22, 33, .6); }

/* ---------------- piede */
.piede { background: #0A1019; border-top: 1px solid rgba(234, 228, 216, .08); padding: 48px 0 36px; font-size: 14px; color: var(--muto); }
.piede-griglia { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 28px; align-items: start; }
.piede-marchio { display: flex; align-items: center; gap: 12px; color: var(--pietra); text-decoration: none; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
.piede-marchio .mono { width: 40px; }
.piede ul { list-style: none; margin: 0; padding: 0; }
.piede li { margin-bottom: 6px; }
.piede a { color: #D4CDBF; text-decoration: none; }
.piede a:hover { color: var(--oro2); text-decoration: underline; }
.piede-note { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(234, 228, 216, .08); font-size: 12.5px; line-height: 1.6; }
.piede-note p { margin-bottom: .4em; color: #8F8A7E; }

/* ---------------- telefono e tablet */
@media (max-width: 960px) {
  .galleria { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .galleria figure { scroll-snap-align: start; }
  .eroe-app-griglia { grid-template-columns: 1fr; padding-bottom: 56px; }
  .telefono { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .barra { padding: 14px 16px; }
  .marchio span { display: none; }
  .mono { width: 38px; }
  .lingue a { min-width: 36px; padding: 8px 6px; }
  .cont { padding: 0 20px; }
  .scena-larga { display: none; }
  .scena-stretta { display: block; }
  .home .eroe { min-height: 0; }
  .home .eroe-testo { padding-top: 84px; padding-bottom: 300px; }
  .logo { width: 210px; margin-bottom: 18px; }
  .home .eroe h1 { font-size: 40px; }
  .attacco { font-size: 16.5px; }
  .due, .schede, .blocchi { grid-template-columns: 1fr; }
  .eroe-app-griglia { padding-top: 92px; }
  .eroe-app .scena-stretta { opacity: .55; }
  .galleria { grid-auto-columns: 64%; gap: 14px; }
  .piede-griglia { grid-template-columns: 1fr; }
  .testata-legale { height: 200px; }
  .documento { margin: -88px 12px 48px; border-radius: 20px; }
  .documento p, .documento li { font-size: 16px; }
  .altre-lingue { grid-template-columns: 1fr; }
  .scelta { padding-top: 76px; }
  .store { flex: 1 1 100%; }
}
