/* ---------------------------------------------------------
   RESET & BASE
--------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", "Segoe UI", sans-serif;
    background: #faf7fb; /* bianco-lavanda molto soft */
    color: #2d2d2d;
    line-height: 1.7;
    padding: 20px;
    letter-spacing: 0.2px;
}

/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */
header {
    background: linear-gradient(135deg, #ffb3df, #c79dff);
    padding: 22px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
    margin-bottom: 40px;
}

.logo {
    color: white;
    font-size: 1.7rem;
    font-weight: 700;
}

/* ---------------------------------------------------------
   MAIN CONTENT CONTAINER
--------------------------------------------------------- */
main {
    max-width: 880px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 22px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.10);
    animation: fadeIn 0.6s ease;
}

/* Animazione di entrata */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------------------
   TITOLI
--------------------------------------------------------- */
h1 {
    font-size: 2.3rem;
    margin-bottom: 20px;
    text-align: center;
    background: linear-gradient(120deg, #d53f9d, #8f3adb);
    -webkit-background-clip: text;
    color: transparent;
    font-weight: 800;
}

h2 {
    font-size: 1.55rem;
    margin-top: 35px;
    margin-bottom: 12px;
    color: #8f3adb;
    font-weight: 600;
}

/* ---------------------------------------------------------
   TESTO E LISTE
--------------------------------------------------------- */
p {
    margin-bottom: 18px;
    font-size: 1.08rem;
}

strong {
    font-weight: 700;
}

em {
    color: #b14cd8;
}

ul {
    margin: 15px 0 25px 22px;
}

li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

/* ---------------------------------------------------------
   IMMAGINI & FIGURE
--------------------------------------------------------- */
figure {
    margin: 35px auto;
    text-align: center;
}

figure img {
    max-width: 100%;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transition: 0.3s ease;
}

figure img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.14);
}

figcaption {
    margin-top: 12px;
    font-style: italic;
    color: #666;
}

/* ---------------------------------------------------------
   BOTTONI E LINK
--------------------------------------------------------- */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #e472c7, #9a5bff);
    color: white;
    padding: 12px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: 0.3s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

.center {
    text-align: center;
    margin-top: 30px;
}

a {
    color: #a83acb;
    text-decoration: underline;
    font-weight: 600;
}

a:hover {
    color: #7f22a1;
}

/* ---------------------------------------------------------
   RESPONSIVITÀ
--------------------------------------------------------- */
@media (max-width: 600px) {
    main {
        padding: 25px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.35rem;
    }

    .btn {
        font-size: 1rem;
        padding: 10px 18px;
    }
}

/* FAQ fisarmonica */
.faq-question {
    width: 100%;
    text-align: left;
    background: linear-gradient(135deg, #e472c7, #9a5bff);
    color: white;
    border: none;
    padding: 12px 20px;
    margin-bottom: 8px;
    border-radius: 12px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s ease;
}

.faq-question:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.faq-answer {
    display: none;
    padding: 10px 20px;
    margin-bottom: 15px;
    background: #f9f5fd;
    border-left: 4px solid #8f3adb;
    border-radius: 12px;
}

