/* fango.css: base, testata, apertura, righe, griglie. mobile first, si allarga a 768 / 960 / 1184 */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Figtree", -apple-system, "Segoe UI", Roboto, sans-serif; font-weight: 500; font-size: 16px; line-height: 22px; color: #191919; background: #fff; padding-bottom: 52px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; }
:focus-visible { outline: 2px solid #191919; outline-offset: 3px; }
.nascosto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* pillole: tutti i bottoni del sito */
.pillola { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 18px; border-radius: 9999px; border: 0; font: 800 14px/1 "Figtree", sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; }
.pillola-rossa { background: #e3290b; color: #fff; }
.pillola-rossa:hover { background: #c82206; }
.pillola-bianca { background: #fff; color: #191919; box-shadow: inset 0 0 0 1px #e4e4e4; }
.pillola-bianca:hover { background: #f1f1f1; }
.pillola-vuota { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.pillola-vuota:hover { background: rgba(255, 255, 255, .14); }
.freccia { font-weight: 800; font-size: 18px; color: #e3290b; text-decoration: none; }
.freccia::after { content: " \2192"; }
.freccia:hover { text-decoration: underline; }

/* testata */
.testa { position: absolute; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; }
.testa-menu ul { display: none; list-style: none; margin: 0; padding: 0; }
.testa-menu.aperto ul { display: block; position: absolute; top: 56px; left: 16px; right: 16px; background: #fff; border-radius: 16px; padding: 8px; box-shadow: 0 8px 24px rgba(25, 25, 25, .18); }
.testa-menu.aperto li a { display: block; padding: 12px 14px; text-decoration: none; font-weight: 800; border-radius: 10px; }
.testa-menu.aperto li a:hover { background: #fdf0ec; }
.menu-apri { min-height: 40px; padding: 0 16px; border-radius: 9999px; border: 0; background: rgba(255, 255, 255, .92); font: 800 14px "Figtree", sans-serif; cursor: pointer; }
.testa-telefono { display: none; }

/* apertura rossa */
.apertura { position: relative; background: #e3290b; color: #fff; text-align: center; padding: 84px 16px 40px; overflow: hidden; }
.apertura-foto { display: none; }
.apertura-centro { position: relative; z-index: 2; max-width: 520px; margin: 0 auto; }
.logo img { margin: 0 auto 14px; height: 30px; width: auto; filter: brightness(0) invert(1); }
.apertura h1 { font-size: 30px; line-height: 34px; letter-spacing: -.6px; text-transform: uppercase; }
.apertura-nota { font-size: 12px; line-height: 16px; margin: 6px 0 20px; font-weight: 500; }
.apertura-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: #191919; border-radius: 9999px; padding: 6px 12px; font-size: 12px; font-weight: 800; text-decoration: none; }
.chip svg { fill: none; stroke: #191919; stroke-width: 2; }

/* tre vie con disegni */
.tre-vie { padding: 48px 16px 24px; }
.tre-vie-griglia { display: grid; gap: 40px; max-width: 1080px; margin: 0 auto; }
.via { text-align: center; max-width: 300px; margin: 0 auto; }
.via-disegno { margin: 0 auto 14px; }
.via h2 { font-size: 26px; line-height: 30px; letter-spacing: -.4px; margin-bottom: 8px; }
.via p { margin: 0 0 10px; }
.d-ombra { fill: #dceef3; }
.d-rosso { fill: #e3290b; }
.d-gomma { fill: #191919; }
.d-cerchio { fill: #c4c4c4; }
.d-casco { fill: #fbd3c7; stroke: #191919; stroke-width: 2; }
.d-chiaro { fill: #fff; stroke: #191919; stroke-width: 2.5; }
.d-linea { fill: none; stroke: #191919; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.d-spunta { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* righe foto e testo */
.riga { padding: 40px 16px; }
.riga-rosa { background: #fdf0ec; }
.riga-dentro { display: grid; gap: 24px; max-width: 1160px; margin: 0 auto; }
.riga-testo h2 { font-size: 30px; line-height: 32px; letter-spacing: -.6px; }
.riga-testo h3 { font-size: 18px; line-height: 22px; margin-top: 14px; letter-spacing: -.2px; }
.riga-testo p { font-size: 14px; line-height: 20px; margin: 10px 0 0; }
.riga-testo .pillola { margin-top: 22px; }
.riga-foto { width: 100%; aspect-ratio: 40 / 29; object-fit: cover; background: #e9dcd6; }
.passi { margin: 14px 0 0; padding-left: 20px; font-size: 14px; line-height: 20px; }
.passi li { margin-bottom: 8px; padding-left: 4px; }

/* foto piena con testo sopra */
.sopra-foto { position: relative; min-height: 460px; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; }
.sopra-foto > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sopra-foto::before { content: ""; position: absolute; inset: 0; background: rgba(30, 30, 30, .6); z-index: 1; }
.sopra-foto-testo { position: relative; z-index: 2; max-width: 560px; padding: 56px 20px; }
.sopra-foto h2 { font-size: 30px; line-height: 32px; letter-spacing: -.6px; }
.sopra-foto h3 { font-size: 18px; margin-top: 12px; }
.sopra-foto p { font-size: 14px; line-height: 20px; margin: 10px 0 22px; }

/* quattro voci su rosa */
.titolo-centro { text-align: center; font-size: 24px; line-height: 28px; letter-spacing: -.3px; max-width: 420px; margin: 0 auto; }
.quattro { background: #fdf0ec; padding: 48px 16px 40px; }
.quattro-griglia { display: grid; gap: 36px; max-width: 1000px; margin: 32px auto 0; text-align: center; }
.quattro-voce h3 { font-size: 26px; line-height: 30px; letter-spacing: -.4px; }
.quattro-voce p { font-size: 14px; line-height: 20px; margin: 10px auto 18px; max-width: 440px; }
.quattro-voce .quattro-nota { font-size: 12px; margin-top: 12px; }

.gruppi { padding-top: 48px; }
.gruppi > .titolo-centro { margin-bottom: 8px; }
