/* Page Semelles - Design spécial */
.semelles-section {
    padding: 4rem 0;
    background-color: var(--neutral-50);
    overflow: hidden;
}

.semelles-section .container {
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.semelles-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.semelles-intro h2 {
    color: var(--primary-700);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.semelles-intro p {
    color: var(--neutral-600);
    font-size: 1.1rem;
}

.semelles-faq {
    display: flex;
    flex-direction: column;
    margin-bottom: 3rem;
    gap: 0.5rem;
}

.faq-item {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    border: 1px solid var(--neutral-200);
}

.faq-item.active .question-icon {
    background-color: var(--primary-700);
    color: white;
    transform: rotate(135deg);
}

.faq-item.active .faq-question {
    border-bottom: 1px solid #f0f0f0;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: #fff;
    color: var(--neutral-700);
    cursor: pointer;
}

.question-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: var(--primary-100);
    color: var(--primary-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.faq-question h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.faq-answer {
    padding: 0 1.5rem;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    opacity: 0;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 2000px; /* Valeur suffisamment grande pour contenir tout le contenu */
    opacity: 1;
}

.faq-answer p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer strong {
    color: var(--primary-700);
}

.answer-image {
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    height: 45em;
}

.answer-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    object-fit: cover;
}

.image-caption {
    display: block;
    font-size: 0.9rem;
    color: var(--neutral-600);
    font-style: italic;
    text-align: center;
    padding: 0.5rem;
    background-color: var(--neutral-50);
}

.tarifs-table {
    margin-top: 1.5rem;
    background-color: var(--neutral-50);
    border-radius: 8px;
    padding: 1.5rem;
}

.tarifs-table h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-700);
    margin-bottom: 1rem;
    text-align: center;
}

.tarifs-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.tarifs-table th {
    background-color: var(--primary-600);
    color: white;
    text-align: left;
    padding: 0.75rem 1rem;
}

.tarifs-table th:first-child {
    border-top-left-radius: 6px;
}

.tarifs-table th:last-child {
    border-top-right-radius: 6px;
}

.tarifs-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--neutral-200);
}

.tarifs-table tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

.tarifs-table tr:last-child td {
    border-bottom: none;
}

.tarifs-table tr:last-child td:first-child {
    border-bottom-left-radius: 6px;
}

.tarifs-table tr:last-child td:last-child {
    border-bottom-right-radius: 6px;
}

.semelles-contact {
    background-color: var(--primary-700);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.semelles-contact:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(45deg, var(--primary-800), transparent);
    opacity: 0.6;
}

.semelles-contact .contact-icon {
    width: 4rem;
    height: 4rem;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 1.75rem;
    position: relative;
    z-index: 1;
}

.semelles-contact p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.semelles-button {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    background-color: white;
    color: var(--primary-700);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.semelles-button:hover {
    background-color: var(--primary-50);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .semelles-intro h2 {
        font-size: 1.5rem;
    }
    
    .faq-question {
        flex-direction: column;
        text-align: center;
    }
    
    .question-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .tarifs-table {
        overflow-x: auto;
        display: block;
    }
    
    .tarifs-table table {
        min-width: 600px;
    }
}