/* Barre d'actions mobile */
.mobile-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-bg-dark);
    display: flex;
    z-index: 1050;
    box-shadow: 0 -2px 10px 0 rgba(0, 0, 0, 0.2);
    padding-bottom: env(safe-area-inset-bottom);
}

body {
    padding-bottom: 0;
}

@media (max-width: 767px) {
    body.has-mobile-bar {
        padding-bottom: 70px;
    }
}

@media (min-width: 768px) {
    .mobile-action-bar {
        display: none;
    }
}

.mobile-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 0.5rem;
    background: transparent;
    border: none;
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
    gap: 0.25rem;
    cursor: pointer;
}

.mobile-action-btn:hover,
.mobile-action-btn:focus {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
}

.mobile-action-btn.accent {
    background: #D97706; /* Fallback */
    background: var(--color-primary);
}

.mobile-action-btn.accent:hover,
.mobile-action-btn.accent:focus {
    filter: brightness(1.1);
}

.mobile-action-btn svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mobile-action-btn span {
    font-size: 0.75rem;
    font-weight: 500;
}

/* Modal de rappel */
.modal-rappel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1060;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(2px);
}

.modal-rappel.show {
    display: flex;
}

.modal-rappel-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-rappel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-rappel-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
    font-family: var(--font-hn, sans-serif);
}

.modal-rappel-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-rappel-close:hover {
    color: #333;
}

.modal-rappel-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Formulaire basique pour le rappel */
.rappel-form-group {
    margin-bottom: 1rem;
}
.rappel-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}
.rappel-btn {
    width: 100%;
    padding: 0.875rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
/* Mode Minimaliste - FAB */
.mobile-fab-contact {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 120px;
    height: auto;
    background: var(--color-bg-dark);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    text-decoration: none;
    z-index: 1050;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.mobile-fab-contact:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    color: white;
}

.mobile-fab-contact svg {
    width: 32px;
    height: 32px;
    margin-bottom: 0.5rem;
    stroke: var(--color-primary);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mobile-fab-contact span {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Cacher sur Desktop (comme la barre) */
@media (min-width: 768px) {
    .mobile-fab-contact {
        display: none;
    }
}
