/* IAMCLIMATE — stile comune. I colori della modalità notte sono in fondo (classi n1, n2 ...). */
@font-face{font-family:'Instrument Sans';src:url(fonts/instrument-sans.woff) format('woff');font-weight:400 700;font-style:normal;font-stretch:75% 100%;font-display:swap}
@font-face{font-family:'Instrument Sans';src:url(fonts/instrument-sans-italic.woff) format('woff');font-weight:400 700;font-style:italic;font-stretch:75% 100%;font-display:swap}
@font-face{font-family:'Nunito';src:url(fonts/nunito.woff) format('woff');font-weight:200 1000;font-style:normal;font-display:swap}
@font-face{font-family:'Nunito';src:url(fonts/nunito-italic.woff) format('woff');font-weight:200 1000;font-style:italic;font-display:swap}
@font-face{font-family:'Fredoka';src:url(fonts/fredoka.woff) format('woff');font-weight:300 700;font-stretch:75% 125%;font-display:swap}

html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:#0E1A26}
a{color:#2171B5}
a:hover{color:#08306B}
html[data-theme="dark"] a{color:#6BAED6}
html[data-theme="dark"] a:hover{color:#9ECAE1}
h1,h2,h3,p,li,dd,figcaption{text-wrap:pretty}
a[style*="border-radius: 999px"],button[style*="border-radius: 999px"],span[style*="border-radius: 999px"]{white-space:nowrap}
a[data-todo]{cursor:default}
.nw{white-space:nowrap}
:focus-visible{outline:3px solid #FB6A4A;outline-offset:3px}
[tabindex="-1"]:focus{outline:none}
.skip{position:absolute;left:-9999px;top:12px;z-index:1000;background:#FB6A4A;color:#0E1A26!important;padding:12px 20px;border-radius:999px;font:600 16px 'Instrument Sans',sans-serif;text-decoration:none}
.skip:focus{left:16px}
.theme-btn .ic-sun{display:none}
html[data-theme="dark"] .theme-btn .ic-sun{display:block}
html[data-theme="dark"] .theme-btn .ic-moon{display:none}
.m-open{display:none;width:44px;height:44px;flex-shrink:0;box-sizing:border-box;border-radius:999px;border:2px solid #FFFFFF;background:transparent;color:#FFFFFF;align-items:center;justify-content:center;padding:0;cursor:pointer}
#app-mob{display:none}
/* 16/11/2026 translations: IT · EN · FR — in the header on computers and tablets, in the menu on phones */
@media (max-width:600px){html.js header nav[data-lang-nav]{display:none!important}}
.m-lang{display:flex;gap:6px}
.m-lang a,.m-lang span{border:2px solid #FFFFFF;border-radius:999px;padding:8px 14px;font-weight:600;font-size:15px;color:#FFFFFF;text-decoration:none}
.m-lang span{background:#FFFFFF;color:#0E1A26}
/* 13/11/2026 (Rosa: "si possono animare anche i titoli delle altre pagine?"): page titles move like the Home one.
   site.js fixes the lines, then adds .tt-on; .tt-s = only narrower than at rest (when the widest shapes do not fit) */
@keyframes ttWord{0%,100%{font-variation-settings:'wdth' 120,'wght' 700}50%{font-variation-settings:'wdth' 78,'wght' 700}}
@keyframes ttWordS{0%,100%{font-variation-settings:'wdth' 100,'wght' 700}50%{font-variation-settings:'wdth' 78,'wght' 700}}
@keyframes ttPill{0%,100%{width:.4em}50%{width:1.9em}}
@keyframes ttPillS{0%,100%{width:.4em}50%{width:1.2em}}
h1.tt .tg,h1.tt-on,h1.tt-on *{white-space:nowrap}
/* 16/11/2026: see site.js "Testi che non stanno nel loro riquadro" */
.fit-1 .nw,.fit-1.nw{white-space:normal!important}
.fit-2,.fit-2 *{overflow-wrap:anywhere;hyphens:auto}
a[href^="mailto:"]{overflow-wrap:break-word}
h1.tt-free:not(.tt-on) .tg{white-space:normal}
h1.tt-on .tw1{animation:ttWord 3.4s ease-in-out infinite}
h1.tt-on .tw2{animation:ttWord 4.2s ease-in-out infinite}
h1.tt-on .tw3{animation:ttWord 3.8s ease-in-out -1.2s infinite}
h1.tt-on .tp1{animation:ttPill 3.4s ease-in-out infinite}
h1.tt-on .tp2{animation:ttPill 4.2s ease-in-out infinite}
h1.tt-on .tp3{animation:ttPill 3.8s ease-in-out -1.2s infinite}
h1.tt-on.tt-s .tw{animation-name:ttWordS}
h1.tt-on.tt-s .tp{animation-name:ttPillS}
h1.tt-max .tw{font-variation-settings:'wdth' 120,'wght' 700!important}
h1.tt-max .tp{width:1.9em!important}
@media (prefers-reduced-motion:reduce){h1.tt-on .tw,h1.tt-on .tp{animation:none}}
/* 13/11/2026 (Rosa: "è tutto molto grande"): on computers and tablets the whole page is shown at 85%,
   with the same proportions; phones unchanged */
@media (min-width:761px){
  #app,#app-desk{zoom:.85}
  /* the smallest texts (labels, menu, footer, captions) stay readable: one px more before the 85% */
  #app [style*="font-size: 13px"],#app-desk [style*="font-size: 13px"]{font-size:14px!important}
  #app [style*="font-size: 14px"],#app-desk [style*="font-size: 14px"]{font-size:15px!important}
  #app [style*="font-size: 15px"],#app-desk [style*="font-size: 15px"]{font-size:16px!important}
}
@media (max-width:760px){#app-desk{display:none}#app-mob{display:block}}
@media (max-width:1180px){
  html.js .m-open{display:flex}
  html.js header nav[data-mainnav]{display:none!important}
  [style*="grid-template-columns: repeat(5, minmax(0, 1fr))"]{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important}
}
/* tablets */
@media (max-width:1000px){
  .nw{white-space:normal}
  [style*="grid-template-columns: minmax(0, 5fr) minmax(0, 7fr)"],
  [style*="grid-template-columns: minmax(0, 7fr) minmax(0, 4fr)"],
  [style*="grid-template-columns: minmax(0, 4fr) minmax(0, 6fr)"],
  [style*="grid-template-columns: minmax(0, 3fr) minmax(0, 1fr)"]{grid-template-columns:minmax(0,1fr)!important}
  [style*="grid-template-columns: repeat(3, minmax(0, 1fr))"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
/* phones: one column, smaller type, less empty space */
@media (max-width:600px){html.js header [data-hdr-cta]{display:none!important}}
@media (max-width:760px){
  .nw{white-space:normal}
  [style*="grid-template-columns: 64px minmax(0, 1fr)"]{grid-template-columns:minmax(0,1fr)!important;gap:6px!important}
  [style*="grid-template-columns: repeat(2, minmax(0, 1fr))"],
  [style*="grid-template-columns: repeat(3, minmax(0, 1fr))"],
  [style*="grid-template-columns: repeat(5, minmax(0, 1fr))"],
  [style*="grid-template-columns: minmax(0, 340px) minmax(0, 1fr)"],
  [style*="grid-template-columns: minmax(0, 260px) minmax(0, 1fr)"],
  [style*="grid-template-columns: 190px minmax(0, 1fr) auto"],
  [style*="minmax(240px, 1fr)"],[style*="minmax(250px, 1fr)"],[style*="minmax(260px, 1fr)"],[style*="minmax(280px, 1fr)"],
  [style*="minmax(300px, 1fr)"],[style*="minmax(320px, 1fr)"],[style*="minmax(340px, 1fr)"],[style*="minmax(360px, 1fr)"],
  [style*="minmax(380px, 1fr)"],[style*="minmax(420px, 1fr)"],[style*="minmax(520px, 1fr)"]{grid-template-columns:minmax(0,1fr)!important}
  [style*="grid-template-columns: 190px minmax(0, 1fr) auto"]{gap:10px!important}
  [style*="grid-template-columns: auto minmax(0, 1fr) auto"]{grid-template-columns:auto minmax(0,1fr)!important}
  [style*="grid-template-columns: auto minmax(0, 1fr) auto"]>:nth-child(3){grid-column:1/-1;justify-self:start}
  .pj-side{float:none!important;width:auto!important;margin:0 0 40px!important}
  [style*="flex: 1 1 520px"],[style*="flex: 1 1 420px"],[style*="flex: 1 1 380px"],[style*="flex: 1 1 360px"],[style*="flex: 1 1 340px"]{flex-basis:100%!important}
  [style*="font-size: 76px"]{font-size:44px!important}
  [style*="font-size: 64px"]{font-size:40px!important}
  [style*="font-size: 47px"]{font-size:32px!important}
  [style*="font-size: 42px"]{font-size:30px!important}
  [style*="font-size: 38px"]{font-size:28px!important}
  [style*="font-size: 34px"]{font-size:26px!important}
  [style*="font-size: 29px"]{font-size:21px!important}
  [style*="font-size: 26px"]{font-size:20px!important}
  [style*="font-size: 24px"]{font-size:19px!important}
  [style*="padding-top: 112px"],[style*="padding-top: 120px"]{padding-top:72px!important}
  [style*="padding-bottom: 120px"],[style*="padding-bottom: 112px"]{padding-bottom:80px!important}
  [style*="padding-top: 96px"]{padding-top:64px!important}
  [style*="padding-top: 80px"]{padding-top:56px!important}
  [style*="border-radius: 48px"]{border-radius:32px!important}
  [style*="padding: 30px"]{padding:24px!important}
}
@media (max-width:400px){span[style*="border-radius: 999px"]{white-space:normal}}
/* menu for narrow screens */
.m-menu{position:fixed;inset:0;z-index:999;background:#0E1A26;color:#FFFFFF;overflow-y:auto;font-family:'Instrument Sans',sans-serif;-webkit-overflow-scrolling:touch}
.m-menu[hidden]{display:none}
.m-in{max-width:640px;margin:0 auto;box-sizing:border-box;padding:16px 20px 48px;min-height:100%;display:flex;flex-direction:column;gap:28px}
.m-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.m-top a{display:block;line-height:0}
.m-top img{width:56px;height:56px;display:block}
.m-close{width:48px;height:48px;border-radius:999px;border:2px solid #FFFFFF;background:transparent;color:#FFFFFF;display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer}
.m-nav{display:flex;flex-direction:column}
.m-nav a{color:#FFFFFF;text-decoration:none;font-family:'Nunito',sans-serif;font-weight:900;font-size:30px;line-height:1.15;letter-spacing:-0.01em;padding:11px 0;border-bottom:1px solid #2A3A4A}
.m-nav a[aria-current="page"]{color:#FB6A4A}
.m-nav a:hover{color:#FC9272}
.m-cta{align-self:flex-start;background:#FB6A4A;color:#0E1A26!important;text-decoration:none;border-radius:999px;padding:16px 28px;font-weight:600;font-size:17px;white-space:nowrap}
.m-cta:hover{background:#FC9272}
.m-small{display:flex;flex-direction:column;gap:8px;font-size:16px;color:#C6DBEF}
.m-small a{color:#FFFFFF}

/* modalità notte */
html[data-theme="dark"] .n1{color:#EAF2FA!important}
html[data-theme="dark"] .n2{background:#0B1621!important}
html[data-theme="dark"] .n3{background:#132B44!important}
html[data-theme="dark"] .n4{background:#1A3A5C!important}
html[data-theme="dark"] .n5{color:#9ECAE1!important}
html[data-theme="dark"] .n6{color:#A9B8C6!important}
html[data-theme="dark"] .n7{background:#EAF2FA!important}
html[data-theme="dark"] .n8{background:#EAF2FA!important;color:#0E1A26!important}
html[data-theme="dark"] .n9{background:#16283A!important}
html[data-theme="dark"] .n10{color:#0E1A26!important}
html[data-theme="dark"] .n11{background:#0B1621!important;border:2px solid #9ECAE1!important;color:#EAF2FA!important}
html[data-theme="dark"] .n12{background:#132B44!important;color:#EAF2FA!important}
html[data-theme="dark"] .n13{border:3px solid #1A3A5C!important}
html[data-theme="dark"] .n14{border:2px solid #1A3A5C!important}
html[data-theme="dark"] .n15{color:#C6D3DF!important}
html[data-theme="dark"] .n16{stroke:#A9B8C6!important}
html[data-theme="dark"] .n17{stroke:#9ECAE1!important}
html[data-theme="dark"] .n18{stroke:#132B44!important}
html[data-theme="dark"] .n19{fill:#A9B8C6!important}
html[data-theme="dark"] .n20{fill:#1A3A5C!important}
html[data-theme="dark"] .n21{fill:#EAF2FA!important}
html[data-theme="dark"] .n22{fill:#A9B8C6!important;stroke:#0B1621!important}
html[data-theme="dark"] .n23{fill:#0B1621!important}
html[data-theme="dark"] .n24{fill:#9ECAE1!important;stroke:#0B1621!important}
html[data-theme="dark"] .n25{fill:#9ECAE1!important}
html[data-theme="dark"] .n26{stroke:#EAF2FA!important}
html[data-theme="dark"] .n27{stroke:#0B1621!important}
html[data-theme="dark"] .n28{fill:#EAF2FA!important;stroke:#0B1621!important}
html[data-theme="dark"] .n29{border:2px solid #9ECAE1!important;color:#EAF2FA!important}
html[data-theme="dark"] .n30{background:#0B1621!important;color:#EAF2FA!important}
html[data-theme="dark"] .n31{border:2px solid #9ECAE1!important}
html[data-theme="dark"] .n32{background:#4A1C14!important}
html[data-theme="dark"] .n33{color:#FC9272!important}
html[data-theme="dark"] .n34{background:#0B1621!important;border:2px solid #1A3A5C!important}
html[data-theme="dark"] .n35{fill:#132B44!important}
html[data-theme="dark"] .n36{stroke:#1E4A73!important}
html[data-theme="dark"] .n37{background:#7A2418!important}
html[data-theme="dark"] .n38{background:#1E4A73!important}
html[data-theme="dark"] .n39{fill:#1E4A73!important}
html[data-theme="dark"] .n40{stroke:#2171B5!important}
html[data-theme="dark"] .n41{background:#1E4A73!important;color:#EAF2FA!important}
html[data-theme="dark"] .n42{border:2px solid #1A3A5C!important;color:#EAF2FA!important}
html[data-theme="dark"] .n43{border:2px solid #132B44!important;color:#EAF2FA!important}
