footer {
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 3rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #000;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.container-footer {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: #348054;
}

.footer-bottom {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.75rem;
}

.btn-try {
    display: block;
    padding: 12px 10px;
}

.footer-language {
    position: relative;
    width: 100%;
    /* prend toute la largeur */
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    /* centre horizontalement le dropdown */
    padding: 24px 0;
}

.footer-links {
    list-style: none;
    line-height: 12px;
    margin-top: 22px;
}

.footer-links li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #4B5563;
}

.footer-links a {
    color: #4B5563;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #0066FF;
}

/* dropdown container */
.custom-select {
    width: 150px;
    /* largeur du dropdown */
    position: relative;
}

/* style "selected" */
.custom-select .selected {
    background: white;
    border: 1px solid #bffdd8;
    color: #374151;
    border-radius: 8px;
    padding: 8px 32px 8px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.2s;
    position: relative;
    user-select: none;
    text-align: center;
    /* texte centré */
}

/* flèche */
.custom-select .selected::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23348054'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

/* hover selected */
.custom-select .selected:hover {
    border-color: #348054;
}

/* options */
.custom-select .options {
    display: none;
    /* caché par défaut */
    flex-direction: column;
    /* options en colonne */
    align-items: center;
    /* centre horizontalement toutes les li */
    position: absolute;
    width: 150px;
    /* même largeur que le dropdown */
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    /* centre la boîte sous le dropdown */
    background: white;
    border: 1px solid #bffdd8;
    border-radius: 8px;
    margin-top: 2px;
    list-style: none;
    padding: 0;
    z-index: 10;
}

/* chaque option */
.custom-select .options li {
    width: 100%;
    /* prend toute la largeur du dropdown */
    padding: 8px 16px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    text-align: center;
    /* texte centré */
}

/* hover et selected */
.custom-select .options li:hover,
.custom-select .options li.selected {
    background-color: #348054;
    border-radius: 5px;
    color: white;
}


.disclaimer {
    margin-bottom: 1.5rem;
}

.disclaimer p {
    color: #374151;
    font-size: 0.75rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
    }

    .footer-grid .footer-section {
        grid-column: span 1 !important;
    }


    footer {
        background: white;
        border-top: 1px solid #e5e7eb;
        padding: 3rem 0.5rem;
    }

    .container-footer {
        padding: 0 12px;
    }
}