/* Stili condivisi da index.html e privacy.html */

/* IBM Plex Sans ospitato in locale (nessuna richiesta a Google Fonts) — licenza in fonts/OFL.txt */
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'IBM Plex Sans';
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/ibm-plex-sans-latin-500-italic.woff2') format('woff2');
}

@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/ibm-plex-sans-latin-700-normal.woff2') format('woff2');
}

:root {
    --blu-officina: #09283E;
    --avorio-carta: #F3E6D2;
    --arancio-meccanica: #D15A23;
    --arancio-hover: #B84B1B;
    --verde-archivio: #193D09;
    --nero-antracite: #232323;
    --grigio-testo: #4A5568;
    --bianco-puro: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'IBM Plex Sans', sans-serif;
}

body {
    background-color: var(--avorio-carta);
    color: var(--nero-antracite);
    line-height: 1.6;
}

/* Fascia Arancione decorativa */
.stripe-bar {
    height: 8px;
    width: 100%;
    background-color: var(--arancio-meccanica);
}

/* Bande colorate (blu, arancio, verde) separate da sottili spazi avorio, come in "Bande _Colorate.png" */
.bands {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 2px 0;
    background-color: var(--avorio-carta);
}

.bands span {
    display: block;
    height: 10px;
}

.bands span:nth-child(1) {
    background-color: var(--blu-officina);
}

.bands span:nth-child(2) {
    background-color: var(--arancio-meccanica);
}

.bands span:nth-child(3) {
    background-color: var(--verde-archivio);
}

/* Icone SVG inline (sostituiscono Font Awesome): <svg class="icon"><use href="#i-nome"></use></svg> */
.icon {
    width: 1.25em;
    height: 1em;
    vertical-align: -0.125em;
    fill: currentColor;
    flex-shrink: 0;
}

/* Header: wordmark su fondo blu */
.site-header {
    background-color: var(--blu-officina);
    color: var(--avorio-carta);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.header-logo-link {
    display: block;
    margin-right: auto;
}

.header-logo {
    display: block;
    width: 100%;
    height: auto;
}

/* Footer con emblema */
.site-footer {
    background-color: var(--blu-officina);
    color: var(--avorio-carta);
    text-align: center;
    font-size: 0.875rem;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.footer-emblem {
    display: block;
    width: 120px;
    height: 120px;
}
