/* xl - DESKTOP STYLES */ 
/* ============================================
   FAQs — ESTIL PREMIUM COLORFUL (Basat en la captura 3)
   ============================================ */
.faq-section {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-header h2 {
    font-family: var(--font-headings); /* Sora */
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-dark);
}

.faq-header .color-accent {
    color: var(--color-accent); /* Verd d'Argentona o un dels nous colors */
}

/* Contenidor de cada ítem (TANCAT) */
.faq-item {
    background: #ffffff; /* Fons blanc per a tots */
    border: 1px solid #eeeeee; /* Línia molt fina */
    margin-bottom: 1rem; /* Espai entre targetes */
    border-radius: 1rem; /* Arrodonit */
    transition: all 0.3s ease;
    overflow: hidden; /* Per a border-radius */
}

/* L'Ítem Obert (Targeta Elevada amb Vora Degradada) */
.faq-item.is-open {
    margin: 1.5rem 0 2.5rem; /* Més aire quan s'obre */
    position: relative;
    /* 1. Efecte de vora degradada contínua a tot el perímetre (el Border) */
    background: 
        linear-gradient(#fff, #fff) padding-box, 
        linear-gradient(to right, #9B59B6, #3498DB, #2ECC71, #F1C40F) border-box;
    border: 2px solid transparent; /* La mida del border */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05); /* Ombra suau */
}

/* El botó del trigger */
.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem; /* Aire interior */
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
}

/* El text de la pregunta */
.faq-title {
    font-family: var(--font-headings); /* Sora */
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-dark);
    transition: color 0.3s ease;
}

/* Canvi de color del títol quan s'obre */
.faq-item.is-open .faq-title {
    /* 1. Apliquem el degradat de 4 colors */
    background: linear-gradient(90deg, #9B59B6, #3498DB, #2ECC71, #F1C40F);
    
    /* 2. Fem que el fons només es vegi on hi ha text */
    -webkit-background-clip: text;
    background-clip: text;
    
    /* 3. Fem el text original transparent perquè es vegi el fons */
    -webkit-text-fill-color: transparent;
    color: transparent; /* Fallback */
    
    /* 4. Opcional: un pes de font extra perquè el degradat es llueixi més */
    font-weight: 800; 
    display: inline-block;
}

.tag-title-faqs{
	    /* 1. Apliquem el degradat de 4 colors */
    background: linear-gradient(90deg, #9B59B6, #3498DB, #2ECC71, #F1C40F);
    
    /* 2. Fem que el fons només es vegi on hi ha text */
    -webkit-background-clip: text;
    background-clip: text;
    
    /* 3. Fem el text original transparent perquè es vegi el fons */
    -webkit-text-fill-color: transparent;
    color: transparent; /* Fallback */
    
    /* 4. Opcional: un pes de font extra perquè el degradat es llueixi més */
    font-weight: 800; 
    display: inline-block;
}
	
}
/* Icona + / - minimalista i colorida */
.faq-icon {
    font-size: 1.2rem;
    font-weight: 700;
    margin-left: 1rem;
    transition: all 0.3s ease;
	color: #2b2b2b;
}



/* La icona d'obrir / tancar (simple + / -) */
.faq-icon::before {
    content: '+';
}

/* Quan s'obre, canviem a - */
.faq-item.is-open .faq-icon::before {
    content: '−';
}

/* Contingut de la resposta */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.faq-item.is-open .faq-content {
    max-height: 1000px;
}

.faq-content p {
    font-family: var(--font-main); /* Raleway */
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-muted);
    padding: 0 2rem 2rem; /* Aire interior */
    max-width: 90%;
}

