/* Styles spécifiques pour surcharger ou compléter stylelexique.css */
body {
    background-color: #f8f9fa;
    font-family: 'Inter', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    font-size: 3.5rem !important;
    /* Titre agrandi */
    font-weight: 800;
    color: #1a3c34;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -1px;
    text-align: center;
}

/* Style pour les lettres cliquables */
.letter-filter {
    font-size: 1.2rem;
    font-weight: 500;
    color: #1a3c34;
    text-decoration: none;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.letter-filter:hover,
.letter-filter.active {
    color: #2e5b52;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.letter-filter-all {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a3c34;
    text-decoration: none;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.letter-filter-all:hover,
.letter-filter-all.active {
    color: #2e5b52;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Style pour l'accordéon */
.accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.5rem;
    margin-bottom: 15px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}


.accordion-button {
    font-weight: 600;
    color: #1a3c34;
    background-color: #fff;
    padding: 1.25rem;
    border-radius: 0.5rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Assure que la flèche est à l'extrême droite */
}

.accordion-button:not(.collapsed) {
    background-color: #e6f0ea;
    color: #1a3c34;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

/* Flèche personnalisée à l'extrême droite */
.accordion-button::after {
    content: '\25BC';
    /* Flèche vers le bas */
    font-size: 1rem;
    color: #1a3c34;
    margin-left: auto;
    /* Pousse la flèche à l'extrême droite */
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
    /* Flèche vers le haut quand déplié */
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #1a3c34;
}

.accordion-body {
    padding: 1.5rem;
    background-color: #fff;
    color: #333;
    line-height: 1.7;
}

.input-group {
    max-width: 700px;
    margin: 0 auto;
}

.form-control {
    border-radius: 50px 0 0 50px;
    padding: 14px 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
}

.form-control:focus {
    border-color: #1a3c34;
    box-shadow: 0 0 0 0.25rem rgba(26, 60, 52, 0.25);
}

.btn-primary {
    background-color: #1a3c34;
    border-color: #1a3c34;
    border-radius: 0 50px 50px 0;
    padding: 14px 24px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2e5b52;
    border-color: #2e5b52;
}

/* Amélioration pour mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .letter-filter,
    .letter-filter-all {
        font-size: 1rem;
        margin: 0 5px;
    }

    .accordion-button {
        font-size: 1.2rem;
        padding: 1rem;
    }
}